tg3: LKML fix (MAC_STATUS_SIGNAL_DET) still fails on an IBM blade with auto-neg

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

 




Tried the following on an IBM HS20 Blade:

1. Put back in the auto-neg code segment (if this is commented out things work)
2. Added in the LKML fix: this was on 2.6.8-1.521smp
with the 3.8 driver from Linus BK. Alas I still could not bring the NIC up.


tg3.c:v3.8 (July 14, 2004)
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 177
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(BCM95704A41) rev 2002 PHY(serdes)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:0d:60:9c:03:e6
eth0: HostTXDS[1] RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[1] TSOcap[0]
ACPI: PCI interrupt 0000:01:00.1[B] -> GSI 17 (level, low) -> IRQ 185
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(BCM95704A41) rev 2002 PHY(serdes)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:0d:60:9c:03:e7
eth1: HostTXDS[1] RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
ip_tables: (C) 2000-2002 Netfilter core team
Disabled Privacy Extensions on device 02343560(lo)
ip_tables: (C) 2000-2002 Netfilter core team
tg3: eth0: HW autoneg failed !
tg3: tg3_stop_block timed out, ofs=4000 enable_bit=2


In case it helps, this is what bcm5700 reports (is it disabling auto-neg?)

Broadcom Gigabit Ethernet Driver bcm5700 with Broadcom NIC Extension (NICE) ver. 7.3.5 (06/23/04)
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 177
bcm5700-0: TSO not available on this NIC
divert: allocating divert_blk for eth0
eth0: Broadcom BCM5704 1000Base-SX found at mem fbff0000, IRQ 177, node addr 000d609c03e6
eth0: Broadcom BCM5704 Integrated SerDes transceiver found
eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON, 802.1Q VLAN ON, NAPI ON
ACPI: PCI interrupt 0000:01:00.1[B] -> GSI 17 (level, low) -> IRQ 185
divert: allocating divert_blk for eth1
eth1: Broadcom BCM5704 1000Base-SX found at mem fbfd0000, IRQ 185, node addr 000d609c03e7
eth1: Broadcom BCM5704 Integrated SerDes transceiver found
eth1: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON, 802.1Q VLAN ON, TSO ON
ip_tables: (C) 2000-2002 Netfilter core team
bcm5700: eth0 NIC Link is UP, 1000 Mbps full duplex






(taken from LKML)

===== drivers/net/tg3.c 1.199 vs edited =====
--- 1.199/drivers/net/tg3.c	2004-08-18 19:52:35 -07:00
+++ edited/drivers/net/tg3.c	2004-08-30 15:08:07 -07:00
@@ -5602,7 +5602,8 @@
				need_setup = 1;
			}
			if (! netif_carrier_ok(tp->dev) &&
-			    (mac_stat & MAC_STATUS_PCS_SYNCED)) {
+			    (mac_stat & (MAC_STATUS_PCS_SYNCED |
+					 MAC_STATUS_SIGNAL_DET))) {
				need_setup = 1;
			}
			if (need_setup) {




- : 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