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/
Home Products Support Community News


[Xen-users] Error: Device 0 (vif) could not be connected. Hotplug script

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
From: poluc <davidramblewski@xxxxxxxxx>
Date: Wed, 28 Dec 2005 12:21:42 +0100
Delivery-date: Wed, 28 Dec 2005 11:25:49 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cG7uxv0YZTLUxaaaSVnl/iml40L6LPDBxWxI29f80YegcMxOd0ciFvWvOwEilK/niUNaEscF88NQWXE057jK1bkOjz/j7wAnd4+D1IUch8l7ikmsAs0xykW3qKh5SJzirLrlQ5j9jT9fR38QDPt32rUZk9VsSDQ5lTg5cxyviwk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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

I install xen 3.0 on our production sites servers and when i try to
create a domainU I get the following error message:
 Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

I search in the Internet but I don't found anything which solve my issue.
First of all, I have used the default scripts network-bridge and
vif-bridge but the bridge did not  mount during reboot so I've tried
to use the network script for xen 2.0.7 and this solve my  first

So now, my problem is to mount the vif interface during domainU
creation and I have no idea why this error message happened. It seems
to be generic and I don't understand why my device is "busy" as we can
see in the following logs...

Our servers are on linux LFS OS, I suspect the network-bridge script
not being compliant with our network scripts (we have not ifup
command). I can easily solve this problem but I don't think the vif
interfaces will mount after that.

Here is the output of the script xend-debug.log:

[2005-12-28 11:48:42 xend] DEBUG (DevController:106) DevController:
writing {'mac': '00:16:3e:61:c6:
fb', 'state': '1', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'frontend-id': '11', 'dom
ain': 'lfslc4', 'frontend': '/local/domain/11/device/vif/0'} to
[2005-12-28 11:48:42 xend.XendDomainInfo] DEBUG (XendDomainInfo:661)
Storing VM details: {'ssidref':
 '0', 'uuid': '67cbc718-d29ec107-0ac5de2d-7719ca3d', 'on_reboot':
'restart', 'start_time': '11357669
22.14', 'on_poweroff': 'destroy', 'name': 'lfslc4', 'vcpus': '2',
'vcpu_avail': '3', 'memory': '256'
, 'on_crash': 'restart', 'image': '(linux (kernel
/boot/vmlinuz-2.6.12-xenU) (root /dev/sda1) (args
ro) (vcpus 2) (vcpus 2) (boot c) (nics 1))', 'maxmem': '256'}
[2005-12-28 11:48:42 xend.XendDomainInfo] DEBUG (XendDomainInfo:686)
Storing domain details: {'conso
le/ring-ref': '107945', 'console/port': '2', 'name': 'lfslc4',
'console/limit': '1048576', 'vm': '/v
m/67cbc718-d29ec107-0ac5de2d-7719ca3d', 'domid': '11',
'cpu/0/availability': 'online', 'memory/targe
t': '262144', 'store/ring-ref': '107946', 'cpu/1/availability':
'online', 'store/port': '1'}
[2005-12-28 11:48:42 xend] DEBUG (DevController:133) Waiting for devices vif.
[2005-12-28 11:48:42 xend] DEBUG (DevController:139) Waiting for 0.
[2005-12-28 11:48:42 xend] DEBUG (DevController:409)
hotplugStatusCallback /local/domain/0/backend/v
[2005-12-28 11:48:52 xend] ERROR (SrvBase:87) Request wait_for_devices failed.
Traceback (most recent call last):
  File "/distrib/build_install/xen-3.0.0/usr/lib/python/xen/web/SrvBase.py",
line 85, in perform
line 72, in o
line 1349, in w
line 977, in wa
line 135,
 in waitForDevices
line 145,
 in waitForDevice
VmError: Device 0 (vif) could not be connected. Hotplug scripts not working.

[root@lfs01 /etc/xen/scripts]#
[root@lfs01 /etc/xen/scripts]# tail -f /var/log/xend-debug.log
 Boot stack:    c0378000->c0379000
 TOTAL:         c0000000->c0400000
 ENTRY ADDRESS: c0100000
ioctl: LOOP_SET_FD: Device or resource busy
vif-bridge up vif=vif9.0 domain=lfsdev mac=aa:00:00:50:30:55 bridge=xen-br0
recv_fe_driver_status> {'status': 1}


recv_fe_interface_connect {'tx_shmem_frame': 399638, 'rx_shmem_frame':
399637, 'handle': 0}

Any ideas to solve my issue?

Thanks for advance,


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working., poluc <=