Package: initramfs-tools
Version: 0.92o
Severity: important

After upgrading from etch to lenny the new kernel would not boot, but stop with 
a message "Waiting for 
root file system". The root file system is on a luks partiton as 
/dev/mapper/root. As suggested in the 
debian docs I added a file system label to /etc/fstab to avoid possible 
/dev/hda - /dev/sda confusions 
with a new kernel before upgrading, so the line for the root partition in 
/etc/fstab looked like:

LABEL=CRYPTOROOT     /          ext3        defaults,errors=remount-ro     0   1

When I opened the initrd.img with gzip and cpio I found the 
conf/conf.d/cryptroot was missing; when I 
added it manually and re-packaged the initrd.img the system would boot up 
normally.
On a web search I found the discussion about bug #507721 and although I was not 
able to fully understand 
the technical details I thought it resembled my problems a lot. I then just 
tried to replace the 
LABEL=CRYPTROOT in /etc/fstab with /dev/mapper/root and ran update-initramfs 
again which then resulted 
in a correct initrd.img, so it looks like initramfs-tools does not handle file 
system labels correctly.

Regards

Michael


-- Package-specific info:
-- /proc/cmdline
root=LABEL=CRYPTOROOT ro vga=773

-- /proc/filesystems
        vfat
        ext3
        fuseblk

-- lsmod
Module                  Size  Used by
xt_TCPMSS               3616  1 
pppoe                   8672  2 
pppox                   3116  1 pppoe
ppp_generic            20028  6 pppoe,pppox
slhc                    5408  1 ppp_generic
binfmt_misc             7528  1 
rfcomm                 28272  2 
l2cap                  17248  9 rfcomm
bluetooth              44900  4 rfcomm,l2cap
battery                10180  0 
ppdev                   6468  0 
parport_pc             22500  0 
lp                      8164  0 
parport                30988  3 ppdev,parport_pc,lp
ipv6                  235300  22 
cpufreq_conservative     5960  0 
cpufreq_ondemand        6476  0 
cpufreq_powersave       1856  0 
cpufreq_stats           3776  0 
xt_hashlimit            9360  0 
iptable_raw             2176  0 
xt_comment              1664  0 
xt_owner                2560  0 
xt_iprange              2272  0 
xt_policy               2848  0 
xt_multiport            2816  4 
ipt_ULOG                6820  0 
ipt_TTL                 1856  0 
ipt_ttl                 1600  0 
ipt_REJECT              2784  4 
ipt_REDIRECT            1760  0 
ipt_recent              6908  0 
ipt_NETMAP              1760  0 
ipt_MASQUERADE          2592  0 
ipt_LOG                 5028  12 
ipt_ECN                 2336  0 
ipt_ecn                 1888  0 
ipt_CLUSTERIP           5956  0 
ipt_ah                  1664  0 
ipt_addrtype            2304  0 
xt_tcpmss               1984  1 
xt_pkttype              1728  4 
xt_physdev              2352  0 
xt_NFQUEUE              1792  0 
xt_MARK                 2304  0 
xt_mark                 1952  0 
xt_mac                  1728  0 
xt_limit                2180  0 
xt_length               1760  0 
xt_helper               2112  0 
xt_dccp                 2696  0 
xt_conntrack            3488  3 
xt_CONNMARK             2944  0 
xt_connmark             2368  0 
xt_CLASSIFY             1696  0 
xt_tcpudp               2816  21 
xt_state                2016  20 
iptable_nat             4680  0 
nf_nat                 15576  4 
ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      12268  26 iptable_nat,nf_nat
nf_conntrack           55508  10 
ipt_MASQUERADE,ipt_CLUSTERIP,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle          2688  1 
nfnetlink               3928  0 
iptable_filter          2624  1 
ip_tables              10160  4 
iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables               13284  40 
xt_TCPMSS,xt_hashlimit,xt_comment,xt_owner,xt_iprange,xt_policy,xt_multiport,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_REJECT,ipt_REDIRECT,ipt_recent,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_tcpmss,xt_pkttype,xt_physdev,xt_NFQUEUE,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_helper,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
fuse                   42908  1 
dm_snapshot            14340  0 
dm_mirror              15104  0 
dm_log                  8452  1 dm_mirror
powernow_k8            12036  0 
freq_table              4224  3 cpufreq_ondemand,cpufreq_stats,powernow_k8
cpufreq_userspace       3172  1 
snd_fm801              14752  0 
snd_ac97_codec         88484  1 snd_fm801
ac97_bus                1728  1 snd_ac97_codec
snd_pcm_oss            32800  0 
snd_mixer_oss          12320  1 snd_pcm_oss
snd_pcm                62596  3 snd_fm801,snd_ac97_codec,snd_pcm_oss
snd_page_alloc          7816  1 snd_pcm
snd_tea575x_tuner       3264  1 snd_fm801
videodev               27520  1 snd_tea575x_tuner
v4l1_compat            12260  1 videodev
snd_opl3_lib            9344  1 snd_fm801
snd_hwdep               6212  1 snd_opl3_lib
snd_mpu401_uart         6368  1 snd_fm801
snd_seq_dummy           2660  0 
snd_seq_oss            24992  0 
snd_seq_midi            5728  0 
snd_rawmidi            18496  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event      6432  2 snd_seq_oss,snd_seq_midi
snd_seq                41456  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              17800  3 snd_pcm,snd_opl3_lib,snd_seq
snd_seq_device          6380  6 
snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    45604  13 
snd_fm801,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6368  1 snd
fm801_gp                2816  0 
gameport               10700  2 fm801_gp
psmouse                32336  0 
serio_raw               4740  0 
pcspkr                  2432  0 
k8temp                  4064  0 
shpchp                 25528  0 
pci_hotplug            23460  1 shpchp
button                  6096  0 
usblp                  10592  0 
i2c_nforce2             5536  0 
amd64_agp               8772  0 
i2c_core               19828  1 i2c_nforce2
agpgart                28776  1 amd64_agp
evdev                   8000  3 
ext3                  105512  2 
jbd                    39444  1 ext3
mbcache                 7108  1 ext3
ide_cd_mod             27652  0 
cdrom                  30176  1 ide_cd_mod
ata_generic             4676  0 
libata                140384  1 ata_generic
dock                    8304  1 libata
ide_pci_generic         3908  0 [permanent]
floppy                 47716  0 
amd74xx                 7752  0 [permanent]
forcedeth              45072  0 
ohci_hcd               18500  0 
thermal                15228  0 
processor              32576  2 powernow_k8,thermal
fan                     4164  0 
thermal_sys            10856  3 thermal,processor,fan
sha256_generic         11360  0 
aes_i586                7744  3 
aes_generic            29256  1 aes_i586
cbc                     3264  2 
dm_crypt               11172  1 
crypto_blkcipher       15236  4 cbc,dm_crypt
dm_mod                 46184  8 dm_snapshot,dm_mirror,dm_log,dm_crypt
nls_utf8                1760  0 
nls_iso8859_15          4480  0 
nls_iso8859_1           3936  0 
nls_cp437               5568  0 
nls_cp850               4736  0 
vfat                    9152  0 
fat                    40864  1 vfat
nls_base                6820  7 
nls_utf8,nls_iso8859_15,nls_iso8859_1,nls_cp437,nls_cp850,vfat,fat
usb_storage            76032  0 
sd_mod                 22200  0 
scsi_mod              129356  3 libata,usb_storage,sd_mod
ehci_hcd               28428  0 
usbcore               118160  5 usblp,ohci_hcd,usb_storage,ehci_hcd
ide_disk               10496  4 
ide_core               96168  4 ide_cd_mod,ide_pci_generic,amd74xx,ide_disk
loop                   12748  0 

-- /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

-- /etc/crypttab
# <target name>     <source device>          <key file>         <options>

root              /dev/hda1                   root.key           
luks,keyscript=/root/Cryptokram/crypto-usb-key.sh

swap              /dev/hda3                   /dev/random        swap


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
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.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



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to