From nobody@FreeBSD.org  Fri Apr  8 02:29:37 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CDCF9106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Apr 2011 02:29:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id BD69D8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Apr 2011 02:29:37 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p382TbDA005801
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Apr 2011 02:29:37 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p382Tbow005800;
	Fri, 8 Apr 2011 02:29:37 GMT
	(envelope-from nobody)
Message-Id: <201104080229.p382Tbow005800@red.freebsd.org>
Date: Fri, 8 Apr 2011 02:29:37 GMT
From: Kostya Berger <bergerkos@yahoo.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: if_re.ko driver cannot handle RL8169 card properly
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156266
>Category:       kern
>Synopsis:       [re] if_re.ko driver cannot handle RL8169 card properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 08 02:30:09 UTC 2011
>Closed-Date:    Sun Jul 10 22:38:35 UTC 2011
>Last-Modified:  Sun Jul 10 22:38:35 UTC 2011
>Originator:     Kostya Berger
>Release:        8.2, also tested on 8.1
>Organization:
>Environment:
FreeBSD kostya-berger.homeip.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
ASUS P5B motherboard with "RealTek PCI-E Gigabit LAN controller".
The device is identified by if_re driver, device re0 created, but it doesn't work.
Reports "no link" when in fact there is active DHCP connection.  

There is also RT8139 PCI NIC installed, but if_rl driver works fine for this NIC.

The problem only exists in FreeBSD. Under Solaris/Linux/Windows/DragonflyBSD both devices work fine at the same time.
>How-To-Repeat:
Perhaps use ASUS P5B motherboard and try a FreeBSD-based system; in Debian kFreeBSD the problem exists as well.
>Fix:
Couldn't fix this driver, used a downloaded driver called "rtl_bsd_drv_v179", which seems to be a modified version of the original, modified by RealTek according to the info in the source file.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Apr 9 20:13:51 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156266 
State-Changed-From-To: open->feedback 
State-Changed-By: yongari 
State-Changed-When: Sun Apr 10 22:44:34 UTC 2011 
State-Changed-Why:  
Completely remove vendor's driver, "rtl_bsd_drv_v179", and reboot 
and show me the full dmesg output as well as output of 
"ifconfig re0". 
Also show me the output of "pciconf -lcbv". 


Responsible-Changed-From-To: freebsd-net->yongari 
Responsible-Changed-By: yongari 
Responsible-Changed-When: Sun Apr 10 22:44:34 UTC 2011 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156266 
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Sun Jul 10 22:38:12 UTC 2011 
State-Changed-Why:  
Close(feedback timeout). 

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