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

[Xen-bugs] [Bug 642] New: Network connection (TCP/UDP) hangs/does not wo

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 642] New: Network connection (TCP/UDP) hangs/does not work when using bridged VLAN interfaces in Dom0
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 12 May 2006 06:39:59 -0700
Delivery-date: Fri, 12 May 2006 06:40:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=642

           Summary: Network connection (TCP/UDP) hangs/does not work when
                    using bridged VLAN interfaces in Dom0
           Product: Xen
           Version: 3.0.2
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: c.hertel@xxxxxxxx


System setup:

I've disabled the original network-bridge script and set up my own bridge in
Dom0 using a .1q VLAN interface. This bridge interface is now exported to my
DomU's. As the Dom0 kernel I tried the one shipped with Xen 3.0.2-2, the
kernel-image-2.6.16-1-xen-em64t-p4 from Debian unstable and a self-compiled
2.6.16.16 vanilla kernel using the checksum patch by Jim Dykman found here:

http://lists.xensource.com/archives/html/xen-devel/2006-04/msg00625.html


Hardware and OS:

DELL PowerEdge 1850 
One Pentium 4 XEON 3.2 GHz with EM64T
2 GB RAM
Debian Sarge AMD64


Problem:

Ping to the IP-address of a DomU works, any TCP/UDP connections doesn't.
Now if I use with my self-compiled one (with the checksum patch), I can
establish a SSH connection to my DomU but after some time (i. e. tried to edit
a file with vi are calling dmesg several times), the network connection hangs
up.
Using ethtool to disable tx checksumming in Dom0 and DomU for all used
interfaces does not solve the problem either.
Futhermore Dom0 also has problems to establish connections (i. e. to some HTTP
servers). "Problems" in this case means it takes some minutes to establish a
HTTP connection for example. None of the problems occurs with bridged eth
devices, only with bridged VLAN devices.


More information:

dom0:/# uname -a
Linux dom0 2.6.16.16-xen0 #1 SMP Fri May 12 12:27:23 CEST 2006 x86_64 GNU/Linux
---
dom0:~# ifconfig
br-internal Link encap:Ethernet  HWaddr 00:13:72:4D:B1:B9
            inet addr:10.1.1.2  Bcast:10.1.1.255  Mask:255.255.255.0
            inet6 addr: fe80::213:72ff:fe4d:b1b9/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:2589 errors:0 dropped:0 overruns:0 frame:0
            TX packets:2204 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:205594 (200.7 KiB)  TX bytes:369009 (360.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:13:72:4D:B1:B9
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::213:72ff:fe4d:b1b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3881 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3208 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:398034 (388.7 KiB)  TX bytes:635917 (621.0 KiB)
          Base address:0xecc0 Memory:dfbe0000-dfc00000

eth0.5    Link encap:Ethernet  HWaddr 00:13:72:4D:B1:B9
          inet6 addr: fe80::213:72ff:fe4d:b1b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3895 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3210 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:313726 (306.3 KiB)  TX bytes:610175 (595.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)

vif2.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:175 errors:0 dropped:0 overruns:0 frame:0
          TX packets:182 errors:0 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:47475 (46.3 KiB)  TX bytes:17366 (16.9 KiB)
---
dom0:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br-internal     8000.0013724db1b9       no              eth0.5
                                                        vif2.0
---
dom0:/# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      123     2 r-----    22.8
test1                              2      256     2 -b----     1.5
---
test1:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:72:97:E7
          inet addr:10.1.1.3  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe72:97e7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:267 errors:0 dropped:0 overruns:0 frame:0
          TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26879 (26.2 KiB)  TX bytes:54351 (53.0 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:237 (237.0 b)  TX bytes:237 (237.0 b)


I can also provide a tcpdump if needed.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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