Richard Kettlewell
2009-Mar-21 14:28 UTC
[Pkg-xen-devel] Bug#520641: Cannot create HVM domain
Package: xen-utils-3.2-1
Version: 3.2.1-2
If I try to create an HVM domain I get the following error message:
araminta:~# xm create -c heceptor.cfg
Using config file "/etc/xen/heceptor.cfg".
Error: Creating domain failed: name=heceptor
xend-log has a Python backtrace in it:
[2009-03-21 14:14:46 25927] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', 'heceptor'],
['memory', 192],
['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'],
['image', ['hvm', ['kernel',
'/usr/lib/xen-3.2-1/boot/hvmloader'],
['pae', 1], ['vcpus', 1], ['boot', 'dc'],
['fda', ''], ['fdb', ''],
['timer_mode', 0], ['localtime', 0], ['serial',
'pty'], ['stdvga', 0],
['isa', 0], ['nographic', 0], ['soundhw', ''],
['vnc', 1], ['vncunused',
1], ['sdl', 0], ['xauthority', '/root/.Xauthority'],
['rtc_timeoffset',
'0'], ['monitor', 0], ['acpi', 1], ['apic', 1],
['usb', 0],
['usbdevice', ''], ['keymap', ''],
['pci', []], ['guest_os_type',
'default'], ['device_model',
'/usr/lib/xen-3.2-1/bin/qemu-dm'],
['vncpasswd', 'XXXXXXXX']]], ['device', ['vbd',
['uname',
'file:/xen/domains/heceptor/hda.img'], ['dev',
'ioemu:hda'], ['mode',
'w']]], ['device', ['vbd', ['uname',
'file:/var/www/software/freebsd/7.1-RELEASE-i386-dvd1.iso'],
['dev',
'ioemu:hdc:cdrom'], ['mode', 'r']]], ['device',
['vif', ['ip',
'172.17.207.9'], ['mac', '00:16:3E:5B:18:B4'],
['type', 'ioemu'],
['model', 'ne2k_pci']]]])
[2009-03-21 14:14:46 25927] DEBUG (XendDomainInfo:1618)
XendDomainInfo.constructDomain
[2009-03-21 14:14:46 25927] DEBUG (balloon:132) Balloon: 2996 KiB free;
need 2048; done.
[2009-03-21 14:14:46 25927] ERROR (XendDomainInfo:440) VM start failed
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py",
line
419, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendTask.py", line
209,
in log_progress
retval = func(*args, **kwds)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py",
line
1656, in _constructDomain
self.info['name_label'])
VmError: Creating domain failed: name=heceptor
[2009-03-21 14:14:46 25927] DEBUG (XendDomainInfo:1897)
XendDomainInfo.destroy: domid=None
[2009-03-21 14:14:46 25927] ERROR (XendDomainInfo:89) Domain
construction failed
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py",
line
87, in create
vm.start()
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py",
line
419, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendTask.py", line
209,
in log_progress
retval = func(*args, **kwds)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py",
line
1656, in _constructDomain
self.info['name_label'])
VmError: Creating domain failed: name=heceptor
[2009-03-21 14:14:46 25927] DEBUG (XendDomainInfo:1897)
XendDomainInfo.destroy: domid=None
None of this tells me what, if anything, I've done wrong (i.e. if the
error is entirely mine then the bug is that the error reporting is
totally useless).
The config is as follows:
# grep '^[^#]' /etc/xen/heceptor.cfg
kernel = "/usr/lib/xen-3.2-1/boot/hvmloader"
builder='hvm'
memory = 192
name = 'heceptor'
vif = [ 'type=ioemu, ip=172.17.207.9,mac=00:16:3E:5B:18:B4,
model=ne2k_pci' ]
disk = [ 'file:/xen/domains/heceptor/hda.img,ioemu:hda,w',
'file:/var/www/software/freebsd/7.1-RELEASE-i386-dvd1.iso,ioemu:hdc:cdrom,r'
]
boot = 'dc'
device_model = 'qemu-dm'
sdl=0
vnc=1
vncpasswd=''
stdvga=0
serial='pty'
PV domains run fine on the same system.
$ uname -a
Linux araminta 2.6.26-1-xen-amd64 #1 SMP Sat Jan 10 20:39:26 UTC 2009
x86_64 GNU/Linux
$ COLUMNS=80 dpkg -l xen\* | grep ^i
ii xen-docs-3.2 3.2.1-2 Documentation for Xen
ii xen-hypervisor 3.2.1-2 The Xen Hypervisor on AMD64
ii xen-linux-syst 2.6.26-13 XEN system with Linux 2.6.26 image on
AMD64
ii xen-shell 1.8-3 Console based Xen administration utility
ii xen-tools 3.9-4 Tools to manage Debian XEN virtual servers
ii xen-utils-3.2- 3.2.1-2 XEN administrative tools
ii xen-utils-comm 3.2.0-2 XEN administrative tools - common files
ii xenstore-utils 3.2.1-2 Xenstore utilities for Xen
$ really /usr/sbin/xm dmesg | grep -i hvm
(XEN) HVM: VMX enabled
ttfn/rjk
Reasonably Related Threads
- DomU won''t start on 3.4.2
- VM start failed - How to debug?
- Hi - Regarding xend - xm create Error
- Cant create new VM: Error -> ERROR (XendDomainInfo:445) VM start failed
- Bug#601271: xen-utils-4.0: domain fails to reboot (AttributeError: 'NoneType' object has no attribute 'getBitSize')
