List Info

Thread: Error: Device 0 (vif) could not be connected. Hotplug scripts not working.




Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
user name
2006-10-26 14:32:44
Hi Manuel,

On 10/26/06, Manuel Bouyer <bouyerantioche.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/netbs
d"
> > 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)

# uname -a
NetBSD net-domU 4.99.3 NetBSD 4.99.3 (XEN3_DOMU) #0: Wed Oct
25
19:11:13 UTC 2006
rootdom0:/xen/compile/obj/sys/arch/i386/compile/XEN3_DOMU
i386


> >
> > (devices in hex are from
> > h
ttp://wiki.netbsd.se/index.php/xen3-installen, if someone can
> > explain how to convert device name to hex would be
great also)
> >
> > when I try to start domU:
> > # xm create -c nbsd
> > Using config file "nbsd".
> > /usr/pkg/lib/python2.4/xmllib.py:9:
DeprecationWarning: The xmllib
> > module is obsolete.  Use xml.sax instead.
> >  warnings.warn("The xmllib module is
obsolete.  Use xml.sax
> > instead.", DeprecationWarning)
> > Error: Device 0 (vif) could not be connected.
Hotplug scripts not working.
>
> Is xenbackendd running ? If so you should have some
info
> in /var/log/xenbackendd.log
>
> --
> Manuel Bouyer <bouyerantioche.eu.org>
>      NetBSD: 26 ans d'experience feront toujours la
difference
> --
>

Regards.

-- 
There's this old saying: "Give a man a fish, feed him
for a day. Teach
a man to fish, feed him for life."
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )