public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problems with Tigon v0.97
@ 2002-03-26 10:22 Andreas Jaeger
  2002-03-26 10:42 ` David S. Miller
  2002-03-26 13:48 ` Alan Cox
  0 siblings, 2 replies; 8+ messages in thread
From: Andreas Jaeger @ 2002-03-26 10:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: David S. Miller, Jeff Garzik


I've plugged for testing a 3C996-T in a 32-bit slot on my Athlon system
lspci -v gives for the unused card:

00:09.0 Ethernet controller: BROADCOM Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 12)
	Subsystem: 3Com Corporation 3C996-T 1000BaseTX
	Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
	Memory at effe0000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] #07 [0002]
	Capabilities: [48] Power Management version 2
	Capabilities: [50] Vital Product Data
	Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-

If I access the card with the broadcom driver bcm5700 from 2.4.18
everything works fine (just brief testing).  But using the Tigeon
v0.97 I cannot send any data to the network.

A modprobe of bcm5700 gives:
Broadcom Gigabit Ethernet Driver bcm5700 with Broadcom NIC Extension (NICE) ver. 2.2.8 (03/07/02)
AMD756: dev 14e4:1644, router pirq : 2 get irq : 11
PCI: Found IRQ 11 for device 00:09.0
Cannot get MAC addr from NVRAM. Using default.
VPD read failed
eth1: 3Com 3C996 10/100/1000 Server NIC found at mem effe0000, IRQ 11, node addr 001018686176
eth1: Broadcom BCM5401 Copper transceiver found
eth1: Scatter-gather ON, 64-bit DMA OFF, Tx Checksum ON, Rx Checksum ON

A modprobe of tg3 gives:
tg3.c:v0.97 (Mar 13, 2002)
AMD756: dev 14e4:1644, router pirq : 2 get irq : 11
PCI: Found IRQ 11 for device 00:09.0
eth1: Tigon3 [partno(BCM95700A6) rev 7102 PHY(5401)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:04:76:3b:39:c7

And after ifconfig eth1 I get:
eth1: Link is up at 100 Mbps, full duplex.
eth1: Flow control is on for TX and on for RX.

But no packets go over the card - and sometimes the whole system
freezes.  Is there some kind of problem with plugging the card into a
32-bit slot?  The same card worked with no problems in a 64-bit slot..

Any further debugging that I can do?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with Tigon v0.97
  2002-03-26 10:22 Problems with Tigon v0.97 Andreas Jaeger
@ 2002-03-26 10:42 ` David S. Miller
  2002-03-26 10:55   ` Andreas Jaeger
  2002-03-26 12:36   ` Jeff Garzik
  2002-03-26 13:48 ` Alan Cox
  1 sibling, 2 replies; 8+ messages in thread
From: David S. Miller @ 2002-03-26 10:42 UTC (permalink / raw)
  To: aj; +Cc: linux-kernel, jgarzik


It's an amd756 chipset bug.  bcm5700 chooses to work around it in
their driver, when it really belongs as a generic PCI fixup in
the kernel.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with Tigon v0.97
  2002-03-26 10:42 ` David S. Miller
@ 2002-03-26 10:55   ` Andreas Jaeger
  2002-03-26 12:36   ` Jeff Garzik
  1 sibling, 0 replies; 8+ messages in thread
From: Andreas Jaeger @ 2002-03-26 10:55 UTC (permalink / raw)
  To: David S. Miller; +Cc: linux-kernel, jgarzik

"David S. Miller" <davem@redhat.com> writes:

> It's an amd756 chipset bug.  bcm5700 chooses to work around it in
> their driver, when it really belongs as a generic PCI fixup in
> the kernel.

What needs to be done for this?  Can you point me to the PCI
workaround in the bcm driver?  

I only found via grep in the sources a workaround for the AMD 762
northbridge but nothing directly for the 756.

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with Tigon v0.97
  2002-03-26 10:42 ` David S. Miller
  2002-03-26 10:55   ` Andreas Jaeger
@ 2002-03-26 12:36   ` Jeff Garzik
  2002-03-26 13:40     ` Alan Cox
  1 sibling, 1 reply; 8+ messages in thread
From: Jeff Garzik @ 2002-03-26 12:36 UTC (permalink / raw)
  To: David S. Miller; +Cc: aj, linux-kernel

David S. Miller wrote:

>It's an amd756 chipset bug.  bcm5700 chooses to work around it in
>their driver, when it really belongs as a generic PCI fixup in
>the kernel.
>

bcm5700 works around AMD762 bug -- and that workaround should be in 
stock 2.4.18 and 2.5.7 kernels now as a PCI quirk.  I think something 
else is going on here...

    Jeff






^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with Tigon v0.97
  2002-03-26 13:48 ` Alan Cox
@ 2002-03-26 13:38   ` Jeff Garzik
  2002-03-26 13:49   ` Andreas Jaeger
  1 sibling, 0 replies; 8+ messages in thread
From: Jeff Garzik @ 2002-03-26 13:38 UTC (permalink / raw)
  To: Alan Cox; +Cc: Andreas Jaeger, linux-kernel, David S. Miller

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

Alan Cox wrote:

>>I've plugged for testing a 3C996-T in a 32-bit slot on my Athlon system
>>lspci -v gives for the unused card:
>>
>
>What chipset ?
>
Andreas' full lspci attached...





[-- Attachment #2: mailbox-message://nobody@Local Folders/Inbox#1013942 --]
[-- Type: message/rfc822, Size: 8357 bytes --]

From: Andreas Jaeger <aj@suse.de>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: "David S. Miller" <davem@redhat.com>
Subject: Re: Problems with Tigon v0.97
Date: Tue, 26 Mar 2002 13:35:35 +0100
Message-ID: <hoadsvmrqg.fsf@gee.suse.de>

Jeff Garzik <jgarzik@mandrakesoft.com> writes:

> Andreas,
>
> can you e-mail full 'lspci -vvv' run as root?

Hi Jeff,

I've appended it,

Andreas

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 120
	Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
	Region 1: Memory at eebff000 (32-bit, prefetchable) [size=4K]
	Region 2: I/O ports at d600 [disabled] [size=4]
	Capabilities: [a0] AGP version 1.0
		Status: RQ=15 SBA+ 64bit- FW- Rate=x1,x2
		Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=x1

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 120
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000b000-0000bfff
	Memory behind bridge: eec00000-efcfffff
	Prefetchable memory behind bridge: e2a00000-e6afffff
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 07) (prog-if 8a [Master SecP PriP])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32
	Region 4: I/O ports at f000 [size=16]

00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev 06) (prog-if 10 [OHCI])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 16 (20000ns max), cache line size 08
	Interrupt: pin D routed to IRQ 10
	Region 0: Memory at efffd000 (32-bit, non-prefetchable) [size=4K]

00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
	Subsystem: Creative Labs CT4830 SBLive! Value
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (500ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 5
	Region 0: I/O ports at d800 [size=32]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:08.1 Input device controller: Creative Labs SB Live! (rev 07)
	Subsystem: Creative Labs Gameport Joystick
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Region 0: I/O ports at de00 [size=8]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:09.0 Ethernet controller: BROADCOM Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 12)
	Subsystem: 3Com Corporation 3C996-T 1000BaseTX
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (16000ns min), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at effe0000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] #07 [0002]
	Capabilities: [48] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [50] Vital Product Data
	Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
		Address: 8c5148924ac624e8  Data: 43b0

00:0a.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet LANCE] (rev 36)
	Subsystem: Allied Telesyn International AT-2700TX 10/100 Fast Ethernet
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (6000ns min, 6000ns max)
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at da00 [size=32]
	Region 1: Memory at efffefe0 (32-bit, non-prefetchable) [size=32]
	Expansion ROM at efe00000 [disabled] [size=1M]
	Capabilities: [40] Power Management version 1
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-

00:0b.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
	Subsystem: Adaptec 29160 Ultra160 SCSI Controller
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (10000ns min, 6250ns max), cache line size 08
	Interrupt: pin A routed to IRQ 10
	BIST result: 00
	Region 0: I/O ports at dc00 [disabled] [size=256]
	Region 1: Memory at effff000 (64-bit, non-prefetchable) [size=4K]
	Expansion ROM at effc0000 [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA])
	Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual Head 32Mb
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (4000ns min, 8000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at e4000000 (32-bit, prefetchable) [size=32M]
	Region 1: Memory at efcfc000 (32-bit, non-prefetchable) [size=16K]
	Region 2: Memory at ef000000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at efce0000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [f0] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
		Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=x1


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with Tigon v0.97
  2002-03-26 12:36   ` Jeff Garzik
@ 2002-03-26 13:40     ` Alan Cox
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Cox @ 2002-03-26 13:40 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: David S. Miller, aj, linux-kernel

> >It's an amd756 chipset bug.  bcm5700 chooses to work around it in
> >their driver, when it really belongs as a generic PCI fixup in
> >the kernel.
> 
> bcm5700 works around AMD762 bug -- and that workaround should be in 
> stock 2.4.18 and 2.5.7 kernels now as a PCI quirk.  I think something 
> else is going on here...

Its not IMHO a chipset bug either. The documentation on the 762 is
quite explicit. It has a nice table and makes it absolutely clear which modes
are PCI 2.2 compliant.

Alan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with Tigon v0.97
  2002-03-26 10:22 Problems with Tigon v0.97 Andreas Jaeger
  2002-03-26 10:42 ` David S. Miller
@ 2002-03-26 13:48 ` Alan Cox
  2002-03-26 13:38   ` Jeff Garzik
  2002-03-26 13:49   ` Andreas Jaeger
  1 sibling, 2 replies; 8+ messages in thread
From: Alan Cox @ 2002-03-26 13:48 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: linux-kernel, David S. Miller, Jeff Garzik

> I've plugged for testing a 3C996-T in a 32-bit slot on my Athlon system
> lspci -v gives for the unused card:

What chipset ?

Alan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with Tigon v0.97
  2002-03-26 13:48 ` Alan Cox
  2002-03-26 13:38   ` Jeff Garzik
@ 2002-03-26 13:49   ` Andreas Jaeger
  1 sibling, 0 replies; 8+ messages in thread
From: Andreas Jaeger @ 2002-03-26 13:49 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, David S. Miller, Jeff Garzik

Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

>> I've plugged for testing a 3C996-T in a 32-bit slot on my Athlon system
>> lspci -v gives for the unused card:
>
> What chipset ?

Gigabyte GA 7IXE,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-03-26 13:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-26 10:22 Problems with Tigon v0.97 Andreas Jaeger
2002-03-26 10:42 ` David S. Miller
2002-03-26 10:55   ` Andreas Jaeger
2002-03-26 12:36   ` Jeff Garzik
2002-03-26 13:40     ` Alan Cox
2002-03-26 13:48 ` Alan Cox
2002-03-26 13:38   ` Jeff Garzik
2002-03-26 13:49   ` Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox