From nobody@FreeBSD.ORG  Wed May 24 00:22:39 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 9876037B52E; Wed, 24 May 2000 00:22:39 -0700 (PDT)
Message-Id: <20000524072239.9876037B52E@hub.freebsd.org>
Date: Wed, 24 May 2000 00:22:39 -0700 (PDT)
From: lucas@ians.be
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: rl driver transport type autodetection not working
X-Send-Pr-Version: www-1.0

>Number:         18790
>Category:       kern
>Synopsis:       rl driver transport type autodetection not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danny
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 24 00:30:01 PDT 2000
>Closed-Date:    Thu Mar 14 19:28:44 PST 2002
>Last-Modified:  Thu Mar 14 19:28:44 PST 2002
>Originator:     Lucas Nussbaum
>Release:        4.0-STABLE
>Organization:
Inter Action Net Services
>Environment:
FreeBSD phastas.e-interaction.com 4.0-STABLE FreeBSD 4.0-STABLE #0: Tue May 23 09:53:06 CEST 2000     lucas@phastas.e-interaction.com:/usr/obj/usr/src/sys/PHASTAS  i386
>Description:
I had :
ifconfig_rl0="inet 192.168.1.253  netmask 255.255.255.0"
in /etc/rc.conf to configure my NIC. The NIC is connected to a 10mbps HUB, but stay in full-duplex mode (very low performances on the lan).
My NIC is a rtl8139 based one. I try with another rtl8139, and there was the same problem.
>How-To-Repeat:
I don't know which NICs are affected.
>Fix:
I had to specify the media type by hand :
ifconfig_rl0="inet 192.168.1.253  netmask 255.255.255.0 media 10baseT/UTP"
btw, there might be a documentation problem : it seems you can't force a card to use half-duplex when using 10baseT/UTP (with mediaopt).


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: phk 
Responsible-Changed-When: Sat Jun 2 01:58:00 PDT 2001 
Responsible-Changed-Why:  
Over to mr. NIC 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18790 
State-Changed-From-To: open->feedback 
State-Changed-By: silby 
State-Changed-When: Fri Mar 8 12:10:22 PST 2002 
State-Changed-Why:  
This bug should be fixed in 4.5-stable as of a few days ago. 
Please cvsup and see if the problem is gone. 


Responsible-Changed-From-To: wpaul->danny 
Responsible-Changed-By: silby 
Responsible-Changed-When: Fri Mar 8 12:10:22 PST 2002 
Responsible-Changed-Why:  
Danny committed the relevant fix, and will be closing these PRs 
if there is no feedback. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18790 
State-Changed-From-To: feedback->closed 
State-Changed-By: danny 
State-Changed-When: Thu Mar 14 19:26: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=18790 
>Unformatted:
