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/
Home Products Support Community News


[Xen-users] XEN Error 22 Invalid Argument

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN Error 22 Invalid Argument
From: Dave Durkee <dave@xxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Apr 2007 16:38:28 -0700
Delivery-date: Thu, 12 Apr 2007 01:19:54 -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
User-agent: Thunderbird (X11/20070310)
I have built a dom 0 using a Gentoo Linux kernel. All is up and running with no errors.

I downloaded a Centos 4.4 image from the web and when I rum xm I get an error 22. Does anyone know what I am doing wrong and/or where I can find more documentation on running unmodified VMX guest domains. The Xen 3.0 Users Manual is out of date.

Here is the control file:

sun temp # cat centos.4-4.xen3.cfg
kernel = "/usr/lib/xen/boot/hvmloader"
memory = 128
name = "centos.4-4"
vif = [ '' ]
dhcp = "dhcp"
disk = ['file:/mnt/temp/centos.4-4.img,sda1,w', 'file:/mnt/temp/centos.swap,sda2,w']
root = "/dev/sda1 ro"

xm create centos.4-4.xen3.cfg
Using config file "centos.4-4.xen3.cfg".
Error: (22, 'Invalid argument')

Snippet from the xend.log

[2007-04-11 14:32:40 xend.XendDomainInfo] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=2 [2007-04-11 14:32:40 xend.XendDomainInfo] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(2)
[2007-04-11 14:32:40 xend] ERROR (__init__:1072) (22, 'Invalid argument')
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line 80, in _marshaled_dispatch
   response = self._dispatch(method, params)
 File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
   return func(*params)
File "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 63, in domain_create
   info = XendDomain.instance().domain_create(config)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 227, in domain_create
   dominfo = XendDomainInfo.create(config)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 183, in create
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1225, in initDomain
   channel_details = self.image.createImage()
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 118, in createImage
   return self.createDomain()
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 137, in createDomain
   result = self.buildDomain()
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 188, in buildDomain
   features       = self.features)
error: (22, 'Invalid argument')

Xen-users mailing list

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