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

I had to try some RAID tests in d-i and I only had a USB stick for
testing, so this scenario is not so likely, but I assume the same bug
would happen with a USB disk, making it more likely.

Anyway, I made a RAID1 on top of a USB stick.  initramfs-tools fails
to boot: the RAID is initalized much earlier than the USB stick.  What
is strange that sd_mod was not loaded at all at the point it drops you
into a shell.

Log:

[    2.200000] rtc-s35390a 0-0030: setting system clock to 2008-08-24 10:16:17 
UTC (1219572977)
[    2.210000] Freeing init memory: 108K
Loading, please wait...
Begin: Loading essential drivers ... [    2.640000] SCSI subsystem initialized
[    2.720000] usbcore: registered new interface driver usbfs
[    2.720000] usbcore: registered new interface driver hub
[    2.730000] usbcore: registered new device driver usb
[    2.760000] Initializing USB Mass Storage driver...
[    2.760000] usbcore: registered new interface driver usb-storage
[    2.770000] USB Mass Storage support registered.
[    2.910000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[    2.920000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus 
number 1
[    2.960000] orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
[    2.980000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 
Dec 2004
[    2.980000] usb usb1: configuration #1 chosen from 1 choice
[    2.990000] hub 1-0:1.0: USB hub found
[    2.990000] hub 1-0:1.0: 1 port detected
[    3.110000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.110000] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    3.120000] usb usb1: Product: Marvell Orion EHCI
[    3.120000] usb usb1: Manufacturer: Linux 2.6.25-2-orion5x ehci_hcd
[    3.130000] usb usb1: SerialNumber: orion-ehci.0
done.
Begin: Running /scripts/init-premount ... [    3.420000] usb 1-1: new high 
speed USB device using orion-ehci and address 2
[    3.570000] usb 1-1: configuration #1 chosen from 1 choice
[    3.570000] hub 1-1:1.0: USB hub found
[    3.580000] hub 1-1:1.0: 4 ports detected
[    3.700000] usb 1-1: New USB device found, idVendor=05e3, idProduct=0607
[    3.700000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.710000] usb 1-1: Product: USB2.0 Hub
[    3.950000] usb 1-1.1: new high speed USB device using orion-ehci and 
address 3
[    4.120000] usb 1-1.1: configuration #1 chosen from 1 choice
[    4.170000] scsi0 : SCSI emulation for USB Mass Storage devices
[    4.190000] usb 1-1.1: New USB device found, idVendor=13fe, idProduct=1d00
[    4.190000] usb 1-1.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[    4.200000] usb 1-1.1: Product: USB DISK 2.0    
[    4.200000] usb 1-1.1: Manufacturer:         
[    4.210000] usb 1-1.1: SerialNumber: 0773165E067F
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... 
Begin: Loading[    6.190000] md: raid1 personality registered for level 1
Success: loaded module raid1.
done.
Begin: Assembling all MD arrays ... [    6.270000] md: md0 stopped.
mdadm: no devices found for /dev/md0
Failure: failed to assemble all arrays.
done.
Begin: Waiting for udev to process events ... done.
done.
Begin: Running /scripts/local-premount ... done.
mount: No such device
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: No such file or directory
done.
mount: No such file or directory
mount: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.


BusyBox v1.10.2 (Debian 1:1.10.2-1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) [    9.210000] scsi 0:0:0:0: Direct-Access              USB DISK 
2.0     PMAP PQ: 0 ANSI: 0 CCS

(initramfs) cat /proc/modules 
raid1 24960 0 - Live 0xbf084000
md_mod 87540 1 raid1, Live 0xbf06d000
ehci_hcd 36972 0 - Live 0xbf062000
usb_storage 89351 0 - Live 0xbf04b000
usbcore 139260 3 ehci_hcd,usb_storage, Live 0xbf028000
scsi_mod 159300 1 usb_storage, Live 0xbf000000
(initramfs) modprobe sd_mod
[   34.380000] Driver 'sd' needs updating - please use bus_type methods
[   34.630000] sd 0:0:0:0: [sda] 2009088 512-byte hardware sectors (1029 MB)
[   34.640000] sd 0:0:0:0: [sda] Write Protect is off
[   34.640000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   34.650000] sd 0:0:0:0: [sda] 2009088 512-byte hardware sectors (1029 MB)
[   34.660000] sd 0:0:0:0: [sda] Write Protect is off
[   34.660000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   34.670000]  sda: sda1 sda2 sda3 < sda5 >
[   35.320000] sd 0:0:0:0: [sda] Attached SCSI removable disk
(initramfs) 

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to