ENUM HW_EVENT_MC_ERR_TYPE(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms