Bug#688846: initramfs-tools: Upgrade Squeeze->Wheezy: crypto-LVM unaccessible
Package: initramfs-tools
Version: 0.107
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear Maintainer,
I upgrades my notebook from Squeeze to Wheezy (Stable -> Testing). The laptop
has an encrypted filesystem (encrypted LVM).
The boot process failed because the kernel could not find its root file system.
After the update, I had three kernels in my boot configuration:
3.2.0-3-486 new from Wheezy. Did not start
2.6.32-5-686 from Squeeze: did not start
2.6.26-2-686 from Squeeze: started loaded crypted LVM.
I usually runned Squeezy using 2.6.32, which was the kernel running during the upgrade.
Maybe I now have a Wheezy-2.6.32-5-686 which does not run properly on my laptop
because with Squeeze I need a -486-Kernel due to my non-PAE-processor ...
Anyways:
I added some modules to /etc/initramfs-tools/modules:
==================================
dm_crypt
dm_mod
crypto_blkcipher
cbc
dm_snapshot
dm_mirror
dm_log
==================================
Then I created a new initramfs using update-initramfs. After this procedure I could
boot the 3.2.-kernel.
I think that "some magic" would be useful to detect this kind of setup and to add the modules
needed to the initramfs (I do not know, which modules exactly were needed: I just added
those which I thought might be needed.
Thanks,
Sebastian
- -- Package-specific info:
- -- initramfs sizes
- -rw-r--r-- 1 root root 4.0M Aug 2 2010 /boot/initrd.img-2.6.26-2-686
- -rw-r--r-- 1 root root 3.0M Nov 5 2009 /boot/initrd.img-2.6.26-2-686.bak
- -rw-r--r-- 1 root root 4.2M Sep 25 11:08 /boot/initrd.img-2.6.32-5-686
- -- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-3-486 root=/dev/mapper/crystalline-root ro single
- -- resume
RESUME=/dev/mapper/crystalline-swap
- -- /proc/filesystems
ext3
ext2
fuseblk
- -- lsmod
Module Size Used by
snd_hrtimer 12540 1
nfnetlink_log 12910 0
nfnetlink 12786 1 nfnetlink_log
cpufreq_conservative 12987 0
tun 17773 4
cpufreq_stats 12645 0
cpufreq_userspace 12520 0
ppdev 12651 0
lp 12797 0
cpufreq_powersave 12422 0
bnep 17288 2
bluetooth 99189 7 bnep
crc16 12327 1 bluetooth
autofs4 22840 1
michael_mic 12490 8
arc4 12418 4
ecb 12649 4
lib80211_crypt_tkip 12993 2
lib80211_crypt_ccmp 12703 1
binfmt_misc 12778 1
uinput 12991 1
deflate 12495 0
zlib_deflate 21318 1 deflate
ctr 12851 0
twofish_generic 16529 0
twofish_i586 12453 0
twofish_common 20528 2 twofish_i586,twofish_generic
camellia 24892 0
serpent 24847 0
blowfish_generic 12424 0
blowfish_common 16431 1 blowfish_generic
cast5 24773 0
des_generic 20771 0
xcbc 12629 0
rmd160 16584 0
sha512_generic 16675 0
sha1_generic 12483 0
hmac 12715 0
crypto_null 12636 0
af_key 31004 0
fuse 51958 1
nfsd 173500 2
nfs 256619 1
nfs_acl 12463 2 nfs,nfsd
auth_rpcgss 32012 2 nfs,nfsd
fscache 27566 1 nfs
lockd 57192 2 nfs,nfsd
sunrpc 143211 17 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
ext2 49804 1
firewire_sbp2 17756 0
firewire_core 39034 1 firewire_sbp2
crc_itu_t 12331 1 firewire_core
loop 17851 0
snd_intel8x0m 17503 5
snd_intel8x0 22457 2
snd_ac97_codec 84245 2 snd_intel8x0,snd_intel8x0m
snd_pcm_oss 36194 0
snd_mixer_oss 17668 1 snd_pcm_oss
snd_pcm 53402 6 snd_pcm_oss,snd_ac97_codec,snd_intel8x0,snd_intel8x0m
thinkpad_acpi 47494 0
snd_page_alloc 12867 3 snd_pcm,snd_intel8x0,snd_intel8x0m
nvram 13052 1 thinkpad_acpi
sg 21589 0
snd_seq_midi 12744 0
radeon 571180 1
snd_seq_midi_event 13245 1 snd_seq_midi
sr_mod 17468 0
cdrom 34813 1 sr_mod
snd_rawmidi 18543 1 snd_seq_midi
ipw2200 114659 0
joydev 12959 0
snd_seq 39764 3 snd_seq_midi_event,snd_seq_midi
uhci_hcd 22506 0
libipw 26059 1 ipw2200
ttm 42957 1 radeon
lib80211 12950 4 libipw,ipw2200,lib80211_crypt_ccmp,lib80211_crypt_tkip
ehci_hcd 35684 0
snd_seq_device 13016 3 snd_seq,snd_rawmidi,snd_seq_midi
usbcore 100493 3 ehci_hcd,uhci_hcd
cfg80211 117608 2 libipw,ipw2200
drm_kms_helper 22699 1 radeon
snd_timer 22478 3 snd_seq,snd_pcm,snd_hrtimer
pcmcia 32012 0
snd 38796 24 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_rawmidi,thinkpad_acpi,snd_mixer_oss,snd_pcm_oss,snd_ac97_codec,snd_intel8x0,snd_intel8x0m
drm 130103 4 drm_kms_helper,ttm,radeon
e100 31602 0
psmouse 59795 0
mii 12595 1 e100
ac97_bus 12462 1 snd_ac97_codec
usb_common 12338 1 usbcore
serio_raw 12848 0
i2c_algo_bit 12713 1 radeon
yenta_socket 22402 0
pcmcia_rsrc 17380 1 yenta_socket
pcmcia_core 18063 3 pcmcia_rsrc,yenta_socket,pcmcia
iTCO_wdt 16945 0
soundcore 12921 1 snd
rfkill 18715 5 cfg80211,thinkpad_acpi,bluetooth
iTCO_vendor_support 12632 1 iTCO_wdt
shpchp 26717 0
pcspkr 12554 0
evdev 13175 16
parport_pc 22036 1
parport 31375 3 parport_pc,lp,ppdev
acpi_cpufreq 12745 1
mperf 12421 1 acpi_cpufreq
i2c_i801 12670 0
rng_core 12580 0
i2c_core 19116 5 i2c_i801,i2c_algo_bit,drm,drm_kms_helper,radeon
floppy 48216 0
irda 78967 0
crc_ccitt 12331 1 irda
ac 12552 0
video 17412 0
battery 12957 0
processor 23136 2 acpi_cpufreq
button 12817 0
ext3 133836 2
mbcache 12897 2 ext3,ext2
jbd 42496 1 ext3
sha256_generic 16709 2
aes_i586 16608 3
aes_generic 32970 1 aes_i586
dm_mirror 17543 0
dm_region_hash 13252 1 dm_mirror
dm_log 13309 2 dm_region_hash,dm_mirror
dm_snapshot 31994 0
cbc 12666 1
dm_crypt 17920 1
dm_mod 57354 15 dm_crypt,dm_snapshot,dm_log,dm_mirror
sd_mod 35425 3
crc_t10dif 12332 1 sd_mod
ata_generic 12439 0
ata_piix 21296 3
libata 121219 2 ata_piix,ata_generic
scsi_mod 135629 5 libata,sd_mod,sr_mod,sg,firewire_sbp2
thermal 13103 0
thermal_sys 17752 3 thermal,processor,video
- -- /etc/initramfs-tools/modules
dm_crypt
dm_mod
crypto_blkcipher
cbc
dm_snapshot
dm_mirror
dm_log
- -- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
- -- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
- -- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
- -- /etc/crypttab
#hda2_crypt /dev/hda2 none hash=sha1
hda2_crypt UUID=cd77c7e1-f16a-4312-9f86-eba2ecaa839d none luks
- -- /sys/block
dm-0
dm-1
dm-2
dm-3
fd0
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
sda
sr0
- -- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fuse
keymap
klibc
kmod
lvm2
ntfs_3g
thermal
udev
uswsusp
- -- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-486
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-8
ii klibc-utils 2.0.1-1
ii kmod 9-2
ii module-init-tools 9-2
ii udev 175-7
Versions of packages initramfs-tools recommends:
ii busybox 1:1.20.0-6
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.0-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlBiuS8ACgkQqVj5VlP9Od1lrgCdE7XsQvaNhiJw4vlP2YHK/2Nh
3qUAn2WtsZL4v4+N4xJ5qufhJj6uNzKR
=1JWm
-----END PGP SIGNATURE-----
Reply to: