Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-sparc
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-sparc@g.o
From: Andrew Gaffney <agaffney@g.o>
Subject: Re: qfe (hme?) link bug ?
Date: Wed, 25 Oct 2006 14:04:05 -0500
Leif Sawyer wrote:
> I've been trying to figure out what the inconsistancy is in the
> sparc ethernet model with relation to link up/down for hotplug events.
> 
> My qfe interface defaults at boot to "autoneg on", and 100/full 
> as verified with ethtool.
> 
> if I unplug the cable, I should see a NETLINK event that the interface
> is down, so that hotplug/netplug can take action.
> 
> This does not seem to happen.
> What does seem to happen is that the interface resets itself into
> 10/half, and the link-detect stays active.
> 
> if I 'touch' the interface with ethtool in set mode, say, 
> "ethtool -s eth2 autoneg on" -- which is the current setting anyway --
> the interface finally shows link down, and I see kernel messages
> from the driver stating this.
> 
> This would seem to be a bug in the re-negotiation code. Link-detect
> should be 'no' until we've successfully renegotiated a carrier,
> especially if we've suddenly changed speed/duplex.

This bug may not be specific to this driver. I saw something similar recently on 
some Dual Opteron servers here at work with Broadcom gigabit ethernet with the 
2006.1 LiveCD and kernel 2.6.17-gentoo-r5. When the machine booted up, I only 
had a cable plugged into eth1. While eth1 showed 100/full, eth0 showed 10/half 
until I did 'ifconfig eth0 up/down'.

I currently have 2.6.16-hardened-r11 running on those boxes, and one box still 
has nothing plugged into eth0, but mii-tool shows that it's down. It could be a 
difference in the bootup procedure or a bug that was introduced in 2.6.17. What 
kernel are you seeing this with?

-- 
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project
Today's lesson in political correctness:      "Go asphyxiate on a phallus"
-- 
gentoo-sparc@g.o mailing list


References:
qfe (hme?) link bug ?
-- Leif Sawyer
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
qfe (hme?) link bug ?
Next by thread:
RE: qfe (hme?) link bug ?
Previous by date:
qfe (hme?) link bug ?
Next by date:
RE: qfe (hme?) link bug ?


Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.