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!!!!

Ok, in vif-common.sh the variable $command is always empty.
It gets it from findCommand §@ and this is running zero!




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 08:06
An: mfbernardes@xxxxxxxxx; DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Betreff: AW: [Xen-devel] Problem with vif - help!!!!




I find out that this Part in the vif-bridge script is never reached.

This is my output when I start ./vif-bridged:
+ echo 'vif-bridge edited Thomas Diedeirch November, 25, 2005'
vif-bridge edited Thomas Diedeirch November, 25, 2005
++ brctl show
++ cut -d '
' -f 2
++ cut -f 1
+ echo xenbr0
xenbr0
++ dirname ./vif-bridge
+ dir=.
+ . ./vif-common.sh
+++ dirname ./vif-bridge
++ dir=.
++ . ./xen-hotplug-common.sh
++++ dirname ./vif-bridge
+++ dir=.
+++ . ./xen-script-common.sh
++++ set -e
+++ export
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/X11R6/bin:/roo
t/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/X11R6/bin:/roo
t/bin
+++ export LANG=POSIX
+++ LANG=POSIX
++++ set
++++ grep '^LC_'
++++ cut -d= -f1
+++ unset
+++ log debug XENBUS_PATH=
+++ local level=debug
+++ shift
+++ logger -p daemon.debug -- ./vif-bridge: XENBUS_PATH=
++ . ./xen-network-common.sh
+++ '[' -e /etc/SuSE-release ']'
+++ which ifup
++ findCommand
++ '[' '' '!=' online ']'
++ '[' '' '!=' offline ']'
++ '[' '' '!=' add ']'
++ '[' '' '!=' remove ']'
++ log err 'Invalid command: '
++ local level=err
++ shift
++ logger -p daemon.err -- ./vif-bridge: 'Invalid command: '
++ exit 1

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: Murillo Bernardes [mailto:mfbernardes@xxxxxxxxx] 
Gesendet: Donnerstag, 24. November 2005 17:08
An: DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Xen-devel] Problem with vif - help!!!!


On 11/24/05, DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
<DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Oh... Please, try to start a domain, and send only what is related to
vif-bridge.

Better, try this (exactly as is!)

#!/bin/sh

echo $(brctl show | cut -d "
" -f 2 | cut -f 1)


I should return the bridge name. As Ewan said, try to figure out why
it is failing.

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