List Info

Thread: NetBSD-Current/XEN3 : XM CREATE problem




NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 08: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 

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.

NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 08:40:15
On Sun, 16 Jul 2006 10:23:42 +0200
KlinT <klintklintcentral.net> 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.
NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 08:50:10
Le 16 juil. 06 à 10:40, Juan RP a écrit :

> On Sun, 16 Jul 2006 10:23:42 +0200
> KlinT <klintklintcentral.net> 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 

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.
NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 08:40:15
On Sun, 16 Jul 2006 10:23:42 +0200
KlinT <klintklintcentral.net> 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.
NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 08:50:10
Le 16 juil. 06 à 10:40, Juan RP a écrit :

> On Sun, 16 Jul 2006 10:23:42 +0200
> KlinT <klintklintcentral.net> 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 

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.
NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 16:18:20
Well,

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

I forgot to start xenbackend daemon  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 <klintklintcentral.net> 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 
>
> 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.

NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 16:18:20
Well,

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

I forgot to start xenbackend daemon  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 <klintklintcentral.net> 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 
>
> 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.

NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 17:07:58
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 ....

>
> I forgot to start xenbackend daemon  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 <klintklintcentral.net> 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 
>>
>> 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.
>
>

NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 17:07:58
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 ....

>
> I forgot to start xenbackend daemon  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 <klintklintcentral.net> 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 
>>
>> 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.
>
>

NetBSD-Current/XEN3 : XM CREATE problem
user name
2006-07-16 17:21:45
SOLVED :

Here are the configuration that works for me :

On Domain0 / NetBSD 3.99.22 / Xen 3.0.2.2 :

/etc/ifconfig.bridge0 ( "re0" is my default
network device )
------------------------------------------------------------
-----------
create
!brconfig $int add re0 stp re0 up
------------------------------------------------------------
-----------
/usr/pkg/etc/xen/xend-config.sxp : changing the following
line

(network-script network-bridge)
by this one :
(network-script 'network-bridge netdev=re0')

And finally : the configuration file itself :
------------------------------------------------------------
-----------
kernel = "/root/netbsd-XEN3_DOMU"
memory = 128
name = "test"
#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=bridge0' ]
# disk = [ 'phy:/dev/wd0h,0x03,w',
'phy:/dev/cd0a,0x04,r' ]
disk = [ 'phy:/dev/wd0h,0x03,w' ]
root = "/dev/wd0d ro"
------------------------------------------------------------
-----------

Hope these tests will help ...

Best Regards

Arnaud.

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

>
> 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
.... 
>>
>> I forgot to start xenbackend daemon  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 <klintklintcentral.net> 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 
>>>
>>> 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.
>>
>>
>
>

[1-10] [11-15]

about | contact  Other archives ( Real Estate discussion Medical topics )