|
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. |

|
2006-10-26 07:41:20 |
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"
(devices in hex are from
h
ttp://wiki.netbsd.se/index.php/xen3-install en, 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.
interresting thing is at the same time, ifconfig shows a
xvif3.0 interface
# ifconfig -a
sip0:
flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,
MULTICAST>
mtu 1500
address: 00:0f:ea:dc:e5:c2
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 172.20.11.234 netmask 0xffff0000 broadcast
172.20.255.255
inet6 fe80::20f:eaff:fedc:e5c2%sip0 prefixlen 64
scopeid 0x1
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
33192
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
bridge0: flags=41<UP,RUNNING> mtu 1500
xvif3.0:
flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu
1500
capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
enabled=0
address: 00:16:3e:19:cc:50
# uname -a
NetBSD dom0 4.99.3 NetBSD 4.99.3 (XEN3_DOM0) #0: Wed Oct 25
18:05:07
UTC 2006 root dom0:/xen/compile/obj/sys/arch/i386/compile/XEN3_DOM0
i386
# cat /grub/menu.lst
# grub-install '(hd0)'
default=1
timeout=10
serial --unit=0 --speed=115200 --word --parity=no --stop=1
terminal --timeout=10 serial console
title NetBSD
root (hd0,0)
chainloader +1
title NetBSD XEN3 DOM0 (serial)
root (hd0,0,a)
kernel (hd0,0,a)/xen-kernel dom0_mem=65556
com1=115200,8n1
module (hd0,0,a)/netbsd root=/dev/hda1 ro
console=ttyS0
title NetBSD XEN3 DOM0 (VGA)
root (hd0,0,a)
kernel (hd0,0,a)/xen-kernel dom0_mem=65556
module (hd0,0,a)/netbsd root=/dev/hda1 ro
console=tty0
# pkg_info
digest-20060826 Message digest wrapper utility
screen-4.0.2nb5 Multi-screen window manager
links-2.1.0.23 Lynx-like text WWW browser
gmake-3.81 GNU version of 'make' utility
audit-packages-1.44 Tools to show vulnerabilities in
installed packages
python24-2.4.3nb3 Interpreted, interactive,
object-oriented
programming language
pkg_chk-1.82 Check installed package versions against
pkgsrc
xenkernel30-3.0.3 Xen3 Kernel
xentools30-3.0.3 Userland Tools for Xen
grub-0.97nb6 GRand Unified Bootloader -- Boots *BSD,
Linux,
groks ffs, FAT, ext2
cdrtools-2.01nb4 Software for creating ISO9660 images and
writing CDs/CD-RWs
Any help is much appreciated,
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."
|
|
| Error: Device 0 (vif) could not be
connected. Hotplug scripts not working. |

|
2006-10-26 13: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/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)
>
> (devices in hex are from
> h
ttp://wiki.netbsd.se/index.php/xen3-install en, 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
--
|
|
| Error: Device 0 (vif) could not be
connected. Hotplug scripts not working. |

|
2006-10-26 14:32:44 |
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/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
root dom0:/xen/compile/obj/sys/arch/i386/compile/XEN3_DOMU
i386
> >
> > (devices in hex are from
> > h
ttp://wiki.netbsd.se/index.php/xen3-install en, 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
> --
>
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."
|
|
| Error: Device 0 (vif) could not be
connected. Hotplug scripts not working. |

|
2006-10-26 15: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/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)
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
--
|
|
| Error: Device 0 (vif) could not be
connected. Hotplug scripts not working. |

|
2006-10-26 23:54:22 |
On Thursday 26 October 2006 17:41, Dominique Goncalves
wrote:
> /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)
I don't think it effects operation (yet) ... but installing
these packages:
expat-2.0.0nb1
py24-expat-0nb4
Should remove that warning.
Sarton
|
|
[1-5]
|
|