Bug#565160: Linux console garbled after experimental grub-pc boot

Jonathan Nieder jrnieder at gmail.com
Wed Jan 13 14:43:18 UTC 2010


Package: grub-pc
Version: 1.98~experimental.20100111.1-1
Severity: serious

Hi,

Trying the experimental grub.  Like Fabian reported in
<http://bugs.debian.org/564844>, text does not show up in the
graphical boot menu.  But that is fine for now; I blindly hit enter,
and grub boots the default item, which is Linux
2.6.33-rc3-next-20100111-02660-g364764 (a recent snapshot of the
linux-next tree).

But the screen with some bullets, a rectangle, and no text does not go
away.  Did grub not notice I pressed enter?  No, I hear the hard drive
accessed in the same pattern as a normal boot.  So I blindly log in
and start X; X is fine.  If I switch back to the text-mode console
now, I get something similar to the boot menu screen, but with some
snow mixed in.  Back to X, fine.  Rebooting Linux with kexec does
nothing to help this.  Odd.

Version 1.98~experimental.20091229-1 is similar: though the boot menu
looks like text mode, when Linux boots, it is garbled and I cannot
make out anything until I start X.

Version 1.98~20100110-1, on the other hand, seems to initialize the
console correctly.

Video card is ATI Technologies Inc Rage Mobility M3 AGP 2x [1002:4c46],
which is to say, an r128.  Bugscript output attached.

Despite the glitches, this does look promising. :-)

Hope that helps,
Jonathan
-------------- next part --------------

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/3b48df60-83e0-4fd2-a152-22b942ab5599 / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}
insmod ext2
set root=(/dev/sda,1)
search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
insmod ext2
set root=(/dev/sda,1)
search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
insmod gfxmenu
set theme=($root)/boot/grub/debian-theme/theme.txt
set menuviewer=gfxmenu
fi
set locale_dir=/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set gfxpayload=keep
insmod png
loadfont /boot/grub/dejavu_sans_10.pf2
loadfont /boot/grub/dejavu_sans_12.pf2
loadfont /boot/grub/dejavu_sans_bold_14.pf2
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.33-rc3-next-20100111-02660-g364764e" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root=(/dev/sda,1)
	search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
	echo	Loading Linux 2.6.33-rc3-next-20100111-02660-g364764e ...
	linux	/boot/vmlinuz-2.6.33-rc3-next-20100111-02660-g364764e root=UUID=3b48df60-83e0-4fd2-a152-22b942ab5599 ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-rc3-next-20100111-02660-g364764e
}
menuentry "Debian GNU/Linux, with Linux 2.6.33-rc3-next-20100111-02660-g364764e (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root=(/dev/sda,1)
	search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
	echo	Loading Linux 2.6.33-rc3-next-20100111-02660-g364764e ...
	linux	/boot/vmlinuz-2.6.33-rc3-next-20100111-02660-g364764e root=UUID=3b48df60-83e0-4fd2-a152-22b942ab5599 ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-rc3-next-20100111-02660-g364764e
}
menuentry "Debian GNU/Linux, with Linux 2.6.33-rc2-00304-g9ab1276" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root=(/dev/sda,1)
	search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
	echo	Loading Linux 2.6.33-rc2-00304-g9ab1276 ...
	linux	/boot/vmlinuz-2.6.33-rc2-00304-g9ab1276 root=UUID=3b48df60-83e0-4fd2-a152-22b942ab5599 ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-rc2-00304-g9ab1276
}
menuentry "Debian GNU/Linux, with Linux 2.6.33-rc2-00304-g9ab1276 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root=(/dev/sda,1)
	search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
	echo	Loading Linux 2.6.33-rc2-00304-g9ab1276 ...
	linux	/boot/vmlinuz-2.6.33-rc2-00304-g9ab1276 root=UUID=3b48df60-83e0-4fd2-a152-22b942ab5599 ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-rc2-00304-g9ab1276
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-686" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root=(/dev/sda,1)
	search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
	echo	Loading Linux 2.6.32-trunk-686 ...
	linux	/boot/vmlinuz-2.6.32-trunk-686 root=UUID=3b48df60-83e0-4fd2-a152-22b942ab5599 ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-trunk-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-686 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root=(/dev/sda,1)
	search --no-floppy --fs-uuid --set 3b48df60-83e0-4fd2-a152-22b942ab5599
	echo	Loading Linux 2.6.32-trunk-686 ...
	linux	/boot/vmlinuz-2.6.32-trunk-686 root=UUID=3b48df60-83e0-4fd2-a152-22b942ab5599 ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-trunk-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg


More information about the Pkg-grub-devel mailing list