[intrepid] initrd sometimes falls to busybox prompt

Reported by Christian Roessner on 2008-06-27
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)

Bug Description

Binary package hint: initramfs-tools


I am testing intrepid to help finding bugs :-)

When I start booting my system, I need 5-6 times to get my machine booting. Often it falls back to the busybox prompt.

When I use that prompt and change into /dev/vg01 directory, only the lv_p2 partition is seen there. So the lvm stuff does not find all partitions.

My system is configured that way:

/dev/mapper/vg01-lv_root on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/md0 on /boot type ext3 (rw,noatime,errors=remount-ro)
/dev/mapper/vg01-lv_p1 on /home type ext3 (rw,noatime,errors=remount-ro,data=writeback)
/dev/sdb1 on /media/windows type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
none on /proc/bus/usb type usbfs (rw,devgid=46,devmode=664)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/croessner/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=croessner)

df -Th
Dateisystem Typ Größe Benut Verf Ben% Eingehängt auf
              ext3 112G 55G 52G 52% /
tmpfs tmpfs 1,7G 0 1,7G 0% /lib/init/rw
varrun tmpfs 1,7G 280K 1,7G 1% /var/run
varlock tmpfs 1,7G 0 1,7G 0% /var/lock
udev tmpfs 1,7G 108K 1,7G 1% /dev
tmpfs tmpfs 1,7G 52K 1,7G 1% /dev/shm
/dev/md0 ext3 99M 18M 76M 19% /boot
              ext3 50G 4,7G 43G 10% /home
/dev/sdb1 fuseblk 150G 56G 94G 38% /media/windows
fuse.gvfs-fuse-daemon 112G 55G 52G 52% /home/croessner/.gvfs

cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sdc5[0] sda5[1]
      488279488 blocks [2/2] [UU]

md0 : active raid1 sdc1[0] sda1[1]
      104320 blocks [2/2] [UU]

unused devices: <none>

cat /proc/cmdline
root=UUID=219d4dfe-75f9-4144-906a-e0c08ba7200f resume=/dev/mapper/vg01-lv_swap quiet splash locale=de_DE

cat /etc/mdadm/mdadm.conf | grep -ve ^# -ve ^$
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR croessner
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=c96cab68:2c4fdfbd:799f5a3b:588da548
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=060f6c67:d95830c9:799f5a3b:588da548

Busybox is telling me that it can not find the given UUID. Combined with the missing lvm stuff, it is saying the truth :-)

So it might be some timeing problems with scanning LVM

dmesg and lspci stuff can be found here:


Thanks in advance

Could you try intrepid beta and see if this still happens?

Still hanging sometimes. As said above: Not all LVM partitions are listed in /dev/vg01. Unfortunately, busybox does _not_ have lvm utilities built-in or similar, so just pressing ctrl+alt+del is a solution.

Any further ideas on this? udev? Timing problems?

Just started again and for just a second I could see something like:

sda not a valid superblock magic

Maybe the raid assembling procedure is buggy? And therefor a following LVM setup may have problems to complete.

What kind of information is necessary to help you? Is it able to "switch" the initramfs in something like a debug mode? Some interactive mode whatever?

By the way: At the moment, I am running on x64_64. I do attahc a current log assembled with nvidia's bug tool (would be greeat to have such a script even for distros??)

Here is a modified version of the nvidia-bug-report.sh. Maybe some devs find it useful

Thomas Hotz (thotz) wrote :

This Ubuntu version is EOL. Does this happen with newer and supported Ubuntu versions?

Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for initramfs-tools (Ubuntu) because there has been no activity for 60 days.]

Changed in initramfs-tools (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers