Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



Hi Manuel,

On 10/26/06, Manuel Bouyer <bouyer%antioche.eu.org@localhost> 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)

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


>
> (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@localhost>
     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."



Home | Main Index | Thread Index | Old Index