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] Fail to create hvm domain

To: Steve Brueckner <steve@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Fail to create hvm domain
From: Sven Oehme <oehmes@xxxxxxxxxx>
Date: Thu, 18 May 2006 23:29:19 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 May 2006 14:25:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <60D45469A1AAD311A04C009027B6BF6805F0EC12@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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

Hi ,

i tried to setup a HVM Domain with the FC5 packages, and failed with all of them , even xen-3.0.2-4  from the development repro doesn't work.
i check out the current xen3-unstable from the repository and used my FC5 config from the Xen Kernel to compile packages for FC5 , since then i am able to create the HVM domains. At least Windows XP works, Vista fails to boot ...

Sven



Steve Brueckner <steve@xxxxxxxxxxxxxx>
Sent by: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

05/18/2006 10:57 PM

To
xen-users@xxxxxxxxxxxxxxxxxxx
cc
Subject
[Xen-users] Fail to create hvm domain





I'm using FC5 with its Xen 3.0.2-2 package and 2.6.16-1.2118_FC5xen0 kernel.
I've got a Pentium 9xx chip with virtualization enabled in the BIOS; it
appears to be VT-enabled, since xm dmesg includes "(XEN) VMXON is done".  I
base my config file on example.hvm and on previous emails to this list.
Unfortunately, I don't get very far.  

xm create winxp.conf
Error: (22, 'Invalid argument')

xend-debug.log gives me this:
ERROR: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1

And xend.log spews out all of the stuff below my sig.  I've googled around
and not found any obvious answers.  Can anyone tell me where to start
looking to fix this?

Thanks,

Steve Brueckner, ATC-NY

[2006-05-18 14:48:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:184)
XendDomainInfo.create(['vm', ['name', 'winxp'], ['memory', 512], ['vcpus',
1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'],
['device_model', '/usr/xen/bin/qemu-dm'], ['vcpus', 1], ['cdrom',
'/dev/cdrom'], ['boot', 'd'], ['localtime', 1], ['serial', 'pty'], ['sdl',
1], ['display', ':0.0'], ['xauthority', '/root/.xauth4hZOJJ']]], ['device',
['vbd', ['uname', 'file:/etc/xen/winxp.img'], ['dev', 'ioemu:hda'], ['mode',
'w']]], ['device', ['vif', ['mac', '00:16:3e:00:00:04'], ['type',
'ioemu']]]])
[2006-05-18 14:48:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:290)
parseConfig: config is ['vm', ['name', 'winxp'], ['memory', 512], ['vcpus',
1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'],
['device_model', '/usr/xen/bin/qemu-dm'], ['vcpus', 1], ['cdrom',
'/dev/cdrom'], ['boot', 'd'], ['localtime', 1], ['serial', 'pty'], ['sdl',
1], ['display', ':0.0'], ['xauthority', '/root/.xauth4hZOJJ']]], ['device',
['vbd', ['uname', 'file:/etc/xen/winxp.img'], ['dev', 'ioemu:hda'], ['mode',
'w']]], ['device', ['vif', ['mac', '00:16:3e:00:00:04'], ['type',
'ioemu']]]]
[2006-05-18 14:48:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:389)
parseConfig: result is {'uuid': None, 'on_crash': None, 'on_reboot': None,
'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/xen/bin/qemu-dm'], ['vcpus', 1], ['cdrom', '/dev/cdrom'], ['boot',
'd'], ['localtime', 1], ['serial', 'pty'], ['sdl', 1], ['display', ':0.0'],
['xauthority', '/root/.xauth4hZOJJ']], 'on_poweroff': None,
'bootloader_args': None, 'cpus': None, 'name': 'winxp', 'backend': [],
'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None,
'memory': 512, 'device': [('vbd', ['vbd', ['uname',
'file:/etc/xen/winxp.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]), ('vif',
['vif', ['mac', '00:16:3e:00:00:04'], ['type', 'ioemu']])], 'bootloader':
None, 'cpu': None, 'maxmem': None}
[2006-05-18 14:48:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:1205)
XendDomainInfo.construct: None
[2006-05-18 14:48:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:1237)
XendDomainInfo.initDomain: 11 1.0
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: cdrom, val: /dev/cdrom
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: boot, val: d
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: fda, val: None
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: fdb, val: None
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: nic-ne2000, val: None
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: enable-audio, val: None
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: localtime, val: 1
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: serial, val: pty
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: std-vga, val: None
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: isa, val: None
[2006-05-18 14:48:06 xend] DEBUG (image:264) args: vcpus, val: 1
[2006-05-18 14:48:06 xend] DEBUG (balloon:126) Balloon: free 518; need 518;
done.
[2006-05-18 14:48:06 xend.XendDomainInfo] ERROR (XendDomainInfo:1432)
Exception in alloc_unbound(11)
Traceback (most recent call last):
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1430, in createChannel
   return xc.evtchn_alloc_unbound(dom=self.domid, remote_dom=0)
error: (22, 'Invalid argument')
[2006-05-18 14:48:06 xend.XendDomainInfo] ERROR (XendDomainInfo:196) Domain
construction failed
Traceback (most recent call last):
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
189, in create
   vm.initDomain()
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1275, in initDomain
   self.createChannels()
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1422, in createChannels
   self.store_port = self.createChannel()
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1430, in createChannel
   return xc.evtchn_alloc_unbound(dom=self.domid, remote_dom=0)
error: (22, 'Invalid argument')
[2006-05-18 14:48:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:1379)
XendDomainInfo.destroy: domid=11
[2006-05-18 14:48:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:1387)
XendDomainInfo.destroyDomain(11)
[2006-05-18 14:48:06 xend] ERROR (image:404) Unwatching hvm shutdown watch
failed.
Traceback (most recent call last):
 File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 401, in
unregister_shutdown_watch
   if self.shutdownWatch:
AttributeError: HVMImageHandler instance has no attribute 'shutdownWatch'
[2006-05-18 14:48:06 xend] DEBUG (image:406) hvm shutdown watch unregistered
[2006-05-18 14:48:06 xend] ERROR (xmlrpclib2:124) (22, 'Invalid argument')
Traceback (most recent call last):
 File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 103,
in _marshaled_dispatch
   response = self._dispatch(method, params)
 File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
   return func(*params)
 File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py",
line 63, in domain_create
   info = XendDomain.instance().domain_create(config)
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 228,
in domain_create
   dominfo = XendDomainInfo.create(config)
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
189, in create
   vm.initDomain()
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1275, in initDomain
   self.createChannels()
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1422, in createChannels
   self.store_port = self.createChannel()
 File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1430, in createChannel
   return xc.evtchn_alloc_unbound(dom=self.domid, remote_dom=0)
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>