Bug#583071: initramfs-tools: initrd.img fails to boot with xen
Package: initramfs-tools
Version: 0.94.4
Severity: normal
Hi,
I am trying to boot xen with 2.6.32-5-xen-686 dom0 kernel using this grub2 entry.
menuentry "xen Debian GNU/Linux, with Linux 2.6.32-5-xen-686" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,3)'
multiboot /boot/xen-3.4-i386.gz dom0_mem=512M
module /boot/vmlinuz-2.6.32-5-xen-686 root=UUID=b3af1d44-5293-4d2f-a211-fcc23b88b7fc ro vga=0x317
module /boot/initrd.img-2.6.32-5-xen-686
}
The boot boot process ends here:
-------------------------------------------------------------------
Loading, please wait ..
mount: cannot read /etc/fstab: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or direcotry
mount: mounting /sys on /root/sys failed: No such file or direcotry
mount: mont /proc on /root/proc failed:No such file or direcotry
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.
BusyBox v1.15.3
(initramfs)
-------------------------------------------------------------------
But, If I use the following grub entry to boot the dom0 kernel without xen.gz(same vmlinuz & initrd) the system boot sucessfully.
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-xen-686" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd1,3)'
search --no-floppy --fs-uuid --set b3af1d44-5293-4d2f-a211-fcc23b88b7fc
echo Loading Linux 2.6.32-5-xen-686 ...
linux /boot/vmlinuz-2.6.32-5-xen-686 root=UUID=b3af1d44-5293-4d2f-a211-fcc23b88b7fc ro noresume quiet
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.32-5-xen-686
}
I noticed that there is a similar bug without xen involved.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576677
I followed the suggestion to update the findutils(4.5.9-1) and (initramfs-tools 0.94.4).
But, the problem persists.
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-xen-686 root=UUID=b3af1d44-5293-4d2f-a211-fcc23b88b7fc ro noresume quiet
-- /proc/filesystems
ext3
fuseblk
-- lsmod
Module Size Used by
ip6table_filter 1908 0
ip6_tables 8560 1 ip6table_filter
iptable_filter 1790 0
ip_tables 7690 1 iptable_filter
x_tables 8327 2 ip6_tables,ip_tables
acpi_cpufreq 4943 0
cpufreq_powersave 602 0
cpufreq_userspace 1476 0
cpufreq_conservative 4018 0
cpufreq_stats 1940 0
ppdev 4058 0
lp 5570 0
sco 5857 2
bridge 32983 0
stp 996 1 bridge
bnep 7444 2
rfcomm 25167 0
l2cap 21705 6 bnep,rfcomm
crc16 1027 1 l2cap
bluetooth 36327 6 sco,bnep,rfcomm,l2cap
rfkill 10260 2 bluetooth
binfmt_misc 4907 1
ib_iser 21896 0
rdma_cm 17846 1 ib_iser
ib_cm 22569 1 rdma_cm
iw_cm 5119 1 rdma_cm
ib_sa 13079 2 rdma_cm,ib_cm
ib_mad 26365 2 ib_cm,ib_sa
ib_core 33215 6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr 4257 1 rdma_cm
iscsi_tcp 6685 0
libiscsi_tcp 9358 1 iscsi_tcp
libiscsi 24462 3 ib_iser,iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi 19896 4 ib_iser,iscsi_tcp,libiscsi
nfsd 193247 13
exportfs 2618 1 nfsd
nfs 206770 0
lockd 49433 2 nfsd,nfs
fscache 24654 1 nfs
nfs_acl 1695 2 nfsd,nfs
auth_rpcgss 25240 2 nfsd,nfs
sunrpc 134588 12 nfsd,nfs,lockd,nfs_acl,auth_rpcgss
fuse 43758 9
loop 9753 0
dm_crypt 9127 0
snd_hda_codec_realtek 163214 1
snd_hda_intel 16759 0
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 4054 1 snd_hda_codec
snd_pcm_oss 28671 0
snd_mixer_oss 10461 1 snd_pcm_oss
snd_pcm 47402 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 3576 0
snd_rawmidi 12505 1 snd_seq_midi
snd_seq_midi_event 3684 1 snd_seq_midi
i915 219504 2
i2c_i801 6466 0
snd_seq 35459 2 snd_seq_midi,snd_seq_midi_event
drm_kms_helper 18301 1 i915
snd_timer 12258 2 snd_pcm,snd_seq
snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq
drm 113374 3 i915,drm_kms_helper
i2c_algo_bit 3497 1 i915
psmouse 44649 0
video 14605 1 i915
tpm_tis 5572 0
snd 34363 11 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3450 1 snd
rng_core 2178 0
serio_raw 2916 0
i2c_core 12696 5 i915,i2c_i801,drm_kms_helper,drm,i2c_algo_bit
snd_page_alloc 5109 2 snd_hda_intel,snd_pcm
output 1204 1 video
parport_pc 15871 1
processor 30973 1 acpi_cpufreq
tpm 8137 1 tpm_tis
tpm_bios 3569 1 tpm
parport 22554 3 ppdev,lp,parport_pc
acpi_processor 3635 1 processor,[permanent]
pcspkr 1207 0
evdev 5609 10
button 3598 1 i915
ext3 94196 2
jbd 32161 1 ext3
mbcache 3762 1 ext3
dm_mod 46082 1 dm_crypt
raid10 16617 0
raid456 42876 0
async_raid6_recov 4166 1 raid456
async_pq 2643 2 raid456,async_raid6_recov
raid6_pq 77468 2 async_raid6_recov,async_pq
async_xor 1990 3 raid456,async_raid6_recov,async_pq
xor 12418 1 async_xor
async_memcpy 858 2 raid456,async_raid6_recov
async_tx 1322 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1 16099 0
raid0 5601 0
multipath 4983 0
linear 3059 0
md_mod 67173 6 raid10,raid456,raid1,raid0,multipath,linear
sg 15976 0
sr_mod 10770 0
sd_mod 25865 8
cdrom 26487 1 sr_mod
crc_t10dif 1012 1 sd_mod
ata_generic 2019 0
ata_piix 17696 6
r8169 25024 0
libata 115965 2 ata_generic,ata_piix
8139too 15105 0
8139cp 13618 0
uhci_hcd 16141 0
mii 2714 3 r8169,8139too,8139cp
ehci_hcd 28167 0
scsi_mod 101397 8 ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,sg,sr_mod,sd_mod,libata
usbcore 98742 3 uhci_hcd,ehci_hcd
thermal 9206 0
nls_base 4541 1 usbcore
thermal_sys 9378 3 video,processor,thermal
-- /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
COMPRESS=gzip
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-xen-686 (SMP w/4 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.5.9-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~pre2-3 tools for managing Linux kernel mo
ii udev 154-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
pn busybox | busybox-initramfs <none> (no description available)
initramfs-tools suggests no packages.
-- no debconf information
Reply to: