Bug#544155: [grub-pc] grub update renders system unbootable (unaligned pointer 0x700ba)

Felix Zielcke fzielcke at z-51.de
Mon Aug 31 08:31:06 UTC 2009


retitle 544155 gfxterm breaks booting on Thinkpads
thanks

Am Sonntag, den 30.08.2009, 23:40 +0200 schrieb Witold Baryluk:

> > Maybe it helps if you disable the gfxterm.
> > In /etc/default/grub uncomment `GRUB_TERMINAL=console' and run
> > update-grub.
> 
> Now this is interesting. After following this instructions, grub (still
> 1.92+20090829-1 from unstable) started working.
> 
> Then I downgraded manually to 1.92+20090808-1 from squeeze (by manual
> dpkg -i with .deb packages grub-pc and grub-common, and then
> additionally grub-install /dev/sda to be sure), to be sure there is no
> problem with&without gfxterm enabled. And there is non.
> 
> Lastly i reinstalled manually 1.92+20090826-3 and retested it.
> 
> Summary:
> 
> 1.92+20090808-1 works.
> 1.92+20090826-3 works only with GRUB_TERMINAL=console
> 1.92+20090829-1 works only with GRUB_TERMINAL=console
> 
> I need to say that in my configuration even 1.92+20090808-1 with
> commented out GRUB_TERMINAL (so using gfxterm), grub is still using text
> mode (I have installed grub2-splashimages 1.0.0, and it is detected by
> update-grub when GRUB_temrinal is commented as providing
> moreblue-orbit-grub.png)

moreblue-orbit-grub.png is actually provided by desktop-base, but we
copy it in the postinst to /boot.

> I know that grub2 have gfx mode (i have desktop computer which have this
> working), but on my laptop it is not working.
> 
> So it can be something with gfx modes in thinkpad T4x specifically.
> 
> > It would be good if some of you could do a svn-bisect to find the exact
> > commit out which broke it.
> 
> I can try do do this. Should i start from debian source package and then
> bisect using official grub2 svn repository, building for each bisection
> step a .deb package?

Luckly there aren't that many commits related to the graphical
subsystem.
Try the attached patch. I think that's the best try.
Instructions for compiling the Debian packages are here:
http://wiki.debian.org/de/GRUB2/Anleitung/DebianPaketVonOriginalQuelltext

But I suggest you remove from debian/control all packages you don't
need, else compiling will take unnecessary long.
The debian/ directory should work with all upstream revisions between
2549 (beta1) and 2488 (1.96+20090808)

If that patch isn't the reason for the break, I think it would be good
to reverse 2494, 2527 or 2494
The others don't look like they could cause this.


> PS. I hate bisecting kernel or bootloaders. Zylions of reboots :)
> (and because of svn, i would need to everytime login fully into gnome,
> because of my wifi networking is working only there :/).
> 


-- 
Felix Zielcke
Proud Debian Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1bit_blitters.diff
Type: text/x-patch
Size: 21545 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090831/f10090ae/attachment.bin>


More information about the Pkg-grub-devel mailing list