[CentOS] How to enable EDAC kernel module for checking ECC memory?

Fri Jun 27 00:53:50 UTC 2014
Lists <lists at benjamindsmith.com>

See below

On 06/26/2014 08:11 AM, Leon Fauster wrote:
> Am 26.06.2014 um 00:08 schrieb Lists <lists at benjamindsmith.com>:
>> In order to support ZFS, we upgraded a backups server with a new, ECC
>> motherboard. We're running CentOS 6 with ZFS on Linux, recently patched.
>> Now, I want to enable EDAC so we can check for memory errors (and maybe
>> PCI errors as well) but so far, repeatedly pounding on the Google hasn't
>> yielded exactly what I need to do to enable EDAC.
>> One howto was covering PCI and edac, but "modprobe edac_mc" didn't work.
>> Here's some information below, How do I get edac up and running? Many
>> howtos cover how to use edac-ctl and edac-util, but none seem to cover
>> how to determine what module to load into the kernel.
>> [root at hume ~]# modprobe edac_mc
>> FATAL: Module edac_mc not found.
> it seems to be compiled into the kernel.
> $ grep -i -E 'mce|edac' /boot/config-2.6.32-431.11.2.el6.x86_64
>> [root at hume ~]# lsmod | grep edac
>> [root at hume ~]# cat /proc/version
>> Linux version 2.6.32-431.11.2.el6.x86_64
> check the available modules
> $ find /lib/modules/2.6.32-431.11.2.el6.x86_64/ | grep -i -E 'edac'

[root at hume ~]# find /lib/modules/2.6.32-431.11.2.el6.x86_64/ | grep -i 
-E 'edac'

Question is: which one do I use?