Difference between revisions of "EDAC"

From Noah.org
Jump to navigationJump to search
(Created page with 'Category:Engineering EDAC stands for "Error Detection and Correction". The [http://sourceforge.net/projects/bluesmoke/ EDAC] project is a set of Linux kernel modules that e…')
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Engineering]]
 
[[Category:Engineering]]
 +
 +
See also [[mcelog]].
  
 
EDAC stands for "Error Detection and Correction".
 
EDAC stands for "Error Detection and Correction".
  
The [http://sourceforge.net/projects/bluesmoke/ EDAC] project is a set of Linux kernel modules that expose hardware errors such as PCI bus errors and ECC parity errors in RAM memory modules. EDAC is part of the mainstream Linux kernel.
+
The [http://sourceforge.net/projects/bluesmoke/ EDAC] project is a set of Linux kernel modules that expose hardware errors such as PCI bus errors and ECC parity errors in RAM memory modules. EDAC is part of the mainstream Linux kernel. See also the [http://buttersideup.com/edacwiki/Main_Page EDAC Wiki].
  
 
Errors are visible in userspace through the '''sysfs''' filesystem under '''/sys/devices/system/edac''' directory. There are also userspace utilities available through [http://sourceforge.net/projects/edac-utils/ edac-utils].
 
Errors are visible in userspace through the '''sysfs''' filesystem under '''/sys/devices/system/edac''' directory. There are also userspace utilities available through [http://sourceforge.net/projects/edac-utils/ edac-utils].
Line 11: Line 13:
 
grep . /sys/devices/system/edac/mc/mc?/[uc]e_count
 
grep . /sys/devices/system/edac/mc/mc?/[uc]e_count
 
</pre>
 
</pre>
 +
The same results can be obtained with nice formatting by using the '''edac-util''' tool.
 +
<pre>
 +
edac-util --report=full
 +
</pre>
 +
 +
There is also a utility called '''edac-ctl''', which may be of interest. It lets you find the name and model of the mainboard and DIMM labels.

Latest revision as of 04:18, 14 January 2014


See also mcelog.

EDAC stands for "Error Detection and Correction".

The EDAC project is a set of Linux kernel modules that expose hardware errors such as PCI bus errors and ECC parity errors in RAM memory modules. EDAC is part of the mainstream Linux kernel. See also the EDAC Wiki.

Errors are visible in userspace through the sysfs filesystem under /sys/devices/system/edac directory. There are also userspace utilities available through edac-utils.

This example scans for correctable and uncorrectable errors (ce_count and ue_count) reported by the hardware memory controller.

grep . /sys/devices/system/edac/mc/mc?/[uc]e_count

The same results can be obtained with nice formatting by using the edac-util tool.

edac-util --report=full

There is also a utility called edac-ctl, which may be of interest. It lets you find the name and model of the mainboard and DIMM labels.