Bug#550015: [grub-pc] 4 minute delay between "Welcome to Grub!" and the menu

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Fri Aug 27 20:50:18 UTC 2010


On 08/27/2010 08:27 PM, Maarten van Geijn wrote:
> I have a 4 minute delay between the Grub Welcome message and the menu.
> After this, the system starts up very smoothly.
> I have a 1 TB RAID 1 configuration, with GPT and ext4 filesystems. I had
> the same problem when using ext3.
>
> Attatched are my dmesg, grub-default, grub.cfg, lspci, messages and
> parted output.
> This is the only system that shows this behaviour: I installed the same
> distribution this week on three other systems, without this problem.
> I tried edd=off on the kernel command line, but obviously, this had no
> effect on the Grub menu startup.
>
> Does anybody know if this is a configuration issue?
>
>   
The problem is that normal assembling of RAID or LVM devices requires
scanning the devices. Unfortunately some BIOSes stall a lot on such a
request. I'll look how much work would be to implement lazy assembling.
> If you need more logfiles or additional information, please email me.
>
> Thank you all in advance!
>
> Cheers,
> Maarten
>
> Package: grub-pc
> Version: 1.98+20100804-2
>
> --- Please enter the report below this line. ---
>
>
> --- System information. ---
> Architecture: i386
> Kernel: Linux 2.6.32-5-686
>
> Debian Release: squeeze/sid
> 500 testing security.debian.org
> 500 testing ftp.nl.debian.org
> 500 testing ftp.de.debian.org
> 500 testing ftp.be.debian.org
>
> --- Package information. ---
> Depends (Version) | Installed
> ==========================================-+-====================
> libc6 (>= 2.3) | 2.11.2-2
> libdevmapper1.02.1 (>= 2:1.02.36) | 2:1.02.48-3
> debconf (>= 0.5) | 1.5.35
> OR debconf-2.0 |
> grub-common (= 1.98+20100804-2) | 1.98+20100804-2
> ucf | 3.0025
>
>
> Package's Recommends field is empty.
>
> Suggests (Version) | Installed
> ===========================-+-===========
> desktop-base (>= 4.0.6) |
>
>
>
> --- Output from package bug script ---
>
> *********************** BEGIN /proc/mounts
> /dev/disk/by-uuid/530e86fd-8d10-4244-9510-b04806adb415 / ext4
> rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
> /dev/md1 /home ext4 rw,relatime,barrier=1,data=ordered 0 0
> *********************** END /proc/mounts
>
> *********************** BEGIN /boot/grub/device.map
> (hd0) /dev/disk/by-id/ata-ST31000528AS_9VP516MR
> (hd1) /dev/disk/by-id/ata-ST31000528AS_9VP3WS8L
> (hd2) /dev/disk/by-id/usb-USB_2.0_Flash_Drive_301748008ABA7701-0:0
> *********************** END /boot/grub/device.map
>
> *********************** BEGIN /boot/grub/grub.cfg
> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by 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
> }
>
> function load_video {
> insmod vbe
> insmod vga
> insmod video_bochs
> insmod video_cirrus
> }
>
> insmod raid
> insmod mdraid
> insmod part_gpt
> insmod part_gpt
> insmod ext2
> set root='(md/0)'
> search --no-floppy --fs-uuid --set 530e86fd-8d10-4244-9510-b04806adb415
> if loadfont /usr/share/grub/unicode.pf2 ; then
> set gfxmode=640x480
> load_video
> insmod gfxterm
> fi
> terminal_output gfxterm
> insmod raid
> insmod mdraid
> insmod part_gpt
> insmod part_gpt
> insmod ext2
> set root='(md/0)'
> search --no-floppy --fs-uuid --set 530e86fd-8d10-4244-9510-b04806adb415
> set locale_dir=($root)/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 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.32-5-686' --class debian
> --class gnu-linux --class gnu --class os {
> insmod raid
> insmod mdraid
> insmod part_gpt
> insmod part_gpt
> insmod ext2
> set root='(md/0)'
> search --no-floppy --fs-uuid --set 530e86fd-8d10-4244-9510-b04806adb415
> echo 'Loading Linux 2.6.32-5-686 ...'
> linux /boot/vmlinuz-2.6.32-5-686
> root=UUID=530e86fd-8d10-4244-9510-b04806adb415 ro edd=off quiet
> echo 'Loading initial ramdisk ...'
> initrd /boot/initrd.img-2.6.32-5-686
> }
> menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)'
> --class debian --class gnu-linux --class gnu --class os {
> insmod raid
> insmod mdraid
> insmod part_gpt
> insmod part_gpt
> insmod ext2
> set root='(md/0)'
> search --no-floppy --fs-uuid --set 530e86fd-8d10-4244-9510-b04806adb415
> echo 'Loading Linux 2.6.32-5-686 ...'
> linux /boot/vmlinuz-2.6.32-5-686
> root=UUID=530e86fd-8d10-4244-9510-b04806adb415 ro single edd=off
> echo 'Loading initial ramdisk ...'
> initrd /boot/initrd.img-2.6.32-5-686
> }
> ### END /etc/grub.d/10_linux ###
>
> ### BEGIN /etc/grub.d/20_linux_xen ###
> ### END /etc/grub.d/20_linux_xen ###
>
> ### 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 ###
>
> ### BEGIN /etc/grub.d/41_custom ###
> if [ -f $prefix/custom.cfg ]; then
> source $prefix/custom.cfg;
> fi
> ### END /etc/grub.d/41_custom ###
> *********************** END /boot/grub/grub.cfg
>
>   
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100827/27493fbb/attachment.pgp>


More information about the Pkg-grub-devel mailing list