From owner-freebsd-current@FreeBSD.ORG Wed Nov 21 01:13:12 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C81F16A417 for ; Wed, 21 Nov 2007 01:13:12 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC5F13C455 for ; Wed, 21 Nov 2007 01:13:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2742281waf for ; Tue, 20 Nov 2007 17:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=VYDsp6oPextGxr0H4IYhk2wBsjN8ahbEae7c6F6B3z0=; b=lMsu1GOA+DkNwzHEpAp4pFyVBUfl2UCVbEPcWzH/6i0Rrm9Hjsa+xNZf/q7O0wib0GVQKOvKTjJCwzpq2s+JC8v641CyT3CKAMM8NUpPuMMbfSUwgGRkxHZYNxXEfqM7V4uwadxLfgkiEeXYY7iZ5FGDq4nFtI0CCQCaf+kIdsY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=IJWjYjXzI/PdyDNXEE0B/DWmg663aMzTt1/7qhqvznXHdyYtAd2QOBJ5tzuje/0gFs/lUCks6xsd4dLGGV+MLjchmgmCbXqf1coDdlOpvJPBiMPvkm8l8Vxqqm6+VkgQYTwEl0H5UEcuyNQR86tMjU6WWJSJleGJ33LkJkOC3zQ= Received: by 10.114.58.1 with SMTP id g1mr757096waa.1195607589349; Tue, 20 Nov 2007 17:13:09 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id m40sm1831398wag.2007.11.20.17.13.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Nov 2007 17:13:08 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id lAL1BLbk014154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 21 Nov 2007 10:11:21 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id lAL1BKvE014153 for freebsd-current@FreeBSD.ORG; Wed, 21 Nov 2007 10:11:20 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 21 Nov 2007 10:11:20 +0900 From: Pyun YongHyeon To: freebsd-current@FreeBSD.ORG Message-ID: <20071121011120.GB13817@cdnetworks.co.kr> References: <200711201016.lAKAGPj0043221@lurza.secnetix.de> <200711201519.lAKFJIg5055231@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200711201519.lAKFJIg5055231@lurza.secnetix.de> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: Sockets stuck in SYN_RCVD (re(4), RELENG_7, i386) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 01:13:12 -0000 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@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: port 0xe000-0xe0ff mem 0xfd021000-0xfd0210ff irq 16 at device 13.0 on pci0 > miibus0: on re0 > rgephy0: 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 metric 0 mtu 1500 > options=9b > 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 ) > status: active > -- Regards, Pyun YongHyeon