On lun, 2008-03-31 at 14:43 +0200, Robert Millan wrote:
On Mon, Mar 31, 2008 at 11:15:16AM +0200, Alban Browaeys wrote:
Package: grub-common
Version: 1.96+20080228-1
Severity: important
While testing a lot of kernels I found that if I have more than around
25 of them with long name (git versions) grub fails to load grub.cfg at
boot and restart the computer.
I don't know if this is the number of lines or the size of grub.cfg that
matters but it is fully reproducible here.
One can just copy n paste lines in grub.cfg to reproduce.
Can you reproduce it in grub-emu?
If you create an ext2 filesystem image, put that grub.cfg inside it, and try
to access it in grub-emu (loop configfile commands), does it still happen?
Hard to tell because grub-emu fails to load the file (be it
in /boot/grub/grub.cfg with only calling grub-emu or trying the loop
file tricks ) most of the time : it shows an empty list. And trying to
load the configfile a second time segfault grub-emu ...
I am trying to build a dbg version of grub-common and grub-pc but I
found out that cdbs only works by defining entries in the control file
(adding -dbg-package does not works ... well it works but at the end
the dbg packages are not there) and I don't know yet how to define
them ... always added --dpkg-package to dh_strip and that was done
beforehand. I am not fond of cdbs right now :-(
I attached the grub.cfg file. .break is the one that break grub-pc
(except that I had insmod tga and the background image uncommented but
grub-emu is not able to render the background ... ).
Regards
Alban
#
# 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,1)/usr/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 tga
#if background_image
(hd0,1)/usr/share/images/grub/Apollo_17_The_Last_Moon_Shot_Edit1.tga ; then
# set color_normal=white/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.25-rc7-00025-gacaef06-dirty {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06-dirty
root=/dev/sda1 ro resume=/dev/sda3 splash video=radeonfb:[EMAIL
PROTECTED],noaccel vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06-dirty
}
menuentry Debian GNU/Linux, linux 2.6.25-rc7-00025-gacaef06-dirty (single-user
mode) {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06-dirty
root=/dev/sda1 ro single resume=/dev/sda3 splash video=radeonfb:[EMAIL
PROTECTED],noaccel vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06-dirty
}
menuentry Debian GNU/Linux, linux 2.6.25-rc7-00025-gacaef06.old {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06.old
root=/dev/sda1 ro resume=/dev/sda3 splash video=radeonfb:[EMAIL
PROTECTED],noaccel vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06
}
menuentry Debian GNU/Linux, linux 2.6.25-rc7-00025-gacaef06.old (single-user
mode) {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06.old
root=/dev/sda1 ro single resume=/dev/sda3 splash video=radeonfb:[EMAIL
PROTECTED],noaccel vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06
}
menuentry Debian GNU/Linux, linux 2.6.25-rc7-00025-gacaef06-dirty.old {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06-dirty.old
root=/dev/sda1 ro resume=/dev/sda3 splash video=radeonfb:[EMAIL
PROTECTED],noaccel vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06-dirty
}
menuentry Debian GNU/Linux, linux 2.6.25-rc7-00025-gacaef06-dirty.old
(single-user mode) {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06-dirty.old
root=/dev/sda1 ro single resume=/dev/sda3 splash video=radeonfb:[EMAIL
PROTECTED],noaccel vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06-dirty
}
menuentry Debian GNU/Linux, linux 2.6.25-rc7-00025-gacaef06 {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06 root=/dev/sda1
ro resume=/dev/sda3 splash video=radeonfb:[EMAIL PROTECTED],noaccel vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06
}
menuentry Debian GNU/Linux, linux 2.6.25-rc7-00025-gacaef06 (single-user
mode) {
linux (hd0,1)/boot/vmlinuz-2.6.25-rc7-00025-gacaef06 root=/dev/sda1
ro single resume=/dev/sda3 splash video=radeonfb:[EMAIL PROTECTED],noaccel
vga=791
initrd (hd0,1)/boot/initrd.img-2.6.25-rc7-00025-gacaef06
}
menuentry Debian GNU/Linux, linux