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

Bug#594545: initramfs-tools: "mount" command fails to mount root filesystem.



Package: initramfs-tools
Version: 0.98
Severity: normal
Tags: squeeze

I have lvm2 + xen4 system, I prepared domu image with xen-create-image, but it dosn't boot, with error:

Begin: Running /scripts/local-premount ... done.
mount: mounting /dev/xvda1 on /root failed: No such device
Begin: Running /scripts/local-bottom ... done.

but:
(initramfs) cat /proc/partitions 
major minor  #blocks  name

 202        1   10485760 xvda1
 202        2    1048576 xvda2
 202        3   20971520 xvda3
 202        4   20971520 xvda4

(initramfs) ls -al /dev/xvda*
brw-------    1 0        0         202,   1 Aug 27 00:02 /dev/xvda1
brw-------    1 0        0         202,   2 Aug 27 00:02 /dev/xvda2
brw-------    1 0        0         202,   3 Aug 27 00:02 /dev/xvda3
brw-------    1 0        0         202,   4 Aug 27 00:02 /dev/xvda4

(initramfs) fstype /dev/xvda1
FSTYPE=ext3
FSSIZE=10737418240

(initramfs) mount -t ext3 /dev/xvda1 /root
mount: mounting /dev/xvda1 on /root failed: No such device
(initramfs) 

 

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 3.5M Aug 26 21:57 /boot/initrd.img-2.6.32-5-xen-amd64
-rw-r--r-- 1 root root 3.5M Aug 26 20:49 /boot/initrd.img-2.6.32-5-xen-amd64.back
-rw-r--r-- 1 root root 4.4M Aug 27 00:49 /boot/initrd.img-2.6.32-5-xen-amd64.local
-rw-r--r-- 1 root root 3.5M Aug 27 01:48 /boot/initrd.img-2.6.32-trunk-amd64
-- /proc/cmdline
root=/dev/mapper/vg1-root2 ro quiet

-- resume
RESUME=UUID=53d78982-76ee-4480-900b-83ca8f8e946d
-- /proc/filesystems
	ext4
	ext3

-- lsmod
Module                  Size  Used by
md_mod                 73760  0 
nf_conntrack_ipv4       9833  2 
nf_defrag_ipv4          1139  1 nf_conntrack_ipv4
xt_state                1303  2 
nf_conntrack           46519  2 nf_conntrack_ipv4,xt_state
xt_physdev              1508  4 
iptable_filter          2258  1 
ip_tables              13899  1 iptable_filter
x_tables               12845  3 xt_state,xt_physdev,ip_tables
ext3                  106502  0 
jbd                    37085  1 ext3
bridge                 39630  0 
stp                     1440  1 bridge
xen_evtchn              4339  2 
xenfs                   9600  1 
loop                   11783  0 
usbhid                 33260  0 
hid                    62857  1 usbhid
snd_pcm                60519  0 
snd_timer              15582  1 snd_pcm
radeon                572779  0 
sg                     18760  0 
ttm                    40034  1 radeon
drm_kms_helper         20065  1 radeon
sr_mod                 12602  0 
snd                    46446  2 snd_pcm,snd_timer
soundcore               4598  1 snd
cdrom                  29415  1 sr_mod
drm                   143553  3 radeon,ttm,drm_kms_helper
ata_generic             2983  0 
snd_page_alloc          6249  1 snd_pcm
i5k_amb                 4439  0 
i2c_algo_bit            4225  1 radeon
i5000_edac              7284  0 
ata_piix               20996  0 
i2c_core               15712  4 radeon,drm_kms_helper,drm,i2c_algo_bit
rng_core                3006  0 
bnx2                   57321  0 
uhci_hcd               18521  0 
edac_core              29261  3 i5000_edac
dcdbas                  5048  0 
pcspkr                  1699  0 
button                  4650  0 
ehci_hcd               31135  0 
processor              36077  0 
e1000e                110015  0 
usbcore               121943  4 usbhid,uhci_hcd,ehci_hcd
libata                133568  2 ata_generic,ata_piix
ses                     5128  0 
evdev                   7352  3 
serio_raw               3752  0 
psmouse                49777  0 
enclosure               5503  1 ses
nls_base                6377  1 usbcore
acpi_processor          5087  1 processor,[permanent]
ext4                  288873  1 
mbcache                 5050  2 ext3,ext4
jbd2                   67015  1 ext4
crc16                   1319  1 ext4
dm_mod                 53770  26 
sd_mod                 29761  2 
crc_t10dif              1276  1 sd_mod
megaraid_sas           29116  1 
scsi_mod              122101  6 sg,sr_mod,libata,ses,sd_mod,megaraid_sas
thermal                11674  0 
thermal_sys            11942  2 processor,thermal
shpchp                 26264  0 
pci_hotplug            21203  1 shpchp

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

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

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>

-- /proc/mdstat
Personalities : 
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
lvm2
thermal
udev


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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

Versions of packages initramfs-tools suggests:
ii  bash-completion               1:1.2-2    programmable completion for the ba

-- no debconf information



Reply to: