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@lists.xensource.com
http://lists.xensource.com/xen-users