--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: initramfs-tools with MODULES=dep does not work with i2o hardware RAID controller
- From: Stephen Powell <zlinuxman@wowway.com>
- Date: Wed, 3 Oct 2012 20:42:42 -0400 (EDT)
- Message-id: <1174598773.259884.1349311362011.JavaMail.root@md01.wow.synacor.com>
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:
Module Size Used by
tun 17832 2
bnep 17288 2
rfcomm 32694 0
bluetooth 107841 10 rfcomm,bnep
rfkill 18484 3 bluetooth
crc16 12327 1 bluetooth
ppdev 12651 0
lp 12797 0
binfmt_misc 12813 1
nfsd 173714 2
nfs 270075 0
nfs_acl 12463 2 nfs,nfsd
auth_rpcgss 32227 2 nfs,nfsd
fscache 31978 1 nfs
lockd 61351 2 nfs,nfsd
sunrpc 147955 6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
loop 21911 0
snd_ca0106 33022 2
snd_ac97_codec 84169 1 snd_ca0106
snd_seq_midi 12744 0
snd_seq_midi_event 13124 1 snd_seq_midi
snd_rawmidi 22479 2 snd_seq_midi,snd_ca0106
snd_pcm 53344 2 snd_ac97_codec,snd_ca0106
snd_page_alloc 12867 2 snd_pcm,snd_ca0106
snd_seq 39489 2 snd_seq_midi_event,snd_seq_midi
evdev 17165 7
snd_seq_device 13016 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 22359 2 snd_seq,snd_pcm
snd 42695 11 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_rawmidi,snd_ac97_codec,snd_ca0106
soundcore 12921 1 snd
ac97_bus 12462 1 snd_ac97_codec
parport_pc 22036 1
psmouse 54893 0
serio_raw 12769 0
parport 31258 3 parport_pc,lp,ppdev
iTCO_wdt 16917 0
iTCO_vendor_support 12632 1 iTCO_wdt
i2c_i801 12670 0
pcspkr 12515 0
intel_rng 12501 0
rng_core 12580 1 intel_rng
i2c_core 19116 1 i2c_i801
shpchp 26717 0
container 12525 0
e7xxx_edac 12637 0
edac_core 30066 3 e7xxx_edac
button 12817 0
processor 27565 0
thermal_sys 17752 1 processor
ext3 142489 4
mbcache 12897 1 ext3
jbd 51409 1 ext3
i2o_block 12824 6
sg 21445 0
sr_mod 17468 0
cdrom 34813 1 sr_mod
ata_generic 12439 0
floppy 48166 0
pata_pdc202xx_old 12771 0
e100 31406 0
mii 12595 1 e100
i2o_core 30975 1 i2o_block
ata_piix 21175 0
libata 124986 3 ata_piix,pata_pdc202xx_old,ata_generic
uhci_hcd 26401 0
ehci_hcd 35477 0
scsi_mod 135198 3 libata,sr_mod,sg
usbcore 108302 3 ehci_hcd,uhci_hcd
usb_common 12338 1 usbcore
Obviously not all of these need to be in the initial RAM file system.
When using MODULES=most, everything works fine.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.116
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 689558@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Prokop <mika@debian.org> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 31 Aug 2014 00:12:42 -0700
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.116
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Michael Prokop <mika@debian.org>
Description:
initramfs-tools - generic modular initramfs generator
Closes: 633582 679436 689558 697368 745731 748805 750360 751143 751488
Changes:
initramfs-tools (0.116) unstable; urgency=medium
.
The "DebConf14" release
.
[ Helge Deller ]
* [cee3e18] get_fstype: initialize FSTYPE variable (Closes: #745731)
.
[ maximilian attems ]
* [7bc24f8] scripts/nfs: fix nfs mount check for possible init symlink
(Closes: #750360)
.
[ Aurelien Jarno ]
* [2e325a2] hook-functions: add support for virtio-mmio
(Closes: #751143)
.
[ Michael Prokop ]
* [4c0338a] Fix hidden dependency issue with btrfs and crc32c. Thanks to
Markus Wanner <markus@bluegap.ch> for the analysis and patch
(Closes: #748805)
* [2290173] Do not spawn shell when panic=... is used. Thanks to Lukas
Anzinger <l.anzinger@gmail.com> for the analysis and patch
(Closes: #751488)
* [0e914d0] Preserve file permissions if root builds the initramfs
images. Thanks to Harald Hoyer <harald@redhat.com> for providing the
patch in dracut (Closes: #633582)
* [39d0561] Support drop_capabilities=... boot option. Thanks to Kees
Cook <kees@debian.org> for the patch (Closes: #679436)
* [3d6fe1e] Support MODULES=dep usage on i2o hardware RAID controller.
Thanks to Stephen Powell <zlinuxman@wowway.com> for the patch
(Closes: #689558)
* [a5126cf] Support usage of partitioned nbd devices with MODULES=dep.
Thanks to Ian Campbell <ijc@hellion.org.uk> for the patch
(Closes: #697368)
* [ebeffcd] Inform user that lsinitramfs doesn't support cpio archives
yet. Thanks to Javier Barroso <javibarroso@gmail.com> for the initial
patch
* [ad7ab64] Bump Standards-Version to 3.9.5
Checksums-Sha1:
2a8865be87ad08dd4922987e9645c9dc94aaaa03 1077 initramfs-tools_0.116.dsc
3ac18ba91f79e9774c880710156cf318b8e7cbab 74508 initramfs-tools_0.116.tar.xz
908f307bd9aa7d33dcc9a5a40166b30e6940f26c 88996 initramfs-tools_0.116_all.deb
Checksums-Sha256:
4ee5a11eb84c2134caf6cedaf4d0ea6404286e7795f044585811a4928043951d 1077 initramfs-tools_0.116.dsc
fe3d8eccc6590323d29480da171b051f13148adbc64d32af906e734556622ed2 74508 initramfs-tools_0.116.tar.xz
61062075502e177ea28e43340950ee64b45d5598b6585f8bf1d38f37bf241154 88996 initramfs-tools_0.116_all.deb
Files:
dc5d69975136f08acf3c735fd6628fd3 88996 utils optional initramfs-tools_0.116_all.deb
411f9c40f3545dfe7408540175e41e5e 1077 utils optional initramfs-tools_0.116.dsc
950b01f36b166fea941a4e9448d1d750 74508 utils optional initramfs-tools_0.116.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlQCzFoACgkQ2N9T+zficugn9QCdEdZRfghx9mUPPXdY3qlNxCGF
qZcAn07eQgmPvNDYsgz68/bplP9dqYXf
=Vo4t
-----END PGP SIGNATURE-----
--- End Message ---