andikleen / mcelog

Linux kernel machine check handling middleware
http://www.mcelog.org
GNU General Public License v2.0
131 stars 62 forks source link

mcelog doesn't detect edac_mce_amd #57

Open jollyrogers88 opened 7 years ago

jollyrogers88 commented 7 years ago

I have an AMD Ryzen CPU. mcelog doesn't detect edac_mce_amd, despite it's loaded.

mcelog: ERROR: AMD Processor family 23: mcelog does not support this processor.  Please use the edac_mce_amd module instead.
CPU is unsupported

lsmod |grep edac_mce_amd edac_mce_amd 28672 0

paulmenzel commented 6 years ago

As far as I understand it, instead means that mcelog does not support that processor in question at all.

This is supported by the list of supported processors at the end of the help output.

$ mcelog --help
[…]
Valid CPUs: generic p6old core2 k8 p4 dunnington xeon74xx xeon7400 xeon5500 xeon5200 xeon5000 xeon5100 xeon3100 xeon3200 core_i7 core_i5 core_i3 nehalem westmere xeon71xx xeon7100 tulsa intel xeon75xx xeon7500 xeon7200 xeon7100 sandybridge sandybridge-ep ivybridge ivybridge-ep ivybridge-ex haswell haswell-ep haswell-ex broadwell broadwell-d broadwell-ep broadwell-ex knightslanding knightsmill xeon-v2 xeon-v3 xeon-v4 atom skylake skylake_server kabylake denverton
paulmenzel commented 6 years ago

Also see the FAQ entry How does mcelog compare to EDAC?.

The main advantage of EDAC over mcelog is that EDAC supports reporting memory errors on older systems with separate memory controller. mcelog only works on modern systems where the memory controller is integrated. In addition EDAC works on newer AMD systems.

Please close this issue, if that answers your questions.