- Most Recent |
24 hours |
7 days |
30 days |
365 days |
HowFlow —
Recently I had problems with a bad ram module. This trick allows you to mark blocks as bad, so they are never used and you dont't have to deposit your memory in the trash, just because a few kb are faulty.
Posted by
drhopfen about 1 year ago
This trick is based upon the work of Rick van Rein (Rick’s Homepage )an many others. They developed a patch which allows you to mark bad ram pages. As I am curious I did’nt want to wait for a new version of the patch, fitting the 2.6.25 kernel. So I modified the patch to work with the current kernel.
Prerequisites
Memtest86+ (to find out which pages are bad)
Kernel sources for the 2.6.25 kernel (i.e. at kernel.org or your distri)
The patch attached to that trick
What to do
Start your machine and run memtest with the BadRam error reporting option. This may result in an output like
badram=0x09ada0b8, 0xfffffffc
This option can directly appended to your boot entry in /boot/grub/menu.lst
Get the patch an install it via
patch -p1 < BadRam-2.6.25.1.patch
in your kernel source directory. Compile your patched kernel an reboot it with the badram option appended. Voila no more crashes caused by allocation of faulty ram…
You may want to look up
dmesg|grep Memory
to see which pages are marked bad.
Files
BadRAM-2.6.25.1.patch.txt
Please log in or sign up and vote for this trick if it was helpful for you.
Don't forget to subscribe to our
RSS/Atom feed to get the latest tricks.
Don't forget to subscribe to our
RSS/Atom feed to get the latest tricks.












