touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #100905
[Bug 860064] Re: mii-tool in displays advertising and link partner fields backwards
** Changed in: net-tools (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to net-tools in Ubuntu.
https://bugs.launchpad.net/bugs/860064
Title:
mii-tool in displays advertising and link partner fields backwards
Status in net-tools package in Ubuntu:
Triaged
Status in net-tools source package in Lucid:
Won't Fix
Status in net-tools source package in Precise:
Triaged
Status in net-tools source package in Trusty:
Triaged
Status in net-tools source package in Utopic:
Triaged
Status in net-tools package in Debian:
Fix Released
Bug description:
I have a gigabit ethernet card in my box, but only fast ethernet
switch. When I use mii-tool, it report that it my card only advertises
up to a 100baseTx link, but that my switch advertises up to a
1000baseT link. These are backwards. ethtool gets it right.
Since newer versions (with newer releases) only have a single change
(an updated header list), I assume those versions suffer the same bug.
See the listing below of running mii-tool vs ethtool on the same
interface, and note that advertised and link partner fields are
reversed in the two tools:
jwcacces@__myhostname__:~$ lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04
jwcacces@__myhostname__:~$ dpkg -S `which mii-tool`
net-tools: /sbin/mii-tool
jwcacces@__myhostname__:~$ dpkg -p net-tools
Package: net-tools
Priority: important
Section: net
Installed-Size: 1044
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
Architecture: amd64
Version: 1.60-23ubuntu2
Replaces: ja-trans (<= 0.8-2), netbase (<< 4.00)
Depends: libc6 (>= 2.4)
Conflicts: ja-trans (<= 0.8-2)
Size: 259342
Description: The NET-3 networking toolkit
This package includes the important tools for controlling the network
subsystem of the Linux kernel. This includes arp, ifconfig, netstat,
rarp, nameif and route. Additionally, this package contains utilities
relating to particular network hardware types (plipconfig, slattach,
mii-tool) and advanced aspects of IP configuration (iptunnel, ipmaddr).
.
In the upstream package 'hostname' and friends are included. Those are
not installed by this package, since there is a special "hostname*.deb".
Original-Maintainer: net-tools Team <pkg-net-tools-maintainers@xxxxxxxxxxxxxxxxxxxxxxx>
jwcacces@__myhostname__:~$ apt-cache policy net-tools
net-tools:
Installed: 1.60-23ubuntu2
Candidate: 1.60-23ubuntu2
Version table:
*** 1.60-23ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
jwcacces@__myhostname__:~$ dpkg -S `which ethtool`
ethtool: /usr/sbin/ethtool
jwcacces@__myhostname__:~$ dpkg -p ethtool
Package: ethtool
Priority: optional
Section: utils
Installed-Size: 268
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
Architecture: amd64
Version: 6+20091202-1ubuntu1
Depends: libc6 (>= 2.7)
Conflicts: sparc-utils (<< 1.9-1)
Size: 74094
Description: display or change Ethernet device settings
ethtool can be used to query and change settings such as speed, auto-
negotiation and checksum offload on many network devices, especially
Ethernet devices.
Homepage: http://sourceforge.net/projects/gkernel/
Original-Maintainer: Anibal Monsalve Salazar <anibal@xxxxxxxxxx>
jwcacces@__myhostname__:~$ apt-cache policy ethtool
ethtool:
Installed: 6+20091202-1ubuntu1
Candidate: 6+20091202-1ubuntu1
Version table:
*** 6+20091202-1ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
100 /var/lib/dpkg/status
6+20091202-1 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
jwcacces@__myhostname__:~$ sudo mii-tool -v eth1
eth1: negotiated 100baseTx-FD flow-control, link ok
product info: vendor 00:07:32, model 17 rev 3
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
jwcacces@__myhostname__:~$ sudo ethtool eth1
Settings for eth1:
Supported ports: [ TP 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 pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/860064/+subscriptions