[tulip] Re: Quad card shares same irq on all ports, but only the first works

Alexander Haväng alexander@netintact.se
Tue Aug 13 09:37:01 2002


Regarding the problem with all 4 ports sharing the same irq, we went ahead and replaced
our own driver with the newest one from Donald.

The problem remains, all ports share the same interupt, and only when packets arrive on the first
port will a interupt actually be raised.

[root@bubba /var/log]# cat /proc/interrupts 
           CPU0       CPU1       
  0:     111619          0    IO-APIC-edge  timer
  1:       6228          0    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
 14:      18249          0    IO-APIC-edge  ide0
 17:       1360          0   IO-APIC-level  eth0
 52:         64          0   IO-APIC-level  eth2, eth3, eth4, eth5
NMI:          0          0 
LOC:     111538     111537 
ERR:          0
MIS:          0

Aug 13 15:20:19 bubba kernel: tulip.c:v0.95 6/21/2002  Written by Donald Becker <becker@scyld.com>
Aug 13 15:20:19 bubba kernel:   http://www.scyld.com/network/tulip.html
Aug 13 15:20:19 bubba kernel:   The PCI BIOS has not enabled the device at 3/32!  Updating PCI command 0113->0117.
Aug 13 15:20:19 bubba kernel: eth2: Digital DS21143-xD Tulip rev 65 at 0xe0896000, 00:80:C8:CD:4A:0D, IRQ 52.
Aug 13 15:20:19 bubba kernel: eth2:  EEPROM default media type Autosense.
Aug 13 15:20:19 bubba kernel: eth2:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Aug 13 15:20:19 bubba kernel: eth2:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
Aug 13 15:20:19 bubba kernel:   The PCI BIOS has not enabled the device at 3/40!  Updating PCI command 0113->0117.

Ehm, what does that mean?

Aug 13 15:20:19 bubba kernel: eth3: Digital DS21143-xD Tulip rev 65 at 0xe08a4400, 00:80:C8:CD:4A:0E, IRQ 52.
Aug 13 15:20:19 bubba kernel: eth3:  EEPROM default media type Autosense.
Aug 13 15:20:19 bubba kernel: eth3:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Aug 13 15:20:19 bubba kernel: eth3:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
Aug 13 15:20:19 bubba kernel:   The PCI BIOS has not enabled the device at 3/48!  Updating PCI command 0113->0117.
Aug 13 15:20:19 bubba kernel: eth4: Digital DS21143-xD Tulip rev 65 at 0xe08a6800, 00:80:C8:CD:4A:0F, IRQ 52.
Aug 13 15:20:19 bubba kernel: eth4:  EEPROM default media type Autosense.
Aug 13 15:20:19 bubba kernel: eth4:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Aug 13 15:20:19 bubba kernel: eth4:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
Aug 13 15:20:19 bubba kernel:   The PCI BIOS has not enabled the device at 3/56!  Updating PCI command 0113->0117.
Aug 13 15:20:19 bubba kernel: eth5: Digital DS21143-xD Tulip rev 65 at 0xe08a8c00, 00:80:C8:CD:4A:10, IRQ 52.
Aug 13 15:20:19 bubba kernel: eth5:  EEPROM default media type Autosense.
Aug 13 15:20:19 bubba kernel: eth5:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Aug 13 15:20:19 bubba kernel: eth5:  MII transceiver #1 config 3100 status 7849 advertising 01e1.

And what are these?

Aug 13 15:22:12 bubba kernel: Trying to free nonexistent resource <e08a8c00-e08a8c7f>
Aug 13 15:22:12 bubba kernel: Trying to free nonexistent resource <e08a6800-e08a687f>
Aug 13 15:22:12 bubba kernel: Trying to free nonexistent resource <e08a4400-e08a447f>
Aug 13 15:22:12 bubba kernel: Trying to free nonexistent resource <e0896000-e089607f>

[root@bubba /var/log]# cat /proc/pci | more
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: PCI device 8086:2540 (Intel Corp.) (rev 2).
  Bus  0, device   0, function  1:
    Class ff00: PCI device 8086:2541 (Intel Corp.) (rev 2).
  Bus  0, device   2, function  0:
    PCI bridge: PCI device 8086:2543 (Intel Corp.) (rev 2).
      Master Capable.  Latency=64.  Min Gnt=4.
  Bus  0, device   3, function  0:
    PCI bridge: PCI device 8086:2545 (Intel Corp.) (rev 2).
      Master Capable.  Latency=64.  Min Gnt=4.
  Bus  0, device  29, function  0:
    USB Controller: PCI device 8086:2482 (Intel Corp.) (rev 2).
      IRQ 16.
      I/O at 0x2000 [0x201f].
  Bus  0, device  29, function  1:
    USB Controller: PCI device 8086:2484 (Intel Corp.) (rev 2).
      IRQ 19.
      I/O at 0x2020 [0x203f].
  Bus  0, device  29, function  2:
    USB Controller: PCI device 8086:2487 (Intel Corp.) (rev 2).
      IRQ 18.
      I/O at 0x2040 [0x205f].
  Bus  0, device  30, function  0:
    PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (rev 66).
      Master Capable.  No bursts.  Min Gnt=12.
  Bus  0, device  31, function  0:
    ISA bridge: PCI device 8086:2480 (Intel Corp.) (rev 2).
  Bus  0, device  31, function  1:
    IDE interface: PCI device 8086:248b (Intel Corp.) (rev 2).
      I/O at 0x1f0 [0x1f7].
      I/O at 0x3f6 [0x3f6].
      I/O at 0x170 [0x177].
      I/O at 0x376 [0x376].
      I/O at 0x2060 [0x206f].
      Non-prefetchable 32 bit memory at 0xfc000000 [0xfc0003ff].
  Bus  0, device  31, function  3:
    SMBus: PCI device 8086:2483 (Intel Corp.) (rev 2).
      I/O at 0x1100 [0x111f].
  Bus  1, device  28, function  0:
    PIC: PCI device 8086:1461 (Intel Corp.) (rev 3).
      Non-prefetchable 32 bit memory at 0xfc100000 [0xfc100fff].
  Bus  1, device  30, function  0:
    PIC: PCI device 8086:1461 (Intel Corp.) (rev 3).
      Non-prefetchable 32 bit memory at 0xfc101000 [0xfc101fff].
  Bus  5, device  28, function  0:
    PIC: PCI device 8086:1461 (Intel Corp.) (rev 3).
      Non-prefetchable 32 bit memory at 0xfc300000 [0xfc300fff].
  Bus  5, device  30, function  0:
    PIC: PCI device 8086:1461 (Intel Corp.) (rev 3).
      Non-prefetchable 32 bit memory at 0xfc301000 [0xfc301fff].
  Bus  1, device  29, function  0:
    PCI bridge: PCI device 8086:1460 (Intel Corp.) (rev 3).
      Master Capable.  Latency=64.  Min Gnt=36.
  Bus  1, device  31, function  0:
    PCI bridge: PCI device 8086:1460 (Intel Corp.) (rev 3).
      Master Capable.  Latency=64.  Min Gnt=36.
  Bus  5, device  29, function  0:
    PCI bridge: PCI device 8086:1460 (Intel Corp.) (rev 3).
      Master Capable.  Latency=64.  Min Gnt=36.
  Bus  5, device  31, function  0:
    PCI bridge: PCI device 8086:1460 (Intel Corp.) (rev 3).
      Master Capable.  Latency=64.  Min Gnt=36.
  Bus  2, device   2, function  0:
    PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 3).
      Master Capable.  Latency=64.  Min Gnt=4.
  Bus  3, device   4, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 65).
      IRQ 52.
      Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0x3000 [0x307f].
      Non-prefetchable 32 bit memory at 0xfc200000 [0xfc2003ff].
  Bus  3, device   5, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (#2) (rev 65).
      IRQ 52.
      Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0x3080 [0x30ff].
      Non-prefetchable 32 bit memory at 0xfc200400 [0xfc2007ff].
  Bus  3, device   6, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (#3) (rev 65).
      IRQ 52.
      Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0x3400 [0x347f].
      Non-prefetchable 32 bit memory at 0xfc200800 [0xfc200bff].
  Bus  3, device   7, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (#4) (rev 65).
      IRQ 52.
      Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0x3480 [0x34ff].
      Non-prefetchable 32 bit memory at 0xfc200c00 [0xfc200fff].
  Bus  8, device   1, function  0:
    VGA compatible controller: ATI Technologies Inc Rage XL (rev 39).
      IRQ 16.
      Master Capable.  Latency=64.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
      I/O at 0x4000 [0x40ff].
      Non-prefetchable 32 bit memory at 0xfc400000 [0xfc400fff].
  Bus  8, device   2, function  0:
    Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 13).
      IRQ 17.
      Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xfc401000 [0xfc401fff].
      I/O at 0x4400 [0x443f].
      Non-prefetchable 32 bit memory at 0xfc420000 [0xfc43ffff].
  Bus  8, device   3, function  0:
    Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (#2) (rev 13).
      IRQ 18.
      Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xfc402000 [0xfc402fff].
      I/O at 0x4440 [0x447f].
      Non-prefetchable 32 bit memory at 0xfc440000 [0xfc45ffff].

I dunno what other information might be relevant, just let me know and I'll puke it out.

Donald, if you want to peek around on the box itself, that could be arranged with ssh.

Interesting enough, we have the same problem with FreeBSD on the box, but it works with WinXP.

//Alexander