[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480334: Regression: local-top scripts run before devices detected



Package: initramfs-tools
Version: 0.92a
Severity: important

This seems very similar to reported (old) bugs, but it's a change in 
behavior for me so I'm opening this new problem to flag it. I recently 
updated to version 0.92 (I believe -- a couple days prior to 0.92a, 
which also exhibits the problem). Boots using initrds built after that 
upgrade do not complete automatically...

scripts/local-top/mdadm runs immediately, without waiting for device 
discovery to complete, and of course fails to start anything because the 
devices don't exist (usually for about another 30-40 seconds). Then lvm2 
can't find anything, and after a timeout I get punted into the shell.

Manual recovery (assuming I sit in front of the system) is easy:
# scripts/local-top/mdadm
# scripts/local-top/lvm2
# exit

But this sucks for unattended reboots, obviously. :-p Maybe I should 
blame udev instead, but I don't know how to finger the guilty party.

-- Package-specific info:
-- /proc/cmdline
root=/dev/mapper/vg00-rootvol ro

-- /proc/filesystems
	ext2
	ext3

-- lsmod
Module                  Size  Used by
nfsd                  263088  517 
lockd                  71800  2 nfsd
nfs_acl                 4544  1 nfsd
auth_rpcgss            50568  1 nfsd
sunrpc                208840  517 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                5568  1 nfsd
parport_pc             35928  1 
lp                     14296  0 
parport                41616  2 parport_pc,lp
ipv6                  300760  30 
dm_crypt               18056  0 
crypto_blkcipher       20996  1 dm_crypt
evdev                  13952  2 
ext3                  153168  8 
jbd                    48552  1 ext3
dm_mirror              29248  0 
dm_snapshot            20928  0 
raid456               130080  1 
async_xor               3520  1 raid456
async_memcpy            2496  1 raid456
async_tx                3264  1 raid456
xor                     4304  2 raid456,async_xor
sunhme                 33968  0 
dm_mod                 66752  20 dm_crypt,dm_mirror,dm_snapshot
raid1                  25216  2 
md_mod                 92064  5 raid456,raid1
sd_mod                 30360  18 
sym53c8xx              81512  10 
scsi_transport_spi     28800  1 sym53c8xx
scsi_mod              174112  3 sd_mod,sym53c8xx,scsi_transport_spi

-- /etc/kernel-img.conf
# Do not create symbolic links in /
do_symlinks = No
do_initrd = Yes
do_bootloader = No

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>


-- System Information:
Debian Release: lenny/sid
Architecture: sparc (sparc64)

Kernel: Linux 2.6.25-1-sparc64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.9-13     GNU cpio -- a program to manage ar
ii  findutils                     4.4.0-2    utilities for finding files--find,
ii  klibc-utils                   1.5.9-1    small statically-linked utilities 
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo
ii  udev                          0.114-2    /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.1.3-5  Tiny utilities for small and embed

-- no debconf information



Reply to: