WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

AW: [Xen-devel] Problem with vif - help!!!!

Yeah, this output seems clearer now:

vif-bridge edited Thomas Diederich November, 25, 2005
++ brctl show
++ cut -d '
' -f 2
++ cut -f 1
+ echo xenbr0
xenbr0
++ dirname /etc/xen/scripts/vif-bridge
+ dir=/etc/xen/scripts
+ . /etc/xen/scripts/vif-common.sh
+++ dirname /etc/xen/scripts/vif-bridge
++ dir=/etc/xen/scripts
++ . /etc/xen/scripts/xen-hotplug-common.sh
++++ dirname /etc/xen/scripts/vif-bridge
+++ dir=/etc/xen/scripts
+++ . /etc/xen/scripts/xen-script-common.sh
++++ set -e
+++ export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/kerberos/sbin:/usr/ke
rberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:
/usr/X11R6/bin:/root/bin
+++ PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/kerberos/sbin:/usr/kerberos/
bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X1
1R6/bin:/root/bin
+++ export LANG=POSIX
+++ LANG=POSIX
++++ set
++++ grep '^LC_'
++++ cut -d= -f1
+++ unset
+++ log debug online XENBUS_PATH=backend/123/vif/0
+++ local level=debug
+++ shift
+++ logger -p daemon.debug -- /etc/xen/scripts/vif-bridge: online XENBUS
_PATH=backend/123/vif/0
++ . /etc/xen/scripts/xen-network-common.sh
+++ '[' -e /etc/SuSE-release ']'
+++ which ifup
++ findCommand online
++ for arg in '"$@"'
++ expr index online =
++ command=online
++ return
++ '[' online '!=' online ']'
++ case "$command" in
++ evalVariables online
++ for arg in '"$@"'
++ expr index online = '>' 1
++ ip=
+++ xenstore_read_default backend/123/vif/0/ip ''
+++ xenstore-read backend/123/vif/0/ip
xenstore-read: couldn't read path backend/123/vif/0/ip
+++ echo ''
++ ip=
++ XENBUS_PATH=backend/123/vif/0
/etc/xen/scripts/vif-common.sh: line 53: vif: parameter null or not set
[root@ingpcxen002 ~]#



But there are still errors and my problem is still alive.




Thomas Diederich

**************************************************
*  Boehringer Ingelheim Pharma GmbH & Co.KG
*  A Informationsverarbeitung / Diplomant Systemtechnik
*
*  Mail: diederit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
*  Phone: +49 (0)6132/77-98151  


-----Ursprüngliche Nachricht-----
Von: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] 
Gesendet: Freitag, 25. November 2005 12:38
An: DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Xen-devel] Problem with vif - help!!!!


On 11/25/05, DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
<DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> I find out that this Part in the vif-bridge script is never reached.
>
> This is my output when I start ./vif-bridged:

You must see what happens when udev/hotplug start it. Because it
depends on some environment variables and a command, like:

XENBUS_PATH=backend/123/vif/0 /etc/xen/scripts/vif-bridge online

Are you using RHEL4, right? Probably you don't have udev logs because
you are using hotplug, but I'm not sure. Xen can use udev only with
udev version > 059.

--
Murillo Fernandes Bernardes

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel