Subject: NetBSD-Current/XEN3 : XM CREATE problem
To: None <port-xen@netbsd.org>
From: KlinT <klint@klintcentral.net>
List: port-xen
Date: 07/16/2006 10:23:42
Hi all,

Well, I'm trying to use Xen3 with NetBSD 3.99.22.

The Xen3_DOM0 kernel successfully boot on my Athlon64.X2 and "see"  
the dual core ... ( that was not possible before with Xen2 - Thanks  
manuel )
The sysutils/xenkernel30 & sysutils/xentools30 compile fine from  
PKGSRC ( using GCC4 ) ...

At this point, everything's up & running :D

BUT :

I'm not able to run "xm create " ... It fails with the following error :

xm create -c ./test
Using config file "./test".
Error: Device 0 (vif) could not be connected. Hotplug scripts not  
working.

Here is my config file :

kernel = "/root/netbsd-INSTALL_XEN3_DOMU"
# kernel = "/root/netbsd-XEN3_DOMU"
memory = 128
name = "test"
cpus = ""
vif = [ 'bridge=bridge0' ]
disk = [ 'phy:/dev/wd0h,wd0d,w' ]
root = "/dev/wd0d ro"

For bridge I have in /etc/ifconfig.bridge0 :

create
!brconfig $int add re0 stp re0 up

I also get the following errors ( using dmesg ) :

xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xvif1.0: Ethernet address 00:16:3e:1a:3d:3f
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xbdback: can' read backend/vbd/1/3/handle: 79
xvif1.0: disconnecting
missing other end from backend/vbd/1/3
xenbus: can't get frontend details for backend/vbd/1/3 (2)

Did I missed something in my configuration ?

Any idea ?

Best Regards,

Arnaud.