Bug#538143: initramfs-tools: fails to assemble root MD device
Package: initramfs-tools
Version: 0.92o
Severity: normal
I used to use a custom kernel on this system, with all required stuff
built-in (no modules). This included raid1.
After installing linux-image-2.6.30-1-amd64_2.6.30-3_amd64.deb and
rebooting, all I got was "Begin: Waiting for root file system ...".
After dropping down to the busybox shell, I could do "modprobe raid1"
and "mdadm --assemble --scan", and all was well.
What I'm wondering is how to fix this permanently.
Inside the initrd, the contents of /conf/conf.d/md are:
MD_HOMEHOST='loebas'
MD_DEVS=none
MD_MODULES=''
I would have expected MD_DEVS to be all, and MD_MODULES to be raid1.
Why does initramfs-tools on my system not do this correctly?
What do I have to fix? :-)
I tried 0.93.3 as well but that didn't make any difference here.
Thanks,
Paul Slootman
-- Package-specific info:
-- /proc/cmdline
console=tty0 console=ttyS1,57600 root=/dev/md10 ro
-- /proc/filesystems
ext3
ext2
ext4
ext4dev
-- lsmod
Module Size Used by
ext4 215792 3
jbd2 58624 1 ext4
crc16 2272 1 ext4
ext2 62720 1
dm_snapshot 22684 0
dm_mirror 14536 0
dm_region_hash 12704 1 dm_mirror
dm_log 9924 2 dm_mirror,dm_region_hash
dm_mod 59224 3 dm_snapshot,dm_mirror,dm_log
8021q 22000 0
garp 8576 1 8021q
stp 2868 1 garp
snd_pcm 78504 0
snd_timer 21824 1 snd_pcm
snd 63880 2 snd_pcm,snd_timer
i5k_amb 6696 0
dcdbas 8528 0
soundcore 7984 1 snd
snd_page_alloc 9936 1 snd_pcm
evdev 10448 0
psmouse 42140 0
rng_core 4872 0
serio_raw 5844 0
pcspkr 2800 0
i5000_edac 9968 0
edac_core 43604 3 i5000_edac
iTCO_wdt 12160 0
button 6512 0
processor 40096 0
shpchp 32588 0
pci_hotplug 29040 1 shpchp
ext3 122544 2
jbd 47976 1 ext3
mbcache 8804 3 ext4,ext2,ext3
raid456 48368 6
raid6_pq 80928 1 raid456
async_xor 4032 1 raid456
async_memcpy 2400 1 raid456
async_tx 4016 3 raid456,async_xor,async_memcpy
xor 5488 2 raid456,async_xor
sd_mod 33656 32
crc_t10dif 2096 1 sd_mod
ide_cd_mod 29016 0
cdrom 34360 1 ide_cd_mod
ide_pci_generic 4964 0
piix 7256 0
ide_core 104864 3 ide_cd_mod,ide_pci_generic,piix
mptsas 25840 28
mptscsih 25296 1 mptsas
ata_generic 5924 0
mptbase 61124 2 mptsas,mptscsih
libata 175260 1 ata_generic
scsi_transport_sas 30000 1 mptsas
ehci_hcd 33564 0
uhci_hcd 22160 0
scsi_mod 158560 5 sd_mod,mptsas,mptscsih,libata,scsi_transport_sas
bnx2 62680 0
thermal 15952 0
fan 5240 0
thermal_sys 16480 3 processor,thermal,fan
raid1 21104 1
md_mod 86468 9 raid456,raid1
-- /etc/kernel-img.conf
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
do_bootloader = no
do_initrd = Yes
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
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+lenny1 /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
Reply to: