ENUM HW_EVENT_MC_ERR_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum hw_event_mc_err_type(9)

okay so this is from the Kernel API Manual and bestie, it's literally the whole entire personality test for memory errors πŸ”₯ like. what kind of error are we dealing with. the enum said let me introduce myself.


✨ NAME ✨

enum hw_event_mc_err_type β€” the type of the detected error 🫢 like yes we're categorizing, we're labeling, we're giving each error its own little name tag at the party.


🌸 SYNOPSIS 🌸

enum hw_event_mc_err_type {
    HW_EVENT_ERR_CORRECTED ,
    HW_EVENT_ERR_UNCORRECTED ,
    HW_EVENT_ERR_DEFERRED ,
    HW_EVENT_ERR_FATAL ,
    HW_EVENT_ERR_INFO

};

look at her. five constants. no cap, that's the whole roster πŸ‘‘


πŸŽ€ Constants πŸŽ€

  • HW_EVENT_ERR_CORRECTED β€” Corrected Error. it's giving "we fixed it before anyone noticed." Indicates that an ECC corrected error was detected ✨ lowkey the good ending.
  • HW_EVENT_ERR_UNCORRECTED β€” Uncorrected Error. Indicates an error that can't be corrected by ECC, but it is not fatal (maybe it is on an unused memory area, or the memory controller could recover from it for example, by re-trying the operation). so like… not great, not the end of the world? she's messy but she's surviving πŸ’€
  • HW_EVENT_ERR_DEFERRED β€” Deferred Error. Indicates an uncorrectable error whose handling is not urgent. This could be due to hardware data poisoning where the system can continue operation until the poisoned data is consumed. Preemptive measures may also be taken, e.g. offlining pages, etc. main character energy honestly β€” the error that says "not today, I'll deal with it later" πŸ¦‹
  • HW_EVENT_ERR_FATAL β€” Fatal Error. Uncorrected error that could not be recovered. periodt. no coming back from this one 😭
  • HW_EVENT_ERR_INFO β€” Informational. The CPER spec defines a forth type of error: informational logs. she's just here to document the vibes, no drama, purely journaling πŸ““

πŸ” SEE ALSO πŸ”

Kernel file ./include/linux/edac.h plus the whole friend group: enum dev_type(9), enum mem_type(9), enum edac_type(9), enum scrub_type(9), enum edac_mc_layer_type(9), struct edac_mc_layer(9), struct rank_info(9), struct edac_raw_error_desc(9), edac_get_dimm(9), struct edac_scrub_ops(9), struct edac_ecs_ops(9), struct edac_mem_repair_ops(9) β€” go say hi, they're all icons πŸ’–


ngl bestie, if you're reading this page you're probably deep in EDAC land and I'm so proud of you πŸ₯Ή keep going.

and that's the whole page!! sourced from ./include/linux, dated October 2026, filed under enum hw_event_mc_err_type(9) πŸ’œ mwah, go fix some memory errors, you got this 🧚✨

πŸ“¦ where this page comes from