Hi all. This has been mentioned once before on this list, with no resolution that I could find. I'm trying to make a domU with FC4 running under a FC5 dom0. Following the instructions located at
http://www.fedoraproject.org/wiki/FedoraXenQuickstart , xen produces these errors:
[root@localhost xen]# xm create -c cpanel Using config file "cpanel". Error: Error creating domain: (22, 'Invalid argument') [root@localhost xen]#
And from /var/log/xend.log:
[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'cpanel'], ['memory', '196'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.11-1.1369_FC4xenU'
], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3']]], ['device', ['vbd', ['uname', 'file:/root/cpanel.img'], ['dev', 'sda1'], ['mode', 'w']]]]) [2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:283) parseConfig: config is ['vm', ['name', 'cpanel'], ['memory', '196'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-
2.6.11-1.1369_FC4xenU'], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3']]], ['device', ['vbd', ['uname', 'file:/root/cpanel.img'], ['dev', 'sda1'], ['mode', 'w']]]] [2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:379) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-
2.6.11-1.1369_FC4xenU'], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3']], 'on_poweroff': None, 'cpus': None, 'name': 'cpanel', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 196, 'device': [('vbd', ['vbd', ['uname', 'file:/root/cpanel.img'], ['dev', 'sda1'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:1142) XendDomainInfo.construct: None 0 [2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:1174) XendDomainInfo.initDomain: 13 1.0 [2006-05-17 23:41:50 xend] DEBUG (balloon:84) Balloon: free 618; need 197; done.
[2006-05-17 23:41:50 xend] INFO (image:135) buildDomain os=linux dom=13 vcpus=1 [2006-05-17 23:41:50 xend] DEBUG (image:173) dom = 13 [2006-05-17 23:41:50 xend] DEBUG (image:174) image = /boot/vmlinuz-
2.6.11-1.1369_FC4xenU [2006-05-17 23:41:50 xend] DEBUG (image:175) store_evtchn = 1 [2006-05-17 23:41:50 xend] DEBUG (image:176) console_evtchn = 2 [2006-05-17 23:41:50 xend] DEBUG (image:177) cmdline = root=/dev/sda1 ro selinux=0 3
[2006-05-17 23:41:50 xend] DEBUG (image:178) ramdisk = [2006-05-17 23:41:50 xend] DEBUG (image:179) vcpus = 1 [2006-05-17 23:41:50 xend] DEBUG (image:180) features = [2006-05-17 23:41:50
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-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:1290) XendDomainInfo.destroy: domid=13 [2006-05-17 23:41:50 xend.XendDomainInfo
] DEBUG (XendDomainInfo:1298) XendDomainInfo.destroyDomain(13) [2006-05-17 23:41:50 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')
This is my conf file /etc/xen/cpanel :
[root@localhost xen]# cat /etc/xen/cpanel kernel ="/boot/vmlinuz-2.6.11-1.1369_FC4xenU" memory = 196 name = "cpanel" disk = ['file:/root/cpanel.img,sda1,w'] root = "/dev/sda1"
extra = "ro selinux=0 3"
[root@localhost xen]#
I have tried this with both the kernel mentioned above, as well as the latest 2.6.13 kernel for FC4xenU. Any suggestions would be appreciated.
-Andrew
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|