[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
On Wed, Nov 30, 2011 at 02:15:05AM +0000, Brian Buhrow wrote:
> Hello. I realize this bug is incredibly old, but I've recently
> written a patch which addresses this very issue. The patch essentially
> turns on Nway negotiation on a NIC when its mode is set either to auto or
> to 1000baset with any mediaopt options. This has the nice side effect of
> also allowing a NIC to regain link if a connection is lost after theinitial
> ifconfig is run at boot time or reconfig time.
> If you could try the following patch and see if it makes things work
> better for you, I'll commit and request a pullup for 5.x. I've tested this
> patch against 4.x and 5.x, and am working on testing against current, but I
> think it will work against 3.x, 2.x, and pretty much anything since we got
> the mii code.
> Please let me know what you find.
With this patch it can give some strange things:
# ifconfig wm0
wm0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 150
media: Ethernet 1000baseT (1000baseT full-duplex)
I asked for 1000baseT, it negociated (and is using) 1000baseT full-duplex.
But the link is up and working.
But there's something worse: I configured the cisco to negociate
only 100baseTX, and I get:
media: Ethernet 1000baseT (100baseTX full-duplex)
I think there's some filtering missing on our side to only
advertise/accept the configured media (basically 'media 1000baseT' is now
an alias for 'media auto').
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |