Package: initramfs-tools Version: 0.93.3 Severity: normal I found this bug in Lenny and made a fix which will keep trying to find LVM volumes when slumbering waiting for the devices to settle. Actually, I just moved the LVM search code from running once, to running each time in the slumber loop. It works perfectly for Lenny and Squeeze, although it spits out a lot of output.
-- Package-specific info: -- /proc/cmdline root=/dev/mapper/lsddomain-root ro vga=791 -- /proc/filesystems ext3 ext2 -- lsmod Module Size Used by osst 44100 0 st 31272 0 ch 12208 0 bonding 75096 0 ipv6 232692 17 bonding ext2 54676 1 loop 13216 0 snd_pcm 62920 0 snd_timer 17612 1 snd_pcm snd 48652 2 snd_pcm,snd_timer soundcore 6176 1 snd snd_page_alloc 8012 1 snd_pcm processor 34576 0 psmouse 37464 0 i2c_piix4 9196 0 button 5120 0 i2c_core 20880 1 i2c_piix4 serio_raw 4696 0 pcspkr 2096 0 evdev 8164 0 dcdbas 6656 0 ext3 107208 2 jbd 40508 1 ext3 mbcache 6920 2 ext2,ext3 sg 24948 0 sd_mod 23896 3 dm_mirror 12404 0 dm_region_hash 10560 1 dm_mirror dm_log 8424 2 dm_mirror,dm_region_hash dm_snapshot 21344 0 dm_mod 48608 14 dm_mirror,dm_log,dm_snapshot usbhid 31332 0 hid 36052 1 usbhid ide_cd_mod 24388 0 cdrom 30316 1 ide_cd_mod ata_generic 4332 0 libata 150736 1 ata_generic ide_pci_generic 3624 0 qla2xxx 164268 0 ohci_hcd 19612 0 scsi_transport_fc 35048 1 qla2xxx scsi_tgt 10876 1 scsi_transport_fc mptspi 13440 2 mptscsih 21544 1 mptspi mptbase 57580 2 mptspi,mptscsih ehci_hcd 29932 0 scsi_transport_spi 19180 1 mptspi via_velocity 25852 0 crc_ccitt 1808 1 via_velocity serverworks 4776 0 ide_core 87604 3 ide_cd_mod,ide_pci_generic,serverworks tg3 94348 0 usbcore 125288 4 usbhid,ohci_hcd,ehci_hcd scsi_mod 135872 12 osst,st,ch,sg,sd_mod,libata,qla2xxx,scsi_transport_fc,scsi_tgt,mptspi,mptscsih,scsi_transport_spi libphy 19512 1 tg3 sworks_agp 6652 0 agpgart 30980 1 sworks_agp floppy 46732 0 thermal 12664 0 fan 4032 0 thermal_sys 13424 3 processor,thermal,fan -- /etc/kernel-img.conf # Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes relative_links = yes do_bootloader = no do_bootfloppy = no do_initrd = yes link_in_boot = no postinst_hook = update-grub postrm_hook = update-grub -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=y KEYMAP=n BOOT=local DEVICE=eth0 NFSROOT=auto -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.30.1.scst (SMP w/4 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 initramfs-tools depends on: ii cpio 2.10-1 GNU cpio -- a program to manage ar ii findutils 4.4.2-1 utilities for finding files--find, ii klibc-utils 1.5.15-1 small utilities built with klibc f ii module-init-tools 3.7-pre9-1 tools for managing Linux kernel mo ii udev 0.141-1 /dev/ and hotplug management daemo Versions of packages initramfs-tools recommends: ii busybox 1:1.10.2-2 Tiny utilities for small and embed initramfs-tools suggests no packages. -- no debconf information
--- local 2009-07-15 16:56:50.000000000 -0600 +++ local.fixed 2009-07-15 16:57:05.000000000 -0600 @@ -26,10 +26,6 @@ get_fstype () pre_mountroot() { - [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top" - run_scripts /scripts/local-top - [ "$quiet" != "y" ] && log_end_msg - wait_for_udev 10 # Don't wait for a root device that doesn't have a corresponding @@ -57,6 +53,10 @@ pre_mountroot() while [ ! -e "${ROOT}" ] \ || ! $(get_fstype "${ROOT}" >/dev/null); do /bin/sleep 0.1 + [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top" + run_scripts /scripts/local-top + [ "$quiet" != "y" ] && log_end_msg + slumber=$(( ${slumber} - 1 )) [ ${slumber} -gt 0 ] || break done