From nobody@FreeBSD.org  Tue Dec 19 14:26:03 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6E1A716A40F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Dec 2006 14:26:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB4443CC5
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Dec 2006 14:25:42 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBJEPMYQ039388
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Dec 2006 14:25:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBJEPMcv039387;
	Tue, 19 Dec 2006 14:25:22 GMT
	(envelope-from nobody)
Message-Id: <200612191425.kBJEPMcv039387@www.freebsd.org>
Date: Tue, 19 Dec 2006 14:25:22 GMT
From: Ighor Poteryakhin<ighor@ighor.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Asus P5B with internal RealTek PCIe Ethernet
X-Send-Pr-Version: www-3.0

>Number:         106918
>Category:       amd64
>Synopsis:       [re] Asus P5B with internal RealTek PCIe Ethernet gets io errors
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 19 14:30:16 GMT 2006
>Closed-Date:    Tue Jul 06 19:09:57 UTC 2010
>Last-Modified:  Tue Jul 06 19:09:57 UTC 2010
>Originator:     Ighor Poteryakhin
>Release:        6.2-RC1/amd64
>Organization:
>Environment:
new.office.furgon-center.ru 6.2-RC1 FreeBSD 6.2-RC1 #3: Tue Dec 19 15:27:28 MSK 2006     ighor@new.office.furgon-center.ru:/usr/obj/usr/src/sys/SMP-CUSTOM  amd64
>Description:
OS detects ethernet controller

Dec 19 16:27:37 new kernel: re0: <RealTek 8168B/8111B PCIe Gigabit Ethernet> port 0xb800-0xb8ff mem 0xfe9ff000-0xfe9fffff irq 19 at device 0.0 on pci3
Dec 19 16:27:37 new kernel: miibus0: <MII bus> on re0
Dec 19 16:27:37 new kernel: rgephy0: <RTL8169S/8110S media interface> on miibus0
Dec 19 16:27:37 new kernel: rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
Dec 19 16:27:37 new kernel: re0: Ethernet address: 00:18:f3:07:6c:7a
Dec 19 16:27:37 new kernel: re0: [FAST]

, but have i/o errors sometimes. "i/o error" it means data from opened
tcp socket (from or to this machine) hangs for long time. Always and only
on some ip addresses and ports.

For example.

# telnet www.yandex.ru 80
Trying 213.180.204.11...
Connected to www.yandex.ru.
Escape character is '^]'.
GET /
<html>... here comes html body but incomplete...

then input hangs up.
>How-To-Repeat:
Install FreeBSD 6.2-RC1 to machine with Asus P5B, try to surf websites. Sometimes on the same sites it will hang.
>Fix:
I've changed ethernet controller to rl (Realtek 8139) - now it is all ok.
>Release-Note:
>Audit-Trail:

From: "Guy F. Boyd" <gfb@vta.com>
To: <bug-followup@FreeBSD.org>, <ighor@ighor.ru>
Cc:  
Subject: Re: amd64/106918: Asus P5B with internal RealTek PCIe Ethernet
Date: Sat, 20 Jan 2007 22:06:46 -0500

 Hello!
 
 I just experienced something very similar with an Asus P5B/intel with an
 on-board Realtek PCIe Ethernet, with telnet(1) and ftp(1) on
 
 FreeBSD bullwinkle 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Mon Jan 15 16:36:51
 EST 2007     root@bullwinkle:/usr/obj/usr/src/sys/GENERIC  i386
 
 for me, the symptoms disappeared by removing -rxcsum and -txcsum from the
 interface. Maybe this is a work-around.
 
 For reference, comparison was against a 3com 3c905tx PCI (xl0) in the same
 machine, configured identically ( same IP number, same local network ) on an
 alternate boot. The remote system in both cases was an ancient RELENG-3
 testbed.
 
 Note that connecting to remote RELENG-6 systems did not exhibit the problem
 hangs with rxcsum/txcsum enabled. All test traffic traversed a RELENG-6
 natd/ipfw gateway. No connections to hosts on the same LAN showed hung
 behavior (but there are no pre-RELENG-6 boxes to test against on the local
 LAN at the moment ).
 
 Hope this helps.
 
 <gfb@vta.com>
 
State-Changed-From-To: open->feedback 
State-Changed-By: yongari 
State-Changed-When: Tue Nov 27 10:22:30 UTC 2007 
State-Changed-Why:  
It seems that you're suffering from checksum offload bug. Workaround 
code for the hardware bug was added so I think it should work 
for your configuration. 
Would you try latest re(4) on RELENG_6/RELENG_7? 


Responsible-Changed-From-To: freebsd-amd64->yongari 
Responsible-Changed-By: yongari 
Responsible-Changed-When: Tue Nov 27 10:22:30 UTC 2007 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106918 

From: =?iso-8859-1?Q?Sebastian_M=FCller?= <basti@mueller.mn>
To: <bug-followup@FreeBSD.org>,
	<ighor@ighor.ru>
Cc:  
Subject: Re: amd64/106918: [re] Asus P5B with internal RealTek PCIe Ethernet gets io errors
Date: Wed, 23 Jan 2008 03:43:46 +0100

 That is exactly the same problem I experienced described on
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/119047
 
 
 Greetings Sebastian
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Tue Jul 6 19:09:25 UTC 2010 
State-Changed-Why:  
Feedback timeout(> 2 years). I'm pretty sure this issue is checksum 
offloading related issue and it was fixed long time ago. If you 
are still able to reproduce the issue, please open PR again. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106918 
>Unformatted:
