Hi all,
I'm trying to boot a Centos domU, but when I do a "xm create -c centos.cfg"
it just hangs, and eventually times out with:
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
Extracts from my xend.log are shown below.
I'm using xen 3.0.3 compiled from source, and installed on Debian etch.
I googled this, and looked in the list, and it seems perhaps I am missing
/etc/hotplug/xen-backend.agent
This isn't on my system (it's only in the xen source dir), but I do have
xen udev rule file in,
/etc/udev/xen-backend.rules
So do I need both of these?
Is the xen-backend.agent meant to be installed by default with the
xen-3.0.3 install?
Thanks,
John
/var/log/xen/xend.log
[2007-01-11 18:46:35 xend 2528] DEBUG (__init__:1072) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:5a:9e:a1', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/79/0'} to
/local/domain/79/device/vif/0.
[2007-01-11 18:46:35 xend 2528] DEBUG (__init__:1072) DevController:
writing {'bridge': 'xenbr0', 'domain': 'centos4test', 'handle': '0',
'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/79/device/vif/0', 'mac': '00:16:3e:5a:9e:a1',
'vifname': 'centos', 'online': '1', 'frontend-id': '79'} to
/local/domain/0/backend/vif/79/0.
[2007-01-11 18:46:35 xend.XendDomainInfo 2528] DEBUG (__init__:1072)
Storing VM details: {'shadow_memory': '0', 'uuid':
'd0bf0e11-f8e5-534c-0ab8-6dd3b74a9efd', 'on_reboot': 'restart',
'start_time': '1168541195.59', 'on_poweroff': 'destroy', 'name':
'centos4test', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail':
'1', 'memory': '96', 'on_crash': 'restart', 'image': "(linux (kernel
/boot/vmlinuz-2.6.16.29xenU) (root '/dev/hda1 ro') (args
'init=/bin/sh'))", 'maxmem': '96'}
[2007-01-11 18:46:35 xend.XendDomainInfo 2528] DEBUG (__init__:1072)
Storing domain details: {'console/ring-ref': '195465', 'console/port':
'2', 'name': 'centos4test', 'console/limit': '1048576', 'vm':
'/vm/d0bf0e11-f8e5-534c-0ab8-6dd3b74a9efd', 'domid': '79',
'cpu/0/availability': 'online', 'memory/target': '98304',
'store/ring-ref': '35525', 'store/port': '1'}
[2007-01-11 18:46:35 xend 2528] DEBUG (__init__:1072) Waiting for devices vif.
[2007-01-11 18:46:35 xend 2528] DEBUG (__init__:1072) Waiting for 0.
[2007-01-11 18:46:35 xend.XendDomainInfo 2528] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2007-01-11 18:46:35 xend 2528] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/79/0/hotplug-status.
[2007-01-11 18:48:15 xend.XendDomainInfo 2528] DEBUG (__init__:1072)
XendDomainInfo.destroy: domid=79
[2007-01-11 18:48:15 xend.XendDomainInfo 2528] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(79)
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|