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

Bug#394193: initramfs-tools: root file system fails to mount when mounting by a label, on top of an md device.



Package: initramfs-tools
Version: 0.83
Severity: important
Tags: patch


Booting via disk-labels when your root-label is on a md device, results
in the system hanging at "Waiting for root file system..." untill it times
out.

At this point there are no /dev/disk/by-label enteries for the md devices,
and running a udevtrigger will populate it. 

Ive attached my quick fix to te problem. (aka quick hack)

/ca 

--- /root/foo/debian/usr/share/initramfs-tools/scripts/local    2006-09-04 07:44:02.000000000 -0400
+++ /usr/share/initramfs-tools/scripts/local    2006-10-20 01:50:57.000000000 -0400
@@ -6,6 +6,8 @@
        [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"
        run_scripts /scripts/local-top
        [ "$quiet" != "y" ] && log_end_msg
+       log_begin_msg "Running UdevTrigger to populate /dev/disk/by-label/ ..."
+       /sbin/udevtrigger
 
        # If the root device hasn't shown up yet, give it a little while
        # to deal with removable devices


-- Package-specific info:
-- /proc/cmdline
root=LABEL=roland ro 

-- /proc/filesystems
	cramfs
	ext3

-- lsmod
Module                  Size  Used by
xt_tcpudp               3456  16 
ip_gre                 12768  0 
ipv6                  228064  30 
loop                   15496  0 
nfsd                  199792  8 
exportfs                6080  1 nfsd
nfs                   203916  0 
lockd                  55240  3 nfsd,nfs
nfs_acl                 3904  2 nfsd,nfs
sunrpc                139708  4 nfsd,nfs,lockd,nfs_acl
w83627hf               23056  0 
hwmon_vid               3072  1 w83627hf
eeprom                  7504  0 
i2c_isa                 5440  1 w83627hf
ipt_REJECT              5568  1 
iptable_filter          3392  1 
ip_tables              13412  1 iptable_filter
x_tables               13636  3 xt_tcpudp,ipt_REJECT,ip_tables
cls_route               7232  1 
sch_htb                15808  1 
usbkbd                  7104  0 
usbcore               113284  1 usbkbd
via_rhine              23112  0 
mii                     5696  1 via_rhine
eth1394                18756  0 
i2c_nforce2             7232  0 
i2c_core               20096  4 w83627hf,eeprom,i2c_isa,i2c_nforce2
parport_pc             32612  0 
parport                33672  1 parport_pc
rtc                    12724  0 
evdev                   9408  0 
amd64_agp              12292  1 
agpgart                30216  1 amd64_agp
psmouse                35336  0 
serio_raw               6980  0 
shpchp                 33312  0 
pci_hotplug            29056  1 shpchp
pcspkr                  3392  0 
ext3                  120392  3 
jbd                    52584  1 ext3
mbcache                 8644  1 ext3
dm_mirror              19600  0 
dm_snapshot            15840  0 
dm_mod                 50776  7 dm_mirror,dm_snapshot
raid1                  21568  10 
md_mod                 71060  11 raid1
ide_generic             1728  0 [permanent]
sata_nv                11332  0 
generic                 5316  0 [permanent]
sd_mod                 19456  16 
ide_disk               15168  23 
forcedeth              37700  0 
amd74xx                13340  0 [permanent]
r8169                  28680  0 
sata_promise           11908  10 
ohci1394               31344  0 
libata                 90644  2 sata_nv,sata_promise
scsi_mod              124872  2 sd_mod,libata
pdc202xx_new            8256  0 [permanent]
ide_core              110984  5 ide_generic,generic,ide_disk,amd74xx,pdc202xx_new
ieee1394               88376  2 eth1394,ohci1394
thermal                13896  0 
processor              29128  1 thermal
fan                     5124  0 

-- kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = No


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.1.3-3  Tiny utilities for small and embed
ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.4.27-1   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.100-2    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



Reply to: