Comment on The right FUCKING time to get TWO ram sticks damaged

<- View Parent
tal@lemmy.today ⁨4⁩ ⁨days⁩ ago

Ah, fair enough. Long shot, but thought I’d at least mention it on the off chance that maybe it would work and maybe you hadn’t yet tried it. Sorry.

tries to think of anything else that could be done

Are you using Linux? Linux has a patch that was added many years back with the ability to map around damaged regions in memory. I mean, if your memory is completely hosed and you can’t even boot the kernel, then that won’t work, but if you can identify specific areas that fail, you can hand that off to the kernel and it can just avoid them. Obviously decreases usable memory by a certain amount, but…shrugs

I’ve never needed to do it myself, but let me go see if I can find some information. Think it was the “badram” feature.

searches

Okay. You’re running memtest86. It looks like that has the ability to generate the string you need, and you hand that off to GRUB, which hands it off to the kernel.

memtest86.com/blacklist-ram-badram-badmemorylist.…

MemTest86 Pro (v9 or later) supports automatic generation of BadRAM string patterns from detected errors in the HTML report, that can be used directly in the GRUB2 configuration without needing to manually calculate address/mask values by hand.

To enter the address ranges to blacklist manually, do the following:

Edit /etc/default/grub and add the following line:

GRUB_BADRAM=addr,mask[,addr,mask…]

where the list of addr,mask pairs specify the memory range to block using address bit matching Eg. GRUB_BADRAM=0x7ddf0000,0xffffc000 shall exclude the memory range 0x7DDF0000-0x7DDF4000 Open and terminal and run the following command

sudo update-grub

Reboot the system

If you can’t even boot the system sufficiently to get update-grub to run, then you might need to do a fancier dance, but that’s probably a good first thing to try.

source
Sort:hotnewtop