From jus@athena.za.net  Mon Oct 30 21:29:07 2000
Return-Path: <jus@athena.za.net>
Received: from athena.za.net (athena.za.net [196.30.167.200])
	by hub.freebsd.org (Postfix) with ESMTP id 4A81B37B479
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 Oct 2000 21:28:59 -0800 (PST)
Received: (from jus@localhost)
	by athena.za.net (8.9.3/8.9.3) id FAA03605;
	Tue, 31 Oct 2000 05:31:13 GMT
	(envelope-from jus)
Message-Id: <200010310531.FAA03605@athena.za.net>
Date: Tue, 31 Oct 2000 05:31:13 GMT
From: Justin Stanford <jus@athena.za.net>
Reply-To: jus@athena.za.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: rl NIC driver bug 
X-Send-Pr-Version: 3.2

>Number:         22434
>Category:       misc
>Synopsis:       problem with certain NIC's using rl on autoselect(10/100)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danny
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 30 21:30:01 PST 2000
>Closed-Date:    Thu Mar 14 19:30:29 PST 2002
>Last-Modified:  Thu Mar 14 19:30:29 PST 2002
>Originator:     Justin Stanford
>Release:        FreeBSD 4.0-STABLE i386 (And others)
>Organization:
>Environment:
rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff mem 0xdf800000-0xdf8000ff ir
q 10 at device 10.0 on pci0

10mbit Ethernet LAN
	

>Description:

On 10mbit LAN's, (many) NIC's which use the rl0 driver (a discussion has been had recently on freebsd-questions as to who and which cards have given problems) appear to fail to correctly autoselect 10mbit and attempt to use 100mbit, causing slow data rates and potentially problems for the network.
	

>How-To-Repeat:
Boot a machine with a Realtek based ethernet NIC on a 10mbit LAN.
	

>Fix:
ifconfig can be used to force the card to 10mbit mode ("ifconfig rl0 media 10baseT/UTP"), which then solves the problem. This obviously has to be done on every reboot. Obviously this problem is ideally fixed in the driver (If that is the source of the problem), as these cards appear to operate perfectly in other operating systems (Windows, Linux, etc).
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Tue Oct 31 05:41:22 PST 2000 
Responsible-Changed-Why:  
Refile. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22434 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sat Nov 17 13:04:05 PST 2001 
State-Changed-Why:  

Does this problem still occur in more recent releases? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22434 
Responsible-Changed-From-To: freebsd-bugs->danny 
Responsible-Changed-By: silby 
Responsible-Changed-When: Tue Mar 5 23:12:01 PST 2002 
Responsible-Changed-Why:  
This sounds related to danny's change in rlphy.c rev 1.6. 
Justin, please apply those changes to your system to see if 
they resolve the problem. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22434 
State-Changed-From-To: feedback->closed 
State-Changed-By: danny 
State-Changed-When: Thu Mar 14 19:29:51 PST 2002 
State-Changed-Why:  
10 Mbps autoneg fixed with: 
1.6       +3 -18     src/sys/dev/mii/rlphy.c 
1.2.2.2   +3 -18     src/sys/dev/mii/rlphy.c 


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