Package: ethtool
Version: 5-1
Severity: normal

Fails to detect the current duplex setting:

img2:~# mii-tool eth0
eth0: 100 Mbit, full duplex, link ok
img2:~# ethtool eth0 | grep -i duplex
        Duplex: Half

(mii-tool's output is correct.)

Fails to set the duplex correctly:

img2:~# ethtool -s eth0 duplex full
img2:~# mii-tool eth0
eth0: no autonegotiation, 100baseTx-HD, link ok
img2:~# ethtool eth0 | grep -i duplex
        Duplex: Half

Performing an actual transfer of data from this host to another host
reveals that, indeed, the interface is operating at the wrong duplex
setting.

The "ethtool -s eth0 duplex full" test seems to have caused these kernel
messages (for whatever that's worth):

Dec 27 10:45:49 img2 kernel: tg3: eth0: Link is down.
Dec 27 10:45:51 img2 kernel: tg3: eth0: Link is up at 100 Mbps, half duplex.
Dec 27 10:45:51 img2 kernel: tg3: eth0: Flow control is off for TX and off for 
RX.

Hardware information:

img2:/var/log# dmesg | egrep 'tg3|eth0'
tg3.c:v3.65 (August 07, 2006)
eth0: Tigon3 [partno(N/A) rev 4201 PHY(5750)] (PCI Express) 10/100/1000BaseT 
Ethernet 00:1b:78:39:80:33
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[1] TSOcap[1] 
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
...

Here's the full output of ethtool, after I used mii-tool to repair the
duplex setting:

img2:~# 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

Bug #440319 is related to this one, but only as background information
about why I was trying to use ethtool at all.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ethtool depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries

ethtool recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to