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

[Xen-users] Can't use 2.6.16-xen as dom0 kernel



Hello,

 I compiled a 2.6.16-xen kernel from xen-unstable but I cannot use it as
a dom0 kernel. Here is the error:

---------------------
...
TCP reno registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0) (XEN) Domain 0 crashed: rebooting machine in 5
seconds. (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
 (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
 (XEN) Domain 0 crashed: rebooting machine in 5 seconds.

-----------------------

I used the default configuration file for 2.6.16-xen except I change the
ext3 support. The /dev/sda1 is an ext3 file system so I compiled the
support for this file system directly in the xenlinux kernel not as a
module. My grub menu entry is:


  title Xen-3.0-unstable  / XenLinux 2.6 (X86_64)
  root (hd0,0)
  kernel /boot/xen-3.gz dom0_mem=1048576 com1=9600,8n1 
  module /boot/vmlinuz-2.6-xen root=/dev/sda1 console=ttyS0


I compiled Xen with `make KERNELS=*2.6* world` so I obtained all
xenlinux kernels. I tried to boot dom0 with the 2.6.16-xen0 and it
worked (I just replaced /boot/vmlinuz-2.6-xen by
/boot/vmlinuz-2.6-xen0 in grub). I also tried to start a domU with
kernel 2.6.16-xen and it worked. So to make a summary:

- 2.6.16-xen doesn't boot as dom0
- 2.6.16-xen0 boots
- 2.6.16-xen boots as domU

I search for 'vmlinuz-2.6-xen' in the mailing list but I didn't find any
matching document (and it's the same in the bug list).

So if you have any hints...
Thanks for your help,

Best regards,
Guillaume

_______________________________________________
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®.