Bug#511393: ethtool: Shows that there is a link when there is none.
On Sat, Jan 10, 2009 at 05:42:22PM +0100, Kurt Roeckx wrote:
> On Sat, Jan 10, 2009 at 04:31:58PM +0000, Ben Hutchings wrote:
> > On Sat, 2009-01-10 at 14:05 +0100, Kurt Roeckx wrote:
> > > Package: ethtool
> > > Version: 6+20080913-1
> > >
> > > Hi,
> > >
> > > On one of the interfaces where there is no cable plugged in, I see:
> > > Supported ports: [ TP ]
> > > Supported link modes: 10baseT/Half 10baseT/Full
> > > 100baseT/Half 100baseT/Full
> > > 1000baseT/Half 1000baseT/Full
> > > Supports auto-negotiation: Yes
> > > Advertised link modes: 10baseT/Half 10baseT/Full
> > > 100baseT/Half 100baseT/Full
> > > 1000baseT/Half 1000baseT/Full
> > > Advertised auto-negotiation: Yes
> > > Speed: Unknown! (0)
> > > Duplex: Half
> > > Port: Twisted Pair
> > > PHYAD: 1
> > > Transceiver: internal
> > > Auto-negotiation: on
> > > Supports Wake-on: g
> > > Wake-on: g
> > > Current message level: 0x000000ff (255)
> > > Link detected: yes
> > >
> > > Notice that is says that a link is detected and the speed is 0.
> >
> > All this information comes straight from the driver. Please specify
> > which driver you are using and the kernel version (or driver version if
> > it's a separate module).
>
> I'm currently running kernel 2.6.26-1-vserver-amd64 (Debian 2.6.26-10)
>
> >From dmesg:
> [ 4.673434] eth1: Tigon3 [partno(BCM95705C3) rev 3003 PHY(5705)] (PCI:33MHz:32-bit) 10/100/1000Base-T Ethernet 00:e0:81:63:cd:b3
> [ 4.673439] eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[0] TSOcap[1]
> [ 4.673442] eth1: dma_rwctrl[763f0000] dma_mask[64-bit]
>
> lspci shows
> 01:0d.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705 Gigabit Ethernet (rev 03)
> 01:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705 Gigabit Ethernet (rev 03)
>
> with -n:
> 01:0d.0 0200: 14e4:1653 (rev 03)
> 01:0e.0 0200: 14e4:1653 (rev 03)
>
> And the driver is probably "tg3".
Does this still occur with more recent kernels?
Cheers,
Moritz
Reply to: