[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#432534: initramfs-tools: Asks for LUKS passphrase before SCSI disk is ready (Linux 2.6.21, 22)



Package: initramfs-tools
Version: 0.89
Severity: important


My root filesystem is in an encrypted SCSI disk. It works without
problems with Linux 2.6.18, but with 2.6.21 or 2.6.22 versions the system 
asks for the "LUKS passphrase" before the SCSI disk is ready.

Adding a "quick-and-dirty" delay in 
/usr/share/initramfs-tools/scripts/local-top/cryptroot solves the
problem (http://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/21878/comments/28).

Thanks,
	Felipe.

P.S.: My disk is a Seagate ST336706LW, and the SCSI adapter is an
Adaptec aic7892 Ultra160.

-- Package-specific info:
-- /proc/cmdline
root=/dev/mapper/neuromante--vm-root ro 

-- /proc/filesystems
	cramfs
	vfat
	ext3

-- lsmod
Module                  Size  Used by
nfs                   224460  0 
nfsd                  202864  17 
exportfs                5472  1 nfsd
lockd                  60456  3 nfs,nfsd
nfs_acl                 3520  2 nfs,nfsd
sunrpc                157852  13 nfs,nfsd,lockd,nfs_acl
ppdev                   8676  0 
lp                     10980  0 
button                  7920  0 
ac                      5188  0 
battery                 9988  0 
iptable_mangle          2784  0 
ip_tables              12260  1 iptable_mangle
x_tables               14372  1 ip_tables
ipv6                  236932  34 
loop                   16932  0 
tsdev                   7968  0 
snd_emu10k1_synth       6944  0 
snd_emux_synth         31072  1 snd_emu10k1_synth
snd_seq_virmidi         6848  1 snd_emux_synth
snd_seq_midi_emul       5888  1 snd_emux_synth
snd_emu10k1           123040  1 snd_emu10k1_synth
snd_seq_dummy           3748  0 
snd_seq_oss            29408  0 
snd_seq_midi            8160  0 
snd_seq_midi_event      6880  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                46320  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_rawmidi            22624  3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
firmware_class          9504  1 snd_emu10k1
snd_ac97_codec         92836  1 snd_emu10k1
ac97_bus                2272  1 snd_ac97_codec
snd_pcm_oss            39200  0 
snd_mixer_oss          15424  1 snd_pcm_oss
snd_pcm                72324  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device          7692  8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd_timer              21028  3 snd_emu10k1,snd_seq,snd_pcm
snd_page_alloc          9512  2 snd_emu10k1,snd_pcm
snd_util_mem            4544  2 snd_emux_synth,snd_emu10k1
psmouse                36016  0 
pcspkr                  3104  0 
snd_hwdep               8772  2 snd_emux_synth,snd_emu10k1
i2c_piix4               8524  0 
serio_raw               6692  0 
rtc                    12856  0 
emu10k1_gp              3712  0 
gameport               14984  2 emu10k1_gp
parport_pc             33796  1 
parport                33960  3 ppdev,lp,parport_pc
snd                    48324  13 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_seq_oss,snd_seq,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
i2c_core               23552  1 i2c_piix4
soundcore               7520  1 snd
sworks_agp              9408  0 
agpgart                31912  1 sworks_agp
evdev                   9312  3 
ext3                  121192  6 
jbd                    55304  1 ext3
mbcache                 8260  1 ext3
sha256                 11008  0 
aes                    27680  2 
cbc                     4416  1 
blkcipher               6244  1 cbc
sd_mod                 27136  3 
dm_crypt               12808  1 
ide_generic             1216  0 [permanent]
dm_mirror              20896  0 
dm_snapshot            16516  0 
dm_mod                 52000  18 dm_crypt,dm_mirror,dm_snapshot
ide_cd                 36416  0 
cdrom                  32832  1 ide_cd
generic                 4836  0 [permanent]
serverworks             7528  0 [permanent]
ata_generic             7556  0 
libata                116048  1 ata_generic
8139too                25536  0 
aic7xxx               156856  2 
scsi_transport_spi     23008  1 aic7xxx
e100                   33644  0 
mii                     5280  2 8139too,e100
ehci_hcd               30796  0 
ohci_hcd               19780  0 
thermal                13416  0 
processor              31016  1 thermal
fan                     4836  0 
floppy                 54884  0 
usb_storage            76640  0 
usbcore               125064  4 ehci_hcd,ohci_hcd,usb_storage
scsi_mod              136620  5 sd_mod,libata,aic7xxx,scsi_transport_spi,usb_storage
ide_core              113796  5 ide_generic,ide_cd,generic,serverworks,usb_storage
vfat                   12032  0 
fat                    48540  1 vfat

-- /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
postinst_hook = update-grub
postrm_hook   = update-grub

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc5-686 (SMP w/2 CPU cores)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  busybox                      1:1.1.3-5   Tiny utilities for small and embed
ii  cpio                         2.9-2       GNU cpio -- a program to manage ar
ii  klibc-utils                  1.5-2       small statically-linked utilities 
ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel mo
ii  udev                         0.105-4     /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



Reply to: