Hi. I've just upgrade my xen 3.0.1 to xen unstable. I noticed that there is no
vmx driver here, only hvm. Actually I cannot start my VT domain:
root@akira:/etc/xen# xm create bluszcz.hvm
Using config file "bluszcz.hvm".
Error: Device 768 (vbd) could not be connected. Backend device not found.
root@akira:/etc/xen#
my config:
import os, re
arch = os.uname()[4]
if re.search('64', arch):
else:
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "bluszcz"
vif = [ 'type=ioemu, bridge=xenbr0, mac=00:00:00:ff:fe:01' ]
disk = [ 'file:/var/images/img.hd,ioemu:hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
cdrom='/home/bluszcz/var/iso/kubuntu-5.10-dvd-i386.iso'
boot='c'
sdl=1
vnc=0
vncviewer=0
ne2000=0
audio=0
localtime=1
and log:
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:177)
XendDomainInfo.create(['vm', ['name', 'bluszcz'], ['memory', '256'],
['vcpus', '1'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'],
['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['cdrom',
'/home/bluszcz/var/iso/kubuntu-5.10-dvd-i386.iso'], ['boot', 'c'],
['localtime', '1'], ['audio', '1'], ['sdl', '1'], ['display', ':0.0']]],
['device', ['vbd', ['uname', 'file:/var/images/img.hd'], ['dev',
'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'],
['mac', '00:00:00:ff:fe:01'], ['type', 'ioemu']]]])
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:283)
parseConfig: config is ['vm', ['name', 'bluszcz'], ['memory', '256'],
['vcpus', '1'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'],
['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['cdrom',
'/home/bluszcz/var/iso/kubuntu-5.10-dvd-i386.iso'], ['boot', 'c'],
['localtime', '1'], ['audio', '1'], ['sdl', '1'], ['display', ':0.0']]],
['device', ['vbd', ['uname', 'file:/var/images/img.hd'], ['dev',
'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'],
['mac', '00:00:00:ff:fe:01'], ['type', 'ioemu']]]]
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:379)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'image': ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['cdrom',
'/home/bluszcz/var/iso/kubuntu-5.10-dvd-i386.iso'], ['boot', 'c'],
['localtime', '1'], ['audio', '1'], ['sdl', '1'], ['display', ':0.0']],
'on_poweroff': None, 'cpus': None, 'name': 'bluszcz', 'backend': [], 'vcpus':
1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd',
['vbd', ['uname', 'file:/var/images/img.hd'], ['dev', 'ioemu:hda'], ['mode',
'w']]), ('vif', ['vif', ['bridge', 'xenbr0'], ['mac', '00:00:00:ff:fe:01'],
['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1163)
XendDomainInfo.construct: None 0
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1195)
XendDomainInfo.initDomain: 21 1.0
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: cdrom,
val: /home/bluszcz/var/iso/kubuntu-5.10-dvd-i386.iso
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: boot, val: c
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: fda, val: None
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: fdb, val: None
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: nic-ne2000, val: None
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: enable-audio, val: 1
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: localtime, val: 1
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: serial, val: None
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: std-vga, val: None
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: isa, val: None
[2006-03-04 20:01:57 xend] DEBUG (image:266) args: vcpus, val: 1
[2006-03-04 20:01:57 xend] DEBUG (balloon:84) Balloon: free 501; need 257;
done.
[2006-03-04 20:01:57 xend] INFO (image:135) buildDomain os=hvm dom=21 vcpus=1
[2006-03-04 20:01:57 xend] DEBUG (image:224) dom = 21
[2006-03-04 20:01:57 xend] DEBUG (image:225) image
= /usr/lib/xen/boot/hvmloader
[2006-03-04 20:01:57 xend] DEBUG (image:226) store_evtchn = 1
[2006-03-04 20:01:57 xend] DEBUG (image:227) memsize = 256
[2006-03-04 20:01:57 xend] DEBUG (image:228) vcpus = 1
[2006-03-04 20:01:57 xend] DEBUG (image:229) pae = 0
[2006-03-04 20:01:57 xend] DEBUG (image:230) acpi = 0
[2006-03-04 20:01:57 xend] DEBUG (image:231) apic = 0
[2006-03-04 20:01:57 xend] DEBUG (image:396) hvm shutdown watch registered
[2006-03-04 20:01:57 xend] DEBUG (DevController:103) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/21/768'} to /local/domain/21/device/vbd/768.
[2006-03-04 20:01:57 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'bluszcz', 'frontend': '/local/domain/21/device/vbd/768', 'dev':
'ioemu:hda', 'state': '1', 'params': '/var/images/img.hd', 'mode': 'w',
'frontend-id': '21', 'type': 'file'} to /local/domain/0/backend/vbd/21/768.
[2006-03-04 20:01:57 xend] INFO (image:355) spawning device
models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '21',
'-m', '256', '-cdrom', '/home/bluszcz/var/iso/kubuntu-5.10-dvd-i386.iso',
'-boot', 'c', '-enable-audio', '-localtime', '-vcpus', '1', '-domain-name',
'bluszcz', '-hda', '/var/images/img.hd', '-macaddr', '00:00:00:ff:fe:01',
'-bridge', 'xenbr0', '-nics', '1']
[2006-03-04 20:01:57 xend] INFO (image:357) device model pid: 8434
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:670) Storing
VM details: {'ssidref': '0', 'uuid': 'b794063e-5590-2730-880d-148fe17ea56c',
'on_reboot': 'restart', 'start_time': '1141498917.44', 'on_poweroff':
'destroy', 'name': 'bluszcz', 'vcpus': '1', 'vcpu_avail': '1', 'memory':
'256', 'on_crash': 'restart', 'image': '(hvm
(kernel /usr/lib/xen/boot/hvmloader)
(device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 1)
(cdrom /home/bluszcz/var/iso/kubuntu-5.10-dvd-i386.iso) (boot c) (localtime
1) (audio 1) (sdl 1) (display :0.0))', 'maxmem': '256'}
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:695) Storing
domain details: {'console/port': '2', 'name': 'bluszcz', 'console/limit':
'1048576', 'vm': '/vm/b794063e-5590-2730-880d-148fe17ea56c', 'domid': '21',
'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref':
'380018', 'store/port': '1'}
[2006-03-04 20:01:57 xend] DEBUG (image:419) hvm_shutdown fired, shutdown
reason=None
[2006-03-04 20:01:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:876)
XendDomainInfo.handleShutdownWatch
[2006-03-04 20:01:57 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-03-04 20:01:57 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-03-04 20:01:57 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-03-04 20:01:57 xend] DEBUG (DevController:138) Waiting for 768.
[2006-03-04 20:01:57 xend] DEBUG (DevController:403)
hotplugStatusCallback /local/domain/0/backend/vbd/21/768/hotplug-status.
[2006-03-04 20:01:57 xend] DEBUG (DevController:403)
hotplugStatusCallback /local/domain/0/backend/vbd/21/768/hotplug-status.
[2006-03-04 20:01:57 xend] DEBUG (DevController:417) hotplugStatusCallback 2.
[2006-03-04 20:01:57 xend] ERROR (SrvBase:87) Request wait_for_devices failed.
Traceback (most recent call last):
File
"/home/bluszcz/various/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/web/SrvBase.py",
line 85, in perform
return op_method(op, req)
File
"/home/bluszcz/various/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/server/SrvDomain.py",
line 72, in op_wait_for_devices
return self.dom.waitForDevices()
File
"/home/bluszcz/various/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1399, in waitForDevices
self.waitForDevices_(c)
File
"/home/bluszcz/various/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1012, in waitForDevices_
return self.getDeviceController(deviceClass).waitForDevices()
File
"/home/bluszcz/various/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/server/DevController.py",
line 134, in waitForDevices
return map(self.waitForDevice, self.deviceIDs())
File
"/home/bluszcz/various/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/server/DevController.py",
line 150, in waitForDevice
raise VmError("Device %s (%s) could not be connected. "
VmError: Device 768 (vbd) could not be connected. Backend device not found.
--
Rafał つた Zawadzki
Release/Deploy Manager
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|