시스템 로그에서 ECC 경고 제거

시스템 로그에서 ECC 경고 제거

ECC에 대한 경고를 어떻게 비활성화합니까? ECC 메모리가 없어서 BIOS에서도 비활성화했지만 여전히 인쇄됩니다.

[    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.)

답변1

ECC 가능 메모리가 없으면 이 스팸 모듈을 찾아 비활성화해 볼 수 있습니다.

find /lib/modules/$(uname -r) -type f -name '*.ko' | grep _edac

꽤 많은 모듈이 있지만 *_edac*귀하의 경우에는 범인 모듈이 있습니다 amd64_edac_mod(오류 메시지에서 제안한 대로).

그런 다음 당신이 해야 할 일은 이 모듈을 블랙리스트 파일에 넣는 것뿐입니다:

echo "blacklist amd64_edac_mod" >> /etc/modprobe.d/blacklist.conf

재부팅하면 짜잔! — 더 이상 모듈을 로드하려고 시도하지 않으며 오류가 사라집니다.

관련 정보