I've heard of people collecting known-bad DIMMs for this purpose, or trying to blast their RAM with heat or radiation.
Why does this have to be so difficult?
I've heard of people collecting known-bad DIMMs for this purpose, or trying to blast their RAM with heat or radiation.
Why does this have to be so difficult?
In my experience getting the information isn't "difficult" so much as it isn't "common". On my FreeNAS device (which has the Xeon) it also has an IPMI controller which lets me ask it over the network how many ecc errors have been seen. (and it can act like a remote console as well but we'll leave that for another time :-))
So find out how the motherboard is tracking ECC, then find the tool that talks to that system to ask it for the logs of ECC errors.
The problem is how to determine whether your system is actually capable of detecting/logging errors end-to-end. There needs to be a standard way to inject an ECC error and see what happens.
"0 errors" is very different from "ECC not available," and that's a distinction I'd expect the operating system to be able to make.
For example, here's how Linux shows ECC and non-ECC memory reports:
# ECC
$ sudo edac-util -v
mc0: 0 Uncorrected Errors with no DIMM info
mc0: 0 Corrected Errors with no DIMM info
edac-util: No errors to report.
# Non-ECC
$ sudo edac-util -v
edac-util: Error: No memory controller data found.In case the OS/BIOS does not support overclocking or fails report memory error properly, certain data pins of the dimm slot could be physically shorted with metal wire to add a persistent stuck bit. Without ECC the system will not boot. I've seen it done on multiple occasions but web search is drawing a blank for the moment. IIRC it was being discussed a lot when first gen Ryzen cpu came out and people were arguing left and right whether ECC support is present on motherboard X.
Finally some memtest software claims to be able to inject errors on a software level. I can't vouch for them as I have very little experience but it would be very simple to find out.
Or play with rowhammer tests.
https://ark.intel.com/content/www/us/en/ark/products/77495/i...