Bug#522030: initramfs-tools: MODULES=dep fails with lvm2 over cciss device
Package: initramfs-tools
Version: 0.92o
Severity: normal
Hello,
when upgrading a server from Etch to Lenny, the Linux kernel 2.6.26
fails to install, due to a problem in initramfs-tools's configuration,
i.e. MODULES=DEP :
# update-initramfs -v -u -k 2.6.26-1-amd64
Keeping /boot/initrd.img-2.6.26-1-amd64.dpkg-bak
update-initramfs: Generating /boot/initrd.img-2.6.26-1-amd64
Adding module
/lib/modules/2.6.26-1-amd64/kernel/drivers/input/ff-memless.ko
Adding module /lib/modules/2.6.26-1-amd64/kernel/drivers/hid/hid.ko
Adding module
/lib/modules/2.6.26-1-amd64/kernel/drivers/hid/usbhid/usbhid.ko
Adding module /lib/modules/2.6.26-1-amd64/kernel/fs/mbcache.ko
Adding module /lib/modules/2.6.26-1-amd64/kernel/fs/jbd/jbd.ko
Adding module /lib/modules/2.6.26-1-amd64/kernel/fs/ext3/ext3.ko
mkinitramfs: missing cciss!c0d0p root /dev/mapper/systeme-racine /sys
entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
Removing /boot/initrd.img-2.6.26-1-amd64.dpkg-bak
update-initramfs: failed for /boot/initrd.img-2.6.26-1-amd64
I suppose it's related to other similar bugs #507619 and #517072.
The suggested workaround worked, hopefully.
Fred.
-- Package-specific info:
-- /proc/cmdline
root=/dev/mapper/systeme-racine ro vga=791 vga=791 console=ttyS1,115200n8 console=tty0
-- /proc/filesystems
cramfs
ext3
iso9660
ext2
hfs
vfat
-- lsmod
Module Size Used by
tcp_diag 2752 0
inet_diag 13968 1 tcp_diag
iptable_filter 4160 0
ip_tables 21096 1 iptable_filter
x_tables 21256 1 ip_tables
nls_iso8859_1 6208 0
nls_cp437 7936 0
vfat 14656 0
fat 54960 1 vfat
hfs 49224 0
ext2 67216 0
sd_mod 30080 0
usb_storage 87104 0
nls_iso8859_15 6784 0
isofs 36516 0
kvm_intel 45536 0
kvm 150336 1 kvm_intel
sg 38056 0
cpqci 33380 3
ipmi_si 43484 0
ipmi_devintf 11984 0
ipmi_msghandler 38548 2 ipmi_si,ipmi_devintf
kkcore 8640 54
x25sbs 652472 3
padpty 15056 40
nfs 252440 0
nfsd 256552 17
exportfs 6976 1 nfsd
lockd 69616 3 nfs,nfsd
nfs_acl 4672 2 nfs,nfsd
sunrpc 183176 13 nfs,nfsd,lockd,nfs_acl
ppdev 10376 0
parport_pc 39464 0
lp 14024 0
parport 41164 3 ppdev,parport_pc,lp
button 10016 0
ac 6984 0
battery 12168 0
autofs4 25224 5
ipv6 279944 91
bridge 59368 0
llc 9648 1 bridge
tun 12928 0
rtc 15088 0
loop 19908 0
psmouse 42140 0
serio_raw 8452 0
pcspkr 4224 0
tsdev 9984 0
evdev 11840 0
ext3 134160 7
jbd 64816 1 ext3
mbcache 10568 2 ext2,ext3
dm_mirror 22976 0
dm_snapshot 18440 0
dm_mod 61104 17 dm_mirror,dm_snapshot
ide_generic 2048 0 [permanent]
ide_cd 41504 0
cdrom 36648 1 ide_cd
generic 6980 0 [permanent]
piix 11588 0 [permanent]
ide_core 144208 5 usb_storage,ide_generic,ide_cd,generic,piix
ata_generic 9796 0
bnx2 158296 0
libata 129840 1 ata_generic
ehci_hcd 34636 0
uhci_hcd 26528 0
cciss 62664 3
shpchp 35228 0
scsi_mod 161528 5 sd_mod,usb_storage,sg,libata,cciss
pci_hotplug 34052 1 shpchp
thermal 16208 0
processor 36168 1 thermal
fan 6600 0
usbhid 29376 0
hid 27968 1 usbhid
usbcore 147504 5 usb_storage,ehci_hcd,uhci_hcd,usbhid
-- /etc/kernel-img.conf
# kernel-img.conf - fichier de configuration d'un site pour les paquets
# des images de noyau.
# [voir man kernel-img.conf(5)]
#
# Syntaxe g?rale : VAR = VALEUR
#
# ne demande pas ?r? une disquette de boot...
do_bootfloppy = no
# pas de tentative lancer lilo ou autre...
do_bootloader = no
# je sais que le noyau a besoin d'un initrd...
warn_initrd = no
# cr?ion de liens symboliques dans /
do_symlinks = Yes
# met ?our le fichier /boot/grub/menu.lst apr?l'install d'un noyau...
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /sys/block
cciss!c0d0
dm-0
dm-1
dm-2
dm-3
dm-4
dm-5
dm-6
hda
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
ram0
ram1
ram10
ram11
ram12
ram13
ram14
ram15
ram2
ram3
ram4
ram5
ram6
ram7
ram8
ram9
-- System Information:
Debian Release: 5.0
APT prefers lenny
APT policy: (500, 'lenny'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-proxy64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
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.12-2 small utilities built with klibc f
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii udev 0.125-7 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: