[ale] ethtool and mii-tool disagree
Jeff Lightner
jlightner at water.com
Sat Dec 9 18:40:51 EST 2006
Not the point. I'm not asking which is right but rather why two tools
on the same server interrogating the same NIC wouldn't both give the
same answer.
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
To: ale at ale.org
Christopher Fowler
Sent: Friday, December 08, 2006 4:05 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] ethtool and mii-tool disagree
What does the cisco switch say?
On Fri, 2006-12-08 at 15:36 -0500, Jeff Lightner wrote:
> 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
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list