Detect ECC memory errors on Linux

30 September 2025 - Thomas Damgaard

How to detect and monitor for ECC RAM errors on Debian Linux.

ECC RAM can detect and correct simple bit-flip errors caused by cosmic radiation, etc.

It is useful to be able to detect and monitor for ECC errors.

Linux supports logging ECC errors via the Error Detection and Correction driver (EDAC).

In Debian, the following tools are available:

rasdaemon monitors for and reports ECC errors.

ECC error messages typically includes:

The amount of defails varies significantly between the different CPU models and memory controllers.

Installing rasdaemon on Debian

apt install rasdaemon

Querying for EEC errors

~ # ras-mc-ctl --summary
No Memory errors.

No PCIe AER errors.

No Extlog errors.
No MCE errors.


~ # ras-mc-ctl --error-count
Label                   CE      UE
mc#0csrow#1channel#0    0       0
mc#0csrow#0channel#1    0       0
mc#0csrow#3channel#0    0       0
mc#0csrow#2channel#0    0       0
mc#0csrow#0channel#0    0       0
mc#0csrow#3channel#1    0       0
mc#0csrow#2channel#1    0       0
mc#0csrow#1channel#1    0       0
Filed under: debian, hardware, howto, linux, tips

Back to article list