# ECC Memory W Ryzen
[[Which AMD Chipsets Support ECC Memory]]
[[Check ECC Memory State on Linux]]
I found out there are some confirmed consumer AMD cpu + Asrock & Asus mobo pairs that have working and enabled ECC, but they may not report those errors properly due to BIOS. SO, crossing my fingers those manufacturers are not lying, i'll get a pair and save a few hundred $ over server equipment
someone said 7 months ago:
> I run TrueNAS on an ASRock X570M Pro4 with a Ryzen 5 5600X. ECC does, indeed, work as it reports and recovers errors successfully in dmesg output. I can see it enumerated in the dmesg during startup. mcelog puts errors into syslog - you can grep for "DRAM ECC" to see any flagged errors.
- It works on all non APU CPU's and all PRO SKU APU's.
- It must be uDIMM ECC ("not all ECC RAM works. Specifically, you need Unbuffered / Unregistered DIMMs,") To work on ryzen the ECC ram must not be registered.
- Enabling it up to the motherboard manufacturer. The rule of thumb is: All AsRock, Most ASUS, Some Gigabyte, No MSI.
Booting is different than using ECC is different than reporting errors.
5600x can boot and use ECC but may not report due to BIOS. Pro series has higher odds of reporting, while a server mobo is most reliable.
> If you want official ECC support, then go for a PRO-SKU AMD CPU, like Ryzen 5 PRO 4650G or Ryzen 3 PRO 4350G. So far ASRock had one of the best ECC support with Ryzens.
> I have an ASRock X570 Steel Legend and Ryzen 5600. ECC is reported as installed, however as far as I can tell there is no logging. As the other comment suggested and from what I found you will likely need a Ryzen PRO model to have a chance of error logging.
>
> You may have already seen these but
>
> [https://forum.level1techs.com/t/ryzen-5700x-ecc-reporting/197090/4](https://forum.level1techs.com/t/ryzen-5700x-ecc-reporting/197090/4)
>
> [https://forum.level1techs.com/t/asrock-taichi-x570-ecc-options-no-longer-in-bios/178045/8](https://forum.level1techs.com/t/asrock-taichi-x570-ecc-options-no-longer-in-bios/178045/8)
[[Summary of the aforementioned forums]]
Confirmed setup:
[AMD Ryzen 5 PRO 5650G](https://geizhals.de/amd-ryzen-5-pro-5650g-100-000000255-a2536556.html?hloc=at&hloc=de) ([eBay](https://www.ebay.com/itm/387177025851?chn=ps) for $100)
[GIGABYTE B550I AORUS PRO AX](https://a.co/d/5D8gl1k) ($190, 4 SATA, 2.5Gb LAN, only one PCIe slot, which is x16, supports ECC)
[2 x Kingston Server Premier 16 GB DDR4-3200 ECC DIMM CL22 Single (KSM32ES8/16ME)](https://www.amazon.com/Kingston-DDR4-3200-PC4-25600-Server-Memory/dp/B08GKW2LG6) ($100)
Total: $390
Other confirmed mobos:
`ASUS Crosshair VI Hero (X370)`
`ASUS ROG Strix B450-F Gaming / II`
`ASUS Prime B450M-A II` - only mATX on this list, but only 1GB LAN, basically requiring a dedicated network interface card (NIC)
`ASUS ROG Strix X570-E`
`ASUS Prime X570-PRO`
Confirmed working modules:
`KTH-PL424E/8G`
`KTH-PL424E/16G`
`KSM26ED8/16ME`
`KSM32ES8/16ME`
`KSM32ED8/32ME`
With Ryzen 3000 and 5000 the support is reported correctly on the website, if the ECC field is not present it is certainly not supported.
It seems Crucial or Samsung ECC are preferred over Kingston
Perhaps another combo:
- ASRock B450 Pro
- Ryzen 5 1600
Or:
- [X570D4U-2L2T](https://a.co/d/7wq1dW9) ($412)
- ryzen 5600x
I recently got an official response from AMD stating that ecc correction and reporting is supported on the Ryzen 9 3950x and threadripper 3990x.
https://www.youtube.com/watch?v=O3Ufz4hNP1Y these youtubers used ASRock B550M Pro4 mATX with ECC memory. Comment: "With this board you can use any 3xxx+ CPU (don't need ryzen pro) and it will support ecc memory. In case of AM4 its motherboard side problem"
https://www.youtube.com/watch?v=0R8V40-tRBY this youtuber used Asrock B550M PG Riptide Motherboard with AMD Ryzen 5 5600 and OWC 32GB DDR4 3200MHz PC4-25600 CL22 2RX8 ECC Unbuffered UDIMM 1.2V 288-pin Workstation Server Memory RAM
AMD Ryzen 5 Pro 5650GE
Another confirmed combo:
- TUF B550-Plus WiFi (mATX vcrsion [here](https://www.newegg.com/asus-tuf-gaming-b550m-plus-wifi-ii/p/N82E16813119569), not confirmed per se)
- [32gb of unbuffered ECC 3200mhz from Nemix ($88)](https://a.co/d/1YX15WM)
Another confirmed combo?:
- Asus Tuf gaming b550 Plus (someone else said "And yeah their website said B550M-PLUS supports ECC (depends on CPU) , but saddly it is a lie.")
- KSM32ED8/16HD ECC udimm
Another:
- 128GB ECC RAM ()
- Ryzen 5750G APU ($240)
- [ASRock B550M Steel Legend motherboard](https://a.co/d/audqsY7) ($140)
Asrock X570 Taichi + 5600x
PFEH option needs to be in UEFI
the ASUS Pro WS X570-ACE has 8 SATA ports from the X570 chipset; 4 via “normal” SATA ports and 4 via its U.2 port you can control via the UEFI (switch between PCIe for an NVMe SSD or 4 x SATA to use with a U.2/SFF-8643-to-4x-SATA breakout cable).
**Conclusion: ECC error reporting works on the X570 Taichi with a 5750G PRO CPU on BIOS version 5.03 BETA by turning PFEH OFF**
chiplet Zen 3 as in anything from 5600X to 5950X
Regarding the PFEH option, that’s good to know. Sounds like ECc error reporting likely won’t work on the 5700X then.
likely true, but it only applies to that specific version of MB and BIOS. that is the point i keep trying to get across with all this stuff.
I bet it’s possible for a [bios mod](https://winraid.level1techs.com/c/bios-uefi-modding/7/none) or something like the [runtime patcher I can use to reveal additional hidden settings in my laptop bios](https://github.com/SmokelessCPUv2/SmokelessRuntimeEFIPatcher) to force such an option to show up or be set, regardless of the CPU check.
5950x should work as there is no IGP on this processor.
Asus prime x570-p is confirmed working w 5700x (not a typo)
You can write an e
When there is a memory error, the onboard memory management console might log the memory error, while the Linux kernel might, and you can write a script to take the error from the kernel to inject it into the management log.
steel legend 670 has working ECC, so previous gen might.
For what it’s worth, [here’s someone 3](https://www.reddit.com/r/Amd/comments/l493wy/my_experience_overclocking_ecc_memory_on_ryzen/) reporting ECC correctable errors on an ASRock B550M Steel Legend at least.
Confirmed working kernel reporting (with that bios):
- Ryzen 5800X
- ASRock B550M Steel Legend
- 2x https://www.newegg.com/p/1B4-00M4-003Z2