Adding Machine Check Exception Logging support to the Linux kernel


In my previous post, I mentioned how the mcelog utility can be used to detect hardware problems. Mcelog relies on the /dev/mcelog device being present, which requires the kernel to be built with the following options:

CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y

To enable these, you can select the following options once you run ‘make menuconfig’:

[*] Machine Check Exception
│ │ [*] Intel MCE features
│ │ [*] AMD MCE features
This article was posted by Matty on 2009-06-14 11:32:00 -0400 -0400