Robin Atwood
2006-May-05 11:58 UTC
[Xen-users] Error: Device 769 (vbd) could not be connected...
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@lists.xensource.com http://lists.xensource.com/xen-users
Robin Atwood
2006-May-05 15:22 UTC
Re: [Xen-users] Error: Device 769 (vbd) could not be connected...
On Friday 05 May 2006 21:59, John Caspers wrote:> I had problem with this for days ... but I''ve found the solution (at > least in my case). > > The problem is that you don''t have enough loop devices. > > do ls -l /dev/loop* > > you should see 7 > > using losetup and makedev and an addition to the grub menu.lst, you can > fix this - worked for me > > I''m sorry I don''t have time to explain it further but google around a > bit using the info above and it should work.Actually I already read that. I did a "modprobe loop" which creates the loop-back devices but it made no difference. Or am I missing something? -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@lists.xensource.com http://lists.xensource.com/xen-users
Robin Atwood
2006-May-06 13:38 UTC
Re: [Xen-users] Error: Device 769 (vbd) could not be connected...
On Friday 05 May 2006 22:22, Robin Atwood wrote:> On Friday 05 May 2006 21:59, John Caspers wrote: > > I had problem with this for days ... but I''ve found the solution (at > > least in my case). > > > > The problem is that you don''t have enough loop devices. > > > > do ls -l /dev/loop* > > > > you should see 7 > > > > using losetup and makedev and an addition to the grub menu.lst, you can > > fix this - worked for me > > > > I''m sorry I don''t have time to explain it further but google around a > > bit using the info above and it should work. > > Actually I already read that. I did a "modprobe loop" which creates the > loop-back devices but it made no difference. Or am I missing something? > > -Robin.Ok, "modprobe loop" does suffice, the hotplug rules seem no longer needed, but it does help if your ttylinux definition has the correct file structure which seems to have changed since the Gentoo Xen wiki entry was written. All is well now. :-)) Cheers... -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@lists.xensource.com http://lists.xensource.com/xen-users