[pkg-cryptsetup-devel] Bug#542928: Bug#542928: cryptsetup fail with kernel 2.6.30-6

Guillaume JAOUEN jaouen.guillaume at neuf.fr
Tue Aug 25 07:00:43 UTC 2009


Hello,

I use a standard sid install with only nvidia proprietary driver :

Paquet : linux-image-2.6.30-1-amd64
Nouveau: oui
État: installé
Automatiquement installé: non
Version : 2.6.30-6
Priorité : optionnel
Section : kernel
Responsable : Debian Kernel Team <debian-kernel at lists.debian.org>
Taille décompressée : 86,5M
Dépend: module-init-tools, initramfs-tools (>= 0.55) | yaird (>= 0.0.13) |
        linux-initramfs-tool
Pré-dépend: debconf | debconf-2.0
Suggère: linux-doc-2.6.30, grub | lilo
Est en conflit: initramfs-tools (< 0.55), yaird (< 0.0.13)
Fournit: linux-image, linux-image-2.6, linux-modules-2.6.30-1-amd64
Description : Linux 2.6.30 image on AMD64
This package provides the binary image and pre-built loadable modules 
for Linux
kernel 2.6.30 on all 64bit single- and multiprocessor AMD and Intel 
machines.

This kernel also runs on a Xen hypervisor.  It supports only unpriviledged
(domU) operation.

Étiquettes: admin::kernel, implemented-in::c, role::kernel

Output during boot :
debian kernel 2.6.30-1-amd64
...
failure : failed to assemble all array
volume group "debian" not found.
skipping volume group debian.
unable to find LVM volume debian/root
volume group "debian" not found.
skipping volume group debian.
unable to find LVM volume debian/swap_1
done.
begin : waiting for root file system... done
gave up waiting for root device. common problems :
- boot args cat /proc/cmdline
- check rootdelay =(did the system wait long enough?)
- check root =(did the system wait for the right device?)
- missing modules ( cat /proc/modules)
ALERT! /dev/mapper/debian-root does not exist
dropping to a shell.
busybox V.1.13.3 (debian 1:1.13.3-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)

output of cat /proc /cmdline :
(initramfs) root=/dev/mapper/debian-root ro

output of cat /proc/crypto :
name : stdrng
driver : krng
module : kernel
priority : 200
refcnt : 1
selftest : passed
type : rng
seedsize : 0

name : md5
driver : md5-generic
module : kernel
priority : 0
refcnt : 1
selftest :  passed
type : shash
blocksize : 64
digestsize : 16
descsize : 88

output of mount /dev/sda1 /boot/ :
mount: mounting /dev/sda1 on /boot/ failed no such file or directory.

output of ls / :
bin
boot ( I had to create it with mkdir)
conf
dev
etc
init
lib
lib64
proc
root
sbin
scripts
sys
tmp
var

output of ls /dev/sd* :
sda
sda1
sda2
sda5

I can't mount any file system, they are in ext3 format.

I try to add a fat32 usb stick (sdd1 in the laptop) but it fail to mount 
too ...

So I can not get a full output of cat /proc/module :
...
ata_piix
libata
sdhci_pci
sdhci
mmc_core
led_class
uhci_hcd
firewire_ohci
firewire_core
crc_itu_t
tg3
libphy
scsi_mod
intel_agp
ehci_hcd
video
output
thermal
fan
thermal_sy
dm_mirror
dm_region_hash
dm_log
dm_mod

If I boot with 2.6.29-2 I get this phrase :
enter passphrase to unlock the disk (dev/sda5(sda5_crypt):

after entering the passphrase the system boot normaly :

cat /proc/cmdline :
root=/dev/mapper/debian-root ro

cat /proc/crypto :
name         : ecb(arc4)
driver       : ecb(arc4-generic)
module       : ecb
priority     : 0
refcnt       : 3
selftest     : passed
type         : blkcipher
blocksize    : 1
min keysize  : 1
max keysize  : 256
ivsize       : 0
geniv        : <default>

name         : arc4
driver       : arc4-generic
module       : arc4
priority     : 0
refcnt       : 3
selftest     : passed
type         : cipher
blocksize    : 1
min keysize  : 1
max keysize  : 256

name         : sha256
driver       : sha256-generic
module       : sha256_generic
priority     : 0
refcnt       : 1
selftest     : passed
type         : shash
blocksize    : 64
digestsize   : 32
descsize     : 168

name         : sha224
driver       : sha224-generic
module       : sha256_generic
priority     : 0
refcnt       : 1
selftest     : passed
type         : shash
blocksize    : 64
digestsize   : 28
descsize     : 168

name         : cbc(aes)
driver       : cbc(aes-asm)
module       : kernel
priority     : 200
refcnt       : 2
selftest     : passed
type         : givcipher
async        : yes
blocksize    : 16
min keysize  : 16
max keysize  : 32
ivsize       : 16
geniv        : chainiv

name         : cbc(aes)
driver       : cbc(aes-asm)
module       : cbc
priority     : 200
refcnt       : 2
selftest     : passed
type         : blkcipher
blocksize    : 16
min keysize  : 16
max keysize  : 32
ivsize       : 16
geniv        : <default>

name         : aes
driver       : aes-asm
module       : aes_x86_64
priority     : 200
refcnt       : 3
selftest     : passed
type         : cipher
blocksize    : 16
min keysize  : 16
max keysize  : 32

name         : aes
driver       : aes-generic
module       : aes_generic
priority     : 100
refcnt       : 1
selftest     : passed
type         : cipher
blocksize    : 16
min keysize  : 16
max keysize  : 32

name         : stdrng
driver       : krng
module       : kernel
priority     : 200
refcnt       : 2
selftest     : passed
type         : rng
seedsize     : 0

name         : md5
driver       : md5-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
type         : shash
blocksize    : 64
digestsize   : 16
descsize     : 88

cat /proc /modules :
nls_utf8 1968 1 - Live 0xffffffffa020a000
nls_cp437 6896 1 - Live 0xffffffffa01a5000
vfat 10512 1 - Live 0xffffffffa1175000
fat 48280 1 vfat, Live 0xffffffffa1167000
nls_base 8804 4 nls_utf8,nls_cp437,vfat,fat, Live 0xffffffffa1162000
binfmt_misc 9308 1 - Live 0xffffffffa115d000
ppdev 7528 0 - Live 0xffffffffa01b7000
parport_pc 26744 0 - Live 0xffffffffa1154000
lp 10324 0 - Live 0xffffffffa114f000
parport 37904 3 ppdev,parport_pc,lp, Live 0xffffffffa1143000
sco 10820 2 - Live 0xffffffffa113e000
bridge 48048 0 - Live 0xffffffffa1130000
stp 2836 1 bridge, Live 0xffffffffa0236000
bnep 13600 2 - Live 0xffffffffa112a000
l2cap 19968 3 bnep, Live 0xffffffffa1123000
bluetooth 53860 5 sco,bnep,l2cap, Live 0xffffffffa1113000
vboxnetflt 86220 0 - Live 0xffffffffa10fb000
vboxdrv 1683388 1 vboxnetflt, Live 0xffffffffa0f5e000
nfsd 244864 13 - Live 0xffffffffa0f20000
lockd 67924 1 nfsd, Live 0xffffffffa0f0d000
nfs_acl 3232 1 nfsd, Live 0xffffffffa0190000
auth_rpcgss 40768 1 nfsd, Live 0xffffffffa0f01000
sunrpc 194936 13 nfsd,lockd,nfs_acl,auth_rpcgss, Live 0xffffffffa0ecf000
exportfs 4720 1 nfsd, Live 0xffffffffa0119000
autofs4 26728 1 - Live 0xffffffffa0ec6000
ipv6 283776 38 - Live 0xffffffffa0e7e000
acpi_cpufreq 8376 0 - Live 0xffffffffa0e79000
cpufreq_stats 4836 0 - Live 0xffffffffa01c3000
cpufreq_powersave 1760 0 - Live 0xffffffffa01b0000
cpufreq_conservative 7224 0 - Live 0xffffffffa019e000
cpufreq_userspace 3700 0 - Live 0xffffffffa016b000
fuse 55200 3 - Live 0xffffffffa0e69000
i8k 6488 0 - Live 0xffffffffa0031000
nvidia 10257832 28 - Live 0xffffffffa049e000 (P)
firewire_sbp2 15056 0 - Live 0xffffffffa0498000
loop 15292 0 - Live 0xffffffffa0492000
snd_usb_audio 89344 0 - Live 0xffffffffa047a000
snd_usb_lib 16608 1 snd_usb_audio, Live 0xffffffffa0473000
snd_hda_codec_idt 61280 1 - Live 0xffffffffa0462000
arc4 2016 2 - Live 0xffffffffa0124000
ecb 3040 2 - Live 0xffffffffa0038000
snd_hda_intel 26488 2 - Live 0xffffffffa03a1000
snd_hda_codec 69664 2 snd_hda_codec_idt,snd_hda_intel, Live 
0xffffffffa044e000
iwl3945 65216 0 - Live 0xffffffffa043c000
uvcvideo 55996 0 - Live 0xffffffffa042c000
snd_seq_dummy 3108 0 - Live 0xffffffffa01c9000
iwlcore 110368 1 iwl3945, Live 0xffffffffa040f000
snd_hwdep 7864 2 snd_usb_audio,snd_hda_codec, Live 0xffffffffa01bd000
snd_seq_oss 29184 0 - Live 0xffffffffa0405000
videodev 39568 1 uvcvideo, Live 0xffffffffa03f9000
snd_pcm_oss 36448 0 - Live 0xffffffffa03ee000
snd_seq_midi 6672 0 - Live 0xffffffffa0197000
snd_mixer_oss 14576 1 snd_pcm_oss, Live 0xffffffffa03e8000
snd_rawmidi 22896 2 snd_usb_lib,snd_seq_midi, Live 0xffffffffa03e0000
v4l1_compat 12612 2 uvcvideo,videodev, Live 0xffffffffa03da000
dell_laptop 4024 0 - Live 0xffffffffa0162000
snd_seq_midi_event 7504 2 snd_seq_oss,snd_seq_midi, Live 0xffffffffa0144000
rfkill 11876 2 dell_laptop, Live 0xffffffffa03d5000
snd_pcm 78776 4 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss, 
Live 0xffffffffa03bf000
v4l2_compat_ioctl32 9168 1 videodev, Live 0xffffffffa03ba000
snd_seq 50800 6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event, Live 
0xffffffffa03ab000
i2c_i801 9840 0 - Live 0xffffffffa00d6000
mac80211 165664 2 iwl3945,iwlcore, Live 0xffffffffa0376000
psmouse 41532 0 - Live 0xffffffffa0366000
rng_core 4744 0 - Live 0xffffffffa0362000
snd_seq_device 7428 5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq, Live 
0xffffffffa035b000
video 19972 6 - Live 0xffffffffa0351000
i2c_core 25168 2 nvidia,i2c_i801, Live 0xffffffffa0345000
output 3328 1 video, Live 0xffffffffa033f000
serio_raw 5780 0 - Live 0xffffffffa0338000
joydev 10944 0 - Live 0xffffffffa0330000
pcspkr 2768 0 - Live 0xffffffffa032a000
dcdbas 8416 1 dell_laptop, Live 0xffffffffa0322000
snd_timer 22240 2 snd_pcm,snd_seq, Live 0xffffffffa0317000
wmi 7648 0 - Live 0xffffffffa0310000
cfg80211 89496 3 iwl3945,iwlcore,mac80211, Live 0xffffffffa02f8000
snd 63192 17 
snd_usb_audio,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_pcm,snd_seq,snd_seq_device,snd_timer, 
Live 0xffffffffa02e3000
snd_page_alloc 9776 2 snd_hda_intel,snd_pcm, Live 0xffffffffa02db000
evdev 10496 25 - Live 0xffffffffa02d3000
soundcore 7984 1 snd, Live 0xffffffffa02cc000
rfkill_backport 20248 1 cfg80211, Live 0xffffffffa02c2000
ac 3760 0 - Live 0xffffffffa02bc000
button 7280 0 - Live 0xffffffffa02b5000
battery 7600 0 - Live 0xffffffffa02ae000
ext3 122528 3 - Live 0xffffffffa028b000
jbd 50232 1 ext3, Live 0xffffffffa0279000
mbcache 9140 1 ext3, Live 0xffffffffa0271000
sha256_generic 9408 0 - Live 0xffffffffa0269000
aes_x86_64 8160 2 - Live 0xffffffffa0262000
aes_generic 27808 1 aes_x86_64, Live 0xffffffffa0256000
cbc 3744 1 - Live 0xffffffffa0250000
hid_logitech 8368 0 - Live 0xffffffffa024b000
ff_memless 5288 1 hid_logitech, Live 0xffffffffa0247000
usbhid 34176 1 hid_logitech, Live 0xffffffffa0239000
hid 40928 2 hid_logitech,usbhid, Live 0xffffffffa022a000
dm_crypt 12920 1 - Live 0xffffffffa0221000
dm_snapshot 17896 0 - Live 0xffffffffa0217000
raid10 20352 0 - Live 0xffffffffa020d000
usb_storage 100848 2 - Live 0xffffffffa01ef000
raid456 122400 0 - Live 0xffffffffa01cc000
async_xor 4048 1 raid456, Live 0xffffffffa01c6000
async_memcpy 2576 1 raid456, Live 0xffffffffa01c0000
async_tx 3984 3 raid456,async_xor,async_memcpy, Live 0xffffffffa01ba000
xor 5456 2 raid456,async_xor, Live 0xffffffffa01b3000
raid1 20736 0 - Live 0xffffffffa01a8000
raid0 6368 0 - Live 0xffffffffa01a1000
multipath 7280 0 - Live 0xffffffffa019a000
linear 4736 0 - Live 0xffffffffa0193000
md_mod 82740 6 raid10,raid456,raid1,raid0,multipath,linear, Live 
0xffffffffa0179000
sg 23464 0 - Live 0xffffffffa016e000
sr_mod 15348 0 - Live 0xffffffffa0165000
cdrom 33592 1 sr_mod, Live 0xffffffffa0157000
sd_mod 32632 7 - Live 0xffffffffa014a000
crc_t10dif 2064 1 sd_mod, Live 0xffffffffa0147000
ide_pci_generic 4628 0 - Live 0xffffffffa00e1000
ide_core 108788 1 ide_pci_generic, Live 0xffffffffa0127000
ata_generic 5876 0 - Live 0xffffffffa0011000
ata_piix 24196 2 - Live 0xffffffffa011c000
uhci_hcd 22384 0 - Live 0xffffffffa0111000
libata 172716 2 ata_generic,ata_piix, Live 0xffffffffa00e4000
sdhci_pci 7856 0 - Live 0xffffffffa0028000
sdhci 16868 1 sdhci_pci, Live 0xffffffffa00da000
scsi_mod 158880 6 firewire_sbp2,usb_storage,sg,sr_mod,sd_mod,libata, 
Live 0xffffffffa00ad000
mmc_core 52416 1 sdhci, Live 0xffffffffa009e000
led_class 4760 3 iwl3945,iwlcore,sdhci, Live 0xffffffffa0049000
firewire_ohci 21988 0 - Live 0xffffffffa0096000
firewire_core 39748 2 firewire_sbp2,firewire_ohci, Live 0xffffffffa008a000
crc_itu_t 2288 1 firewire_core, Live 0xffffffffa0019000
ehci_hcd 33916 0 - Live 0xffffffffa007f000
tg3 99812 0 - Live 0xffffffffa0064000
libphy 23424 1 tg3, Live 0xffffffffa005c000
intel_agp 28240 0 - Live 0xffffffffa0053000
thermal 18864 0 - Live 0xffffffffa004c000
processor 45400 4 acpi_cpufreq,thermal, Live 0xffffffffa003b000
fan 5304 0 - Live 0xffffffffa0034000
thermal_sys 13104 4 video,thermal,processor,fan, Live 0xffffffffa002b000
dm_mirror 14392 0 - Live 0xffffffffa0022000
dm_region_hash 12656 1 dm_mirror, Live 0xffffffffa001c000
dm_log 10116 2 dm_mirror,dm_region_hash, Live 0xffffffffa0014000
dm_mod 57872 16 dm_crypt,dm_snapshot,dm_mirror,dm_log, Live 
0xffffffffa0000000

I hope it may help you. I repost my answer because I forgot to add 
bugreport adress on it.

Best regards,
Guillaume JAOUEN.







More information about the pkg-cryptsetup-devel mailing list