WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] vif could not be connected. Hotplug scripts not working.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] vif could not be connected. Hotplug scripts not working.
From: "John Hannfield" <hal9020@xxxxxxxxx>
Date: Thu, 11 Jan 2007 19:23:06 +0000
Delivery-date: Thu, 11 Jan 2007 11:22:58 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dVEK6ucq8/dWcMpXVx5KjCzYL9BuYlhJxF0ERPcV6l9PNrsPfd23oCvPxkSjJISf1bozlKgBmOlLLVTO/7xQM+RPaYix4bGP2yg10BnESoANxPA9dTv4I2eQP5j8RrpauSLIhm15YV8VNxrYil3rH8aSgWZbn0KLZirDPnuKkgo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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