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] Error: Device 769 (vbd) could not be connected...

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error: Device 769 (vbd) could not be connected...
From: Robin Atwood <robin@xxxxxxxxx>
Date: Fri, 5 May 2006 18:58:51 +0700
Delivery-date: Fri, 05 May 2006 05:35:57 -0700
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
User-agent: KMail/1.9.1
I have now got to the stage of trying to creating the ttylinux test domain but 
I get:

Error: Device 769 (vbd) could not be connected. Backend device not found.

The xen log shows:
[2006-05-05 18:18:19 xend] DEBUG (DevController:103) DevController: writing 
{'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': 
'/local/domain/0/backend/vbd/3/769'} 
to /local/domain/3/device/vbd/769.
[2006-05-05 18:18:19 xend] DEBUG (DevController:105) DevController: writing 
{'domain': 'ttylinux', 'frontend': '/local/domain/3/device/vbd/769', 'dev': 
'hda1', 'state': '1', 'params': '/usr/tmp/ttylinux-xen/rootfs', 'mode': 'w', 
'frontend-id': '3', 'type': 'file'} 
to /local/domain/0/backend/vbd/3/769.
[2006-05-05 18:18:19 xend] DEBUG (DevController:103) DevController: writing 
{'backend-id': '0', 'mac': '00:16:3e:58:07:1e', 'handle': '0', 'state': '1', 
'backend': '/local/domain/0/backend/vif/3/0'} 
to /local/domain/3/device/vif/0.
[2006-05-05 18:18:19 xend] DEBUG (DevController:105) DevController: writing 
{'mac': '00:16:3e:58:07:1e', 'state': '1', 'handle': '0', 'script': 
'/etc/xen/scripts/vif-bridge', 'frontend-id': '3', 'domain': 'ttylinux', 
'frontend': '/local/domain/3/device/vif/0'} 
to /local/domain/0/backend/vif/3/0.
[2006-05-05 18:18:19 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing 
VM details: 
{'ssidref': '0', 'uuid': '85f628ff-ecb5-f6de-8c3f-051fe455d8dd', 'on_reboot': 
'restart', 'start_time': '1146827899.09', 'on_poweroff': 'destroy', 'name': 
'ttylinux', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '64', 'on_crash': 
'restart', 'image': "(linux 
(kernel /boot/vmlinuz-2.6.16-xen-domU) (ip 192.168.1.5:1.2.3.4::::eth0:off) 
(root '/dev/hda1 ro'))", 'maxmem': '64'}
[2006-05-05 18:18:19 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing 
domain details: 
{'console/ring-ref': '126733', 'console/port': '2', 'name': 'ttylinux', 
'console/limit': '1048576', 'vm': '/vm/85f628ff-ecb5-f6de-8c3f-051fe455d8dd', 
'domid': '3', 'cpu/0/availability': 'online', 'memory/target': '65536', 
'store/ring-ref': '126734', 'store/port': '1'}
[2006-05-05 18:18:19 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) 
XendDomainInfo.handleShutdownWatch
[2006-05-05 18:18:19 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-05-05 18:18:19 xend] DEBUG (DevController:138) Waiting for 0.
[2006-05-05 18:18:19 xend] DEBUG (DevController:403) 
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-05-05 18:18:19 xend] DEBUG (DevController:403) 
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-05-05 18:18:19 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-05 18:18:19 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-05-05 18:18:19 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-05-05 18:18:19 xend] DEBUG (DevController:138) Waiting for 769.
[2006-05-05 18:18:19 xend] DEBUG (DevController:403) 
hotplugStatusCallback /local/domain/0/backend/vbd/3/769/hotplug-status.
[2006-05-05 18:18:19 xend] DEBUG (DevController:417) hotplugStatusCallback 2.
[2006-05-05 18:18:19 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327) 
XendDomainInfo.destroy: domid=3
[2006-05-05 18:18:19 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335) 
XendDomainInfo.destroyDomain(3)


Some googling shows that this is likely to happen if you are 
missing /etc/hotplug/xen-backend.agent, which I am. I checked the Gentoo 
ebuild and there is no reference to this file, 
although /etc/udev/xen-backend.rules is there. Is it still required in xen 
3.0.2 or is there an ebuild error or am I barking up the wrong tree entirely?

TIA
-Robin.
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>