Bug#561851: mii-tool reports the wrong speed

Russell Coker russell at coker.com.au
Wed Aug 11 07:05:37 UTC 2010


# ethtool eth2|grep Speed
        Speed: 100Mb/s
# mii-tool -v eth2
eth2: negotiated 1000baseT-HD flow-control, link ok
  product info: Intel 82555 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD
  advertising:  1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD flow-control
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD

The system on which I ran the above commands has no Gig-e ports.  ethtool gets 
the right answer (or at least something that seems plausible) while mii-tool 
gets a bogus answer of 100baseT-HD.  I've reproduced this problem with other 
ports on the same system.  It's a P3 desktop system running kernel linux-
image-2.6.32-5-686 version 2.6.32-18, net-tools version 1.60-23, and ethtool 
2.6.34-2.

# mii-tool   
eth0: no link
eth1: negotiated 1000baseT-HD flow-control, link ok
eth2: negotiated 1000baseT-HD flow-control, link ok
# ethtool eth1|grep Speed 
        Speed: 100Mb/s
# ethtool eth2|grep Speed
        Speed: 100Mb/s

The system that I used to run the above commands was an AMD64 system but 
otherwise had the same versions.

# mii-tool 
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: no link
eth2: negotiated 1000baseT-HD flow-control, link ok
crombian:~# ethtool eth2 |grep Speed
        Speed: 100Mb/s

The above commands were run on another AMD64 system with the same versions.

All three systems have the same Intel E100 dual-port Ethernet cards.  The 
cards were purchased second-hand from the same batch and had probably been in 
the same batch when new.





More information about the Pkg-net-tools-maintainers mailing list