← Ramblings

Chasing hardware ghosts..RTFM

My EPYC server lost memory channels for nine months.

TL;DR: Since February, my ASRock Rack ROMED8-2T had been disabling two or three DIMMs at every boot, and never quite the same ones. Over nine months I blamed mixed memory, CPU seating, a bad slot, a “platform quirk” and a dying CPU, and got as far as drafting an RMA. The real cause: my Samsung 32 GB LRDIMMs are built on 4 Gbit DRAM chips, and AMD only lists 8 and 16 Gbit chips as supported on EPYC 7003. Pulling the Samsungs and running only my Micron RDIMMs fixed it on the first boot.

The setup

The symptom

All eight slots were full, but the BMC only showed five or six DIMMs. The rest said Absent. The event log had a fresh batch of these after every power-on:

Sensor: DRAM ECC ErrorA1 (d8h)   Type: memory
Memory Device Disabled - Asserted
Event Data1: a4h   Event Data2: 20h   Event Data3: 00h

And the POST screen said it in plain English:

The following Channel memory did not pass CPU memory test.
Please remove the memory then plug again.
Channel F (DDR4_F1)
Channel G (DDR4_G1)
Channel H (DDR4_H1)

The annoying part: the set changed. For months it was mostly channels D and H. Then it was three channels, and after I shuffled sticks it was a different three.

Nine months of wrong answers

The first “Memory Device Disabled” entry in my event log is from early February. I came back to it in April, again in August, and finally this month. I leaned on Claude for a lot of it, across four separate sessions, and it’s worth being straight about how that went: it was good at decoding logs and bad at knowing when it was guessing. Several confident answers along the way were wrong.

April: “it’s the mix”, then “it’s a quirk”, then “it’s the CPU”.

August: “channel D is confirmed bad”.

November: the mix again, then the socket again.

Same two theories, third time around. This is where it finally got settled, because I ran the two tests that should have come first.

Killing the “mixed memory” theory

The claim you’ll find all over forums is that registered and load-reduced DIMMs can’t share a system. AMD’s memory population guide for EPYC 7003 says something narrower: the “same module type” rule applies to DIMMs within a channel. This board has one slot per channel, so there’s nothing to violate. My own machine was proof, with Samsungs and Microns running side by side while other slots were disabled.

The test: I pulled every Micron and ran six Samsungs by themselves. Three channels still failed.

Killing the “socket” theory

If you search for “EPYC missing memory channels”, the top advice is always to reseat the CPU. SP3 is a huge LGA socket, and uneven clamping pressure or a speck of debris can knock out the pins for a whole channel. I even found a thread from another ROMED8-2T owner whose D1 and H1 slots failed the same POST memory test until they blew lint out of the socket. D1 and H1 were my two long-running failures. I was sure this was it.

So I pulled the CPU again. The contact pads were clean. I reseated it properly (T20 Torx, screws in 1-2-3 order, 12 to 14 lbf-in) and booted with the RAM untouched.

Same two channels failed.

A channel that stays dead across a full reseat, with the same stick in it, isn’t a clamping problem.

Reading the event log (the BMC lies a little)

The log turned out to be useful once I stopped trusting how the BMC decodes it:

Here’s the mapping I ended up with. The rows marked “yes” I confirmed against the POST screen or the inventory. The other three come from AMD’s reference table and I haven’t seen them fire.

Event Data2 Channel Slot Confirmed
00h A DDR4_A1 yes
10h B DDR4_B1 no
20h D DDR4_D1 yes
30h C DDR4_C1 no
40h H DDR4_H1 yes
50h G DDR4_G1 yes
60h E DDR4_E1 no
70h F DDR4_F1 yes

Two more BMC gotchas:

The final weekend, boot by boot

Config Channels that failed
8 sticks, mixed D, H
8 sticks, mixed, same layout, next boot D, F, H
8 sticks, mixed, rearranged, CPU pulled and inspected F, G, H
6 Samsungs only (A, C, D, E, G, H) A, G, H
Same, after a full CPU reseat G, H
Samsungs in C, D, G, H G, H
4 Microns in C, D, G, H none

That last row is the whole diagnosis. Same slots that had failed three boots running, different sticks, clean POST. It also puts a Micron in D1, the “confirmed bad channel” from August, and it worked. The slots, the socket and the board were fine all along.

The actual cause

With the Samsungs identified as the problem, the question was why sticks that mostly pass alone get rejected in a set. The answer is in two documents:

So the module is the right kind of thing (4-rank LRDIMMs are supported), which is why the board detects it and some sticks train. It’s just built from older, smaller chips than the platform was specified for. This is a first-generation DDR4 part from the Haswell-era Xeon days.

“Not on the supported list” isn’t the same as “can’t work”. The same three of my six Samsungs trained in August and again in November. But a module that only sometimes passes memory training at boot is not something I want holding VMs.

The fix

Run only supported memory. I put four Micron RDIMMs in C1, D1, G1 and H1, which is the proper balanced four-DIMM layout for this socket, and the problem was gone: clean POST, nothing disabled, nothing in the event log. I ran a memtest on them once they were in and it passed.

That’s 128 GB on four of the eight channels. It’s stable, but it leaves half the memory channels empty, so I’ve ordered four more Microns to match and fill the board.

Shopping for used server RAM with this whole saga fresh in my mind, here’s what I checked on every listing:

When the new sticks arrive, all eight go in and get the same treatment: a few cold boots and another memtest before the box goes back to real work. I’ll update this post with how that goes.

What I’d do differently

  1. Boot a known-good matched set before anything else. Four identical supported RDIMMs in the recommended slots clears the board, socket and slots in one boot. I had those sticks the whole time. This test would have ended it in February.
  2. Don’t test a theory using only the suspect parts. My August slot tests used nothing but Samsungs, so they could never tell a bad slot from a marginal stick.
  3. Read the POST screen first. It names the failed slots in plain text. I spent a long time decoding hex before I looked at it.
  4. Write down what’s in every slot before moving anything. I rearranged RAM without recording it more than once, and those results became unreadable.
  5. Swap sticks between a failing slot and a working one before touching the CPU. If the fault follows the stick, it’s the stick. If it stays put, it’s the slot.
  6. Check the DRAM chip density, not just the module type and capacity. “32 GB DDR4 ECC” covers both of my parts. Only one of them is supported.
  7. Make the AI show its sources. The sessions that went wrong were the ones answered from memory. The one that worked was the one where I pushed for actual research, and the answer came with AMD’s and Samsung’s own documents attached.

References