Bug#473543: Debian bug #473543 grub-common: if grub.cfg is to big grub-pc (and maybe others) fails to load it and reboot infinitely

2008-07-20 Thread Felix Zielcke

I just tested both your attached configs as /boot/grub/grub.cfg and started 
grub-emu
It worked.
I used current upstream SVN
Please test this issue again with 1.96+20080704-2 currently in testing/unstable
and if that problem still exist please try upstream SVN 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#473543: Debian bug #473543 grub-common: if grub.cfg is to big grub-pc (and maybe others) fails to load it and reboot infinitely

2008-07-20 Thread Robert Millan
On Sun, Jul 20, 2008 at 05:09:03PM +0200, Felix Zielcke wrote:
 I just tested both your attached configs as /boot/grub/grub.cfg and started 
 grub-emu
 It worked.
 I used current upstream SVN
 Please test this issue again with 1.96+20080704-2 currently in 
 testing/unstable
 and if that problem still exist please try upstream SVN 

It might also be possible that this problem exists in real GRUB but not
grub-emu.  In any case, if you can reproduce it in grub-emu that's preferred
since it'll be much easier to track down.

-- 
Robert Millan

GPLv2 I know my rights; I want my phone call!
DRM What good 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#473543: grub-common: if grub.cfg is to big grub-pc (and maybe others) fails to load it and reboot infinitely

2008-04-02 Thread Alban Browaeys
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 

Bug#473543: grub-common: if grub.cfg is to big grub-pc (and maybe others) fails to load it and reboot infinitely

2008-03-31 Thread Alban Browaeys
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.

Best regards
Alban


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-rc7-00025-gacaef06-dirty (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files4.0.3  Debian base system miscellaneous f
ii  libc6 2.7-10 GNU C Library: Shared libraries

grub-common recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#473543: grub-common: if grub.cfg is to big grub-pc (and maybe others) fails to load it and reboot infinitely

2008-03-31 Thread Robert Millan
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?

-- 
Robert Millan

GPLv2 I know my rights; I want my phone call!
DRM 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]