Page 1 of 1

ICMP echo problem!

Posted: Fri Oct 26, 2012 6:19 pm
by kosmisk
Hi, after playing around with RTL8139 i got a wierd problem - can only receive 5 packets when pinging.
You see from the statistics it only receives 5 packets and 9 is transmitted:

Code: Select all

--- 192.168.1.2 ping statistics ---
9 packets transmitted, 5 received, +1 duplicates, 44% packet loss, time 8018ms
rtt min/avg/max/mdev = 2008.314/2179.401/3015.902/374.101 ms, pipe 4
I think it has to do with CAPR register in RTL8139, because it's a buffer read pointer
but then why does the pointer stopping to point to new data?


But also from Wireshark i got this while pinging:

Code: Select all

Protocol Length Info
ICMP     98     Echo (ping) request  id=0x47d1, seq=1/256, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=2/512, ttl=64
ICMP     98     Echo (ping) reply    id=0x47d1, seq=1/256, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=3/768, ttl=64
ICMP     98     Echo (ping) reply    id=0x47d1, seq=2/512, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=4/1024, ttl=64
ICMP     98     Echo (ping) reply    id=0x47d1, seq=3/768, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=5/1280, ttl=64
ICMP     98     Echo (ping) reply    id=0x47d1, seq=4/1024, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=6/1536, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=7/1792, ttl=64

LLC      98     U, func=UI; DSAP SNA Group, SSAP NULL LSAP Command
     
ICMP     98     Echo (ping) reply    id=0x47d1, seq=6/1536, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=8/2048, ttl=64
ICMP     98     Echo (ping) reply    id=0x47d1, seq=6/1536, ttl=64
ICMP     98     Echo (ping) request  id=0x47d1, seq=9/2304, ttl=64
ICMP     98     Echo (ping) reply    id=0x47d1, seq=6/1536, ttl=64
You see the sequence number from reply freezes @ 6 and that happens always after the
LLC packet, so why does the kernel send it?