Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

TrueNAS web UI shows "non-ECC", but ECC is used

bp0

Newbie
Joined
May 3, 2020
Messages
3
I was trying out TrueNAS on an old machine and I noticed something that really bugged me. I was pretty sure the computer was using ECC RAM (it's been a while), but TrueNAS makes a point to say that it is "non-ECC". I looked into it, and the BIOS and Linux show the ECC enabled, but not TrueNAS. How else could I tell if ECC is actually working in TrueNAS, aside from that web UI panel?

Mobo: GA-MA770T-UD3P, CPU: AMD Phenom II X2, RAM: Kingston KVR1333D3E9SK4/16G (4 x 4GB) 1333MHz DDR3 ECC CL9

Here is some dmesg output from Linux, showing that ECC is used:
Code:
% dmesg | grep EDAC
[    0.228044] EDAC MC: Ver: 3.0.0
[   35.669961] EDAC amd64: Node 0: DRAM ECC enabled.
[   35.669962] EDAC amd64: F10h detected (node 0).
[   35.669975] EDAC MC: DCT0 chip selects:
[   35.669976] EDAC amd64: MC: 0:  4096MB 1:  4096MB
[   35.669977] EDAC amd64: MC: 2:  4096MB 3:  4096MB
[   35.669978] EDAC amd64: MC: 4:     0MB 5:     0MB
[   35.669978] EDAC amd64: MC: 6:     0MB 7:     0MB
[   35.669979] EDAC MC: DCT1 chip selects:
[   35.669979] EDAC amd64: MC: 0:  2048MB 1:  2048MB
[   35.669980] EDAC amd64: MC: 2:  2048MB 3:  2048MB
[   35.669981] EDAC amd64: MC: 4:     0MB 5:     0MB
[   35.669982] EDAC amd64: MC: 6:     0MB 7:     0MB
[   35.669982] EDAC amd64: using x4 syndromes.
[   35.670191] EDAC MC0: Giving out device to module amd64_edac controller F10h: DEV 0000:00:18.3 (INTERRUPT)
[   35.670200] EDAC PCI0: Giving out device to module amd64_edac controller EDAC PCI controller: DEV 0000:00:18.2 (POLLED)
[   35.670200] AMD64 EDAC driver v3.5.0



Here is the TrueNAS web UI showing "(non-ECC)" in the memory panel:

Screenshot_2020-05-03_17-35-45.png
 

Yorick

Neophyte Sage
Joined
Nov 4, 2018
Messages
1,271
If that's happening with a current nightly, go to System -> Support, file it as a bug and be sure to attach a Debug. Detecting ECC is a little bit of a black art it seems, it's quite possible this has to be tweaked for different type of systems.

Did the same for me, I filed a bug, and a few nightlies later my board (X11SSH-F) is shown correctly as having ECC memory in it.
 

bp0

Newbie
Joined
May 3, 2020
Messages
3
Done, thanks for the tip. Report: NAS-105991.

I noticed the dmidecode memory information is mostly incorrect, for example the MC has "Maximum Memory Module Size: 1024 MB" and "Maximum Total Memory Size: 4096 MB", and the memory array has a "Maximum Capacity" of "2 GB". There are four 4GB modules installed. It also shows "Enabled Error Correcting Capabilities: None", so maybe that's where TrueNAS is getting the "non-ECC" information.

Output of dmidecode -t memory:
Code:
# dmidecode -t memory
# dmidecode 3.2
Scanning /dev/mem for entry point.
SMBIOS 2.4 present.

Handle 0x0005, DMI type 5, 24 bytes
Memory Controller Information
    Error Detecting Method: 64-bit ECC
    Error Correcting Capabilities:
        None
    Supported Interleave: One-way Interleave
    Current Interleave: One-way Interleave
    Maximum Memory Module Size: 1024 MB
    Maximum Total Memory Size: 4096 MB
    Supported Speeds:
        70 ns
        60 ns
    Supported Memory Types:
        Standard
        EDO
    Memory Module Voltage: 3.3 V
    Associated Memory Slots: 4
        0x0006
        0x0007
        0x0008
        0x0009
    Enabled Error Correcting Capabilities:
        None

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: A0
    Bank Connections: 1
    Current Speed: 53 ns
    Type: Other Unknown EDO
    Installed Size: 4096 MB (Double-bank Connection)
    Enabled Size: 4096 MB (Double-bank Connection)
    Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: A1
    Bank Connections: 2
    Current Speed: 53 ns
    Type: Other Unknown EDO
    Installed Size: 4096 MB (Double-bank Connection)
    Enabled Size: 4096 MB (Double-bank Connection)
    Error Status: OK

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: A2
    Bank Connections: 3
    Current Speed: 53 ns
    Type: Other Unknown EDO
    Installed Size: 4096 MB (Double-bank Connection)
    Enabled Size: 4096 MB (Double-bank Connection)
    Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: A3
    Bank Connections: 4
    Current Speed: 53 ns
    Type: Other Unknown EDO
    Installed Size: 4096 MB (Double-bank Connection)
    Enabled Size: 4096 MB (Double-bank Connection)
    Error Status: OK

Handle 0x0025, DMI type 16, 15 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 2 GB
    Error Information Handle: Not Provided
    Number Of Devices: 4

Handle 0x0026, DMI type 17, 27 bytes
Memory Device
    Array Handle: 0x0025
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: A0
    Bank Locator: Bank0/1
    Type: Unknown
    Type Detail: None
    Speed: 1333 MT/s
    Manufacturer: 
    Serial Number: 
    Asset Tag: 
    Part Number: 

Handle 0x0027, DMI type 17, 27 bytes
Memory Device
    Array Handle: 0x0025
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: A1
    Bank Locator: Bank2/3
    Type: Unknown
    Type Detail: None
    Speed: 1333 MT/s
    Manufacturer: 
    Serial Number: 
    Asset Tag: 
    Part Number: 

Handle 0x0028, DMI type 17, 27 bytes
Memory Device
    Array Handle: 0x0025
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: A2
    Bank Locator: Bank4/5
    Type: Unknown
    Type Detail: None
    Speed: 1333 MT/s
    Manufacturer: 
    Serial Number: 
    Asset Tag: 
    Part Number: 

Handle 0x0029, DMI type 17, 27 bytes
Memory Device
    Array Handle: 0x0025
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: DIMM
    Set: None
    Locator: A3
    Bank Locator: Bank6/7
    Type: Unknown
    Type Detail: None
    Speed: 1333 MT/s
    Manufacturer: 
    Serial Number: 
    Asset Tag: 
    Part Number: 
 

Yorick

Neophyte Sage
Joined
Nov 4, 2018
Messages
1,271
That’s an interesting one, this may become a discussion upstream with FreeBSD rather than with the FreeNAS folk.
Happily it’s cosmetic.
 

leafyelin

Newbie
Joined
May 5, 2020
Messages
1
我的也是

Mod note: This would seem to translate to "I am having the same issue"

Please use English in the forum outside of the other language sections.
 
Last edited by a moderator:
Top