[tulip] Cogent EM400 interrupt problem
Marco Flohrer
marco.flohrer@informatik.tu-chemnitz.de
Tue, 30 May 2000 15:36:04 +0200 (MET DST)
It seems that i actually can only use the first port of my multiport board.
It is an Cogent EM400 (4 * 100MBit-only) on a ASUS P5A-B motherboard
(Award BIOS). The BIOS gives every port another interrupt but tulip.c
detects for all ports the same interrupt.
The fitst port have in booth cases the same irq, so it runs.
The following schows outputs from 'dmesg', 'cat /proc/pci',
'cat /proc/interrupts', 'cat /proc/ioports', tulipdiag an the result of a
'ping' to the other station connected via crossover cable on the second
port.
PS: i use kernel version 2.2.14 and it's included tulip.c
eth2: Digital DS21140 Tulip rev 32 at 0xb800, 00:00:92:95:2A:C8, IRQ 11.
eth2: EEPROM default media type Autosense.
eth2: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block.
eth2: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
eth3: Digital DS21140 Tulip rev 32 at 0xb400, EEPROM not present, 00:00:92:95:2A:C9, IRQ 11.
eth3: Controller 1 of multiport board.
eth3: EEPROM default media type Autosense.
eth3: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block.
eth3: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
eth4: Digital DS21140 Tulip rev 32 at 0xb000, EEPROM not present, 00:00:92:95:2A:CA, IRQ 11.
eth4: Controller 2 of multiport board.
eth4: EEPROM default media type Autosense.
eth4: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block.
eth4: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
eth5: Digital DS21140 Tulip rev 32 at 0xa800, EEPROM not present, 00:00:92:95:2A:CB, IRQ 11.
eth5: Controller 3 of multiport board.
eth5: EEPROM default media type Autosense.
eth5: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block.
eth5: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Acer Labs M1541 Aladdin V (rev 4).
Slow devsel. Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xe0000000 [0xe0000000].
Bus 0, device 1, function 0:
PCI bridge: Acer Labs M5243 AGP (rev 4).
Slow devsel. Master Capable. Latency=64. Min Gnt=8.
Bus 0, device 3, function 0:
Bridge: Acer Labs M7101 PMU (rev 0).
Medium devsel. Fast back-to-back capable.
Bus 0, device 7, function 0:
ISA bridge: Acer Labs M1533 Aladdin IV (rev 195).
Medium devsel. Master Capable. No bursts.
Bus 0, device 9, function 0:
PCI bridge: DEC DC21050 (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. Min Gnt=4.
Bus 0, device 10, function 0:
Ethernet controller: DEC DC21041 (rev 33).
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=32.
I/O at 0x9800 [0x9801].
Non-prefetchable 32 bit memory at 0xdc800000 [0xdc800000].
Bus 0, device 11, function 0:
Ethernet controller: DEC DC21041 (rev 33).
Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=32.
I/O at 0x9400 [0x9401].
Non-prefetchable 32 bit memory at 0xdc000000 [0xdc000000].
Bus 0, device 15, function 0:
IDE interface: Acer Labs M5229 TXpro (rev 193).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. Min Gnt=2.Max Lat=4.
I/O at 0x9000 [0x9001].
Bus 1, device 0, function 0:
VGA compatible controller: Silicon Integrated Systems 3D-AGP 6326 VGA (rev 10).
Medium devsel. Master Capable. Latency=64. Min Gnt=2.
Prefetchable 32 bit memory at 0xe7800000 [0xe7800008].
Non-prefetchable 32 bit memory at 0xdf800000 [0xdf800000].
I/O at 0xd800 [0xd801].
Bus 2, device 4, function 0:
Ethernet controller: DEC DC21140 (rev 32).
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=32. Min Gnt=20.Max Lat=40.
I/O at 0xb800 [0xb801].
Non-prefetchable 32 bit memory at 0xde800000 [0xde800000].
Bus 2, device 5, function 0:
Ethernet controller: DEC DC21140 (rev 32).
Medium devsel. Fast back-to-back capable. IRQ 12. Master Capable. Latency=32. Min Gnt=20.Max Lat=40.
I/O at 0xb400 [0xb401].
Non-prefetchable 32 bit memory at 0xde000000 [0xde000000].
Bus 2, device 6, function 0:
Ethernet controller: DEC DC21140 (rev 32).
Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=32. Min Gnt=20.Max Lat=40.
I/O at 0xb000 [0xb001].
Non-prefetchable 32 bit memory at 0xdd800000 [0xdd800000].
Bus 2, device 7, function 0:
Ethernet controller: DEC DC21140 (rev 32).
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=32. Min Gnt=20.Max Lat=40.
I/O at 0xa800 [0xa801].
Non-prefetchable 32 bit memory at 0xdd000000 [0xdd000000].
CPU0
0: 342353 XT-PIC timer
1: 80 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 4 XT-PIC serial
5: 41 XT-PIC eth1
7: 0 XT-PIC parport0
10: 28800 XT-PIC eth0
11: 44567 XT-PIC eth2
13: 1 XT-PIC fpu
14: 17206 XT-PIC ide0
15: 0 XT-PIC ide1
NMI: 0
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0290-0297 : lm78
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
9000-9007 : ide0
9008-900f : ide1
9400-947f : eth1
9800-987f : eth0
a800-a87f : eth5
b000-b07f : eth4
b400-b47f : eth3
b800-b87f : eth2
tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Digital DC21041 Tulip adapter at 0x9800.
Port selection is half-duplex.
Transmit started, Receive started, half-duplex.
The Rx process state is 'Waiting for packets'.
The Tx process state is 'Idle'.
The transmit unit is set to store-and-forward.
The NWay status register is 000021c4.
Internal autonegotiation state is 'Ability detect'.
Index #2: Found a Digital DC21041 Tulip adapter at 0x9400.
Port selection is half-duplex.
Transmit started, Receive started, half-duplex.
The Rx process state is 'Waiting for packets'.
The Tx process state is 'Idle'.
The transmit unit is set to store-and-forward.
The NWay status register is 000050c8.
Internal autonegotiation state is 'Negotiation complete'.
Index #3: Found a Digital DS21140 Tulip adapter at 0xb800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
Transmit started, Receive started, full-duplex.
The Rx process state is 'Waiting for packets'.
The Tx process state is 'Idle'.
The transmit threshold is 512.
Index #4: Found a Digital DS21140 Tulip adapter at 0xb400.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
Transmit started, Receive started, full-duplex.
The Rx process state is 'Waiting for packets'.
The Tx process state is 'Idle'.
The transmit threshold is 128.
WARNING: The EEPROM is missing or erased!
Index #5: Found a Digital DS21140 Tulip adapter at 0xb000.
Port selection is 10mpbs-serial, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 72.
WARNING: The EEPROM is missing or erased!
Index #6: Found a Digital DS21140 Tulip adapter at 0xa800.
Port selection is 10mpbs-serial, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 72.
WARNING: The EEPROM is missing or erased!
PING 10.66.1.4 (10.66.1.4): 56 data bytes
ping: sendto: Operation not permitted
ping: wrote 10.66.1.4 64 chars, ret=-1
--
mailto: marco.flohrer@informatik.tu-chemnitz.de
talk: mafl@diamond.csn.tu-chemnitz.de