ECC(4)

NAME
ecc - ECC memory controller support

SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:

device dimm
device coremctl
device ecc

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

    ecc_load="YES"

DESCRIPTION
The ecc provides support for ECC memory controllers. If ECC support is enabled in the BIOS, the number of ECC errors is exposed through HW_SENSORS sysctl(8) tree. For example:

    % sysctl hw.sensors
    hw.sensors.dimm0.ecc0: 0 (node0 chan0 DIMM0 ecc), OK
    hw.sensors.dimm1.ecc0: 0 (node0 chan1 DIMM0 ecc), OK

The DIMM location and configurable threshold of ECC errors is exposed through hw.dimminfo sysctl(3) tree. For example:

    % sysctl hw.dimminfo
    hw.dimminfo.dimm0.node: 0
    hw.dimminfo.dimm0.chan: 0
    hw.dimminfo.dimm0.slot: 0
    hw.dimminfo.dimm0.ecc_thresh: 10
    hw.dimminfo.dimm1.node: 0
    hw.dimminfo.dimm1.chan: 1
    hw.dimminfo.dimm1.slot: 0
    hw.dimminfo.dimm1.ecc_thresh: 10

If the number of ECC errors goes above the configured threshold (ecc_thresh), a notify event will be sent using devctl(4).

HARDWARE
The ecc driver supports the following memory controllers:

•   AMD 8000 memory controller
•   AMD 8151 memory controller
•   Intel E3 memory controller
•   Intel E3 v2 memory controller
•   Intel E3 v3 memory controller
•   Intel E5 v2 memory controller
•   Intel E5 v3 memory controller

SEE ALSO
systat(1), sysctl(3), devctl(4), devd(8), sensorsd(8), sysctl(8)

HISTORY
The ecc device driver first appeared in DragonFly 1.7.

AUTHORS
The ecc driver was written by Matthew Dillon.