Bug#466598: grub-pc chokes on grub.cfg, hangs before menu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm sorry, I gave you attitude when I was frustrated. You didn't deserve that. I didn't edit grub.cfg, and this is not the first time I installed grub-pc. I've been using grub-pc for a few months. The edits I did do consisted of commenting out lines. I don't know the syntax, but I understand enough to figure out what a conditional block looks like. When the new version came out, I took a snapshot of the virtual machine I was testing on and held my breath. The problem seems to be I can't hold my breath long enough. If I wait a bit longer I get a menu. The menu is slow to the point of unresponsive, but I get a working system if I wait for it to pick the default. At this point I assume all of grub2 executes at ring 0 and the slowdown is due to virtualbox moving all of it to ring 1. I'll reinstall grub-pc on my tower and see if it's fixed. If so, I hope I didn't waste too much of your time. Despite my complaints, I like grub2 a lot and I'm really impressed with the progress it's made. Robert Millan wrote: > severity 466598 important > thanks > > On Tue, Feb 19, 2008 at 04:23:39PM -0500, Barry Schatz wrote: >> Using the newest grub-pc package, I ran update-grub and then >> grub-install. Chainloading doesn't work by the way, because >> it doesn't create the chainload option in legacy grub. > > Was this the first time you installed grub-pc? > >> Booting >> straight to grub2 results in "Welcome to Grub" and an >> unresponsive computer. >> >> In a previous release the if statements created by 00_header >> PROVIDED BY THE GRUB-PC PACKAGE were a problem, but removing >> those if statements doesn't avoid the problem any more. > > What do you see after "Welcome to Grub" when you use grub.cfg AS generated > by update-grub WITHOUT MODIFIING IT? > >> insmod png >> if background_image >> (hd0,5)/share/images/desktop-base/debian-blueish-wallpaper-640x480.png ; >> then > > This is wrong. Don't do it. Don't edit the file at all unless you understand > the syntax. > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHvDmMtXr3a6NTXfoRAsxEAJ94gCnzL93dKn/oa4ZwbLxa9RoblwCdHD+9 VBM9uU9tyzWhVfLY8gV5i6o= =gmE2 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#466598: grub-pc chokes on grub.cfg, hangs before menu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: grub-pc Version: 1.96+20080216-1 Severity: critical Justification: breaks the whole system Using the newest grub-pc package, I ran update-grub and then grub-install. Chainloading doesn't work by the way, because it doesn't create the chainload option in legacy grub. Booting straight to grub2 results in "Welcome to Grub" and an unresponsive computer. In a previous release the if statements created by 00_header PROVIDED BY THE GRUB-PC PACKAGE were a problem, but removing those if statements doesn't avoid the problem any more. I have had this problem on two computers, one a desktop and one a virtual machine. - -- Package-specific info: *** BEGIN /dev/hda1 / ext3 rw,errors=remount-ro,data=ordered 0 0 /dev/hda1 /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0 /dev/hda9 /home ext3 rw,data=ordered 0 0 /dev/hda8 /tmp ext3 rw,data=ordered 0 0 /dev/hda5 /usr ext3 rw,data=ordered 0 0 /dev/hda6 /var ext3 rw,data=ordered 0 0 *** END *** 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/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,1) if font (hd0,5)/share/grub/unicode.pff ; then set gfxmode=640x480 insmod gfxterm insmod vbe terminal gfxterm fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod png if background_image (hd0,5)/share/images/desktop-base/debian-blueish-wallpaper-640x480.png ; then set color_normal=black/black set color_highlight=magenta/black else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### 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-1-686" { linux (hd0,1)/boot/vmlinuz-2.6.24-1-686 root=/dev/hda1 ro initrd (hd0,1)/boot/initrd.img-2.6.24-1-686 } menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" { linux (hd0,1)/boot/vmlinuz-2.6.24-1-686 root=/dev/hda1 ro single initrd (hd0,1)/boot/initrd.img-2.6.24-1-686 } ### END /etc/grub.d/10_linux ### *** END /boot/grub/grub.cfg - -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages grub-pc depends on: ii base-files4.0.2 Debian base system miscellaneous f ii debconf [debconf-2.0] 1.5.19 Debian configuration management sy ii libc6 2.7-8 GNU C Library: Shared libraries ii liblzo1 1.08-3 data compression library (old vers ii libncurses5 5.6+20080203-1 Shared libraries for terminal hand grub-pc recommends no packages. - -- debconf information: * grub-pc/linux_cmdline: * grub-pc/chainload_from_menu.lst: true -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHu0jbtXr3a6NTXfoRAvdrAJ9nSK+dvDj3nVEItAjmuwmfTT8F3wCfb5hm g2v1qYqymSRx1UkXCp5c3T4= =/G2i -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#464464: grub-pc: syntax error in generated grub.cfg
Package: grub-pc Version: 1.96+20080203-1 Severity: critical Justification: breaks the whole system The If-statement 00_header writes to grub.cfg is malformed, and causes grub2 to get stuck in an infinite loop of syntax errors. This code breaks the system: if font (hd0,5)/usr/share/grub/unicode.pff ; then set gfxmode=1024x768 insmod gfxterm insmod vbe terminal gfxterm fi My fixed grub.cfg is below. I fixed 00_header the same way: font (hd0,5)/usr/share/grub/unicode.pff set gfxmode=1024x768 insmod gfxterm insmod vbe terminal gfxterm -- 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/sda5 / ext3 rw,data=ordered 0 0 /dev/sda5 /dev/.static/dev ext3 rw,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 fusectl /sys/fs/fuse/connections fusectl rw 0 0 /dev/sda6 /home reiserfs rw 0 0 /dev/sda2 /mnt/c fuseblk rw,nosuid,nodev,noexec,user_id=0,group_id=0,default_permissions,allow_other 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 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,5) #bug: syntax error right here: font (hd0,5)/usr/share/grub/unicode.pff set gfxmode=1024x768 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.22-3-686" { linux (hd0,5)/boot/vmlinuz-2.6.22-3-686 root=/dev/sda5 ro initrd (hd0,5)/boot/initrd.img-2.6.22-3-686 } menuentry "Debian GNU/Linux, linux 2.6.22-3-686 (single-user mode)" { linux (hd0,5)/boot/vmlinuz-2.6.22-3-686 root=/dev/sda5 ro single initrd (hd0,5)/boot/initrd.img-2.6.22-3-686 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry "Memory test (memtest86+)" { linux (hd0,5)/boot/memtest86+.bin } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/21_dell ### menuentry "Dell Diagnostic Utilities" { set root=(hd0,1) chainloader +1 } ### END /etc/grub.d/21_dell ### ### BEGIN /etc/grub.d/21_windows ### menuentry "Microsoft Windows XP" { set root=(hd0,2) chainloader +1 } ### END /etc/grub.d/21_windows ### *** END /boot/grub/grub.cfg -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages grub-pc depends on: ii base-files4.0.2 Debian base system miscellaneous f ii debconf [debconf-2.0] 1.5.18 Debian configuration management sy ii libc6 2.7-6 GNU C Library: Shared libraries ii liblzo2-2 2.02-3 data compression library ii libncurses5 5.6+20080119-1 Shared libraries for terminal hand grub-pc recommends no packages. -- debconf information: * grub-pc/chainload_from_menu.lst: true signature.asc Description: This is a digitally signed message part.
Bug#427718: zsnes will not run with libc6 version 2.5
.0 b7f5b000-b7fa3000 rwxp b7f5b000 00:00 0 b7fa3000-b7fb6000 r-xp 03:06 1852188/usr/lib/libz.so.1.2.3 b7fb6000-b7fb7000 rwxp 00012000 03:06 1852188/usr/lib/libz.so.1.2.3 b7fcf000-b7fd2000 rwxp b7fcf000 00:00 0 b7fd2000-b7fd3000 r-xp b7fd2000 00:00 0 [vdso] b7fd3000-b7fee000 r-xp 03:06 802840 /lib/ld-2.5.so b7fee000-b7ff rwxp 0001b000 03:06 802840 /lib/ld-2.5.so bf8ca000-bf8df000 rwxp bf8ca000 00:00 0 [stack] Aborted Is there anything I can do to help you resolve this? If this is a common problem, please change the zsnes dependencies to require libc6 < 2.5. Thank you, Barry Schatz pgpURkIlOsHem.pgp Description: PGP signature