Port-xen archive

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

Re: NetBSD-Current/XEN3 : XM CREATE problem




Well, it seems to work :

Here is what i did :

my config file is "test" :

#----------------------------------------------------------------------- -----
kernel = "/root/netbsd-INSTALL_XEN3_DOMU"
# kernel = "/root/netbsd-XEN3_DOMU"
# ramdisk = "/boot/initrd.gz"
# builder='linux'
memory = 128
name = "test"
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = ""         # leave to Xen to pick
#cpus = "0"        # all vcpus run on CPU0
#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
# vcpus = 1
# vif = [ '', 'bridge=xenbr1' ]
# vif = [ '', 'bridge=bridge0' ]
# vif = [ '' ]
# vif = [ '', 'bridge=xenbr0' ]
disk = [ 'phy:/dev/wd0h,0x03,w', 'phy:/dev/cd0a,0x04,r' ]
# disk = [ 'phy:/dev/wd0h,0x03,w' ]
root = "/dev/wd0d ro"
extra = "4"
#----------------------------------------------------------------------- -----

With this, I have successfully install NetBSD.DomU ...

But at this point I still have no network :(

I've tried many configuration parameters in xend-config.sxp without any success

Any idea ?

Le 16 juil. 06 à 18:18, KlinT a écrit :


Well,

I've made some tests and read some documentation .... :D

I forgot to start xenbackend daemon :D This solve the error I've posted before without using "0x03" :

==> xbdback: can' read backend/vbd/1/3/handle: 79

But the "xm create" still not work ... :(

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

Any idea ?

Do I need a ifconfig.bridge0 like in xen 2.0.7 ?

Is there any parameters to setup in xend-config.sxp ?

Many thanks ...

Arnaud

Le 16 juil. 06 à 10:50, KlinT a écrit :


Le 16 juil. 06 à 10:40, Juan RP a écrit :

On Sun, 16 Jul 2006 10:23:42 +0200
KlinT <klint%klintcentral.net@localhost> wrote:

[...]

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"

I read through the archives and looks like you need to change wd0d
to 0x03.


Yeah, this solve a part of my problem ...

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

Same error :D

But, this solves the following error :

xbdback: can' read backend/vbd/1/3/handle: 79

Maybe I missed the VIF/Bridge configuration

many thanks

Best regards

arnaud.






Home | Main Index | Thread Index | Old Index