RE: Issue with two Intel NICs

"Andrea Cogliati" <[email protected]> Fri, 6 Jun 2003 11:34:22 +0200
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <[email protected]>
On The, 5 Jun 2003, Donald Becker wrote:

>> I have an issue with the following configuration:
>> Intel D845 Motherboard with integrated 82562-based NIC
>> Intel 100/PRO (82559-based) PCI NIC
>> Linux Kernel 2.4.20
>> eepro100 driver v1.26
>> 
>> I can have each of the NICs working alone but I cannot have both 
>> working at the same time.

> This suggests either
>    A hardware problem e.g. sharing bus master lines
>    A routing problem unrelated to the driver.
> 
> What error counts do you see in /proc/net/dev?

Sorry, probably I didn't make myself clear enough. With both NICs
enabled, the
sympton is PING simply hangs (no ICMP errors or whatever); I need to
CTRL-Z
and KILL to stop it.
Anyway, I presume you are right in suggesting an hardware problem. Lots
of
people have issues with this mobo; I've also tried with kernel 2.5.70.
It 
solves the DMA and ACPI issues but doesn't seem to solve this one.
Anyway,
In /proc/net/dev I see Transmit/fifo column increase to the number of
packets
I try to send (that is, after a PING I get 3 packets and 126 bytes
transmitted
And 3 in the fifo column; everything else is 0). I don't know if this
makes
Sense to you.

[...]

>> Index #2: Found a Intel Pro/100 VM-1039 adapter at 0xd800. i82557
chip 
>> registers at 0xd800:
>...
>>    The transmit unit state is 'Idle'.
>>    The receive unit state is 'Idle'.
>
> This interface is not up, but still powered.  It is a little curious
that the BIOS > would leave the plugged-in interface in D3 (sleep)
state, but put the on-board
> interface in D0 powered-up state.

This is the output of lspci -vv, both adapters seem to be in D0 state:

00:00.0 Host bridge: Intel Corp.: Unknown device 2560 (rev 03)
	Subsystem: Intel Corp.: Unknown device 2560
	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-
	Latency: 0
	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [e4] #09 [4105]

00:02.0 VGA compatible controller: Intel Corp.: Unknown device 2562 (rev
03) (prog-if 00 [VGA])
	Subsystem: Intel Corp.: Unknown device 5247
	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-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
	Region 1: Memory at ffa80000 (32-bit, non-prefetchable)
[size=512K]
	Capabilities: [d0] 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:1d.0 USB Controller: Intel Corp.: Unknown device 24c2 (rev 02)
(prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5247
	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
	Interrupt: pin A routed to IRQ 11
	Region 4: I/O ports at e800 [size=32]

00:1d.1 USB Controller: Intel Corp.: Unknown device 24c4 (rev 02)
(prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5247
	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
	Interrupt: pin B routed to IRQ 5
	Region 4: I/O ports at e880 [size=32]

00:1d.2 USB Controller: Intel Corp.: Unknown device 24c7 (rev 02)
(prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5247
	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
	Interrupt: pin C routed to IRQ 9
	Region 4: I/O ports at ec00 [size=32]

00:1d.7 USB Controller: Intel Corp.: Unknown device 24cd (rev 02)
(prog-if 20 [EHCI])
	Subsystem: Intel Corp.: Unknown device 5247
	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
	Interrupt: pin D routed to IRQ 10
	Region 0: Memory at ffa7fc00 (32-bit, non-prefetchable)
[size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] #0a [2080]

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 82) (prog-if
00 [Normal decode])
	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+
	Latency: 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: ff400000-ff8fffff
	Prefetchable memory behind bridge: e6a00000-e6afffff
	BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corp.: Unknown device 24c0 (rev 02)
	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:1f.1 IDE interface: Intel Corp.: Unknown device 24cb (rev 02)
(prog-if 8a [Master SecP PriP])
	Subsystem: Intel Corp.: Unknown device 5247
	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
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at <unassigned> [size=8]
	Region 1: I/O ports at <unassigned> [size=4]
	Region 2: I/O ports at <unassigned> [size=8]
	Region 3: I/O ports at <unassigned> [size=4]
	Region 4: I/O ports at ffa0 [size=16]
	Region 5: Memory at 10000000 (32-bit, non-prefetchable)
[disabled] [size=1K]

00:1f.3 SMBus: Intel Corp.: Unknown device 24c3 (rev 02)
	Subsystem: Intel Corp.: Unknown device 5247
	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 B routed to IRQ 3
	Region 4: I/O ports at e000 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp.: Unknown device 24c5
(rev 02)
	Subsystem: Intel Corp.: Unknown device 0103
	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
	Interrupt: pin B routed to IRQ 3
	Region 0: I/O ports at e400 [size=256]
	Region 1: I/O ports at e080 [size=64]
	Region 2: Memory at ffa7f800 (32-bit, non-prefetchable)
[size=512]
	Region 3: Memory at ffa7f400 (32-bit, non-prefetchable)
[size=256]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:02.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 08)
	Subsystem: Intel Corp. EtherExpress PRO/100+
	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 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 9
	Region 0: Memory at ff8ff000 (32-bit, non-prefetchable)
[size=4K]
	Region 1: I/O ports at dc00 [size=64]
	Region 2: Memory at ff700000 (32-bit, non-prefetchable)
[size=1M]
	Expansion ROM at ff600000 [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-

01:08.0 Ethernet controller: Intel Corp.: Unknown device 1039 (rev 82)
	Subsystem: Intel Corp.: Unknown device 3011
	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 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at ff8fe000 (32-bit, non-prefetchable)
[size=4K]
	Region 1: I/O ports at d880 [size=64]
	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-

Any other advice?

THX,

Andrea