Bug 173760
| Summary: | IPv6 TCP checksum error when using VIA Velocity 6122 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jay Cliburn <jcliburn> | ||||||
| Component: | kernel | Assignee: | John W. Linville <linville> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Brian Brock <bbrock> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4 | CC: | davej, dr, wtogami | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2006-01-13 20:24:02 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jay Cliburn
2005-11-20 19:34:06 UTC
Created attachment 121275 [details]
Packet capture of failing "ssh -6" session
Apologies, but there are errors in my kernel numbers above. My current kernel is 2.6.14-1.1637_FC4. Other kernels that exhibit the same problem: 2.6.13-1.1532_FC4 2.6.12-1.1456_FC4 2.6.12-1.1398_FC4 2.6.11-1.1369_FC4 I found a solution. I modified the via-velocity.c kernel module source file and
changed the TX_CSUM_DEF flag from 1 to 0, then rebuilt and modprobed the module.
All IPv6 functionality that was failing now works. I guess the Velocity 6122
can't handle offloaded checksumming for IPv6.
[root@osprey net]# diff -c via-velocity.c ~jcliburn/via-velocity.c
*** via-velocity.c 2005-11-20 18:34:23.000000000 -0600
--- /home/jcliburn/via-velocity.c 2005-11-20 18:33:18.000000000 -0600
***************
*** 166,172 ****
*/
VELOCITY_PARAM(IP_byte_align, "Enable IP header dword aligned");
! #define TX_CSUM_DEF 1
/* txcsum_offload[] is used for setting the checksum offload ability of NIC.
(We only support RX checksum offload now)
0: disable csum_offload[checksum offload
--- 166,172 ----
*/
VELOCITY_PARAM(IP_byte_align, "Enable IP header dword aligned");
! #define TX_CSUM_DEF 0
/* txcsum_offload[] is used for setting the checksum offload ability of NIC.
(We only support RX checksum offload now)
0: disable csum_offload[checksum offload
Test kernels w/ above patch are available here: http://people.redhat.com/linville/kernels/fc4/ Please verify that they work as expected, and post the results here...thanks! It works. Thanks. [jcliburn@osprey ~]$ uname -a Linux osprey 2.6.14-1.1641_FC4.jwltest.24 #1 Mon Nov 21 15:49:36 EST 2005 x86_64 x86_64 x86_64 GNU/Linux [jcliburn@osprey ~]$ ssh -6 fec0::2b0:d0ff:fe82:6dda jcliburn@fec0::2b0:d0ff:fe82:6dda's password: Last login: Tue Nov 22 18:14:19 2005 from fec0::250:8dff:feef:9069 [jcliburn@petrel ~]$ YAY!!! Created attachment 121646 [details]
jwltest-via-velocity-tx_csum.patch
I'd like to try another alternative... Test kernels w/ the above patch are available here: http://people.redhat.com/linville/kernels/fc4/ Please give those a try and post the results...thanks! It works for both IPv4 and IPv6. Only IPv6 shown here. Thanks. [jcliburn@osprey ~]$ date;uname -a Wed Nov 30 18:59:19 CST 2005 Linux osprey 2.6.14-1.1645_FC4.jwltest.25 #1 Wed Nov 30 09:17:21 EST 2005 x86_64 x86_64 x86_64 GNU/Linux [jcliburn@osprey ~]$ ssh -6 2001:5c0:8c82:0:250:8dff:fed3:7b0d jcliburn@2001:5c0:8c82:0:250:8dff:fed3:7b0d's password: Last login: Wed Nov 30 18:53:35 2005 from osprey6 [jcliburn@kite ~]$ IT WORKS!! [jcliburn@kite ~]$ netstat --inet6 -an Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 :::22 :::* LISTEN tcp 0 0 2001:5c0:8c82:0:250:8dff:22 2001:5c0:8c82::1:53641 ESTABLISHED Just for the records: I had the same problem recently on a FC1 box using e1000. I had to disable sendfile() support in several server apps (Apache, ProFTPD, etc.) to make it work. Can someone In The Know cross-check current FC kernel wether this problem is still in e1000 there? The problem is still upstream (so it's still in Fedora too). Still negotiating... Looks like the patch got merged...closing this as UPSTREAM. It may take a little while, but the fix will filter into Fedora naturally over the next several weeks. |