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

Re: [Xen-users] XEN Error 22 Invalid Argument

To: "Dave Durkee" <dave@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] XEN Error 22 Invalid Argument
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Thu, 12 Apr 2007 14:21:45 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Apr 2007 01:50:45 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=CKZ25kcY91I47ODJkBHoqRjkJf3QODlAMPWajjiBh5/IvTQstyNdSLgKrI1vAAk6M3bAh1CBGfUiHdAWOtc2KLzG3xfalDnRZBLLThAY0BVWTj0uLsb0ymh8MdTHW1oy/f1sPOTYWV0eV5c+TZ+4E/JbWyYoqOKyqm912BjWirU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=eDJmgHqd80ireHei3XKYtS7S3hpOolcGL5YGLxBTXFxqSC6ya3QwLMjVZlvuP5e6nqtruzHZM2LqDgsRgnbAYAyIE/UUG5nIt9edqaB0ElFOwVuPJTeOrvrdUlRoYU53Wp5BDny4raQhD5fosTmysYfuYDVrtVb0nHQFMrqWUUw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <461D7174.8040107@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>
References: <461D7174.8040107@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
change sda1 and sda2 to hda and hdb and accordingly modify yours fstab of unmodified guest os.

On 4/12/07, Dave Durkee <dave@xxxxxxxxxxxxxxxxxx> wrote:
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
    vm.initDomain()
  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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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