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] domU image with "VmError: Invalid mode" information

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] domU image with "VmError: Invalid mode" information
From: Donglai Zhang <dlzhangster@xxxxxxxxx>
Date: Sun, 12 Jul 2009 16:12:16 +0930
Delivery-date: Sat, 11 Jul 2009 23:43:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=qqyH1u4s84Gsar1ZxDQb51p4zvbEKN7j3lB9BdzE4WM=; b=RZR8FnnmqiH/KCAZiwBQT4X9Ep1tfqqj8dTmsKXvA74AJC36CXQM13xQx8S7QR5HY6 CrLQMyGawod3nROhMsdjugIJhWwaG6YPG/pnS436FqsfsKmq/X5YazSJx7gY1S/HqlhJ hj3UzE6kcuNvzJE8GRnZf8l+dMcjp+YST3Pk0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cscXwoZNxW9Zhhlm4hW92APAaMbh2U4dz727563oz5jrcH9tpUdbrhI+UcdHaB3LYH Xi67b1hJEOE8eBDylpRB3aJUm/UWIesc1dLiNJzTajYCZyq+APkGXzi4aE9yoaHeRd3M CRVkVSbPyDV0fz+mchrj0FFVZQC6vJrZFQs+I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I am trying to use domU image in my Xen system.
My domU configuration file "xmdomU"is as following:

kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = "/boot/initrd-2.6.18.8-xen.img"
memory = 256
name = "ExampleDomain01"
vif = [ '' ]
disk = [ 'tap:aio:/srv/xenimage/XenGuest1.img, xvda1, w', 'tap:aio:/srv/xenimage/XenGuest1.swap,xvda2,w' ]
root = "/dev/xvda1 ro"
extra = "4"
extra = "xencons=tty"

When I run:

# xm create xmdomU
Using config file "./xmdomU"
Error: Invalid mode

I am not quite sure what this means.  Went to /var/log/xen and in xend.log got following information:

[2009-07-12 16:05:26 19154] ERROR (XendDomainInfo:97) Domain construction failed
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 95, in create
    vm.start()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 456, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2576, in _initDomain
    raise exn
VmError: Invalid mode

I am very appreciated if you could give some hints!!

Dong




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>