[tulip] RE: Tulip and ANA6911A/TX

Donald Becker becker@scyld.com
Thu Dec 20 00:23:01 2001


On Wed, 19 Dec 2001, tsombakos, mark wrote:

> I answered my own question and replaced the RH tulip driver
> with Donald's.  Sadly, I have exactly the same problem.
> Power cycle the box, no link light.  Unload/reload module,
> link light lights.
> 
> After power cycle:
> 
> /var/log/messages:
> Dec 19 17:44:23 lnl0117 kernel: tulip.c:v0.93 11/7/2001  Written by Donald
...
> Dec 19 17:44:23 lnl0117 kernel: eth0: Digital DS21143-xD Tulip rev 65 at
> 0xe08b9000, 00:00:D1:1E:E1:9D, IRQ 9.
...
> Dec 19 17:44:23 lnl0117 kernel: eth0: ***WARNING***: No MII transceiver
> found!

Hmmm, bad.  The transceiver isn't responding.

But it does with tulip-diag, and later

> tulip-diag.c:v2.07 3/31/2001 Donald Becker (becker@scyld.com)
...
>   Media MII, block type 3, length 23.
>    MII interface PHY 0 (media type 11).
>    21143 MII initialization sequence is 2 words: 0821 0000.
>    21143 MII reset sequence is 3 words: 0821 0001 0000.

This design requires a transceiver reset.  One flaw with the Tulip SROM
specifications is that it doesn't specify timing.  Some other cards add
some delay by repeating the reset setting.  This card doesn't.
I suspect that a longer reset might allow the transceiver to be detected.

>  MII PHY found at address 17, status 0x7849.
>  MII PHY #17 transceiver registers:
>    3100 7849 2000 5c01 0101 0000 0000 0000

Transceivers are searched for in order.  This gives the transceiver a
few hundred microseconds to recover from the reset.

> After driver reload:

... everything works.

> Dec 19 17:58:39 lnl0117 kernel: eth0:  Index #0 - Media MII (#11) described
> by a 21142 MII PHY (3) block.
> Dec 19 17:58:39 lnl0117 kernel: eth0:  MII transceiver #1 config 3100 status
> 7849 advertising 0101.

Errrkkk?  At address #1?  It was at address #17 before.
I now suspect a floating address strap pin.  This might be a sample
defect on your specific board.  Do you have another similar board?

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993