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] error creating domain

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] error creating domain
From: "mantra UNIX" <unix.mantra@xxxxxxxxx>
Date: Wed, 30 Aug 2006 20:59:44 -0500
Delivery-date: Wed, 30 Aug 2006 19:00:38 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=YklGC7iwYKZUMGWK/ca6CE7I6YWkagOpGrrGmMRSUU2xgUH2uN70nTNvR/KoabVamAMtLQXxFHjjytGDRBoViqeIObwi3AbWY5fX3+JemaVqS7LoLci5o8sitnmVofqx7Wv1LKNiF0UvDBpmigB5yWbb+CFlJWKp3r2LwsiAOv8=
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
Hello all;
 
I am trying to create SuSE10 guest under my FC5 host, this configuration has worked before but due to abnormal shutdown of my server i get the following error while trying to create the guest OS;
 
** the same configuration used to work just fine
 
 
#xm create -c /etc/xen/suse.cfg
 
-------------------------------------------------------------------------------------
Using config file "/etc/xen/suse.cfg".
Error: Error creating domain: (22, 'Invalid argument')
-------------------------------------------------------------------------------------
 
/etc/xen/suse.cfg:
-------------------------------------------------------------------------------------
kernel  =       "/boot/vmlinuz-xen"
ramdisk =       "/boot/initrd-xen"
memory  =       "256"
name    =       "suse"
vcpus   =       "1"
vif     =       [ 'mac=00:11:43:12:AA:6B, ip=192.168.1.1' ]
hostname =       "suse"
disk    =       [ 'phy:/dev/sda2,sda2,w' ]
root    =       "/dev/suse/root rw"
extra   =       "selinux=0 3"
-------------------------------------------------------------------------------------
 
 
My log files look like this;
 
/var/log/xend.log:
 
-------------------------------------------------------------------------------------
...
[2006-08-30 20:41:24 xend.XendDomainInfo] DEBUG (XendDomainInfo:1142) XendDomainInfo.construct: None 0
[2006-08-30 20:41:24 xend.XendDomainInfo] DEBUG (XendDomainInfo:1174) XendDomainInfo.initDomain: 9 1.0
[2006-08-30 20:41:24 xend] DEBUG (balloon:84) Balloon: free 257; need 257; done.
[2006-08-30 20:41:24 xend] INFO (image:135) buildDomain os=linux dom=9 vcpus=1
[2006-08-30 20:41:24 xend] DEBUG (image:173) dom            = 9
[2006-08-30 20:41:24 xend] DEBUG (image:174) image          = /boot/vmlinuz-xen
[2006-08-30 20:41:24 xend] DEBUG (image:175) store_evtchn   = 1
[2006-08-30 20:41:24 xend] DEBUG (image:176) console_evtchn = 2
[2006-08-30 20:41:24 xend] DEBUG (image:177) cmdline        =  root=/dev/suse/root rw selinux=0 3
[2006-08-30 20:41:24 xend] DEBUG (image:178) ramdisk        = /boot/initrd-xen
[2006-08-30 20:41:24 xend] DEBUG (image:179) vcpus          = 1
[2006-08-30 20:41:24 xend] DEBUG (image:180) features       =
[2006-08-30 20:41:24 xend.XendDomainInfo] ERROR (XendDomainInfo:189) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 182, in create
    vm.initDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1209, in initDomain
    channel_details = self.image.createImage()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 118, in createImage
    return self.createDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 137, in createDomain
    result = self.buildDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 188, in buildDomain
    features       = self.features)
error: (22, 'Invalid argument')
[2006-08-30 20:41:24 xend.XendDomainInfo] DEBUG (XendDomainInfo:1290) XendDomainInfo.destroy: domid=9
[2006-08-30 20:41:24 xend.XendDomainInfo ] DEBUG (XendDomainInfo:1298) XendDomainInfo.destroyDomain(9)
[2006-08-30 20:41:24 xend] ERROR (SrvBase:87) Request create failed.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 82, in op_create
    raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: (22, 'Invalid argument')
---------------------------------------------------------------------------------------------
 
/var/log/xend-debug.log:
 
---------------------------------------------------------------------------------------------
ERROR: Will only load images built for Xen v3.0
ERROR: Actually saw: 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=3.0,VIRT_BASE=0xC0000000,PAE=no,LOADER=generic'
ERROR: Error constructing guest OS
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 77, in op_create
    dominfo = self.xd.domain_create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 226, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 182, in create
    vm.initDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1209, in initDomain
    channel_details = self.image.createImage()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 118, in createImage
    return self.createDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 137, in createDomain
    result = self.buildDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 188, in buildDomain
    features       = self.features)
error: (22, 'Invalid argument')
-----------------------------------------------------------------------------------------------
 
 
Thanks,
umantra
 
 
 
 
   
 
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>