RE: [lkp] [EDAC, sb_edac] 2c1ea4c700: kmsg.EDAC_sbridge:Failed_to_register_device_with_error

From: Luck, Tony
Date: Tue May 24 2016 - 13:13:03 EST


> [ 55.677523] EDAC sbridge: ECC is disabled. Aborting

Works on my HSW-EX. Maybe it depends on memory configuration or some BIOS settings?

The EDAC driver is looking at the MCMTR register to determine whether ECC is enabled (and this
change in the code shouldn't really affect that).

What does:

# setpci -d 8086:2fa8 0x7c.L

say? It should print a hex number for each socket. The 0x4 bit is the ECC enable bit. On my machine it
says:

00017d0d

for all four sockets ... so ECC is enabled every place we look.

The kmsg file is a bit confusing too. There are 32 "ECC is disabled" messages. 16 seem to be a repeat
(is this a serial log ... so we get all the messages up to some point, then see a re-run when the main
console is enabled?). But it looks like the driver was attempted to be loaded multiple times.

-Tony