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

Re: AW: [Xen-devel] RE: new /etc/xen/network script

To: Stephan Böni <boeni@xxxxxx>
Subject: Re: AW: [Xen-devel] RE: new /etc/xen/network script
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Fri, 14 Oct 2005 11:09:48 -0700
Cc: David F Barrera <dfbp@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 Oct 2005 18:07:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <983B408465C04C49B0344D51FA21C7553E7559@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <983B408465C04C49B0344D51FA21C7553E7559@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20041020)
Stephan Böni wrote:

good for you - bad for me, because i've still networking errors
thanks anyway

Stephan, I'm not sure what the problem you are seeing is?

Don't get confused by the xend log printing "ERROR"

If you want, just go into your /etc/xen/scripts dir and
remove the set -x from the script, and reboot (if you can).
This will stop the verbose debug logging (it's very useful
to us in debugging issues, and we would rather it be
the default in general for a little while longer, at
least).

Can you show us ifconfig -a output before and after?

thanks,
Nivedita

Thanks,
Stephan




[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + set -e [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + OP=start [2005-10-14 18:57:13 xend] ERROR (process:37)

[network-bridge] + shift

[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + for arg in '"$@
"'
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + export bridge=x
enbr0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + bridge=xenbr0 [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + for arg in '"$@
"'
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + export antispoo
f=no
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + antispoof=no [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + bridge=xenbr0 [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + netdev=eth0 [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + antispoof=no [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + echo '*network
start bridge=xenbr0 netdev=eth0 antispoof=no'
[2005-10-14 18:57:13 xend] INFO (process:35) [network-bridge] network start brid
ge=xenbr0 netdev=eth0 antispoof=no
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + case ${OP} in [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + op_start [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + '[' xenbr0 == n
ull ']'
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + create_bridge x
enbr0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + local bridge=xe
nbr0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + brctl show [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + grep -q xenbr0 [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + brctl addbr xen
br0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + brctl stp xenbr
0 off
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + brctl setfd xen
br0 0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + ip link set xen
br0 up
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + ip addr show ve
th0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + ip addr show ve
th0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ ip link show e
th0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ grep ether [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ sed -e 's/^.*e
ther \(..:..:..:..:..:..\).*$/\1/'
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + mac=00:14:5e:0a
:53:04
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ /sbin/getcfg -
d /etc/sysconfig/network/ -f ifcfg- -- eth0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + eval 'HWD_HWDES C=eth0;' 'HWD_HWDESCTYPE=interface;' 'HWD_INTERFACE_N=1;' 'HWD_INTERFACE_0=eth0; ' 'HWD_INTERFACEPATH_0=/sys/class/net/eth0;' 'HWD_INTERFACETYPE_0=eth;' 'HWD_ID= 00:14:5e:0a:53:04;' 'HWD_BUS_N=1;' 'HWD_BUSNAME_0=pci;' 'HWD_BUSID_0=0000:06:00. 0;' 'HWD_VENDORID=0x14e4;' 'HWD_PRODUCTID=0x1659;' 'HWD_VENDORSUBID=0x1014;' 'HW D_PRODUCTSUBID=0x02c6;' 'HWD_DRIVER=tg3;' 'HWD_CONFIG_N=1;' 'HWD_CONFIG_0=eth-id -00:14:5e:0a:53:04;' 'HWD_DEVICEPATH=/sys/devices/pci0000:00/0000:00:06.0/0000:0 6:00.0;' export HWD_HWDESC HWD_HWDESCTYPE HWD_INTERFACE_N HWD_INTERFACE_0 HWD_IN TERFACEPATH_0 HWD_INTERFACETYPE_0 HWD_ID HWD_BUS_N HWD_BUSNAME_0 HWD_BUSID_0 HWD _VENDORID HWD_PRODUCTID HWD_VENDORSUBID HWD_PRODUCTSUBID HWD_DRIVER HWD_CONFIG_N
HWD_CONFIG_0 'HWD_DEVICEPATH;'
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_HWDESC=eth
0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_HWDESCTYPE
=interface
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_INTERFACE_
N=1
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_INTERFACE_
0=eth0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_INTERFACEP
ATH_0=/sys/class/net/eth0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_INTERFACET
YPE_0=eth
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_ID=00:14:5
e:0a:53:04
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_BUS_N=1 [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_BUSNAME_0=
pci
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_BUSID_0=00
00:06:00.0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_VENDORID=0
x14e4
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_PRODUCTID=
0x1659
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_VENDORSUBI
D=0x1014
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_PRODUCTSUB
ID=0x02c6
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_DRIVER=tg3 [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_CONFIG_N=1 [2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_CONFIG_0=e
th-id-00:14:5e:0a:53:04
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ HWD_DEVICEPATH
=/sys/devices/pci0000:00/0000:00:06.0/0000:06:00.0
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] ++ export HWD_HWD ESC HWD_HWDESCTYPE HWD_INTERFACE_N HWD_INTERFACE_0 HWD_INTERFACEPATH_0 HWD_INTER FACETYPE_0 HWD_ID HWD_BUS_N HWD_BUSNAME_0 HWD_BUSID_0 HWD_VENDORID HWD_PRODUCTID HWD_VENDORSUBID HWD_PRODUCTSUBID HWD_DRIVER HWD_CONFIG_N HWD_CONFIG_0 HWD_DEVIC
EPATH
[2005-10-14 18:57:13 xend] ERROR (process:37) [network-bridge] + ifdown eth0 [2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set eth
0 name peth0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set vet
h0 name eth0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set pet
h0 arp off
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set pet
h0 address fe:ff:ff:ff:ff:ff
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set eth
0 address 00:14:5e:0a:53:04
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set eth
0 arp on
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + add_to_bridge x
enbr0 vif0.0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + local bridge=xe
nbr0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + local dev=vif0.
0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + brctl show [2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + grep -q vif0.0 [2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + brctl addif xen
br0 vif0.0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + add_to_bridge x
enbr0 peth0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + local bridge=xe
nbr0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + local dev=peth0 [2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + brctl show [2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + grep -q peth0 [2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + brctl addif xen
br0 peth0
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set xen
br0 up
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set vif
0.0 up
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ip link set pet
h0 up
[2005-10-14 18:57:16 xend] ERROR (process:37) [network-bridge] + ifup eth-id-00:
14:5e:0a:53:04 eth0
[2005-10-14 18:57:17 xend] ERROR (process:37) [network-bridge] + '[' no == yes '
]'

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


--
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                       Euripides




------------------------------------------------------------------------

_______________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>