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

Bug#508906: [initramfs-tools] Doesn't detect LVM for root=/dev/dm-X



Package: initramfs-tools
Version: 0.92l
Severity: important

--- Please enter the report below this line. ---
Let me start with some additional relevant info.

The root fs is located on LVM and is described in
/etc/fstab with LABEL= notation, which leads
to the following mount output for root filesystem:

> mount | grep "on / "
/dev/dm-0 on / type ext3 (rw,noatime,errors=remount-ro)

> e2label /dev/dm-0 
ROOT

The /dev/dm-0 itself isn't a symlink to /dev/mapper/, therefore root var
remains /dev/dm-0 after readlink -f attempt.

> ls -l /dev/dm-0
brw-rw---- 1 root disk 254, 0 Dec 15 15:46 /dev/dm-0

All this consequently leads to failure in detecting the LVM root.

Please let me know if any additional info is needed.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: 5.0
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
  500 unstable        debian.ejohansson.se 
  500 unstable        deb.opera.com 
  500 testing         security.debian.org 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-=============
klibc-utils           (>= 1.5.9-1) | 1.5.12-2
cpio                               | 2.9-14
module-init-tools                  | 3.4-1
udev                  (>= 0.086-1) | 0.125-7
findutils              (>= 4.2.24) | 4.4.0-2

--- Output from package bug script ---
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.26-1-686 root=/dev/mapper/VG000-LV000 ro vga=773

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
nfs                   213896  2 
lockd                  54248  1 nfs
nfs_acl                 2912  1 nfs
sunrpc                162144  15 nfs,lockd,nfs_acl
i915                   25280  2 
drm                    65256  3 i915
autofs4                16420  1 
ipv6                  235300  29 
rfkill_input            3520  0 
loop                   12748  0 
ide_cd_mod             27652  0 
cdrom                  30176  1 ide_cd_mod
ata_generic             4676  0 
arc4                    1824  2 
usbhid                 35904  0 
ecb                     2624  2 
crypto_blkcipher       15236  1 ecb
hid                    33184  1 usbhid
ff_memless              4392  1 usbhid
b43                   110748  0 
rfkill                  5652  3 rfkill_input,b43
rng_core                3940  1 b43
mac80211              139680  1 b43
hci_usb                12252  0 
bluetooth              44900  1 hci_usb
cfg80211               21576  1 mac80211
led_class               3908  1 b43
joydev                  8480  0 
input_polldev           3752  1 b43
piix                    6568  0 [permanent]
snd_hda_intel         324248  0 
snd_pcm_oss            32800  0 
snd_pcm                62596  2 snd_hda_intel,snd_pcm_oss
snd_mixer_oss          12320  1 snd_pcm_oss
pcspkr                  2432  0 
ide_pci_generic         3908  0 [permanent]
serio_raw               4740  0 
psmouse                32336  0 
ide_core               96168  3 ide_cd_mod,piix,ide_pci_generic
ssb                    33476  1 b43
snd_seq_dummy           2660  0 
pcmcia                 29548  2 b43,ssb
pcmcia_core            31892  3 b43,ssb,pcmcia
iTCO_wdt                9508  0 
snd_seq_oss            24992  0 
firmware_class          6816  2 b43,pcmcia
snd_seq_midi_event      6432  1 snd_seq_oss
snd_seq                41456  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer              17800  2 snd_pcm,snd_seq
snd_seq_device          6380  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd                    45604  8 snd_hda_intel,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
soundcore               6368  1 snd
container               3456  0 
uhci_hcd               18672  0 
snd_page_alloc          7816  2 snd_hda_intel,snd_pcm
ehci_hcd               28428  0 
e1000e                 84612  0 
battery                10180  0 
wmi                     6440  0 
ac                      4196  0 
usbcore               118160  5 usbhid,hci_usb,uhci_hcd,ehci_hcd
button                  6096  0 
intel_agp              22332  1 
agpgart                28776  3 drm,intel_agp
evdev                   8000  0 
ext3                  105512  2 
jbd                    39444  1 ext3
mbcache                 7108  1 ext3
dm_mirror              15104  0 
dm_log                  8452  1 dm_mirror
dm_snapshot            14340  0 
dm_mod                 46184  8 dm_mirror,dm_log,dm_snapshot
sd_mod                 22200  3 
thermal                15228  0 
processor              32576  3 thermal
fan                     4164  0 
thermal_sys            10856  3 thermal,processor,fan
ahci                   23176  2 
libata                140384  2 ata_generic,ahci
scsi_mod              129356  2 sd_mod,libata
dock                    8304  1 libata

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


-- 
Eugene Paskevich             |   *==)-----------   |     Plug me into
eugene@raptor.kiev.ua        |   -----------(==*   |      The Matrix



Reply to: