Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
On Tue, Jan 29, 2008 at 08:18:10PM +, Peter Hicks wrote: > Hi Robert > > Robert Millan wrote: > > >Can you reproduce this in a smaller XFS filesystem? (one that doesn't > >contain > >any sensible data, so that you can put it in some public URL) > > It's reproducable on a 32Mb-ish filesystem I created and bzipped up at > http://stash.poggs.com/grub-xfs-example.bz2 Great. Could you please notify [EMAIL PROTECTED] ? I'm sure someone will pick up on this. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
Hi Robert Robert Millan wrote: Can you reproduce this in a smaller XFS filesystem? (one that doesn't contain any sensible data, so that you can put it in some public URL) It's reproducable on a 32Mb-ish filesystem I created and bzipped up at http://stash.poggs.com/grub-xfs-example.bz2 Peter -- Peter Hicks | e: [EMAIL PROTECTED] | g: 0xE7C839F4 | w: www.poggs.com A: Because it destroys the flow of the conversation Q: Why is top-posting bad? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
On Tue, Jan 29, 2008 at 03:50:21PM +, Peter Hicks wrote: > On Tue, Jan 29, 2008 at 04:15:29PM +0100, Robert Millan wrote: > > > Can you reproduce it with: > > > > apt-get install grub-rescue-pc qemu > > dd if=/dev/sda5 of=/tmp/img > > qemu -boot a -fda /usr/lib/grub-rescue/grub-rescue-floppy.img -hda > > /tmp/img > > > > and trying to setup gfxterm manually? (by loading the font from > > (hd0)/share/...) > > Yes :-) Good! Can you reproduce this in a smaller XFS filesystem? (one that doesn't contain any sensible data, so that you can put it in some public URL) Or otherwise, see if you can put your /usr filesystem somewhere, although I can't garantee that it wouldn't contain any sensible data (particularly, in unused blocks). -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
On Tue, Jan 29, 2008 at 04:15:29PM +0100, Robert Millan wrote: > Can you reproduce it with: > > apt-get install grub-rescue-pc qemu > dd if=/dev/sda5 of=/tmp/img > qemu -boot a -fda /usr/lib/grub-rescue/grub-rescue-floppy.img -hda /tmp/img > > and trying to setup gfxterm manually? (by loading the font from > (hd0)/share/...) Yes :-) qemu: fatal: Trying to execute code outside RAM or ROM at 0x2e2e002e EAX=0009c0d6 EBX=73667800 ECX= EDX= ESI=00088190 EDI=0009c0d6 EBP=0007f76c ESP=0007f740 EIP=2e2e002e EFL=0002 [---] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010 00cf9300 CS =0008 00cf9a00 SS =0010 00cf9300 DS =0010 00cf9300 FS =0010 00cf9300 GS =0010 00cf9300 LDT= 8000 TR = 8000 GDT= 833c 0027 IDT= 03ff CR0=6011 CR2= CR3= CR4= CCS=000c CCD=0007f748 CCO=SUBL FCW=037f FSW= [ST=0] FTW=00 MXCSR=1f80 FPR0= FPR1= FPR2= FPR3= FPR4= FPR5= FPR6= FPR7= XMM00= XMM01= XMM02= XMM03= XMM04= XMM05= XMM06= XMM07= Aborted Just in case it's relevant, xfs_info on /usr: meta-data=/dev/sda5 isize=256agcount=16, agsize=152742 blks = sectsz=512 attr=0 data = bsize=4096 blocks=2443872, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 log =internal bsize=4096 blocks=16384, version=1 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 Peter // Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
On Tue, Jan 29, 2008 at 02:47:33PM +, Peter Hicks wrote: > > Also, try running cat on that file from grub-emu too. > > Works fine. > > I've found that 'insmod gfxterm', 'insmod vbe' and 'terminal gfxterm' result > in a corrupt screen with grey blocks instead of text when I comment out the > 'font' line, but when I add the 'font' line back in, I have the reboot > occuring immediately. Replacing 'unicode' with 'ascii' causes the crash too. > > I copied unicode.pff off to /boot/grub and changed grub.conf, and... it > worked. > > So it seems the bug is to do with reading from an xfs partition. Can you reproduce it with: apt-get install grub-rescue-pc qemu dd if=/dev/sda5 of=/tmp/img qemu -boot a -fda /usr/lib/grub-rescue/grub-rescue-floppy.img -hda /tmp/img and trying to setup gfxterm manually? (by loading the font from (hd0)/share/...) -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
On Tue, Jan 29, 2008 at 02:29:22PM +0100, Robert Millan wrote: > On Tue, Jan 29, 2008 at 12:43:16PM +, Peter Hicks wrote: > > On Tue, Jan 29, 2008 at 01:27:33PM +0100, Robert Millan wrote: > > > > > Did this happen on earlier versions of grub2 ? > > > > No, I've been upgrading daily for a while and rebooting the laptop many > > times during the day. > > During that time, gfxterm wasn't automatically enabled for you, right? I can't say for certain. I don't believe it was, however I don't delve in to grub.cfg regularly. > > No, when I run grub-emu, I can access files on the xfs partitions, e.g. > > (hd0,5)/share/grub/unicode.pff. > > What happens if you cat that file from grub-emu? (asides from seeing a lot of > garbage in your terminal ;-)). It spews out a load of garbage. > > The only strange behaviour was "error: > > invalid arch dependent ELF magic" when insmod-ing (hd0,2)/boot/grub/vbe.mod. > > > > I've tried commenting out the font(hd0,5), set gfxmode, insmod gfxterm, > > insmod vbe and terminal gxterm lines in grub.cfg, replacing them with > > 'terminal console' with no change in behaviour. > > Can you try commenting out the "background_image" line as well? There's not a background_image line in grub.cfg... > Also, try running cat on that file from grub-emu too. Works fine. I've found that 'insmod gfxterm', 'insmod vbe' and 'terminal gfxterm' result in a corrupt screen with grey blocks instead of text when I comment out the 'font' line, but when I add the 'font' line back in, I have the reboot occuring immediately. Replacing 'unicode' with 'ascii' causes the crash too. I copied unicode.pff off to /boot/grub and changed grub.conf, and... it worked. So it seems the bug is to do with reading from an xfs partition. Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
[ please keep the CC address, so that this gets archived ] On Tue, Jan 29, 2008 at 12:43:16PM +, Peter Hicks wrote: > On Tue, Jan 29, 2008 at 01:27:33PM +0100, Robert Millan wrote: > > > Did this happen on earlier versions of grub2 ? > > No, I've been upgrading daily for a while and rebooting the laptop many > times during the day. During that time, gfxterm wasn't automatically enabled for you, right? > > Can you reproduce the problem with grub-emu ? E.g. by trying to access > > files > > in your xfs partitions. > > No, when I run grub-emu, I can access files on the xfs partitions, e.g. > (hd0,5)/share/grub/unicode.pff. What happens if you cat that file from grub-emu? (asides from seeing a lot of garbage in your terminal ;-)). > The only strange behaviour was "error: > invalid arch dependent ELF magic" when insmod-ing (hd0,2)/boot/grub/vbe.mod. > > I've tried commenting out the font(hd0,5), set gfxmode, insmod gfxterm, > insmod vbe and terminal gxterm lines in grub.cfg, replacing them with > 'terminal console' with no change in behaviour. Can you try commenting out the "background_image" line as well? Also, try running cat on that file from grub-emu too. Thank you -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: [EMAIL PROTECTED]: Re: Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message]
On Tue, Jan 29, 2008 at 01:27:33PM +0100, Robert Millan wrote: > Did this happen on earlier versions of grub2 ? No, I've been upgrading daily for a while and rebooting the laptop many times during the day. > What happens if you rename /boot/grub/grub.cfg ? Do you get a rescue prompt? Yes, the rescue prompt comes up fine. > Can you reproduce the problem with grub-emu ? E.g. by trying to access files > in your xfs partitions. No, when I run grub-emu, I can access files on the xfs partitions, e.g. (hd0,5)/share/grub/unicode.pff. The only strange behaviour was "error: invalid arch dependent ELF magic" when insmod-ing (hd0,2)/boot/grub/vbe.mod. I've tried commenting out the font(hd0,5), set gfxmode, insmod gfxterm, insmod vbe and terminal gxterm lines in grub.cfg, replacing them with 'terminal console' with no change in behaviour. // Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
On Tue, Jan 29, 2008 at 11:58:43AM +, Peter Hicks wrote: > Package: grub2 > Version: 1.95+20080128-1 > Severity: critical > Justification: breaks the whole system > > After upgrading this morning, my laptop (Dell Latitude D820) rebooted > immediately after "Welcome to GRUB!" appeared. The BIOS went through a > 'slow' boot, indicative that the last reboot was unexpected. > > I've filed this bug early to prevent other people being caught out with an > unbootable system. Did this happen on earlier versions of grub2 ? What happens if you rename /boot/grub/grub.cfg ? Do you get a rescue prompt? Can you reproduce the problem with grub-emu ? E.g. by trying to access files in your xfs partitions. Thanks -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message
Package: grub2 Version: 1.95+20080128-1 Severity: critical Justification: breaks the whole system After upgrading this morning, my laptop (Dell Latitude D820) rebooted immediately after "Welcome to GRUB!" appeared. The BIOS went through a 'slow' boot, indicative that the last reboot was unexpected. I've filed this bug early to prevent other people being caught out with an unbootable system. -- Package-specific info: *** BEGIN /proc/mounts rootfs / rootfs rw 0 0 none /sys sysfs rw,nosuid,nodev,noexec 0 0 none /proc proc rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw 0 0 /dev/sda2 / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0 /dev/sda2 /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0 tmpfs /lib/init/rw tmpfs rw,nosuid 0 0 usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 devpts /dev/pts devpts rw,nosuid,noexec 0 0 /dev/sda7 /home xfs rw,noatime,ikeep,noquota 0 0 /dev/sda5 /usr xfs rw,noatime,ikeep,noquota 0 0 /dev/sda6 /var xfs rw,noatime,ikeep,noquota 0 0 /tmp /tmp tmpfs rw 0 0 /proc/sys/fs/binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 *** END /proc/mounts *** BEGIN /boot/grub/device.map (hd0) /dev/sda *** END /boot/grub/device.map *** BEGIN /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/update-grub using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set default=0 set timeout=5 set root=(hd0,2) font (hd0,5)/share/grub/unicode.pff set gfxmode=640x480 insmod gfxterm insmod vbe terminal gfxterm ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_hurd ### ### END /etc/grub.d/10_hurd ### ### BEGIN /etc/grub.d/10_linux ### menuentry "Debian GNU/Linux, linux 2.6.24-neasden-poggs" { linux (hd0,2)/boot/vmlinuz-2.6.24-neasden-poggs root=/dev/sda2 ro vga=791 splash initrd (hd0,2)/boot/initrd.img-2.6.24-neasden-poggs } menuentry "Debian GNU/Linux, linux 2.6.24-neasden-poggs (single-user mode)" { linux (hd0,2)/boot/vmlinuz-2.6.24-neasden-poggs root=/dev/sda2 ro single vga=791 splash initrd (hd0,2)/boot/initrd.img-2.6.24-neasden-poggs } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/15_windows ### menuentry "Windows XP Professional" { set root=(hd0,1) chainloader +1 } ### END /etc/grub.d/15_windows ### ### BEGIN /etc/grub.d/20_memtest86 ### menuentry "Memory test (memtest86)" { linux (hd0,2)/boot/memtest86.bin } ### END /etc/grub.d/20_memtest86 ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry "Memory test (memtest86+)" { linux (hd0,2)/boot/memtest86+.bin } ### END /etc/grub.d/20_memtest86+ ### *** END /boot/grub/grub.cfg -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-neasden-poggs (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages grub2 depends on: ii debconf 1.5.18 Debian configuration management sy ii grub-pc 1.95+20080128-1 GRand Unified Bootloader, version grub2 recommends no packages. -- debconf information: grub2/numbering_scheme_transition: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]