[tulip] tulip-diag eeprom writing - some questions

jlhagen@collins.rockwell.com jlhagen@collins.rockwell.com
Wed, 19 Jul 2000 08:15:59 -0500


Hi Donald,

> This is just the result of the 21143 chip not existing in I/O space.

dmesg reports 'tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov' . I
should mention I'm running a Mandrake 6.1distribution with a clean 2.2.14
source tree installed. I'm not at the machine right now, does this version
(0.91g) have the option of using memory space instead of I/O space??? I
think I should try and grap the tulip.c:v0.92 4/17/2000 version. I see 0.92
by default does not use 'USE_IO_OPS'  which is what we want, I believe.

I ran pci-config once with ' -a ' and got this. Really I haven't played
with it that much. I need to look at the code to
understand how to use it correctly.

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.

Thanks,

John H.





Donald Becker <becker@scyld.com> on 07/19/2000 01:10:57 AM

To:   jlhagen@collins.rockwell.com
cc:   linux-tulip@beowulf.org

Subject:  Re: [tulip] tulip-diag eeprom writing - some questions


On Thu, 13 Jul 2000 jlhagen@collins.rockwell.com wrote:

> I have several Znyx 346 (4 port)  (21140) ethernet cards. One of these
> cards seems to have meet an unfortunate accident and the eeprom contents
> are reported as missing. I have other cards that report ok etc. Below is
a

I don't think the EEPROM is the problem.

> Index #24: Found a Digital DS21140 Tulip adapter at 0x9480.
>  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.
...
> Index #25: Found a Digital DS21140 Tulip adapter at 0x5800.
>  Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
>  Transmit started, Receive started, full-duplex.
>   The Rx process state is 'Transferring Rx frame into memory'.
>   The Tx process state is 'Closing Tx descriptor'.
>   PCI bus error!: Unknown 7.

Hmmm, these are not likely correct.

>   The transmit unit is set to store-and-forward.
>  Interrupt sources are pending!  CSR5 is ffffffff.

That's definitely bogus.  The chip doesn't exist in I/O space.
Run pci-config, or something similar, to see if the chip is in ACPI power
down mode.  But this isn't likely -- some program would have to put the
chip
to sleep.

> WARNING: The EEPROM is missing or erased!
>  This interface is missing the EEPROM.
>   This is likely the non-primary interface on a multiport board.
> EEPROM contents:
>   ffff ffff ffff ffff ffff ffff ffff ffff

This is just the result of the 21143 chip not existing in I/O space.

Donald Becker                 becker@scyld.com
Scyld Computing Corporation        http://www.scyld.com
410 Severn Ave. Suite 210          Beowulf Clusters / Linux Installations
Annapolis MD 21403