Subject: Re: Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
To: Dominique Goncalves <dominique.goncalves@gmail.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 10/26/2006 17:54:41
On Thu, Oct 26, 2006 at 04:32:44PM +0200, Dominique Goncalves wrote:
> Hi Manuel,
> 
> On 10/26/06, Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> >On Thu, Oct 26, 2006 at 09:41:20AM +0200, Dominique Goncalves wrote:
> >> Hi,
> >>
> >> I installed a NetBSD -current dom0 and now I'm trying to install a NetBSD
> >> domU.
> >>
> >> This seems to be a faq, but I don't find a anwser for my case.
> >>
> >> I use xenkernel30 and xentools30 package from pkgsrc -current. xend is
> >> started
> >>
> >> My configugration for domU
> >> # cat nbsd
> >> kernel = "/xen/compile/obj/sys/arch/i386/compile/XEN3_DOMU/netbsd"
> >> memory = 128
> >> name = "nbsd"
> >> disk = [ 'file:/xen/domU/boot.iso,0x04,r' , 'file:/xen/domU/nbsd,0x03,w' 
> >]
> >> vif = [ 'mac=00:16:3e:18:cc:50 , bridge=bridge0' ]
> >> root = "/dev/wd0d"
> >
> >You probably want something like "xbd0" here, instead of /dev/wd0d
> >(there's no wd devices in domU, only xbd)
> 
> root = "/dev/wd0d" is on the NetBSD/xen howto maybe it's only for xen2.
> 
> Thanks! NetBSD has been installed without problem but on xbd1 not on
> xbd0. After I needed to change /etc/fstab (xbd1 -> xbd0)

Yes, because in your disk entry you had boot.iso first.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--