FS#22993 - [grub2-bios] memtest86+'s entry doesn't work

Attached to Project: Arch Linux
Opened by mattia (nTia89) - Monday, 21 February 2011, 16:20 GMT
Last edited by Ronald van Haren (pressh) - Friday, 22 April 2011, 10:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

if i select its from grub menu, my pc reboot

Additional info:

* latest x86_64 packages, this include: grub2-bios-1.99~rc1-1 and memtest86+-4.20-1



Steps to reproduce:

have grub2-bios and memtest86+ installed, building the config file using grub tool "grub-mkconfig -o /boot/grub/grub.cfg", select memtest entry at grub menu
This task depends upon

Closed by  Ronald van Haren (pressh)
Friday, 22 April 2011, 10:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in upcoming 1.99rc2. Note that you need to reinstall grub2 to your mbr (grub-install /dev/sda or similar) for it to work.
Comment by mattia (nTia89) - Wednesday, 23 February 2011, 08:12 GMT
i get an error before the grub's menu but it says me only error in config, after the menu will be shown normally
Comment by darkraven (darkraven) - Monday, 07 March 2011, 12:39 GMT
Same problem with grub, I think grub2 is not related, it's a memtest86+ bug

P.S.
Related lines in my menu.lst:
title Memtest86+ [/boot/memtest86+/memtest.bin]
root (hd0,5)
kernel /memtest86+/memtest.bin
Comment by Ronald van Haren (pressh) - Monday, 07 March 2011, 12:46 GMT
just to be sure, you did install the memtest package?
Comment by darkraven (darkraven) - Monday, 07 March 2011, 13:16 GMT
Yes.

Name : memtest86+
Version : 4.20-1
...
Installed Size : 180.00 K
...
Install Date : Mon 07 Mar 2011 12:49:06 PM CST
Install Reason : Explicitly installed

Comment by Ronald van Haren (pressh) - Monday, 07 March 2011, 13:53 GMT
Okay. I'll try to look at it one of the coming days.
Comment by Ronald van Haren (pressh) - Monday, 07 March 2011, 20:29 GMT
@Eric: does memtest86+ work for you? Is there any way to log why the memtest kernel image just reboots the computer?
Comment by Eric Belanger (Snowman) - Monday, 07 March 2011, 21:52 GMT
memtest86+ works fine here on x86_64 with grub 0.97-17. I have no idea about the logging.

One way to test if its a memtest or grub2 issue is to grab the bootable ISO from memtest.org, burn it on a CD and then boot it. If it boots and works fine then it's probably an issue with grub2 like a config error or how it launches memtest. If not, then it's a problem with memtest. Pehaps hardware related. FTR, do you use a relatively new or uncommon CPU? If so, then maybe memtest doesn't support it.


Comment by darkraven (darkraven) - Tuesday, 08 March 2011, 01:07 GMT
CPU: Intel Core i3 370M.

Changelog on the memtest's homepage says it is supported in version 4.10.
Comment by darkraven (darkraven) - Tuesday, 08 March 2011, 01:24 GMT
BTW,
I've two memory installed, here is lines from lshw:

*-memory
description: System Memory
physical id: d
slot: System board or motherboard
size: 6GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1334 MHz (0.7 ns)
product: M471B5673EH1-CF8
vendor: AMD
physical id: 0
slot: M1
size: 4GiB
width: 64 bits
clock: 1334MHz (0.7ns)
*-bank:1
description: SODIMM DDR3 Synchronous 1334 MHz (0.7 ns)
product: ACR256X64D3S1333C9
vendor: AMD
physical id: 1
slot: M2
size: 2GiB
width: 64 bits
clock: 1334MHz (0.7ns)
Comment by mattia (nTia89) - Tuesday, 08 March 2011, 15:01 GMT
i have an opteron 939 + 2*1 gb ram ddr kingston

completely different hardware but same problem

i indeed use memtest in arch ISO and it works fine.....

so, imho isn't an hardware problem....
Comment by Ronald van Haren (pressh) - Tuesday, 08 March 2011, 15:10 GMT
can you save me the hassle of burning a cd by calling the repo verion from archiso and see if it works?
Comment by mattia (nTia89) - Tuesday, 08 March 2011, 15:18 GMT
how can i do ?
Comment by Ronald van Haren (pressh) - Tuesday, 08 March 2011, 15:26 GMT
I suppose archiso uses grub (sorry never used it)? If that is the case you should be able to enter the required commands in a similar way you normally have them in your grub config.
Comment by mattia (nTia89) - Tuesday, 08 March 2011, 17:05 GMT
no, arch 2010.05 iso uses isolinux not grub
Comment by Anonymous Submitter - Monday, 04 April 2011, 07:09 GMT
mattia: Can you attach your /etc/grub.d/20_memtest86+ and /boot/boot/grub.cfg . Also check whether memtest86+ is installed at /boot/memtest86+/memtest.bin .
Comment by Anonymous Submitter - Monday, 04 April 2011, 07:09 GMT
mattia: Can you attach your /etc/grub.d/20_memtest86+ and /boot/grub/grub.cfg . Also check whether memtest86+ is installed at /boot/memtest86+/memtest.bin .
Comment by mattia (nTia89) - Monday, 04 April 2011, 17:16 GMT
/etc/grub.d/20_memtest86+:

http://pastebin.com/DWPyQK0h

/boot/grub/grub.cfg:

http://pastebin.com/nwGSy06A
Comment by Anonymous Submitter - Thursday, 21 April 2011, 17:30 GMT
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/683904

Unfortunately this commit was applied just after 1.99~rc2 tarball was released by upstream - http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3230 . I guess that solves the mystery.

pressh: Apply http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/diff/3230 patch to grub2-bios 1.99~rc2 if possible. I dont think this affects grub2-efi-{x86_64,i386} since thay do not include linux16 command.
Comment by mattia (nTia89) - Thursday, 21 April 2011, 18:49 GMT
so this should be fixed in next version ?
Comment by Anonymous Submitter - Thursday, 21 April 2011, 20:42 GMT

Loading...