man.bsd.lv manual page server

Manual Page Search Parameters

ECC(4) Device Drivers Manual ECC(4)

eccECC memory controller support

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"

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

The ecc driver supports the following memory controllers:

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

The ecc device driver first appeared in DragonFly 1.7.

The ecc driver was written by Matthew Dillon.

May 24, 2015 DragonFly-5.6.1