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

[Xen-users] SETVCPUCONTEXT failed


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: chrisbenninger <chrisbenninger@xxxxxxxxx>
  • Date: Sun, 23 Jan 2011 15:25:55 -0800
  • Delivery-date: Sun, 23 Jan 2011 15:28:20 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=GLhvvI2OapfmWUfdo6kbtjqF8Yligh5f8vzxG1Pjg8v3HVWJ+kdnlFfAt4Hh7XSjJw CPjOp+uhltXtu1dmhWftYZE5IBLTL1Ip6Cq7JX87Fo0DA6XOMmISWG5Z31uGcVKRoUkh FBw0b+fDFY497O/UHHr2mWhaKyHBcu2vXt6zo=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi guys,

I cannot get my domU's to boot. My current setup is as follows:
Xen: 4.0.1
Dom0: Debian with custom linux 2.6.32.27 Xen kernel
DomU: Same kernel as Dom0

When I try to start the VM, I just get:

Error: (1, 'Internal error', 'launch_vm: SETVCPUCONTEXT failed (rc=-1)\n')

And /var/log/xend.log says:

[2011-01-23 15:36:01 3201] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'testVM'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', '1'], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32.27'], ['ramdisk', '/boot/initrd.img-2.6.32.27-xen-domU'], ['root', '/dev/xvda1 ro'], ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/media/vm/appliances/testVM/disk.img'], ['dev', 'xvda1'], ['mode', 'w']]], ['device', ['vif', ['ip', '10.0.0.1'], ['mac', '00:16:3E:7D:3D:DA']]]])
[2011-01-23 15:36:01 3201] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
[2011-01-23 15:36:01 3201] DEBUG (balloon:220) Balloon: 131280 KiB free; need 16384; done.
[2011-01-23 15:36:01 3201] DEBUG (XendDomain:464) Adding Domain: 4
[2011-01-23 15:36:01 3201] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 4 256
[2011-01-23 15:36:01 3201] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0.
[2011-01-23 15:36:01 3201] INFO (image:182) buildDomain os=linux dom=4 vcpus=1
[2011-01-23 15:36:01 3201] DEBUG (image:721) domid          = 4
[2011-01-23 15:36:01 3201] DEBUG (image:722) memsize        = 128
[2011-01-23 15:36:01 3201] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32.27
[2011-01-23 15:36:01 3201] DEBUG (image:724) store_evtchn   = 1
[2011-01-23 15:36:01 3201] DEBUG (image:725) console_evtchn = 2
[2011-01-23 15:36:01 3201] DEBUG (image:726) cmdline        = root=/dev/xvda1 ro 
[2011-01-23 15:36:01 3201] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32.27-xen-domU
[2011-01-23 15:36:01 3201] DEBUG (image:728) vcpus          = 1
[2011-01-23 15:36:01 3201] DEBUG (image:729) features       = 
[2011-01-23 15:36:01 3201] DEBUG (image:730) flags          = 0
[2011-01-23 15:36:01 3201] DEBUG (image:731) superpages     = 0
[2011-01-23 15:36:02 3201] ERROR (XendDomainInfo:2909) XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2880, in _initDomain
    channel_details = self.image.createImage()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/image.py", line 165, in createImage
    return self.createDomain()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/image.py", line 184, in createDomain
    result = self.buildDomain()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/image.py", line 1069, in buildDomain
    rc = LinuxImageHandler.buildDomain(self)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/image.py", line 745, in buildDomain
    superpages     = self.superpages)
Error: (1, 'Internal error', 'launch_vm: SETVCPUCONTEXT failed (rc=-1)\n')
[2011-01-23 15:36:02 3201] ERROR (XendDomainInfo:483) VM start failed
Traceback (most recent call last):
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2912, in _initDomain
    raise VmError(str(exn))
VmError: (1, 'Internal error', 'launch_vm: SETVCPUCONTEXT failed (rc=-1)\n')
[2011-01-23 15:36:02 3201] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=4
[2011-01-23 15:36:02 3201] DEBUG (XendDomainInfo:2411) Destroying device model
[2011-01-23 15:36:02 3201] DEBUG (XendDomainInfo:2418) Releasing devices
[2011-01-23 15:36:02 3201] ERROR (XendDomainInfo:106) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 104, in create
    vm.start()
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2912, in _initDomain
    raise VmError(str(exn))
VmError: (1, 'Internal error', 'launch_vm: SETVCPUCONTEXT failed (rc=-1)\n')


I have tried tweaking the initramfs images because I thought I was missing a module of some kind, but I can't seem to isolate it if that is in fact the cause.


Chris Benninger
University of Victoria, Computer Science
http://benninger.ca
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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