我正在尝试启用 ECC 来确认 RAS 功能Ubuntu-18.04
它的 GIGABYTE BIOS 模式,我已检查 ECC 选项,但它不存在。服务器的详细信息是:
:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 1
NUMA node(s): 4
Vendor ID: AuthenticAMD
CPU family: 23
Model: 8
Model name: AMD Ryzen Threadripper 2990WX 32-Core Processor
Stepping: 2
CPU MHz: 1715.339
...
用于 ECC 检查的 AMD64 EDAC 驱动程序 克隆最新内核“5.3.0-rc1”并启用 EDAC 相关配置,编译并生成 debian。
我在 ubutnu18.04 中安装了内核映像和标头 debian。
启动后我无法列出 edac 模块amd64_edac_mod.ko在“lsmod”中
:~$ lsmod | grep edac
edac_mce_amd 32768 0
检查 dmesg 日志,我看到以下错误消息:
[ 17.489578] EDAC amd64: Node 0: DRAM ECC disabled.
[ 17.489580] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
[ 17.489584] EDAC amd64: Node 1: DRAM ECC disabled.
[ 17.489585] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
但没有相关日志AMD64_EDAC 驱动程序初始化
再次检查路径是否编译了驱动程序,如下所示amd64_edac_mod.ko展示。
:~$ ls /lib/modules/5.3.0-rc1-test/kernel/drivers/edac/
**amd64_edac_mod.ko** **edac_mce_amd.ko** i3200_edac.ko i5100_edac.ko i7300_edac.ko i82975x_edac.ko pnd2_edac.ko skx_edac.ko
e752x_edac.ko i3000_edac.ko i5000_edac.ko i5400_edac.ko i7core_edac.ko ie31200_edac.ko sb_edac.ko x38_edac.ko
尝试手动插入模块,但失败了:
/lib/modules/5.3.0-rc1-test/kernel/drivers/edac$ sudo modprobe -v amd64_edac_mod
insmod /lib/modules/5.3.0-rc1-test/kernel/drivers/edac/amd64_edac_mod.ko
modprobe: ERROR: could not insert 'amd64_edac_mod': No such device
由于上述驱动程序未安装,在麦克->麦克0和MC1未列出内存控制器
:~$ ls /sys/devices/system/edac/mc/
power subsystem uevent
请帮我找出驱动程序未安装的原因吗?