Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[Xen-users] Failure of create a new xen vitual machine

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Failure of create a new xen vitual machine
From: ideallorn <ideallorn@xxxxxxxxxxx>
Date: Mon, 29 Oct 2007 21:04:56 -0700 (PDT)
Delivery-date: Tue, 30 Oct 2007 09:54:18 -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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I am using the FC7 with kernel 2.6.20-2936.fc7xen, 

I make my disk img using
dd if=/dev/zero of=xen.img bs=1k count=10000000
and then I do nothing with the file xen.img, is there any operations I
should do to the xen.img?

here is my configure file 'xencfg'

kernel = "/root/xen/vmlinuz"  # copied from CentOS5/image/xen
memory = 256
name = "xen"
vif = [ '' ]
disk = [ 'file:/root/xen.img,sda1,w' ]
  # Set root device.
root = "/dev/sda1 ro"
extra = "4"

And then I try to create the xen virtual machine
 /usr/sbin/xm create xencfg -c vmid=1

But get the following error prompt:

...
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
XENBUS: Device with no driver: device/vif/0
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)

Any one know what's the matter of my issue, Many thanks

Best Regards,

-- 
View this message in context: 
http://www.nabble.com/Failure-of-create-a-new-xen-vitual-machine-tf4716294.html#a13482164
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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