Hello folks,
I' trying to start with Xen with SuSE 10.0
The XEN microcernel is 3.0_7608, the xenified kernel is 2.6.13-15.7
The microkernel and domain0 starts well.
But when I try to start one more domain - either the ttylinux image or
an image prepared by suse, xm can't start xen with following error:
Error: Error creating domain: Device 2049 (vbd) could not be connected.
Hotplug scripts not working
Any ideas, what the reason can be?
Regards,
Eduard
The log show infomation as follows:
[2005-12-16 11:34:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:306)
parseConfig: result is {'ssidref': None, 'name': 'ttylinux-vm',
'bootloader': None, 'on_reboot': 'restart', 'image': ['linux',
['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'],
['root', '/dev/sda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'],
['display', ':0.0']], 'on_poweroff': 'destroy', 'on_crash': 'destroy',
'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None,
'memory': 64, 'device': [('vbd', ['vbd', ['uname',
'file:/usr/ttylinux/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]),
('vif', ['vif', ['mac', 'aa:00:00:6e:56:b3']])], 'maxmem': None, 'cpu':
None, 'uuid': None}
[2005-12-16 11:34:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:999)
XendDomainInfo.construct: None 0
[2005-12-16 11:34:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:1028)
XendDomainInfo.initDomain: 21 1.0
[2005-12-16 11:34:35 xend] INFO (image:131) buildDomain os=linux dom=21
vcpus=1
[2005-12-16 11:34:35 xend] DEBUG (image:169) dom = 21
[2005-12-16 11:34:35 xend] DEBUG (image:170) image =
/boot/vmlinuz-xen
[2005-12-16 11:34:35 xend] DEBUG (image:171) store_evtchn = 1
[2005-12-16 11:34:35 xend] DEBUG (image:172) console_evtchn = 2
[2005-12-16 11:34:35 xend] DEBUG (image:173) cmdline =
root=/dev/sda1
[2005-12-16 11:34:35 xend] DEBUG (image:174) ramdisk =
/boot/initrd-xen
[2005-12-16 11:34:35 xend] DEBUG (image:175) vcpus = 1
[2005-12-16 11:34:36 xend] DEBUG (DevController:256) DevController:
writing {'virtual-device': '2049', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/21/2049'} to
/local/domain/21/device/vbd/2049.
[2005-12-16 11:34:36 xend] DEBUG (DevController:258) DevController:
writing {'domain': 'ttylinux-vm', 'params':
'/usr/ttylinux/ttylinux-xen', 'frontend-id': '21', 'type': 'file',
'dev': 'sda1', 'frontend': '/local/domain/21/device/vbd/2049'} to
/local/domain/0/backend/vbd/21/2049.
[2005-12-16 11:36:36 xend.XendDomainInfo] ERROR (XendDomainInfo:160)
Domain construction failed
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 154, in create
vm.initDomain()
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1060, in initDomain
self.createDevices()
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1173, in createDevices
self.createDevice(n, c)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 848, in createDevice
return self.getDeviceController(deviceClass).createDevice(devconfig)
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
line 66, in createDevice
raise VmError( ("Device %s (%s) could not be connected. "
VmError: Device 2049 (vbd) could not be connected. Hotplug scripts not
working
[2005-12-16 11:36:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:1107)
XendDomainInfo.destroy: domid=21
[2005-12-16 11:36:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:1115)
XendDomainInfo.destroyDomain(21)
[2005-12-16 11:36:36 xend] ERROR (xswatch:50) read_watch failed
Traceback (most recent call last):
File
"/usr/lib64/python2.4/site-packages/xen/xend/xenstore/xswatch.py", line
48, in watchMain
watch.fn(*watch.args, **watch.kwargs)
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
line 267, in hotplugStatus
status = self.readBackend(devid, HOTPLUG_STATUS_NODE)
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
line 201, in readBackend
return xstransact.Read(backpath, *args)
File
"/usr/lib64/python2.4/site-packages/xen/xend/xenstore/xstransact.py",
line 225, in Read
t = cls(path)
File
"/usr/lib64/python2.4/site-packages/xen/xend/xenstore/xstransact.py",
line 17, in __init__
self.path = path.rstrip("/")
AttributeError: 'NoneType' object has no attribute 'rstrip'
[2005-12-16 11:36:36 xend] ERROR (SrvBase:87) Request create failed.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/web/SrvBase.py", line 85,
in perform
return op_method(op, req)
File
"/usr/lib64/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: Device 2049 (vbd) could not be
connected. Hotplug scripts not working
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|