Problems with tg3 driver in 2.6.0-test9 (+bk24 tg3 patch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a DELL 2650 machine that's previously run very well on 2.4 kernels
and the bcm5700 driver (chipset is bcm5701, rev15).  The interfaces
are connected to a 24-port DELL 5224 GigE switch.

I've upgraded to 2.6.0-test9 (plus tg3.c patch contained in bk24 patch)
and am getting what appears to be some sort of autonegotiation problem -- perhaps
related to a flow control problem on the onboard broadcom GigE interface?
The interfaces come up, but I see "Flow control is off for TX and off for
RX", and ping shows packet loss. (See "experiment 1" output
below).


Next I tried disabled autonegotiation on the switch, and explicitly
enabled 1000Mbps and flow control.  This time it looked like the
driver negotiated correctly, but I still get packet loss with ping.

Anything else I can try?  Anyone else experiencing problems
with the tg3 driver in 2.6.0-test9?


#### With original switch settings -- autoneg on #######


done
eth0 eth0: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:06:5b:f7:96:94
eth1: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:06:5b:f7:96:95
IP/Netmask: 10.60.155.88 / 255.255.255.0 done
eth1 IP/Netmask: 10.60.155.89 / 255.255.255.0 done
Starting syslog services done
Starting hotplugging services [ net pci usb ] failed
Starting RPC portmap daemon done
Starting SSH daemon done
Mount SMB File System unused
Starting sound driver done
Starting ypbind .tg3: eth0: Link is up at 1000 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
. . . . . . . . . No NIS server found done
Starting service automounter done
Loading keymap qwerty/us.map.gz done
Keyboard: Typematic Rate set to 24.0 cps (delay = 500 ms) done
Loading compose table latin1.add done
Loading console font lat1-16.psfu done
Loading screenmap none done
Setting up console ttys done
Starting hardware scan on bootîÿüø done
Starting mail service (Postfix) done
Try to get initial date and time via NTP from timehost1.eng.netapp.codonemehost2.eng.netapp.com
Starting network time protocol daemon (NTPD) done
Starting service kdm done
Starting service at daemon done
Starting CRON daemon done
Starting Name Service Cache Daemon done
Starting inetd done
Master Resource Control: runlevel 5 has been reached
Failed services in runlevel 5: hotplug
Skipped services in runlevel 5: smbfs splash



Welcome to SuSE SLES 8 (powered by UnitedLinux 1.0) (i586) Kernel 2.6.0-test9 (ttyS0).


brickman login: root Password: You have new mail in /var/mail/root. Last login: Thu Nov 20 13:49:23 on ttyS0 # ping 10.60.155.1 PING 10.60.155.1 (10.60.155.1) from 10.60.155.88 : 56(84) bytes of data. 64 bytes from 10.60.155.1: icmp_seq=1 ttl=255 time=0.200 ms 64 bytes from 10.60.155.1: icmp_seq=3 ttl=255 time=0.435 ms 64 bytes from 10.60.155.1: icmp_seq=5 ttl=255 time=0.188 ms 64 bytes from 10.60.155.1: icmp_seq=6 ttl=255 time=0.335 ms 64 bytes from 10.60.155.1: icmp_seq=7 ttl=255 time=0.179 ms 64 bytes from 10.60.155.1: icmp_seq=8 ttl=255 time=0.169 ms 64 bytes from 10.60.155.1: icmp_seq=9 ttl=255 time=0.281 ms 64 bytes from 10.60.155.1: icmp_seq=11 ttl=255 time=0.170 ms

--- 10.60.155.1 ping statistics ---
11 packets transmitted, 8 received, 27% loss, time 10000ms
rtt min/avg/max/mdev = 0.169/0.244/0.435/0.092 ms



#### After disabling autonegotiation on switch ####

brickman:~ # tail /var/log/messages
Nov 20 15:00:12 brickman kernel: tg3: eth0: Link is down.
Nov 20 15:00:15 brickman kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Nov 20 15:00:15 brickman kernel: tg3: eth0: Flow control is on for TX and on for RX.
Nov 20 15:00:37 brickman kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Nov 20 15:00:37 brickman kernel: tg3: eth0: Flow control is on for TX and on for RX.
Nov 20 15:01:03 brickman kernel: tg3.c:v2.3 (November 5, 2003)
Nov 20 15:01:04 brickman kernel: eth0: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:06:5b:f7:96:94
Nov 20 15:01:04 brickman kernel: eth1: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:06:5b:f7:96:95
Nov 20 15:01:33 brickman kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Nov 20 15:01:33 brickman kernel: tg3: eth0: Flow control is on for TX and on for RX.
brickman:~ # ping 10.60.155.1
PING 10.60.155.1 (10.60.155.1) from 10.60.155.88 : 56(84) bytes of data.
64 bytes from 10.60.155.1: icmp_seq=5 ttl=255 time=0.169 ms
64 bytes from 10.60.155.1: icmp_seq=8 ttl=255 time=0.302 ms
64 bytes from 10.60.155.1: icmp_seq=9 ttl=255 time=0.192 ms
64 bytes from 10.60.155.1: icmp_seq=10 ttl=255 time=0.187 ms
64 bytes from 10.60.155.1: icmp_seq=11 ttl=255 time=0.179 ms
64 bytes from 10.60.155.1: icmp_seq=12 ttl=255 time=0.179 ms
64 bytes from 10.60.155.1: icmp_seq=13 ttl=255 time=0.224 ms
64 bytes from 10.60.155.1: icmp_seq=14 ttl=255 time=0.180 ms
64 bytes from 10.60.155.1: icmp_seq=17 ttl=255 time=0.191 ms
64 bytes from 10.60.155.1: icmp_seq=19 ttl=255 time=0.180 ms
64 bytes from 10.60.155.1: icmp_seq=20 ttl=255 time=0.185 ms


--- 10.60.155.1 ping statistics ---
21 packets transmitted, 11 received, 47% loss, time 20001ms
rtt min/avg/max/mdev = 0.169/0.197/0.302/0.036 ms



# lspci
00:00.0 Host bridge: ServerWorks CMIC-LE (rev 13)
00:00.1 Host bridge: ServerWorks CMIC-LE
00:00.2 Host bridge: ServerWorks: Unknown device 0000
00:04.0 Class ff00: Dell Computer Corporation Remote Access Controller:ERA or ERA/O
00:04.1 Class ff00: Dell Computer Corporation Remote Access Controller
00:04.2 Class ff00: Dell Computer Corporation BMC/SMIC device
00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 Host bridge: ServerWorks CSB5 South Bridge (rev 93)
00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)
00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 ISA bridge: ServerWorks GCLE Host Bridge
00:10.0 Host bridge: ServerWorks: Unknown device 0101 (rev 03)
00:10.2 Host bridge: ServerWorks: Unknown device 0101 (rev 03)
00:11.0 Host bridge: ServerWorks: Unknown device 0101 (rev 03)
00:11.2 Host bridge: ServerWorks: Unknown device 0101 (rev 03)
01:08.0 PCI bridge: Intel Corp.: Unknown device 5204 (rev 01)
01:08.1 SCSI storage controller: Intel Corp.: Unknown device 5205 (rev 01)
03:06.0 PCI bridge: Intel Corp.: Unknown device 5204 (rev 01)
03:06.1 SCSI storage controller: Intel Corp.: Unknown device 5205 (rev 01)
05:06.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
05:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
06:08.0 PCI bridge: Intel Corp.: Unknown device 0309 (rev 01)
07:06.0 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)
07:06.1 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)



- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux