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

Bug#426917: Fwd: Mail delivery failed: returning message to sender



Package: initramfs-tools
Version: 0.88
Severity: important

When i did a dist upgrade last night my system would not boot anymore,
after some looking i found that update-initramfs was complaining about:

Keeping /boot/initrd.img-2.6.16-1-k7.dpkg-bak
update-initramfs: Generating /boot/initrd.img-2.6.16-1-k7
Adding module /lib/modules/2.6.16-1-k7/kernel/drivers/md/md-mod.ko
Adding module /lib/modules/2.6.16-1-k7/kernel/drivers/md/raid1.ko
Adding module /lib/modules/2.6.16-1-k7/kernel/fs/mbcache.ko
Adding module /lib/modules/2.6.16-1-k7/kernel/fs/jbd/jbd.ko
Adding module /lib/modules/2.6.16-1-k7/kernel/fs/ext3/ext3.ko
Error: missing md root /dev/md0 /sys entry
Restoring /boot/initrd.img-2.6.16-1-k7.dpkg-bak
update-initramfs: failed for /boot/initrd.img-2.6.16-1-k7

a quick hack that allowed me to move on and deal with other raid
problems that came up was:

dep_add_modules()
{
       # findout root block device + fstype
       eval "$(mount | awk '/ \/ / {print "root=" $1
       "\nrootfs=" $5; exit}')"
       block=${root#/dev/}
       #block=${block%[0-9]*}

see the comment of the second block command, it strips the 0 off of
/dev/md0 which 'md' does not exist in /sys/block/

Evan


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

-- /proc/filesystems
       cramfs
       ext3
       ext2

-- lsmod
Module                  Size  Used by
lirc_atiusb            16928  1
lirc_dev               14196  1 lirc_atiusb
via                    41376  3
drm                    61844  4 via
nfsd                  199792  17
exportfs                6080  1 nfsd
button                  6928  0
ac                      5508  0
battery                 9924  0
lp                     11300  0
ipv6                  228064  35
nfs                   203916  2
lockd                  55240  3 nfsd,nfs
nfs_acl                 3904  2 nfsd,nfs
sunrpc                139708  13 nfsd,nfs,lockd,nfs_acl
ext2                   59656  1
raid0                   8064  1
dm_snapshot            15840  0
dm_mirror              19600  0
dm_mod                 50776  2 dm_snapshot,dm_mirror
it87                   19236  0
hwmon_vid               3072  1 it87
i2c_isa                 5440  1 it87
eeprom                  7504  0
wm8775                  6156  0
tsdev                   7808  0
usbhid                 37728  0
cx25840                22480  0
snd_via82xx            26264  0
gameport               14920  1 snd_via82xx
snd_ac97_codec         83360  1 snd_via82xx
snd_ac97_bus            2688  1 snd_ac97_codec
snd_mpu401_uart         8384  1 snd_via82xx
snd_pcm_oss            39200  0
snd_pcm                68996  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc          9928  2 snd_via82xx,snd_pcm
snd_mixer_oss          15552  1 snd_pcm_oss
snd_seq_dummy           4164  0
snd_seq_oss            29120  0
snd_seq_midi            8544  0
snd_rawmidi            23200  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event      7488  2 snd_seq_oss,snd_seq_midi
snd_seq                46224  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              21316  2 snd_pcm,snd_seq
bt878                  10680  0
snd_seq_device          8140  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
parport_pc             32612  1
parport                33672  2 lp,parport_pc
floppy                 53668  0
snd                    47524  11
snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ivtv                  158160  0
tuner                  53736  0
bttv                  160244  1 bt878
psmouse                35336  0
soundcore               9568  1 snd
video_buf              23428  1 bttv
firmware_class         10048  3 cx25840,ivtv,bttv
rtc                    12788  0
ehci_hcd               28488  0
ir_common              28164  1 bttv
serio_raw               6980  0
generic                 5316  0 [permanent]
via82cxxx               8708  0 [permanent]
compat_ioctl32          1792  1 bttv
i2c_algo_bit            8776  2 ivtv,bttv
pcspkr                  3392  0
i2c_viapro              8532  0
cx2341x                10628  1 ivtv
evdev                   9408  1
btcx_risc               5064  1 bttv
tveeprom               14160  2 ivtv,bttv
i2c_core               20096  11
it87,i2c_isa,eeprom,wm8775,cx25840,ivtv,tuner,bttv,i2c_algo_bit,i2c_viapro,tveeprom
videodev               21440  2 ivtv,bttv
v4l1_compat            12356  2 ivtv,videodev
v4l2_common            20736  6 cx25840,ivtv,tuner,bttv,cx2341x,videodev
via_rhine              23112  0
mii                     5696  1 via_rhine
uhci_hcd               21448  0
usbcore               113284  5 lirc_atiusb,usbhid,ehci_hcd,uhci_hcd
shpchp                 33312  0
pci_hotplug            29056  1 shpchp
via_agp                 9984  1
agpgart                30216  2 drm,via_agp
ide_cd                 36576  0
cdrom                  33056  1 ide_cd
ide_disk               15168  10
ide_generic             1728  0 [permanent]
ide_core              110984  5 generic,via82cxxx,ide_cd,ide_disk,ide_generic
thermal                13896  0
processor              29128  1 thermal
fan                     5124  0
ext3                  120392  2
jbd                    52968  1 ext3
mbcache                 8644  2 ext2,ext3
raid1                  21568  3
md_mod                 71060  6 raid0,raid1

-- /etc/kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /usr/sbin/update-grub
postrm_hook   = /usr/sbin/update-grub

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


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

Kernel: Linux 2.6.18-1-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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-4   Tiny utilities for small and embed
ii  cpio                         2.7-3       GNU cpio -- a program to manage ar
ii  klibc-utils                  1.5-2       small statically-linked utilities
ii  module-init-tools            3.3-pre11-1 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: