[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: "Dave Durkee" <dave@xxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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',
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)
[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)
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

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.