Bug#689558: initramfs-tools with MODULES=dep does not work with i2o hardware RAID controller
Package: initramfs-tools
Version: 0.107
My i386 PC has an i2o hardware RAID controller as the only "hard disk".
The block special files are defined as follows:
brw-rw---T 1 root disk 80, 0 Sep 23 15:24 /dev/i2o/hda
brw-rw---T 1 root disk 80, 1 Sep 23 15:24 /dev/i2o/hda1
brw-rw---T 1 root disk 80, 2 Sep 23 15:24 /dev/i2o/hda2
brw-rw---T 1 root disk 80, 5 Sep 23 15:24 /dev/i2o/hda5
brw-rw---T 1 root disk 80, 6 Sep 23 15:24 /dev/i2o/hda6
brw-rw---T 1 root disk 80, 7 Sep 23 15:24 /dev/i2o/hda7
brw-rw---T 1 root disk 80, 8 Sep 23 15:24 /dev/i2o/hda8
When using MODULES=dep, I get the following error messages from
"update-initramfs -uk $(uname -r)"
update-initramfs: Generating /boot/initrd.img-3.2.0-3-rt-686-pae
mkinitramfs: for root /dev/i2o/hda6 missing i /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-3.2.0-3-rt-686-pae with 1.
Here is the listing of the /sys/block directory:
# cd /sys/block
# ls -l
total 0
lrwxrwxrwx 1 root root 0 Oct 3 20:32 fd0 -> ../devices/platform/floppy.0/block/fd0
lrwxrwxrwx 1 root root 0 Sep 23 15:24 i2o!hda -> ../devices/pci0000:00/0000:00:02.0/0000:01:1d.0/0000:02:02.0/iop0/0:207/block/i2o!hda
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop0 -> ../devices/virtual/block/loop0
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop1 -> ../devices/virtual/block/loop1
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop2 -> ../devices/virtual/block/loop2
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop3 -> ../devices/virtual/block/loop3
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop4 -> ../devices/virtual/block/loop4
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop5 -> ../devices/virtual/block/loop5
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop6 -> ../devices/virtual/block/loop6
lrwxrwxrwx 1 root root 0 Oct 3 20:32 loop7 -> ../devices/virtual/block/loop7
lrwxrwxrwx 1 root root 0 Oct 3 20:32 sr0 -> ../devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sr0
I notice that the entry for the hard disk (i2o!hda) contains a special character:
the exclamation point. Could that be the cause of the trouble? (Or part of the
trouble?) The exclamation point is often used in the shell as a character to
access command history.
The following kernel modules are currently loaded:
Obviously not all of these need to be in the initial RAM file system.
When using MODULES=most, everything works fine.
--
.'`. Stephen Powell
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1174598773.259884.1349311362011.JavaMail.root@md01 .wow.synacor.com">http://lists.debian.org/1174598773.259884.1349311362011.JavaMail.root@md01 .wow.synacor.com