我有一台运行 Ubuntu 20.04 的新 AMD 3400g PC。我在查看 dmesg 时发现这个信息重复了八次:
[ 5.534686] EDAC amd64: Node 0: DRAM ECC disabled.
[ 5.534688] 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.)
我怎样才能解决这个问题?
硬件
技嘉 A320M-S2H AMD 插槽 AM4 主板
搭载 Radeon Vega Graphics 的 AMD Ryzen 5 3400G
lshw -c memory 的输出:
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: F51c
date: 07/02/2020
size: 64KiB
capacity: 16MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen
int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: 9
slot: System board or motherboard
size: 16GiB
*-bank:0
description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-T
ranslator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=
UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c
3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator
: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Cont
ent-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156e
a57a) [empty]
product: Unknown
vendor: Unknown
physical id: 0
serial: Unknown
slot: DIMM 0
*-bank:1
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
product: DDR4 3000
vendor: A-DATA Technology
physical id: 1
serial: B91D0500
slot: DIMM 1
size: 8GiB
width: 64 bits
clock: 2666MHz (0.4ns)
*-bank:2
description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL
NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
product: Unknown
vendor: Unknown
physical id: 2
serial: Unknown
slot: DIMM 0
*-bank:3
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
product: DDR4 3000
vendor: A-DATA Technology
physical id: 3
serial: 6C1C0500
slot: DIMM 1
size: 8GiB
width: 64 bits
clock: 2666MHz (0.4ns)
*-cache:0
description: L1 cache
physical id: b
slot: L1 - Cache
size: 384KiB
capacity: 384KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: c
slot: L2 - Cache
size: 2MiB
capacity: 2MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: d
slot: L3 - Cache
size: 4MiB
capacity: 4MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=3
答案1
添加
blacklist amd64_edac_mod
到
/etc/modprobe.d/modprobe.conf
来抑制这些消息。