Re: Compaq DL580 dual port nic

Matthew Hall <[email protected]>
Newsgroups gmane.linux.drivers.eepro100.devel
Organization ECSC Ltd.
Message-ID <[email protected]>
On Sat, 2002-08-17 at 10:00, Donald Becker wrote:
> On 15 Aug 2002, Matthew Hall wrote:
> 
> > 	I wonder if you guys can help me. I had a strange experience with the
> > above card a couple of weeks ago when setting up a compaq 2u rack (can't
> > remember the model) with our linux distro (2.4.18 kernel).
> > The card was connected to an isp on adsl (static address) and 
> > would intermittently drop and re-establish the connection. We dropped
> > mii-diag on the interface in "--watch", and watched the card drop the
> > connection and re-establish every 30 seconds (exactly (to millisecond)),
> > which is pretty crazy (!?!?!?) (and unexplainable).
> 
> There is no 30 second "lightning bolt" in the driver (at least in my
> driver releases).
> Did you see any error log messages indicating a reset on the Linux end?
> If not, the link drop was very likely from the DSL modem.
> 

Didn't think it was the driver aswell, and although I could see the card
drop and reinitialise there were no errors logged. Imho, this would mean
the problem was higher than kernel level.

> > What was stranger was, that after rebooting the dsl modem, the card
> > started doing it every 4 seconds, then soon went to every 15 seconds
> > (approx).
> 
> This does pretty much indicate that the DSL modem was triggering the
> link drop.  It could be a cable problem -- a bad cable could cause the
> DSL modem to see invalid receive signals.

I really should've included more in the first message: we did try an
array of different configurations; id est we switched cables, switched
to a second nic (of the same type), restarted the modem, and even went
as far as asking the isp to check the line and reboot their routers.

> 
> > We eventually swapped the nic for another eepro100 single porter, and it
> > worked fine....
> 
> The original eepro100 transceiver might not have been generating a
> strong signal.  Or this might be a marginal situation "solved" just by
> physically re-plugging device.  I recommend checking the cable, and
> swapping the original NIC back to see if the problem can be reproduced.
> 

Unfortunately, it's now at a clients so downtime would not be welcome,
the only info I can get is to grep the log files. I brought the buggy
card back when we switched it, and tested it in one of our standard
server boxen (dell poweredge), and it worked fine; not the proper
testing environment, but close enough. It does thus suggest it was
something to do with the mobo.
I've attached what info i can get passively, what may be of note is that
the interfaces 2 & 3 (ext nic 1) and 4 & 5 (ext nic 2) share the same
irq's (unsure to what extent this may have caused a problem).
Sorry to bother again, but i've been tasked with coming up with a good
explanation as to the cause of the problem, to report back to the client
and/or compaq.
If there's anything else you think i can do over an ssh connection (ie.
non-physical) to find out more i'd be happy to comply.

Thanks,

Matt

> > I have a couple of ideas where the problem may lie, i was just wondering
> > if any of you have experienced similar troubles and could give a hand
> > (and a good explanation if so):
> > 1) Buggy bios (apic messages causing misfunction / irq mismapping)
> 
> This wouldn't cause a problem unless the driver ended up resetting the
> transceiver. 
> 
> > 2) Hardware (fscked card / mobo)
> > 3) Driver (this is where youz come in: no ideas)
> 
> -- 
> Donald Becker				[email protected]
> Scyld Computing Corporation		http://www.scyld.com
> 410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
> Annapolis MD 21403			410-990-9993
-- 
- -- --- ---- .                                   .---- --- -- -
Matthew Hall   \ http://people.ecsc.co.uk/~matt/ /
[email protected] '-------------------------------'

Sig: 'Don't use a big word where a diminutive one will suffice.'
messages (text/plain, 3.6 KB)
Jul 23 18:07:54 installed kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
Jul 23 18:07:54 installed kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <[email protected]> and others
Jul 23 18:07:54 installed kernel: eth0: OEM i82557/i82558 10/100 Ethernet, 00:08:02:25:53:39, IRQ 18.
Jul 23 18:07:54 installed kernel:   Board assembly 010933-001, Physical connectors present: RJ45
Jul 23 18:07:54 installed kernel:   Primary interface chip i82555 PHY #1.
Jul 23 18:07:55 installed kernel:   General self-test: passed.
Jul 23 18:07:55 installed kernel:   Serial sub-system self-test: passed.
Jul 23 18:07:55 installed kernel:   Internal registers self-test: passed.
Jul 23 18:07:55 installed kernel:   ROM checksum self-test: passed (0x04f4518b).
Jul 23 18:07:55 installed kernel: eth1: OEM i82557/i82558 10/100 Ethernet, 00:08:02:25:53:38, IRQ 20.
Jul 23 18:07:55 installed kernel:   Board assembly 010933-001, Physical connectors present: RJ45
Jul 23 18:07:55 installed kernel:   Primary interface chip i82555 PHY #1.
Jul 23 18:07:55 installed kernel:   General self-test: passed.
Jul 23 18:07:55 installed kernel:   Serial sub-system self-test: passed.
Jul 23 18:07:55 installed kernel:   Internal registers self-test: passed.
Jul 23 18:07:55 installed kernel:   ROM checksum self-test: passed (0x04f4518b).
Jul 23 18:07:55 installed kernel: eth2: OEM i82557/i82558 10/100 Ethernet, 00:08:02:3C:F6:7A, IRQ 28.
Jul 23 18:07:55 installed kernel:   Board assembly 010555-002, Physical connectors present: RJ45
Jul 23 18:07:55 installed kernel:   Primary interface chip i82555 PHY #1.
Jul 23 18:07:56 installed kernel:   General self-test: passed.
Jul 23 18:07:56 installed kernel:   Serial sub-system self-test: passed.
Jul 23 18:07:56 installed kernel:   Internal registers self-test: passed.
Jul 23 18:07:56 installed kernel:   ROM checksum self-test: passed (0x04f4518b).
Jul 23 18:07:56 installed kernel: eth3: OEM i82557/i82558 10/100 Ethernet, 00:08:02:3C:F6:7B, IRQ 28.
Jul 23 18:07:56 installed kernel:   Board assembly 010555-002, Physical connectors present: RJ45
Jul 23 18:07:56 installed kernel:   Primary interface chip i82555 PHY #1.
Jul 23 18:07:56 installed kernel:   General self-test: passed.
Jul 23 18:07:56 installed kernel:   Serial sub-system self-test: passed.
Jul 23 18:07:56 installed kernel:   Internal registers self-test: passed.
Jul 23 18:07:56 installed kernel:   ROM checksum self-test: passed (0x04f4518b).
Jul 23 18:07:56 installed kernel: eth4: OEM i82557/i82558 10/100 Ethernet, 00:02:A5:5C:C2:CE, IRQ 29.
Jul 23 18:07:56 installed kernel:   Board assembly 010555-001, Physical connectors present: RJ45
Jul 23 18:07:56 installed kernel:   Primary interface chip i82555 PHY #1.
Jul 23 18:07:57 installed kernel:   General self-test: passed.
Jul 23 18:07:57 installed kernel:   Serial sub-system self-test: passed.
Jul 23 18:07:57 installed kernel:   Internal registers self-test: passed.
Jul 23 18:07:57 installed kernel:   ROM checksum self-test: passed (0x04f4518b).
Jul 23 18:07:57 installed kernel: eth5: OEM i82557/i82558 10/100 Ethernet, 00:02:A5:5C:C2:CF, IRQ 29.
Jul 23 18:07:57 installed kernel:   Board assembly 010555-001, Physical connectors present: RJ45
Jul 23 18:07:57 installed kernel:   Primary interface chip i82555 PHY #1.
Jul 23 18:07:57 installed kernel:   General self-test: passed.
Jul 23 18:07:57 installed kernel:   Serial sub-system self-test: passed.
Jul 23 18:07:57 installed kernel:   Internal registers self-test: passed.
Jul 23 18:07:57 installed kernel:   ROM checksum self-test: passed (0x04f4518b).
lspci (text/plain, 9.7 KB)
00:00.0 Host bridge: ServerWorks CNB20HE Host Bridge (rev 23)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:00.1 Host bridge: ServerWorks CNB20HE Host Bridge (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: 64, cache line size 08

00:00.2 Host bridge: ServerWorks: Unknown device 0006 (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-

00:00.3 Host bridge: ServerWorks: Unknown device 0006 (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-

00:01.0 RAID bus controller: Compaq Computer Corporation: Unknown device b178 (rev 01)
	Subsystem: Compaq Computer Corporation: Unknown device 4080
	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: 71, cache line size 08
	Interrupt: pin A routed to IRQ 3
	Region 0: Memory at f7ac0000 (64-bit, non-prefetchable) [size=256K]
	Region 2: I/O ports at 2000 [size=256]
	Region 3: Memory at f5ef0000 (64-bit, prefetchable) [size=16K]
	Expansion ROM at <unassigned> [disabled] [size=16K]
	Capabilities: [c0] 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: [cc] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
		Address: 0000000000000000  Data: 0000
	Capabilities: [dc] PCI-X non-bridge device.
		Command: DPERE- ERO- RBC=0 OST=3
		Status: Bus=0 Dev=0 Func=0 64bit- 133MHz- SCD- USC-, DC=simple, DMMRBC=0, DMOST=0, DMCRS=0, RSCEM-

00:02.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 08)
	Subsystem: Compaq Computer Corporation: Unknown device b134
	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 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at f7ab0000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at 2400 [size=64]
	Region 2: Memory at f7900000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled] [size=1M]
	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=2 PME-

00:04.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 08)
	Subsystem: Compaq Computer Corporation: Unknown device b134
	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 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 7
	Region 0: Memory at f78f0000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at 2440 [size=64]
	Region 2: Memory at f7700000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled] [size=1M]
	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=2 PME-

00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) (prog-if 00 [VGA])
	Subsystem: ATI Technologies Inc: Unknown device 8008
	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 (2000ns min), cache line size 08
	Region 0: Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: I/O ports at 2800 [size=256]
	Region 2: Memory at f5ff0000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: [5c] 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-

00:06.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
	Subsystem: Compaq Computer Corporation: Unknown device b0f3
	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-
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at 1800 [size=256]
	Region 1: Memory at f5fe0000 (32-bit, non-prefetchable) [size=256]

00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 51)
	Subsystem: ServerWorks OSB4 South Bridge
	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:0f.1 IDE interface: ServerWorks OSB4 IDE Controller (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: 64
	Region 4: I/O ports at 2c00 [size=16]

00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 04) (prog-if 10 [OHCI])
	Subsystem: ServerWorks OSB4/CSB5 OHCI USB 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 (20000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f5fd0000 (32-bit, non-prefetchable) [size=4K]

01:03.0 Communication controller: Lucent Microelectronics LT WinModem (rev 02)
	Subsystem: Askey Computer Corp.: Unknown device 1515
	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 (63000ns min, 3500ns max)
	Interrupt: pin A routed to IRQ 15
	Region 0: Memory at f7bf0000 (32-bit, non-prefetchable) [size=256]
	Region 1: I/O ports at 3000 [size=8]
	Region 2: I/O ports at 3400 [size=256]
	Capabilities: [f8] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=160mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

07:03.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03) (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: 64, cache line size 08
	Bus: primary=07, secondary=08, subordinate=08, sec-latency=64
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: f7e00000-f7ffffff
	Prefetchable memory behind bridge: 00000000f7c00000-00000000f7c00000
	BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=220mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
		Bridge: PM- B3+

07:07.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 12)
	Subsystem: Compaq Computer Corporation: Unknown device a2f9
	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-
	Interrupt: pin A routed to IRQ 15
	Region 0: Memory at f7df0000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
		Address: 0000000000000000  Data: 0000

08:04.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 05)
	Subsystem: Intel Corporation EtherExpress PRO/100+ Dual Port Adapter
	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 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f7cf0000 (32-bit, prefetchable) [size=4K]
	Region 1: I/O ports at 4000 [size=32]
	Region 2: Memory at f7f00000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled] [size=1M]
	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-

08:05.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 05)
	Subsystem: Intel Corporation EtherExpress PRO/100+ Dual Port Adapter
	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 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f7ce0000 (32-bit, prefetchable) [size=4K]
	Region 1: I/O ports at 4020 [size=32]
	Region 2: Memory at f7e00000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled] [size=1M]
	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-
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9Y1REw5xT5S6r89URAuAKAJ4pfwoCdi+HgVigzfe6UF69+2H0dACfWhhe
A4AMnbKESz6xilkTbz1DPe0=
=Ux+M
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.