edac-utils icon indicating copy to clipboard operation
edac-utils copied to clipboard

sysfs layout changed - csrow directories unavailable

Open chutzimir opened this issue 4 years ago • 0 comments

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.

chutzimir avatar Mar 29 '20 11:03 chutzimir