Re: Sockets stuck in SYN_RCVD (re(4), RELENG_7, i386)

From: Pyun YongHyeon <pyunyh_at_gmail.com>
Date: Wed, 21 Nov 2007 10:11:20 +0900
On Tue, Nov 20, 2007 at 04:19:18PM +0100, Oliver Fromme wrote:
 > Some additional information.
 > 
 > Today I have run the re(4) interface at 100 Mbps for a few
 > hours.  The count did still increase, so it's not a GigE-
 > only problem.
 > 
 > The I disabled RXCSUM,TXCSUM on the interface.  Again, the
 > counter still increased.  So hardware checksumming isn't
 > the cause of the problem either.
 > 
 > Anything else I could try?
 > 

re(4) is not smart enough to analyze packet payload. The hardware
also doesn't have a feature like TCP header split so I think re(4)
wouldn't have influence with TCP traffics by itself.

Your dmesg indicates that you're using slightly old rgephy(4) on 7.0.
I touched rgephy(4) to support a newer PHY and fixed several bugs. If
speed/duplex mismatch was the cause of the issue you can see lots
of input errors from the output of "netstat -ndi" output. If so, try
latest rgephy(4).

 >  > net.inet.tcp.syncache.count: 702
 > 
 > It's now at 731.
 > 
 > Best regards
 >    Oliver
 > 
 > PS:  pciconf -lv says:
 > 
 > re0_at_pci0:0:13:0: class=0x020000 card=0x094c1462 chip=0x816910ec rev=0x10 hdr=0x00
 >     vendor     = 'Realtek Semiconductor'
 >     device     = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller'
 >     class      = network
 >     subclass   = ethernet
 > 
 > dmesg says:
 > 
 > re0: <RealTek 8169SB/8110SB Single-chip Gigabit Ethernet> port 0xe000-0xe0ff mem 0xfd021000-0xfd0210ff irq 16 at device 13.0 on pci0
 > miibus0: <MII bus> on re0
 > rgephy0: <RTL8169S/8110S media interface> PHY 1 on miibus0
 > rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 > re0: Ethernet address: 00:16:17:99:d3:69
 > re0: [FILTER]
 > 
 > ifconfig says (IP addresses masked):
 > 
 > re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 >         options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
 >         ether 00:16:17:99:d3:69
 >         inet a.b.c.75 netmask 0xffffffe0 broadcast a.b.c.95
 >         inet a.b.d.138 netmask 0xfffffff8 broadcast a.b.d.143
 >         inet a.b.d.139 netmask 0xfffffff8 broadcast a.b.d.143
 >         inet a.b.d.140 netmask 0xfffffff8 broadcast a.b.d.143
 >         inet a.b.d.141 netmask 0xfffffff8 broadcast a.b.d.143
 >         inet a.b.d.142 netmask 0xfffffff8 broadcast a.b.d.143
 >         media: Ethernet autoselect (1000baseTX <full-duplex>)
 >         status: active
 > 
-- 
Regards,
Pyun YongHyeon
Received on Wed Nov 21 2007 - 00:13:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:22 UTC