Comment 23 for bug 19885

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

AFAIK this bug occurs in computers with more than 1 GB RAM, sometimes bug appears when you add more RAM. I guess, that another reason can be installation of memtest in big hard disks, when memtest86+.bin file is placed not in first partition.

According to email from Debian bugreport this bug can be fixed by using ELF executable version of memtest86 and one-line patch:

From: "Rajeev V. Pillai" <email address hidden>
To: <email address hidden>
Subject: memtest86+: does not work: wouldn't fit into memory [PATCH]
Date: Mon, 5 Feb 2007

I've managed to boot both memtest86 (v3.2) and memtest86+ (v1.65 and v1.70) using grub by following the steps below:

1. Use the ELF executable version of memtest (file memtest)
   instead of the zImage i.e. directly bootable version (file memtest.bin).
2. Apply the patch below which changes 1 line - the load address of
   the ELF executable from 0x10000 to 0x100000. Otherwise,
   grub complains: "Error 7: Loading below 1MB is not supported"
3. Make the binaries as usual by typing `make'.
4. Load the ELF executable memtest like this:

   title Memtest86+ v1.70
       root (hd0,2) # Change this for your setup
       kernel --type=netbsd /boot/memtest