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 15:17:11
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)

> 
> (devices in hex are from
> http://wiki.netbsd.se/index.php/xen3-install:xen, 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 <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--