edac-utils
edac-utils copied to clipboard
sysfs layout changed - csrow directories unavailable
I prepared an /etc/edac/labels.d/asrock.db
file for my motherboard, hoping to use edac-ctl --register-labels
, but it always fails because the csrow#
directories under /sys/devices/system/edac/mc/mc*
do not exist on my Ubuntu 19.10.
Per the Linux documentation, these directories are available when kernel is compiled with CONFIG_EDAC_LEGACY_SYSFS
, but
$ grep CONFIG_EDAC_LEGACY_SYSFS /boot/config-$(uname -r)
# CONFIG_EDAC_LEGACY_SYSFS is not set
edac-ctl
needs to be refactor to look for "rank" or "dimm" directories.