首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >删除系统日志中的ECC警告

删除系统日志中的ECC警告
EN

Unix & Linux用户
提问于 2020-04-02 05:55:09
回答 1查看 5.4K关注 0票数 5

如何禁用有关ECC的这些警告?我没有ECC内存,所以在bios中也禁用了它,但是它仍然打印它。

代码语言:javascript
复制
[    4.697057] EDAC amd64: Node 0: DRAM ECC disabled.
[    4.697061] 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.)
[    4.764909] EDAC amd64: Node 0: DRAM ECC disabled.
[    4.764911] 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.)
[    4.844621] EDAC amd64: Node 0: DRAM ECC disabled.
[    4.844624] 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.)
[    4.889875] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    4.892678] EDAC amd64: Node 0: DRAM ECC disabled.
[    4.892681] 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.)
[    4.913651] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
[    4.936635] EDAC amd64: Node 0: DRAM ECC disabled.
[    4.936637] 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.)
[    4.949722] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    4.980600] EDAC amd64: Node 0: DRAM ECC disabled.
[    4.980602] 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.)
[    5.028880] EDAC amd64: Node 0: DRAM ECC disabled.
[    5.028883] 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.)
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2020-08-18 18:01:34

如果您没有ECC功能的内存,则可以尝试查找并随后禁用此垃圾邮件模块:

代码语言:javascript
复制
find /lib/modules/$(uname -r) -type f -name '*.ko' | grep _edac

会有相当多的*_edac*模块,但在您的示例中,罪魁祸首是amd64_edac_mod (正如错误消息中所暗示的)。

然后你要做的就是把这个模块放到黑名单文件中:

代码语言:javascript
复制
echo "blacklist amd64_edac_mod" >> /etc/modprobe.d/blacklist.conf

重新启动,哇!-模块不再被加载,错误也消失了。

票数 4
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/577418

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档