Bug#538183: Initramfs scrips not waiting for resources to be detected
Package: initramfs-tools
Version: 0.92o
Kernel version: 2.6.26-2-sparc64
HW: Sun Ultra 10
Relevant config: two scsi drives in RAID 1 with LVM
Relevant dmesg output:
Loading, please wait...
Begin: Loading essential drivers ... [ 20.898599] SCSI subsystem initialized
[ 20.977137] sym0: <875> rev 0x14 at pci 0000:02:01.0 irq 15
[ 21.134875] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
[ 21.215741] sym0: SCSI BUS has been reset.
[ 21.268732] scsi0 : sym-2.2.3
[ 21.310085] sym1: <875> rev 0x14 at pci 0000:02:01.1 irq 16
[ 21.467646] sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
[ 21.548472] sym1: SCSI BUS has been reset.
[ 21.601118] scsi1 : sym-2.2.3
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Begi1
Success: loaded module raid1.
done.
Begin: Assembling all MD arrays ... mdadm: No devices[ 23.358934] device-mapp3
listed [ 23.422496] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialim
in conf file were found.
Failure: failed to assemble all arrays.
done.
Begin: Waiting for udev to process events ... done.
Volume group "master" not found
done.
Begin: Waiting for root file system ... [ 25.711800] scsi 1:0:4:0: Direct-Acc3
[ 25.818227] target1:0:4: tagged command queuing enabled, command queue dept.
[ 25.917176] target1:0:4: Beginning Domain Validation
[ 25.982347] target1:0:4: asynchronous
[ 26.035053] target1:0:4: wide asynchronous
[ 26.089994] target1:0:4: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 16)
[ 26.180011] target1:0:4: Domain Validation skipping write tests
[ 26.255967] target1:0:4: Ending Domain Validation
[ 26.596428] scsi 1:0:6:0: Direct-Access MAXTOR ATLAS10K4_73WLS DFV0 P3
[ 26.703112] target1:0:6: tagged command queuing enabled, command queue dept.
[ 26.802606] target1:0:6: Beginning Domain Validation
[ 26.867628] target1:0:6: asynchronous
[ 26.920958] target1:0:6: wide asynchronous
[ 26.976164] target1:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 16)
[ 27.066817] target1:0:6: Domain Validation skipping write tests
[ 27.143229] target1:0:6: Ending Domain Validation
[ 29.599158] Driver 'sd' needs updating - please use bus_type methods
[ 29.700670] sd 1:0:4:0: [sda] 143666192 512-byte hardware sectors (73557 MB)
[ 29.791818] sd 1:0:4:0: [sda] Write Protect is off
[ 29.854854] sd 1:0:4:0: [sda] Write cache: enabled, read cache: enabled, supA
[ 29.969089] sd 1:0:4:0: [sda] 143666192 512-byte hardware sectors (73557 MB)
[ 30.059983] sd 1:0:4:0: [sda] Write Protect is off
[ 30.124598] sd 1:0:4:0: [sda] Write cache: enabled, read cache: enabled, supA
[ 30.236425] sda: sda1 sda2 sda3 sda4
<similar sdb output>
As seen from the dmesg output the init scripts try to setup the software
raid before the scsi-drives are available, which in turn causes both
MD and LVM to fail.
Reply to: