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

[Xen-devel] ADM64 (debian/unstable) xend start gives errors in log.

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] ADM64 (debian/unstable) xend start gives errors in log.
From: Robin van Leeuwen <rvl@xxxxxxxxxxx>
Date: Sat, 20 Aug 2005 21:34:49 +0000
Delivery-date: Sat, 20 Aug 2005 21:32:58 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Organization: RLD Software
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)
On my freshly "hg pull -u"'d xen-unstable on 2005-08-20 21:51
running on Debian 3.1 testing/unstable on a AMD64. When i
start my system and give a "xend start" my /var/log/xend.log gives
a whole buch of  [   ERROR (process:37) [network-bridge]  ]  errors.

My "ifconfig -a"  and "route -n" aren't like they should be i think.
If i run /etc/xen/scripts/network-bridge start" after my "xend start"
everything looks better i think. I still have problems with my domU
if i start my domU and i do a "ifconfig eth0 192.168.2.110" i can ping
my whole local network but not my router, and no connection to the
net.....

Here's a lot of debug info:
if more needed give me a shout!

kind regards,

Robin van Leeuwen

-----  xend.log ---
[2005-08-20 23:06:14 xend] INFO (SrvDaemon:300) Xend Daemon started
[2005-08-20 23:06:14 xend] INFO (channel:163) Virq 3 on port 13
[2005-08-20 23:06:14 xend] DEBUG (XendDomainInfo:178) info={'vcpu_to_cpu': [0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 15757430537L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'running': 1, 'maxmem_kb': 17179869180, 'paused': 0, 'crashed': 0, 'vcpus': 1, 'shutdown': 0, 'mem_kb': 1018880, 'cpumap': [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}
[2005-08-20 23:06:14 xend] DEBUG (XendDomainInfo:179) config='None'

[2005-08-20 23:06:14 xend] INFO (xsobj:326) DBMap>introduceDomain> 0 43847 <EventChannel dom1:0:14 dom2:0:15> /domain/10ced824-3839-4af4-9127-7b356a41b45e [2005-08-20 23:06:14 xend] DEBUG (XendDomainInfo:571) writing key availability=online to path /cpu/0 in store
[2005-08-20 23:06:14 xend] INFO (XendRoot:141) EVENT> xend.start 0
[2005-08-20 23:06:14 xend] INFO (SrvServer:78) unix path=/var/lib/xend/xend-socket
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + set -e
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + OP=start
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + shift
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + for arg in '"$@"' [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + export bridge=xen-br0 [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + bridge=xen-br0 [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + for arg in '"$@"' [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + export antispoof=no [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + antispoof=no [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + bridge=xen-br0
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + netdev=eth0
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + antispoof=no [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + echo '*network start bridge=xen-br0 netdev=eth0 antispoof=no' [2005-08-20 23:06:14 xend] INFO (process:35) [network-bridge] network start bridge=xen-br0 netdev=eth0 antispoof=no [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + case ${OP} in
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + op_start
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + '[' xen-br0 == null ']' [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + create_bridge xen-br0 [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + local bridge=xen-br0
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + brctl show
[2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + grep -q xen-br0 [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + brctl addbr xen-br0 [2005-08-20 23:06:14 xend] ERROR (process:37) [network-bridge] + brctl stp xen-br0 off [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + brctl setfd xen-br0 0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifconfig xen-br0 up
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifconfig
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + grep -q veth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifconfig veth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + grep -q veth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] ++ ifconfig eth0
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] ++ grep HWadd
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] ++ sed -e 's/.*\(..:..:..:..:..:..\).*/\1/' [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + mac=00:11:2F:C1:4F:0D
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifdown eth0
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ip link set eth0 name peth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ip link set veth0 name eth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifconfig peth0 0.0.0.0 -arp down [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifconfig peth0 hw ether fe:ff:ff:ff:ff:ff [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifconfig eth0 hw ether 00:11:2F:C1:4F:0D [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + add_to_bridge xen-br0 vif0.0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + local bridge=xen-br0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + local dev=vif0.0
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + brctl show
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + grep -q vif0.0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + brctl addif xen-br0 vif0.0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + add_to_bridge xen-br0 peth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + local bridge=xen-br0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + local dev=peth0
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + brctl show
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + grep -q peth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + brctl addif xen-br0 peth0 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ip link set xen-br0 up [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ip link set vif0.0 up [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ip link set peth0 up
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] + ifup eth0
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] Internet Software Consortium DHCP Client 2.0pl5 [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] All rights reserved.
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge]
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] Please contribute if you find this software useful. [2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge] For info, please visit http://www.isc.org/dhcp-contrib.html
[2005-08-20 23:06:15 xend] ERROR (process:37) [network-bridge]
[2005-08-20 23:06:17 xend] ERROR (process:37) [network-bridge] Listening on LPF/eth0/00:11:2f:c1:4f:0d [2005-08-20 23:06:17 xend] ERROR (process:37) [network-bridge] Sending on LPF/eth0/00:11:2f:c1:4f:0d [2005-08-20 23:06:17 xend] ERROR (process:37) [network-bridge] Sending on Socket/fallback/fallback-net [2005-08-20 23:06:17 xend] ERROR (process:37) [network-bridge] DHCPREQUEST on eth0 to 255.255.255.255 port 67 [2005-08-20 23:06:17 xend] ERROR (process:37) [network-bridge] DHCPACK from 192.168.2.1
-------------------------------------------------------------------------------------------

After my xend start:

--------------------------------------------------------------------------------------------
amd:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:2F:C1:4F:0D
         inet addr:192.168.2.103  Bcast:192.168.2.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:156 errors:0 dropped:0 overruns:0 frame:0
         TX packets:203 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:26140 (25.5 KiB)  TX bytes:21196 (20.6 KiB)

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:295 errors:0 dropped:0 overruns:0 frame:0
         TX packets:295 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:70027 (68.3 KiB)  TX bytes:70027 (68.3 KiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:181 errors:0 dropped:0 overruns:0 frame:0
         TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:31986 (31.2 KiB)  TX bytes:26147 (25.5 KiB)
         Interrupt:23 Base address:0xc800

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:203 errors:0 dropped:0 overruns:0 frame:0
         TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:21196 (20.6 KiB)  TX bytes:26140 (25.5 KiB)

xen-br0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:25 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:3932 (3.8 KiB)  TX bytes:0 (0.0 b)

amd:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 eth0
amd:~# brctl show
bridge name     bridge id               STP enabled     interfaces
xen-br0         8000.feffffffffff       no              peth0
                                                       vif0.0
----------------------------------------------------------------------------------------------------------------------------

If i run "/etc/xen/scripts/network-bride start"   after that   i get:

--------------------------------------------------------------------------------------------------------
amd:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:2F:C1:4F:0D
         inet addr:192.168.2.103  Bcast:192.168.2.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:208 errors:0 dropped:0 overruns:0 frame:0
         TX packets:249 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:34230 (33.4 KiB)  TX bytes:26070 (25.4 KiB)

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:407 errors:0 dropped:0 overruns:0 frame:0
         TX packets:407 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:92072 (89.9 KiB)  TX bytes:92072 (89.9 KiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:248 errors:0 dropped:0 overruns:0 frame:0
         TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:42187 (41.1 KiB)  TX bytes:31892 (31.1 KiB)
         Interrupt:23 Base address:0xc800

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:249 errors:0 dropped:0 overruns:0 frame:0
         TX packets:208 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:26070 (25.4 KiB)  TX bytes:34230 (33.4 KiB)

xen-br0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet addr:192.168.2.103  Bcast:192.168.2.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:36 errors:0 dropped:0 overruns:0 frame:0
         TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:5823 (5.6 KiB)  TX bytes:871 (871.0 b)

amd:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 xen-br0 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 xen-br0
--------------------------------------------------------------


I think this is the way it should be?



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] ADM64 (debian/unstable) xend start gives errors in log., Robin van Leeuwen <=