Prefetch Technologies // Keeping your cache lines cozy

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