[tulip] tulip-diag eeprom writing - Unknown 7

jlhagen@collins.rockwell.com jlhagen@collins.rockwell.com
Thu, 20 Jul 2000 08:31:27 -0500


<sniped>

>I suspect a power-down issue, or an invalid assignment by the BIOS.

>> Device #8 at bus 0 device/function 17/0, 00241011.
>> Device #9 at bus 0 device/function 19/0, 00241011.

>Ohh, complication: These are the bus bridges on your multiport card.
You'll
>have to find their bus number in /proc/pci and do
>  pci-config -B <bus-number>
>  pci-config -B <bus-number>
>and look at the output for the individual chips.
>The 'lspci', if you have it, might do this without as much mucking about.

>If the device has ACPI power management (not all 21143 chips do), it must
>be in ACPI D0 state, not ACPI D3 state.

Hi Donald,

First off this is a long email and I apologize, but I think the more info
the better in most situations.
Yes, indeed each card has a 21152 bridge chip on it. There is also a host
and chassis pci card to extend the bus
that have bridge chips as well. Any ideas on what's going on with that last
(7th) card?? What is the "Unknown 7"
error from tulip-diag.c? Having Unknown 3,4,5,6,7 makes me think they fail
in different/consistent ways.

Your help is appreciated,

John

lspci gives:
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
(rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev
03)
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
00:08.0 SCSI storage controller: Adaptec AIC-7880U (rev 01)
00:11.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
00:13.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
01:00.0 Display controller: Texas Instruments TVP4020 [Permedia 2] (rev 11)
02:04.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c875
(rev 26)
02:05.0 Ethernet controller: Advanced Micro Devices 79c970 [PCnet LANCE]
(rev 36)
03:04.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 02)
04:04.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 02)
04:05.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
04:06.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
04:07.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 02)
05:04.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
05:05.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
05:06.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
05:07.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
06:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
06:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
06:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
06:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
07:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
07:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
07:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
07:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
08:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
08:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
08:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
08:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
09:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
09:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
09:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
09:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0a:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0a:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0a:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0a:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0b:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0b:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0b:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0b:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0c:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0c:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0c:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
0c:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)

/proc/pci gives

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (rev 3).
      Medium devsel.  Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xf4000000 [0xf4000008].
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440BX - 82443BX AGP (rev 3).
      Medium devsel.  Master Capable.  Latency=128.  Min Gnt=140.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.
      I/O at 0xfcd0 [0xfcd1].
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 19.  Master Capable.
Latency=64.
      I/O at 0xfce0 [0xfce1].
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.
  Bus  0, device   8, function  0:
    SCSI storage controller: Adaptec AIC-7880U (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 16.  Master Capable.
Latency=64.  Min Gnt=8.Max Lat=8.
      I/O at 0xf800 [0xf801].
      Non-prefetchable 32 bit memory at 0xfedf7000 [0xfedf7000].
  Bus  0, device  17, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  0, device  19, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  3, device   4, function  0:
    PCI bridge: DEC DC21152 (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  4, device   4, function  0:
    PCI bridge: DEC DC21152 (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  4, device   5, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  4, device   6, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  4, device   7, function  0:
    PCI bridge: DEC DC21152 (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  5, device   4, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  5, device   5, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  5, device   6, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  5, device   7, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  Min Gnt=4.
  Bus  1, device   0, function  0:
    Display controller: Texas Instruments TVP4020 Permedia 2 (rev 17).
      Medium devsel.  Fast back-to-back capable.  IRQ 18.  Master Capable.
Latency=64.  Min Gnt=192.Max Lat=192.
      Non-prefetchable 32 bit memory at 0xfcfc0000 [0xfcfc0000].
      Non-prefetchable 32 bit memory at 0xfb800000 [0xfb800000].
      Non-prefetchable 32 bit memory at 0xfc000000 [0xfc000000].
  Bus  2, device   4, function  0:
    SCSI storage controller: NCR 53c875 (rev 38).
      Medium devsel.  IRQ 18.  Master Capable.  Latency=64.  Min Gnt=17.Max
Lat=64.
      I/O at 0x7800 [0x7801].
      Non-prefetchable 32 bit memory at 0xfb7ff800 [0xfb7ff800].
      Non-prefetchable 32 bit memory at 0xfb7fe000 [0xfb7fe000].

warning: page-size limit reached!

pci-config -B for each bus:

pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 0 device/function 0/0, 71908086.
Device #2 at bus 0 device/function 1/0, 71918086.
Device #3 at bus 0 device/function 7/0, 71108086.
Device #4 at bus 0 device/function 7/1, 71118086.
Device #5 at bus 0 device/function 7/2, 71128086.
Device #6 at bus 0 device/function 7/3, 71138086.
Device #7 at bus 0 device/function 8/0, 80789004.
Device #8 at bus 0 device/function 17/0, 00241011.
Device #9 at bus 0 device/function 19/0, 00241011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 1 device/function 0/0, 3d07104c.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 2 device/function 4/0, 000f1000.
Device #2 at bus 2 device/function 5/0, 20001022.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 3 device/function 4/0, 00241011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 4 device/function 4/0, 00241011.
Device #2 at bus 4 device/function 5/0, 00241011.
Device #3 at bus 4 device/function 6/0, 00241011.
Device #4 at bus 4 device/function 7/0, 00241011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 5 device/function 4/0, 00241011.
Device #2 at bus 5 device/function 5/0, 00241011.
Device #3 at bus 5 device/function 6/0, 00241011.
Device #4 at bus 5 device/function 7/0, 00241011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 6 device/function 4/0, 00091011.
Device #2 at bus 6 device/function 5/0, 00091011.
Device #3 at bus 6 device/function 6/0, 00091011.
Device #4 at bus 6 device/function 7/0, 00091011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 7 device/function 4/0, 00091011.
Device #2 at bus 7 device/function 5/0, 00091011.
Device #3 at bus 7 device/function 6/0, 00091011.
Device #4 at bus 7 device/function 7/0, 00091011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 8 device/function 4/0, 00091011.
Device #2 at bus 8 device/function 5/0, 00091011.
Device #3 at bus 8 device/function 6/0, 00091011.
Device #4 at bus 8 device/function 7/0, 00091011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 9 device/function 4/0, 00091011.
Device #2 at bus 9 device/function 5/0, 00091011.
Device #3 at bus 9 device/function 6/0, 00091011.
Device #4 at bus 9 device/function 7/0, 00091011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 10 device/function 4/0, 00091011.
Device #2 at bus 10 device/function 5/0, 00091011.
Device #3 at bus 10 device/function 6/0, 00091011.
Device #4 at bus 10 device/function 7/0, 00091011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 11 device/function 4/0, 00091011.
Device #2 at bus 11 device/function 5/0, 00091011.
Device #3 at bus 11 device/function 6/0, 00091011.
Device #4 at bus 11 device/function 7/0, 00091011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Device #1 at bus 12 device/function 4/0, 00091011.
Device #2 at bus 12 device/function 5/0, 00091011.
Device #3 at bus 12 device/function 6/0, 00091011.
Device #4 at bus 12 device/function 7/0, 00091011.
pci-config.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html