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

[Xen-users] Kernel panic on Xen dom0 vanilla kernel: No init found.



Hello,

I'm currently installing Xen on the latest Gentoo Linux and i'm having some trouble to boot the dom0 kernel. It starts the xen.gz kernel, switches to the linux kernel module and fails to find /sbin/init. I'm using the kernel vanilla sources from kernel.org: http://git.kernel.org/?p=linux/kernel/git/konrad/xen.git;a=summary

The console output from the kernel does not really give any useful information:

(...)
EXT4-fs (sda3): mounted filesystem with ordered data mode (null)
VFS: Mounted root (ext4 filesystem) on device 8:3.
(...)
Kernel panic - not syncing: No init found. Try passing init= option to kernel.

... and the usual panic call trace.

When i boot the same kernel without xen.gz on the same filesystem, it boots fine. Here is my /boot/grub/grub.conf:

# Fails to boot, no init found.
title Gentoo Linux 3.1.0-rc10-xen with Xen
root (hd0,0)
kernel /xen.gz dom0_mem=128M
module /boot/kernel-3.1.0-rc10-xen root=/dev/sda3 ro

# Boots fine.
title Gentoo Linux 3.1.0-rc10-xen
root (hd0,0)
kernel /boot/kernel-3.1.0-rc10-xen root=/dev/sda3

I also did some research found and someone had this error while booting a domU: http://lists.xen.org/archives/html/xen-users/2009-04/msg00662.html. I double-checked my .config to verify that I have the CONFIG_IA32_EMULATION option enabled .

Does anyone spot the problem?

-----------------------------
Additional info:

My kernel config file: http://pastebin.com/Vn7XwJRV

Xen installation:

# emerge -av net-misc/bridge-utils dev-python/pyxml dev-perl/sdl-perl sys-apps/iproute2 sys-apps/pciutils app-text/texi2html dev-libs/libaio app-arch/bzip2 media-gfx/transfig git dev86 iasl mercurial
# hg clone http://xenbits.xen.org/xen-4.1-testing.hg
# cd xen-4.1-testing.hg
# make PYTHON=python2 xen
# make PYTHON=python2 tools
# make PYTHON=python2 stubdom
# make PYTHON=python2 install-xen
# make PYTHON=python2 install-tools
# make PYTHON=python2 install-stubdom

System / file info:

# uname -a
Linux VSERVER 3.1.0-rc10-xen+ #1 SMP Sun Jan 15 21:37:47 CET 2012 x86_64 Intel(R) Core(TM) 2 Quad CPU Q8400 @ 2.66GHz GenuineIntel GNU/Linux

# file /sbin/init
/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

# gunzip xen.gz
# file xen
xen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped

# file /boot/kernel-3.1.0-rc10-xen
/boot/kernel-3.1.0-rc10-xen: Linux kernel x86 boot executable bzImage, version 3.1.0-rc10-xen+ (root@livecd) #1 SMP Sun Jan 15 21:37:47 CET 20, RO-rootFS, swap_dev 0x5, Normal VGA
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.