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

Bug#576845: initramfs-tools: Forgets to add mdadm and related scripts



Package: initramfs-tools
Version: 0.94.1
Severity: important
Tags: sid

Last update to initrd.img left the system unbootable due to lack of
sbin/mdadm and scripts/local-top/mdadm (even scripts/local-top/ is
missing), as checked by manual inspection with zcat -d <
/boot/initrd.img-... | cpio -i. Currently I am booting thanks to
initrd backups.

I looked at other bugs and found a suggestion to install lvm2 (I do
not use it, RAID here is plain /dev/md*, but nothing to lose...), then
local-top was added to the initrd, with lvm2 in it, but still no trace
of mdadm.

-- Package-specific info:
-- /proc/cmdline
root=/dev/md0 ro rootdelay=10

-- /proc/filesystems
	ext3
	fuseblk
	ext2

-- lsmod
Module                  Size  Used by
dm_mod                 46074  0 
radeon                398727  2 
ttm                    26172  1 radeon
drm_kms_helper         17247  1 radeon
drm                   107671  5 radeon,ttm,drm_kms_helper
i2c_algo_bit            3497  1 radeon
sco                     5837  2 
bridge                 32983  0 
stp                      996  1 bridge
bnep                    7444  2 
rfcomm                 25131  0 
l2cap                  21677  6 bnep,rfcomm
crc16                   1027  1 l2cap
bluetooth              36327  6 sco,bnep,rfcomm,l2cap
rfkill                 10260  2 bluetooth
inet_diag               5930  1 
ext2                   46289  1 
brd                     2984  1 
fuse                   43750  1 
lm90                    7728  0 
it87                   11447  0 
hwmon_vid               1528  1 it87
snd_cs4236             21379  0 
snd_wavefront          24702  0 
snd_wss_lib            16653  2 snd_cs4236,snd_wavefront
snd_opl3_lib            6022  2 snd_cs4236,snd_wavefront
snd_ca0106             23755  2 
snd_hwdep               4054  2 snd_wavefront,snd_opl3_lib
snd_mpu401              3604  0 
snd_mpu401_uart         4067  3 snd_cs4236,snd_wavefront,snd_mpu401
snd_ac97_codec         79140  1 snd_ca0106
ac97_bus                 710  1 snd_ac97_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
via_ircc               13311  0 
snd_pcm                47362  6 snd_cs4236,snd_wss_lib,snd_ca0106,snd_ac97_codec,snd_pcm_oss
snd_seq_midi            3576  0 
snd_rawmidi            12505  4 snd_wavefront,snd_ca0106,snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35459  3 snd_seq_midi,snd_seq_midi_event
snd_timer              12258  5 snd_wss_lib,snd_opl3_lib,snd_pcm,snd_seq
snd_seq_device          3673  4 snd_opl3_lib,snd_seq_midi,snd_rawmidi,snd_seq
joydev                  6771  0 
irda                   75920  1 via_ircc
crc_ccitt               1039  1 irda
i2c_viapro              4419  0 
emu10k1_gp              1238  0 
parport_pc             15799  0 
wacom                  15640  0 
ns558                   1599  0 
snd                    34363  19 snd_cs4236,snd_wavefront,snd_wss_lib,snd_opl3_lib,snd_ca0106,snd_hwdep,snd_mpu401,snd_mpu401_uart,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
parport                22554  1 parport_pc
processor              26571  1 
i2c_core               12648  5 radeon,drm,i2c_algo_bit,lm90,i2c_viapro
shpchp                 21220  0 
pcspkr                  1207  0 
gameport                6057  4 emu10k1_gp,ns558
evdev                   5609  11 
pci_hotplug            18065  1 shpchp
soundcore               3450  1 snd
snd_page_alloc          5041  3 snd_wss_lib,snd_ca0106,snd_pcm
ext3                   94192  13 
jbd                    32161  1 ext3
mbcache                 3762  2 ext2,ext3
raid1                  16099  5 
md_mod                 67165  6 raid1
sd_mod                 25781  16 
crc_t10dif              1012  1 sd_mod
usbhid                 27888  0 
hid                    50657  1 usbhid
ide_cd_mod             21076  0 
cdrom                  26487  1 ide_cd_mod
ide_gd_mod             17171  8 
ata_generic             2015  0 
libata                114408  1 ata_generic
ide_pci_generic         1924  0 
uhci_hcd               16045  0 
via82cxxx               4390  6 
firewire_ohci          16509  0 
3c59x                  24525  0 
aic79xx               112160  14 
via_agp                 4608  1 
floppy                 40923  0 
ehci_hcd               27574  0 
ide_core               64146  4 ide_cd_mod,ide_gd_mod,ide_pci_generic,via82cxxx
scsi_transport_spi     14866  1 aic79xx
firewire_core          31139  1 firewire_ohci
crc_itu_t               1035  1 firewire_core
button                  3598  0 
mii                     2714  1 3c59x
usbcore                98126  5 wacom,usbhid,uhci_hcd,ehci_hcd
nls_base                4541  1 usbcore
scsi_mod              101297  4 sd_mod,libata,aic79xx,scsi_transport_spi
agpgart                19516  3 ttm,drm,via_agp
thermal                 9206  0 
fan                     2586  0 
thermal_sys             9378  3 processor,thermal,fan

-- /etc/kernel-img.conf
# No clutter in /
do_symlinks = 0
# No rescue floppies
do_bootfloppy = 0
# Run grub by hooks
do_bootloader = 0
postinst_hook = /usr/sbin/update-grub
postrm_hook   = /usr/sbin/update-grub
# Create initrd images so can boot with SCSI etc
do_initrd = 1

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


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

Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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

initramfs-tools suggests no packages.

-- no debconf information



Reply to: