WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Can't use 2.6.16-xen as dom0 kernel
From: Guillaume Thouvenin <guillaume.thouvenin@xxxxxxxx>
Date: Wed, 5 Apr 2006 15:28:59 +0200
Delivery-date: Wed, 05 Apr 2006 06:29:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Bull S.A.
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>