Port-xen archive

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

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



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"

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

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



Home | Main Index | Thread Index | Old Index