NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44630: rgephy(4) likes auto-negotiation too much



The following reply was made to PR kern/44630; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/44630: rgephy(4) likes auto-negotiation too much
Date: Thu, 24 Feb 2011 07:53:53 +0000

 On Thu, Feb 24, 2011 at 06:20:00AM +0000, r.tarnell%IEEE.ORG@localhost wrote:
 > >Number:         44630
 > >Category:       kern
 > >Synopsis:       rgephy(4) likes auto-negotiation too much
 ...
 > rgephy(4) enables auto-negotiation even when the user explicitly
 > specifies a media type.  This is unfortunate, because if the switch is
 > forced to 100-FD, the card will fail to negotiate and fall back to
 > 100-HD.  The duplex mismatch makes it so slow as to be unusable.
 > 
 > # ifconfig re0 media 100basetx mediaopt full-duplex
 > # ifconfig re0
 >      ...
 >      media: Ethernet 100baseTX full-duplex (100baseTX half-duplex)
 > >How-To-Repeat:
 > See description.
 > >Fix:
 > This patch will use the user's specified media type unconditionally if
 > the link1 flag is set on the interface.  This is the same fix FreeBSD
 > uses in r215298.  From what I understand, some hardware revisions
 > become confused by this, which is why it's not enabled by default.
 
 Does setting the PHYs autonegotiate advertise register (ANAR)
 to the required mode help?
 IMHO that should be done instead of forcing the actual mode.
 The only time this doesn't work is when the PHY auto-detects between
 10M HDX and 100M HDX (which will work regardless of the ANAR settings).
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index