FS#35909 - [grub] x86_64-efi hangs when booting Linux; works when compiled with GCC 4.7

Attached to Project: Arch Linux
Opened by Jan Alexander Steffens (heftig) - Monday, 24 June 2013, 05:23 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 24 June 2013, 17:53 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Grub hangs when trying to boot a kernel. Affects both the -ARCH kernel and a custom -zen kernel.

No visible error messages. Unblinking cursor in the upper-left corner. Ctrl+Alt+Del reboots.

Problem vanishes after rebuilding grub with an old GCC. To clarify, Grub has been built with these packages installed:

http://arm.konnichi.com/core/os/x86_64/cloog-0.17.0-2-x86_64.pkg.tar.xz
http://arm.konnichi.com/core/os/x86_64/gcc-4.7.1-1-x86_64.pkg.tar.xz
http://arm.konnichi.com/core/os/x86_64/gcc-libs-4.7.1-1-x86_64.pkg.tar.xz
http://arm.konnichi.com/core/os/x86_64/libmpc-0.9-2-x86_64.pkg.tar.xz
http://arm.konnichi.com/core/os/x86_64/libtool-2.4.2-6-x86_64.pkg.tar.xz
http://arm.konnichi.com/core/os/x86_64/ppl-0.12.1-1-x86_64.pkg.tar.xz

---
Thinkpad X220t, firmware 1.37
grub-2.00-1, x86_64-efi
linux 3.9.7-1
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 24 June 2013, 17:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.00.5043-1
Comment by Jan Alexander Steffens (heftig) - Monday, 24 June 2013, 06:03 GMT
Here's the working build, for others to try:
http://pkgbuild.com/~heftig/grub-2.00-1-x86_64.pkg.tar.xz
Comment by Tobias Powalowski (tpowa) - Monday, 24 June 2013, 11:36 GMT
latest bzr branch compiled with gcc 4.8.1:
https://dev.archlinux.org/~tpowa/grub-2.00-2-x86_64.pkg.tar.xz
Comment by Armin (issue) - Monday, 24 June 2013, 12:58 GMT
Tested heftig's build on 64bit, confirmed working
Comment by Neil Darlow (neildarlow) - Monday, 24 June 2013, 15:51 GMT
I was bitten by this issue on my AMD E-350 based system.

@heftig Your build rescued my system. I was unable to get recent grub packages from A.R.M. Thank you!

@tpowa Does your build include changes that relate to this issue specifically? I would try it but I can't afford system downtime until this weekend.
Comment by Tobias Powalowski (tpowa) - Monday, 24 June 2013, 16:16 GMT
heftig confirmed working grub package, it's the latest branch with tons of patches included.
Fedora is at the moment of 500 patches to latest avaiable source code.
Quite difficult to cherry pick the commit which makes it work again.

Loading...