tg3 timeouts with 2.6.17-rc6

2006-06-16 Thread Juergen Kreileder
Hi,

I'm seeing frequent network timeouts on my PowerMac G5 Quad with
2.6.17-rc6.  The timeouts are easily reproducible with moderate
network traffic, e.g. by using bittorrent.

,
| NETDEV WATCHDOG: lan0: transmit timed out
| tg3: lan0: transmit timed out, resetting
| tg3: tg3_stop_block timed out, ofs=2c00 enable_bit=2
| tg3: tg3_stop_block timed out, ofs=1400 enable_bit=2
| tg3: lan0: Link is down.
| [...]
| tg3: lan0: Link is up at 1000 Mbps, full duplex.
| tg3: lan0: Flow control is on for TX and on for RX.
`


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: tg3 timeouts with 2.6.17-rc6

2006-06-16 Thread Juergen Kreileder
Michael Chan [EMAIL PROTECTED] writes:

 Juergen Kreileder

 I'm seeing frequent network timeouts on my PowerMac G5 Quad with
 2.6.17-rc6.  The timeouts are easily reproducible with moderate
 network traffic, e.g. by using bittorrent.


 Did this use to work with an older kernel or older tg3 driver? If
 yes, what version?

Works fine with 2.6.16 and earlier.

 Please also provide the full tg3 probing output during modprobe and
 ifconfig up. Thanks.

,
| tg3.c:v3.58 (May 22, 2006)
| eth0: Tigon3 [partno(BCM95780) rev 8003 PHY(5780)] (PCIX:133MHz:64-bit) 
10/100/1000BaseT Ethernet 00:14:51:66:ff:b2
| eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] 
TSOcap[1] 
| eth0: dma_rwctrl[76144000] dma_mask[40-bit]
| eth1: Tigon3 [partno(BCM95780) rev 8003 PHY(5780)] (PCIX:133MHz:64-bit) 
10/100/1000BaseT Ethernet 00:14:51:66:ff:b3
| eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] 
TSOcap[1] 
| eth1: dma_rwctrl[76144000] dma_mask[40-bit]
| [...]
| tg3: lan0: Link is up at 1000 Mbps, full duplex.
| tg3: lan0: Flow control is on for TX and on for RX.
`

eth0 and eth1 get renamed to lan0 and lan1 by udev.  eth0/lan0 is
connected to a Gigabit switch eth1/lan1 is not connected.
Both interface are controlled by ifplugd (using SIOCETHTOOL for link
beat detection).

Let me know if you need more debugging output.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: tg3 timeouts with 2.6.17-rc6

2006-06-16 Thread Juergen Kreileder
Michael Chan [EMAIL PROTECTED] writes:

 On Fri, 2006-06-16 at 23:20 +0200, Juergen Kreileder wrote:
 Michael Chan [EMAIL PROTECTED] writes:


 Did this use to work with an older kernel or older tg3 driver? If
 yes, what version?

 Works fine with 2.6.16 and earlier.

 Please also provide the full tg3 probing output during modprobe
 and ifconfig up. Thanks.

 Looking at the patch history since 2.6.16, the only patch that could
 have an impact is the one that enables TSO by default.

 Please try turning TSO off to see if it makes a difference:

 ethtool -K eth0 tso off

Seems to work fine with TSO disabled.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html