* networking checksum errors again
@ 2006-03-31 5:30 Jason
2006-03-31 5:46 ` Florian Kirstein
0 siblings, 1 reply; 6+ messages in thread
From: Jason @ 2006-03-31 5:30 UTC (permalink / raw)
To: xen-devel
Hey gang, I have run into the dredded tcp and udp checksum error in xen, but with a twist.
Regardless of whether or not I use a dom0 kernel or a domU kernel I get failed checksum packets
whenever I try to route across a virtual interface. I have a pure virtual setup (ala I just have
xend bring up a new interface with an ip on it that I route traffic to the domU on) and just like
in the FAQ, ping works but no other traffic does because of checksums. I have tried the ethtool
thing on all interfaces, tried changing the code in netback.c to force a checksum and have had no
luck. Any else having trouble?
--
Jason
The place where you made your stand never mattered,
only that you were there... and still on your feet
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: networking checksum errors again
2006-03-31 5:30 networking checksum errors again Jason
@ 2006-03-31 5:46 ` Florian Kirstein
2006-03-31 7:10 ` Jason
0 siblings, 1 reply; 6+ messages in thread
From: Florian Kirstein @ 2006-03-31 5:46 UTC (permalink / raw)
To: xen-devel; +Cc: Jason
[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]
Hallo,
> Regardless of whether or not I use a dom0 kernel or a domU kernel I
> get failed checksum packets whenever I try to route across a virtual
> interface. I have a pure virtual setup
Ah, I just dived into that recently... Is there a bugzilla id
for that already? I had the same problem as you, Dom0 can't communicate
with DomU due to the checksum errors in a routed setup, everything
works when bridged. But I don't want to bridge :)
> thing on all interfaces, tried changing the code in netback.c to
> force a checksum and have had no luck. Any else having trouble?
Which netback.c patch did you use? I currently have a working setup
using the "interface.c" patch which removes the NETIF_F_NO_CSUM from
the dev->features in Dom0 (attached). Using this "sum ok" packets go
from Dom0 to DomU (also leaving Dom0 intact), DomU to Dom0 packets
are broken leaving DomU but Dom0 ignores that. Using
ethtool -K eth0 tx off
in DomU I can bring DomU to generate valid sums also, but that's cosmetic
and not needed for a working setup. I'd rather also patch this in the
kernel instead of running ethtool in every DomU but I haven't searched
for that yet. Should be easy, though :)
As far as I understood the discussion, this is not an easy issue and
possibly will be dealt with in in clean way after the 3.0.2 release?
For now I have other problems, the above setup seems to work fine
for me (also for DomU-DomU communication, which of course is routed
over Dom0. Will have to test tunnels/vpn in DomU).
(:ul8er, r@y
[-- Attachment #2: netback-interface.patch --]
[-- Type: text/plain, Size: 656 bytes --]
diff -U 3 -r xen-unstable-orig/linux-2.6-xen-sparse/drivers/xen/netback/interface.c xen-unstable/linux-2.6-xen-sparse/drivers/xen/netback/interface.c
--- xen-unstable-orig/linux-2.6-xen-sparse/drivers/xen/netback/interface.c 2006-03-28 06:11:37.000000000 +0200
+++ xen-unstable/linux-2.6-xen-sparse/drivers/xen/netback/interface.c 2006-03-30 08:17:01.000000000 +0200
@@ -101,7 +101,7 @@
dev->get_stats = netif_be_get_stats;
dev->open = net_open;
dev->stop = net_close;
- dev->features = NETIF_F_NO_CSUM;
+ dev->features = 0; /* replaced NETIF_F_NO_CSUM */
/* Disable queuing. */
dev->tx_queue_len = 0;
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: networking checksum errors again
2006-03-31 5:46 ` Florian Kirstein
@ 2006-03-31 7:10 ` Jason
[not found] ` <20060331083153.F26981@web.ray.net>
0 siblings, 1 reply; 6+ messages in thread
From: Jason @ 2006-03-31 7:10 UTC (permalink / raw)
To: Florian Kirstein; +Cc: xen-devel, Jason
My bad, I meant to say interface.c not netback. I didn't have any luck the first time I ran a
kernel with that patch, but Im going to try again because Im not 100% sure I ran the correct
kernel.
--
Jason
The place where you made your stand never mattered,
only that you were there... and still on your feet
On Fri, 31 Mar 2006, Florian Kirstein wrote:
> Hallo,
>
>> Regardless of whether or not I use a dom0 kernel or a domU kernel I
>> get failed checksum packets whenever I try to route across a virtual
>> interface. I have a pure virtual setup
> Ah, I just dived into that recently... Is there a bugzilla id
> for that already? I had the same problem as you, Dom0 can't communicate
> with DomU due to the checksum errors in a routed setup, everything
> works when bridged. But I don't want to bridge :)
>
>> thing on all interfaces, tried changing the code in netback.c to
>> force a checksum and have had no luck. Any else having trouble?
> Which netback.c patch did you use? I currently have a working setup
> using the "interface.c" patch which removes the NETIF_F_NO_CSUM from
> the dev->features in Dom0 (attached). Using this "sum ok" packets go
> from Dom0 to DomU (also leaving Dom0 intact), DomU to Dom0 packets
> are broken leaving DomU but Dom0 ignores that. Using
> ethtool -K eth0 tx off
> in DomU I can bring DomU to generate valid sums also, but that's cosmetic
> and not needed for a working setup. I'd rather also patch this in the
> kernel instead of running ethtool in every DomU but I haven't searched
> for that yet. Should be easy, though :)
>
> As far as I understood the discussion, this is not an easy issue and
> possibly will be dealt with in in clean way after the 3.0.2 release?
> For now I have other problems, the above setup seems to work fine
> for me (also for DomU-DomU communication, which of course is routed
> over Dom0. Will have to test tunnels/vpn in DomU).
>
> (:ul8er, r@y
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-04-01 23:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-31 5:30 networking checksum errors again Jason
2006-03-31 5:46 ` Florian Kirstein
2006-03-31 7:10 ` Jason
[not found] ` <20060331083153.F26981@web.ray.net>
2006-03-31 16:21 ` Jason
2006-04-01 21:44 ` Nivedita Singhvi
2006-04-01 23:55 ` Jason
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.