Ryzen 5600X in ASRock Rack X470D4U - no ECC? [SOLVED]

I swapped out the AMD 3600 in my TrueNAS SCALE system for a 5600X today.

Was surprised to see no “(ECC)” in the TrueNAS system dashboard on boot up, since the 5600X should support ECC RAM, and I know this the board does (albeit with a 3600).

source:
M/B: https://www.asrockrack.com/general/productdetail.asp?Model=X470D4U#Specifications

Thoughts?

Only PRO versions of AMD CPUs officially support ECC.

I think that only applies to APUs (CPUs with integrated CPUs). Yes, the non-pro APUs, like the 4300G, 4600GE, 5600G et al. don’t support ECC, only the Pro APUs like the 5650G or 5750G do enable ECC.

The ‘regular’ CPUs such as 3700X, 5600X are listed as supporting ECC.

Although, I get what you mean by “officially”. Still, people have had this board and CPU combo reporting ECC working: Reddit - Dive into anything

EDIT: I should add, I have QVL ECC RAM (M391A2K43BB1-CTDQ), and it’s detected as “ECCUDIMM” in the BIOS (ECC memory for ASRock RACK X470D4U | TrueNAS Community)

As shown in this thread, the detection is not perfect.

Can you post the results of dmidecode -t memory

1 Like

Here ya go:

# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0018, DMI type 16, 23 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 128 GB
        Error Information Handle: 0x0017
        Number Of Devices: 4

Handle 0x0020, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x001F
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 0
        Bank Locator: P0 CHANNEL A
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Unknown
        Serial Number: 00000000
        Asset Tag: Not Specified
        Part Number: TIMETEC-ED4-2666    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 13, Hex 0x26
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0023, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0022
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL A
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 14CD81A4
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0026, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0025
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 0
        Bank Locator: P0 CHANNEL B
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Unknown
        Serial Number: 00000000
        Asset Tag: Not Specified
        Part Number: TIMETEC-ED4-2666    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 13, Hex 0x26
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0029, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0028
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL B
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 14CD81BB
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

So, maybe maybe not :wink:

TrueNAS seems to pay attention to the “ Error Correction Type” field, and ignores the total width.

1 Like

Interesting. It looks as though it’s not properly detecting two of the sticks’ serial #, manufacturer data etc in ‘Locator: DIMM 0’. I will swap the 3600 back in and repeat the test when I get some time later tonight.

So - not sure if this is a TrueNAS quirk, or a M/B-RAM-CPU issue?

1 Like

OK - turned out I don’t have 4 of the same sticks of RAM - 2 were the QVL Samsung as above, but the other 2 x 16 GB sticks turned out to be “TIMETEC” brand. I pulled the two TIMETEC sticks, rebooted…and still no ECC in TrueNAS. This time the output is:

# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0018, DMI type 16, 23 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 128 GB
        Error Information Handle: 0x0017
        Number Of Devices: 4

Handle 0x0020, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x001F
        Total Width: Unknown
        Data Width: Unknown
        Size: No Module Installed
        Form Factor: Unknown
        Set: None
        Locator: DIMM 0
        Bank Locator: P0 CHANNEL A
        Type: Unknown
        Type Detail: Unknown

Handle 0x0022, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0021
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL A
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 14CD81A4
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0025, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0024
        Total Width: Unknown
        Data Width: Unknown
        Size: No Module Installed
        Form Factor: Unknown
        Set: None
        Locator: DIMM 0
        Bank Locator: P0 CHANNEL B
        Type: Unknown
        Type Detail: Unknown

Handle 0x0027, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0026
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL B
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 14CD81BB
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

So - will now try the 3600 back in there. I did update the X470D4U’s BIOS from 4.26 to the latest 2024 4.29, FWIW.

UPDATE:

Now with the 3600 in, ECC is back. It seems that although others have had success with the 5600X in the board, it’s a no go for me. Oh well, c’est la computing.

# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0018, DMI type 16, 23 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 128 GB
        Error Information Handle: 0x0017
        Number Of Devices: 4

Handle 0x0020, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x001F
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 0
        Bank Locator: P0 CHANNEL A
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 14CD81A4
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0023, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0022
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL A
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Unknown
        Serial Number: 00000000
        Asset Tag: Not Specified
        Part Number: TIMETEC-ED4-2666    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 13, Hex 0x26
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0026, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0025
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 0
        Bank Locator: P0 CHANNEL B
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 14CD81BB
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0029, DMI type 17, 92 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: 0x0028
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL B
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Unknown
        Serial Number: 00000000
        Asset Tag: Not Specified
        Part Number: TIMETEC-ED4-2666    
        Rank: 2
        Configured Memory Speed: 2666 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V
        Memory Technology: DRAM
        Memory Operating Mode Capability: Volatile memory
        Firmware Version: Unknown
        Module Manufacturer ID: Bank 13, Hex 0x26
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

SOLVED.

Not entirely sure whether it was swapping the samsung and TIMETEC modules into different slots, or going into the BIOS and under Advanced → AMD CBS → UMC Common Options → DDR Common Options → Common RAS → ECC Configuration → set DRAM ECC Enable from [Auto] to [Enabled], or simply jiggling the CPU and/or RAM modules…but either way, and to my surprise, it’s finally registering " 62.7 GiB total available (ECC)" with the 5600X in situ.

As an aside, in ECC Configuration, I also set “Disable memory error injection” to FALSE.

2 Likes

So it was an issue with hardware identification. Now the question is whether ECC actually works…

Good that the option is there. If you have the paid version of PassMark MemTest, run it with error injection and see what happens.

Doesn’t look like it is reporting, which is a known issue with this board:

And from passmark (MemTest86 - Compare Editions):
" *AMD Ryzen (17h-19h) [Note: Injection is disabled in most AMD retail CPUs. To enable, please consult the Processor Programming Reference document]"

EDIT: And the option to Disable “Platform First Error Handling” (PFER) seems to have been removed from the BIOS [Edit: post 3.50] - so I’m unsure if it’s on or off, but even when the option was there, it doesn’t seem to have worked properly: ASRock Rack has created the first AM4 socket server boards, X470D4U, X470D4U2-2T - #999 by Mastakilla - Motherboards - Level1Techs Forums

1 Like

I saw the same behaviour on a Gigabyte MC12-LE0: Injecting ECC errors, but not reporting. At least we know it’s working, we would just not know when it worked.

1 Like

That, plus your MC12-LE0 experience, are enough piece of mind for me :slight_smile:

1 Like