Bug 22434

Summary: problem with certain NIC's using rl on autoselect(10/100)
Product: Base System Reporter: Justin Stanford <jus>
Component: miscAssignee: danny <danny>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description Justin Stanford 2000-10-31 05:30:01 UTC
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.

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).
How-To-Repeat: Boot a machine with a Realtek based ethernet NIC on a 10mbit LAN.
Comment 1 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-10-31 13:41:22 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Refile.
Comment 2 iedowse freebsd_committer freebsd_triage 2001-11-17 21:04:05 UTC
State Changed
From-To: open->feedback


Does this problem still occur in more recent releases?
Comment 3 silby freebsd_committer freebsd_triage 2002-03-06 07:12:01 UTC
Responsible Changed
From-To: freebsd-bugs->danny

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.
Comment 4 danny freebsd_committer freebsd_triage 2002-03-15 03:29:51 UTC
State Changed
From-To: feedback->closed

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