Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267592

Summary: sys-apps/memtest86+: Error 28: Selected item cannot fit into memory" when booting memtest86+
Product: Gentoo Linux Reporter: Yan-Fa Li <yanfali>
Component: [OLD] Core systemAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, jthirsk
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=472981
See Also: https://bugs.gentoo.org/show_bug.cgi?id=382757
https://bugs.gentoo.org/show_bug.cgi?id=339691
Whiteboard:
Package list:
Runtime testing required: ---

Description Yan-Fa Li 2009-04-26 19:46:49 UTC
Seems like the latest versions of memtest86+ trigger problems in grub.  Work around appears to be use the ELF version and the grub --type=netbsd options.

Reproducible: Always

Steps to Reproduce:
1. emerge memtest86+ (version 2.11)
2. reboot and select memtest86+ from grub
3. watch grub throw Error 28

Actual Results:  
This fedora bug explains it far better than I can.

https://bugzilla.redhat.com/show_bug.cgi?id=472981

Expected Results:  
memtest86+ boots on AMD64 system
Comment 1 Yan-Fa Li 2009-04-26 19:55:51 UTC
Confirmed, fedora work around works for my system.

 1. patch memtest.lds for memory location above 0x10000
 2. install elf rather than bin version
 3. add --type=netbsd flag to grub kernel entry
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2009-05-05 20:17:53 UTC
This should now be fixed in CVS.  Thanks for reporting the problem and providing a fix for it!

I would appreciate it if you could please confirm that the issue is indeed gone after updating your Portage tree and reinstalling memtest86+.
Comment 3 Jared Thirsk 2009-06-23 20:44:08 UTC
I just tried 2.11 (had to add ~x86 -- any reason why it is unstable?) and after updating my grub kernel entry, it works!  Thanks for fixing this!  

It is so weird that all those bootdisks and livecd's with the trusty memory tester are now all defunct for newer PCs like mine.