Packet-corruption with re(4)

Peter Ankerstål peter at pean.org
Tue Apr 29 11:38:41 UTC 2008


Hi,

Im using a built in re(4) card and it seems like its causes data- 
corruption as soon as it gets some load (or after a few hours online)


The machine is running FreeBSD 7.0R:

FreeBSD ninja 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Apr 16 22:49:15  
CEST 2008     peter at ninja:/usr/obj/usr/src/sys/NINJA  amd64

(using a RELENG_7 kernel updated today)


If I download alot of files with wget or something everything works  
fine for a while until the download just stalls and tcpdump reports  
"bad cksum"

13:04:25.839408 IP (tos 0x0, ttl 64, id 23912, offset 0, flags [DF],  
proto TCP (6), length 1500, bad cksum 0 (->f40a)!) host1.http >  
host2.53895: . 115065:116513(1448) ack 1421 win 8326  
<nop,nop,timestamp 2316944721 2174233192>
and so on

again and again until the connection times out.

re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xb800-0xb8ff mem  
0xff9ff000-0xff9fffff irq 19 at device 0.0 on pci3
re0: Using 2 MSI messages
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,  
1000baseT-FDX, auto
re0: Ethernet address: 00:1d:60:74:be:e3
re0: [FILTER]
re0: [FILTER]


re0 at pci0:3:0:0:	class=0x020000 card=0x81aa1043 chip=0x816810ec  
rev=0x01 hdr=0x00
     vendor     = 'Realtek Semiconductor'
     device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
     class      = network
     subclass   = ethernet


A strange thing is that encrypted data seems to work better than  
plaintext. https works for a longer time (after boot) then http for  
example.




More information about the freebsd-stable mailing list