gigabit adapter ubiquity !?

From: Biondi Philippe (biondi@titan.enst-bretagne.fr)
Date: Wed May 24 2000 - 18:22:09 EST


Hi,
I'm having a problem with a 3c985 gigabit adapter.
I use a linux-2.2.15 vanilla kernel with a SMP machine. (same pb with
2.2.14)
Often, connection is refused by the server. This is a tcpdump output
of the connection :
On the client side (C)
C.2806 > S.mysql: S 1856745779:1856745779(0)
S.mysql > C.2806: S 1831697734:1831697734(0) ack 1856745780
C.2806 > S.mysql: . ack 1831697735
S.mysql > C.2806: P 1831697735:1831697763(28) ack 1856745780
C.2806 > S.mysql: . ack 1831697763
C.2806 > S.mysql: P 1856745780:1856745805(25) ack 1831697763
S.mysql > C.2806: R 1831697763:1831697763(0)
S.mysql > C.2806: P 1831697763:1831697783(20) ack 1856745780
C.2806 > S.mysql: R 1856745780:1856745780(0)
S.mysql > C.2806: F 1831697783:1831697783(0) ack 1856745780
C.2806 > S.mysql: R 1856745780:1856745780(0)
S.mysql > C.2806: FP 1831697763:1831697783(20) ack 1856745780
C.2806 > S.mysql: R 1856745780:1856745780(0)
S.mysql > C.2806: FP 1831697763:1831697783(20) ack 1856745780

the connection is done, then S send at the "same" time a push packet and a
reset packet are sent, as if S didn't know about the connection from time
to time.
What is trange is the tcpdump output on the server side (S) :
C.2806 > S.mysql: P 1856745780:1856745805(25) ack 1831697763
S.mysql > C.2806: R 1831697763:1831697763(0)
C.2806 > S.mysql: R 1856745780:1856745780(0)
C.2806 > S.mysql: R 1856745780:1856745780(0)
C.2806 > S.mysql: R 1856745780:1856745780(0)

All the packets which belong to the connection are not seen by tcpdump, as
if the tcp stack were in two parts, each ignoring the state of the other,
open ports, etc.

The timings are :
20:53:30.305104 C.2806 > S.mysql
20:53:30.306245 S.mysql > C.2806
20:53:30.306316 C.2806 > S.mysql
20:53:30.307650 S.mysql > C.2806
20:53:30.307757 C.2806 > S.mysql
20:53:30.308906 C.2806 > S.mysql
20:53:30.309903 S.mysql > C.2806
20:53:35.302021 S.mysql > C.2806
20:53:35.302064 C.2806 > S.mysql
20:53:35.302141 S.mysql > C.2806
20:53:35.302161 C.2806 > S.mysql
20:53:35.501873 S.mysql > C.2806
20:53:35.501941 C.2806 > S.mysql
20:53:35.901885 S.mysql > C.2806

20:53:30.308485 C.2806 > S.mysql
20:53:30.308569 S.mysql > C.2806
20:53:35.301401 C.2806 > S.mysql
20:53:35.301405 C.2806 > S.mysql
20:53:35.500772 C.2806 > S.mysql
20:53:35.901474 C.2806 > S.mysql
20:53:36.700907 C.2806 > S.mysql
20:53:38.301665 C.2806 > S.mysql

--
Philippe Biondi
Systems administrator
Webmotion Inc.
http://www.webmotion.com
mailto:philippe.biondi@webmotion.com
Fax. (613) 260-9545

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:12 EST