STRUCT ECC_ERROR_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ecc_error_info(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for struct ecc_error_info(9) β€” yes that's the one, we're doing kernel structs today and honestly? iconic of us. πŸŽ€


✨ NAME ✨

struct ecc_error_info β€” literally just the ECC error log info, that's the whole vibe. it's the little container that holds onto what went wrong when the memory got all glitchy. πŸ¦‹


🌸 SYNOPSIS 🌸

here's the whole struct, copied exactly, no cap:

struct ecc_error_info {
    u32 addr;
    u32 fault_lo;
    u32 fault_hi;
 };

like. it's three u32s and a dream. πŸ’…


πŸ‘‘ Members πŸ‘‘

  • addr β€” the address where this fault got generated. that's the crime scene bestie, that's where it happened. πŸ“
  • fault_lo β€” the generated fault data, but just the lower 32-bit half of it. the bottom half gets its own moment. πŸ“
  • fault_hi β€” and here's the upper 32-bit of that same generated fault data. split clean down the middle, both halves main characters. ✨
ngl the lo/hi split is very much giving "we ran out of bits so we used two fields" energy, and honestly? respect. 🫢

πŸ”₯ SEE ALSO πŸ”₯

go read all of those too, they're the friend group and this struct is nothing without them fr fr πŸ’€


and that's the page!! huge shoutout to ./drivers/edac for hosting all this, dated October 2026 β€” mwah, love you, mean it, bye bestie!! πŸ’œπŸ§šπŸŒˆ

πŸ“¦ where this page comes from