[ale] ethtool and mii-tool disagree

Jeff Lightner jlightner at water.com
Fri Dec 8 15:36:32 EST 2006


Why would ethtool and mii-tool show different configs for the same NIC?
I've seen older NICs that ethtool wouldn't talk to but this is first
time I've seen this.

That is why does mii-tool show it running 100 Full but ethtool show it
running 100 Half?

We have a server with NIC reported by lspci as:
0a:0b.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705_2
Gigabit Ethernet (rev 03)

When we check it with mii-tool we see:

mii-tool -v eth0

eth0: 100 Mbit, full duplex, link ok
  product info: vendor 00:08:18, model 26 rev 2
  basic mode:   100 Mbit, full duplex
  basic status: link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control

However when we check it with ethtool we see:

ethtool eth0

Settings for eth0:
        Supported ports: [ MII ]
        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: 100Mb/s
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x000000ff (255)
        Link detected: yes
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list