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

Bug#582177: initramfs-tools: fails to load ramdisk on boot; system with RAID & CRYPTO; udev problems?



Package: initramfs-tools
Version: 0.94.4
Severity: important
Tags: squeeze

Very recent changes to the initramfs-tools have caused my system to fail to
"load ramdisk" at boot.  I have to boot the system with the backup initrd
image. I have checked with "rootdelay=10"--no change.  The problem does not
appear to be related to grub.  When I boot the machine and watch the mass of
kernel data fly by I get the impression that udev is not "working" or has
somehow changed from mid-February till now (all of these problems first
appeared in late Feb/early March of 2010).  I am only using the squeeze dataset
without items from experimental or other sources.

My system is different from most in that my / partition is inside a luks crypto
container which is then on a RAID 6 volume.  The /boot is on an unencrypted
RAID 1 volume.  Each physical disk has a separate bios_grub partition (128k)
and the partition tables are GPT.

As I said before this above setup WORKS and I have a 6TB system where the
"boot" disk can fail (I tested this) and the system comes back alive.  For
whatever reason, recent changes to initramfs-tools 1) make it not "see" the
hard drives or any USB devices for that mater, 2) fails to start the RAID
devices, and thus 3) the kernel panics at about 2secs into the boot sequence.

Thank you for all your work.  Squeeze really is shaping into a mighty force.

C. Cropper



-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-3-amd64 root=/dev/mapper/md1_crypt ro rootdelay=2

-- /proc/filesystems
	xfs
	fuseblk

-- lsmod
Module                  Size  Used by
xt_multiport            2267  1 
nf_nat_ftp              2047  0 
nf_conntrack_ftp        5537  1 nf_nat_ftp
nf_nat_irc              1366  0 
nf_conntrack_irc        3347  1 nf_nat_irc
ipt_REJECT              1953  4 
ipt_ULOG                7129  17 
xt_limit                1782  18 
xt_tcpudp               2319  54 
xt_state                1303  65 
ipt_MASQUERADE          1554  1 
iptable_nat             4299  1 
nf_nat                 13372  4 nf_nat_ftp,nf_nat_irc,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4       9833  68 iptable_nat,nf_nat
nf_conntrack           46471  9 nf_nat_ftp,nf_conntrack_ftp,nf_nat_irc,nf_conntrack_irc,xt_state,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4          1139  1 nf_conntrack_ipv4
iptable_filter          2258  1 
ip_tables              13899  2 iptable_nat,iptable_filter
x_tables               12813  9 xt_multiport,ipt_REJECT,ipt_ULOG,xt_limit,xt_tcpudp,xt_state,ipt_MASQUERADE,iptable_nat,ip_tables
ppdev                   5030  0 
lp                      7462  0 
parport                27938  2 ppdev,lp
powernow_k8            10930  0 
cpufreq_userspace       1992  0 
cpufreq_conservative     5162  0 
cpufreq_powersave        902  0 
cpufreq_stats           2659  0 
binfmt_misc             6431  1 
fuse                   50110  1 
loop                   11783  0 
snd_hda_codec_realtek   235378  1 
snd_hda_intel          19619  2 
snd_hda_codec          54212  2 snd_hda_codec_realtek,snd_hda_intel
usblp                   9571  0 
snd_hwdep               5364  1 snd_hda_codec
snd_pcm_oss            32591  0 
snd_mixer_oss          12606  1 snd_pcm_oss
snd_pcm                60615  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            4400  0 
snd_rawmidi            15483  1 snd_seq_midi
snd_seq_midi_event      4628  1 snd_seq_midi
snd_seq                42801  2 snd_seq_midi,snd_seq_midi_event
snd_timer              15502  2 snd_pcm,snd_seq
snd_seq_device          4477  3 snd_seq_midi,snd_rawmidi,snd_seq
amd64_edac_mod         13630  0 
snd                    46350  15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
edac_core              29245  4 amd64_edac_mod
soundcore               4598  1 snd
psmouse                49505  0 
shpchp                 26264  0 
i2c_nforce2             5280  0 
edac_mce_amd            6353  1 amd64_edac_mod
i2c_core               15584  1 i2c_nforce2
serio_raw               3752  0 
pci_hotplug            21171  1 shpchp
pcspkr                  1699  0 
snd_page_alloc          6217  2 snd_hda_intel,snd_pcm
container               2389  0 
evdev                   7336  11 
processor              30215  2 powernow_k8
xfs                   435388  3 
exportfs                3170  1 xfs
sha256_generic          8692  16 
cryptd                  5366  0 
aes_x86_64              7340  16 
aes_generic            25714  1 aes_x86_64
cbc                     2539  8 
dm_crypt               10507  8 
dm_mod                 53674  17 dm_crypt
raid456                44388  1 
async_raid6_recov       5058  1 raid456
async_pq                3479  2 raid456,async_raid6_recov
raid6_pq               77179  2 async_raid6_recov,async_pq
async_xor               2478  3 raid456,async_raid6_recov,async_pq
xor                     4380  1 async_xor
async_memcpy            1198  2 raid456,async_raid6_recov
async_tx                1750  5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1                  18175  1 
md_mod                 73632  4 raid456,raid1
fan                     3346  0 
sg                     18728  0 
sr_mod                 12602  0 
cdrom                  29399  1 sr_mod
usbhid                 33132  1 
hid                    62825  1 usbhid
ide_pci_generic         2788  0 
sd_mod                 29689  26 
crc_t10dif              1276  1 sd_mod
firewire_sbp2          11466  1 
ohci_hcd               19196  0 
ata_generic             2983  0 
libata                132183  1 ata_generic
mptsas                 29108  18 
mptscsih               15848  1 mptsas
mptbase                48318  2 mptsas,mptscsih
scsi_transport_sas     19849  1 mptsas
firewire_ohci          19484  0 
firewire_core          36688  2 firewire_sbp2,firewire_ohci
thermal                11674  0 
floppy                 49087  0 
thermal_sys            11878  3 processor,fan,thermal
scsi_mod              121925  8 sg,sr_mod,sd_mod,firewire_sbp2,libata,mptsas,mptscsih,scsi_transport_sas
ehci_hcd               30706  0 
crc_itu_t               1307  1 firewire_core
amd74xx                 4476  0 
forcedeth              45448  0 
button                  4634  0 
usbcore               121703  6 usblp,usbhid,ohci_hcd,ehci_hcd
nls_base                6377  1 usbcore
ide_core               76850  2 ide_pci_generic,amd74xx

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = 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
COMPRESS=gzip
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /etc/crypttab
md1_crypt /dev/md1 none luks
#sda3_crypt /dev/sda3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
sdb3_crypt /dev/sdb3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
sdc3_crypt /dev/sdc3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
sdd3_crypt /dev/sdd3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
sde3_crypt /dev/sde3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
sdf3_crypt /dev/sdf3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
sdg3_crypt /dev/sdg3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
bbox /dev/blackbox1 none luks


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                         2.11-4      GNU cpio -- a program to manage ar
ii  findutils                    4.4.2-1     utilities for finding files--find,
ii  klibc-utils                  1.5.18-1    small utilities built with klibc f
ii  module-init-tools            3.12~pre2-3 tools for managing Linux kernel mo
ii  udev                         153-2       /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.14.2-2 Tiny utilities for small and embed

initramfs-tools suggests no packages.

-- no debconf information



Reply to: