Your message dated Fri, 24 Apr 2009 00:33:36 +0100
with message-id <1240529616.3605.52.ca...@deadeye.i.decadent.org.uk>
and subject line Re: Bug#525296: other stuff I tried
has caused the Debian Bug report #525296,
regarding Cannot set tg3 interface to full duplex
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
525296: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525296
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-2.6.26-1-686
Version: 2.6.26-13lenny2
Neither mii-tool nor ethtool can set my network interface to full
duplex. This is a huge problem here.
img2:/usr/bin# mii-tool eth0
eth0: no autonegotiation, 100baseTx-HD, link ok
img2:/usr/bin# mii-tool -F 100baseTx-FD eth0
img2:/usr/bin# mii-tool
eth0: no autonegotiation, 100baseTx-HD, link ok
mg2:/usr/bin# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
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: g
Current message level: 0x000000ff (255)
Link detected: yes
img2:/usr/bin# ethtool -s eth0 duplex full
img2:/usr/bin# ethtool eth0 | grep -i duplex
Duplex: Half
img2:/usr/bin# dmesg | grep eth0
[ 3.876281] eth0: Tigon3 [partno(N/A) rev 4201 PHY(5750)] (PCI Express)
10/100/1000Base-T Ethernet 00:1b:78:39:80:33
[ 3.876281] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] WireSpeed[1]
TSOcap[1]
[ 3.876281] eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[ 22.658189] tg3: eth0: Link is up at 100 Mbps, half duplex.
[ 22.658321] tg3: eth0: Flow control is off for TX and off for RX.
[ 25.861528] tg3: eth0: Link is down.
[ 27.903339] tg3: eth0: Link is up at 100 Mbps, half duplex.
[ 27.903339] tg3: eth0: Flow control is off for TX and off for RX.
[ 33.220687] eth0: no IPv6 routers present
[2170329.216069] tg3: eth0: Link is down.
[2170331.343752] tg3: eth0: Link is up at 100 Mbps, half duplex.
[2170331.343752] tg3: eth0: Flow control is off for TX and off for RX.
[2170387.843919] tg3: eth0: Link is down.
[2170389.865407] tg3: eth0: Link is up at 100 Mbps, half duplex.
[2170389.865407] tg3: eth0: Flow control is off for TX and off for RX.
[2170471.002564] tg3: eth0: Link is down.
[2170473.081719] tg3: eth0: Link is up at 100 Mbps, half duplex.
[2170473.081719] tg3: eth0: Flow control is off for TX and off for RX.
I'll try -2-686 but I don't expect it to work differently. Then I
suppose I'll try building custom kernels, or maybe I'll try grabbing
the tg3 driver from 2.6.18 or 2.6.8, back when things worked.
--- End Message ---
--- Begin Message ---
On Thu, 2009-04-23 at 15:10 -0400, Greg Wooledge wrote:
[...]
> Next, I rebooted into etch's 2.6.18-6-686 kernel (this is an etch->lenny
> box, with the old kernel still there). This works fine for me, as far
> as I can tell so far. The NIC goes into full duplex mode due to the
> "up sleep 5; mii-tool -F 100baseTx-FD eth0" line I have in
> /etc/network/interfaces, and all the things that should be running
> (NFS, Samba) appear to be running.
So you enable autonegotiation and then use mii-tool to override it
behind the driver's back, and you expect this to work somehow? Forget
it; this is not a bug. Either use autonegotiation and fix whatever is
wrong with the other end of the link, or disable autonegotiation and
force settings with ethtool.
Ben.
signature.asc
Description: This is a digitally signed message part
--- End Message ---