All of lore.kernel.org
 help / color / mirror / Atom feed
* Checksum problem on sparc64
@ 2006-03-23 22:35 Richard Braun
  2006-06-04  5:52 ` Richard Braun
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Richard Braun @ 2006-03-23 22:35 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 2304 bytes --]

Hello,

I'm using kernel 2.6.15.6 on my Ultra1 (vanilla kernel without modification).
My network setup is a bit weird since I'm using a PPPoE link with MTU 1400 (I
have packet losses if using a higher MTU because of the link quality). My NAT
router is a 2.6.15.6 kernel too running on i386. The problems I experience
were already present when I used 2.6.12.6 kernel. Now here is the problem :
I have a SSH server on my sparc64 box, and port 22 on the public interface
is redirected to that host. When downloading with sftp for example, everything
runs fine until some point. Using tcpdump to discover what was going on,
I captured these packets (on public interface) :

13:14:30.359867 > 0800 1416: IP (tos 0x8, ttl  63, id 26858, offset 0, flags
[DF], length: 1400) 213.41.243.68.22 > 84.96.34.158.59002: . [tcp sum ok]
3703221:3704569(1348) ack 9968 win 6788 <nop,nop,timestamp 34000986 1795720>

13:14:30.397874 > 0800 1416: IP (tos 0x8, ttl  63, id 26859, offset 0, flags
[DF], length: 1400) 10.0.0.2.22 > 84.96.34.158.59002: . [bad tcp cksum 696d
(->696c)!] 3016044:3017392(1348) ack 7729 win 6788 <nop,nop,timestamp 34000990
1795720>

Packets were similar on the LAN interface with the exception of NAT for the
first packet :

13:14:30.359816 08:00:20:86:c9:98 > 00:90:27:71:ed:ae, ethertype IPv4 (0x0800),
length 1414: IP (tos 0x8, ttl  64, id 26858, offset 0, flags [DF], length:
1400) 10.0.0.2.22 > 84.96.34.158.59002: . [tcp sum ok] 3703221:3704569(1348)
ack 9872 win 6788 <nop,nop,timestamp 34000986 1795720>

13:14:30.397818 08:00:20:86:c9:98 > 00:90:27:71:ed:ae, ethertype IPv4 (0x0800),
length 1414: IP (tos 0x8, ttl  64, id 26859, offset 0, flags [DF], length:
1400) 10.0.0.2.22 > 84.96.34.158.59002: . [bad tcp cksum 696d (->696c)!]
3643729:3645077(1348) ack 9872 win 6788 <nop,nop,timestamp 34000990 1795720>

I'm not sure why the tcp checksum is bad. It could be a hardware problem or
a kernel bug. Therefore I decided to report this. I think I have similar
problems with IPv6, but I have not investigated yet. The problem looks quite
random for now, but I can easily reproduce it (I begin a download over sftp,
wait a few seconds/minutes, then the rate drops).

Hope it helps (and sorry for previous private queries btw).

-- 
Richard Braun

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-06-05 18:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23 22:35 Checksum problem on sparc64 Richard Braun
2006-06-04  5:52 ` Richard Braun
2006-06-04 14:32 ` Samuel Thibault
2006-06-04 14:34 ` Samuel Thibault
2006-06-05  4:05 ` David Miller
2006-06-05  4:32 ` David Miller
2006-06-05 12:05 ` Richard Braun
2006-06-05 18:19 ` David Miller

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.