Linksys Cardbus and .90k

Nicholas Jenkins Nicholas.S.Jenkins@cdc.com
Fri Feb 19 15:36:11 1999


Comments are below....
-NICK

> -----Original Message-----
> From: owner-linux-tulip@beowulf.gsfc.nasa.gov
> [mailto:owner-linux-tulip@beowulf.gsfc.nasa.gov]On Behalf Of Bruce
> Lowekamp
> Sent: Friday, February 19, 1999 12:08 PM
> To: linux-tulip@beowulf.gsfc.nasa.gov
> Subject: Re: Linksys Cardbus and .90k
>
>
>
> I also haven't yet managed to get my LinkSys Cardbus going.  I've
> spent most of my time trying to get it working at 10bT, although the
> couple times I've plugged it into 100bTX, it hasn't worked either.
>
> This is with .90k and 3.0.8 on 2.0.36 (redhat 5.2).

I upgraded to kernel 2.2.1 - which works a lot better (at least for me)
in several ways.  Since doing so, I haven't had a reason to return
to 2.0.36, so I don't really know if the newest tulip driver will work
there.  However, the newest driver does seem to work under 2.2.1 with
the Linksys card.

>  I also tried .90p
> today.  The basic result was the same---it appeared to be receiving
> but not transmitting.  However, .90p didn't read my HW address right,
> either.  It produced 00:80:00:80:00:80.

As per some prior messages on this list, 00:80:00:80:00:80 is caused by
the EEPROM_SIZE pre-processor macro being set to "6" instead of "8".
I can only assume that either you forgot the "-DCARDBUS" option when
compiling,
or you noticed the error regarding the dereferenced NULL kernel pointer,
and you erased the offending preprocessor ifdef macros - only you kept the
"6" part instead of the "8" part you need.  See my prior message regarding
this.

Also note - until this is fixed, and the driver is getting the correct
MAC address, this driver will NEVER work correctly.  So, this MUST be fixed
first!

>  I also tried locking the
> transceiver with options=9, but this didn't help, either.

After today's release, I have mine set to option 11 - which should be the
default, and it worked just fine on 10BT, plugged into a hub which is not
n-way auto-negotiating.

I hope these comments help.

>
> The only interesting thing I could tell from the output was that the
> tulip-diag I ran before trying to ping listed the Tx process state as
> "stopped," and after I tried to ping and ran tulip-diag again, it says
> "Waiting for Tx to finish."
>
> Here are the debug messages from syslog and the reports from the new
> tulip-diag with libmii.
>
> If anything else would be of help, just let me know.
>
> Bruce
>
> ----------------
>
> syslog from .90k on 10baseT:
> Feb 19 11:23:38 localhost cardmgr[202]: initializing socket 1
> Feb 19 11:23:38 localhost cardmgr[202]: socket 1: Linksys EtherFast 10/100
> Feb 19 11:23:38 localhost cardmgr[202]: executing: 'insmod
> /lib/modules/2.0.36/pcmcia/cb_enabler.o'
> Feb 19 11:23:38 localhost cardmgr[202]: executing: 'insmod
> /lib/modules/2.0.36/pcmcia/tulip_cb.o debug=10'
> Feb 19 11:23:38 localhost kernel: cs: cb_config(bus 4): vendor
> 0x1011, device 0x0019
> Feb 19 11:23:38 localhost kernel:   fn 0 bar 1: io 0x400-0x47f
> Feb 19 11:23:38 localhost kernel:   fn 0 bar 2: mem 0xa00c0000-0xa00c03ff
> Feb 19 11:23:38 localhost kernel:   fn 0 rom: mem 0xa0080000-0xa00bffff
> Feb 19 11:23:38 localhost kernel: tulip_attach(bus 4, function 0)
> Feb 19 11:23:38 localhost kernel: tulip.c:v0.90k 2/1/99
> becker@cesdis.gsfc.nasa.gov
> Feb 19 11:23:38 localhost kernel: eth0: Digital DS21143 Tulip rev
> 65 at 0x400, 00 e0 98 04 8b 4a, IRQ 9.
> Feb 19 11:23:38 localhost kernel: eth0:  EEPROM default media
> type Autosense.
> Feb 19 11:23:38 localhost kernel: eth0:  MII interface PHY 0,
> setup/reset sequences 0/0 long, capabilities e0 78.
> Feb 19 11:23:38 localhost kernel: eth0:  Index #0 - Media MII
> (#11) described by a 21142 MII PHY (3) block.
> Feb 19 11:23:38 localhost kernel: eth0:  MII transceiver #0
> config 3000 status 7809 advertising 01e1.
> Feb 19 11:23:38 localhost cardmgr[202]: executing: './network start eth0'
> Feb 19 11:23:39 localhost kernel: eth0: Using MII transceiver 0,
> status 7809.
> Feb 19 11:23:44 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 11:23:44 localhost kernel: eth0: MII status 7829, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 11:23:57 localhost kernel: eth0: Using MII transceiver 0,
> status 782d.
> Feb 19 11:24:02 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 11:24:02 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
>
> lots of binary stuff as I reported in a message a few weeks ago
>
>
> tulip-diag before trying to ping:
>
> tulip-diag.c:v1.07 2/10/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> Digital Tulip, unknown type Tulip chip registers at 0x400:
>   fa008000 ffffffff ffffffff 00fdd028 00fdd228 f0000102 b20e0000 f3fe0000
>   e0000000 fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 8ff90008
>  Port selection is MII, half-duplex.
>  Transmit stopped, Receive stopped, half-duplex.
>   The Rx process state is 'Stopped'.
>   The Tx process state is 'Stopped'.
>   The transmit threshold is 128.
> EEPROM transceiver/media description for the Digital Tulip,
> unknown type chip.
>
> Leaf node at offset 128, default media type 0000 (10baseT).
>  0 transceiver description blocks:
>  MII PHY found at address 0, status 0x782d.
>
>
> tulip-diage after trying to ping:
>
> tulip-diag.c:v1.07 2/10/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> Digital Tulip, unknown type Tulip chip registers at 0x400:
>   fa008000 ffffffff ffffffff 00fdf820 00fdfa20 f0200100 b20e0000 f3fe0000
>   e0000000 fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 8ff90008
>  Port selection is MII, half-duplex.
>  Transmit stopped, Receive stopped, half-duplex.
>   The Rx process state is 'Stopped'.
>   The Tx process state is 'Waiting for Tx to finish'.
>   The transmit threshold is 128.
> EEPROM transceiver/media description for the Digital Tulip,
> unknown type chip.
>
> Leaf node at offset 128, default media type 0000 (10baseT).
>  0 transceiver description blocks:
>  MII PHY found at address 0, status 0x782d.
>
>
>
> syslog from .90p on 10baseT:
>
> Feb 19 10:55:31 localhost cardmgr[202]: initializing socket 1
> Feb 19 10:55:31 localhost cardmgr[202]: socket 1: Linksys EtherFast 10/100
> Feb 19 10:55:31 localhost cardmgr[202]: executing: 'insmod
> /lib/modules/2.0.36/pcmcia/cb_enabler.o'
> Feb 19 10:55:31 localhost cardmgr[202]: executing: 'insmod
> /lib/modules/2.0.36/pcmcia/tulip_cb.o debug=10'
> Feb 19 10:55:31 localhost kernel: cs: cb_config(bus 4): vendor
> 0x1011, device 0x0019
> Feb 19 10:55:31 localhost kernel:   fn 0 bar 1: io 0x400-0x47f
> Feb 19 10:55:31 localhost kernel:   fn 0 bar 2: mem 0xa00c0000-0xa00c03ff
> Feb 19 10:55:31 localhost kernel:   fn 0 rom: mem 0xa0080000-0xa00bffff
> Feb 19 10:55:31 localhost kernel: tulip_attach(bus 4, function 0)
> Feb 19 10:55:31 localhost kernel: tulip.c:v0.90p 2/18/99
> becker@cesdis.gsfc.nasa.gov
> Feb 19 10:55:31 localhost kernel: eth0: Digital DS21143 Tulip rev
> 65 at 0x400, 00:80:00:80:00:80, IRQ 9.
> Feb 19 10:55:31 localhost kernel: eth0:  EEPROM default media
> type Autosense.
> Feb 19 10:55:31 localhost kernel: eth0:  MII interface PHY 0,
> setup/reset sequences 0/0 long, capabilities e0 78.
> Feb 19 10:55:31 localhost kernel: eth0:  Index #0 - Media MII
> (#11) described by a 21142 MII PHY (3) block.
> Feb 19 10:55:31 localhost kernel: eth0:  MII transceiver #0
> config 3000 status 7809 advertising 01e1.
> Feb 19 10:55:31 localhost cardmgr[202]: executing: './network start eth0'
> Feb 19 10:55:31 localhost kernel: Swansea University Computer
> Society IPX 0.34 for NET3.035
> Feb 19 10:55:31 localhost kernel: IPX Portions Copyright (c) 1995
> Caldera, Inc.
> Feb 19 10:55:31 localhost kernel: Appletalk 0.17 for Linux NET3.035
> Feb 19 10:55:31 localhost kernel: eth0: Using MII transceiver 0,
> status 7809.
> Feb 19 10:55:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 10:55:36 localhost kernel: eth0: MII status 7829, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 10:56:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 10:56:36 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 10:57:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 10:57:36 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 10:58:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 10:58:36 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 10:59:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 10:59:36 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 11:00:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 11:00:36 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 11:01:29 localhost kernel: Swansea University Computer
> Society IPX 0.34 for NET3.035
> Feb 19 11:01:29 localhost kernel: IPX Portions Copyright (c) 1995
> Caldera, Inc.
> Feb 19 11:01:29 localhost kernel: Appletalk 0.17 for Linux NET3.035
> Feb 19 11:01:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 11:01:36 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 11:02:36 localhost kernel: eth0: 21143 negotiation status
> 000000c6, MII.
> Feb 19 11:02:36 localhost kernel: eth0: MII status 782d, Link
> partner report 0021, CSR6 b20e2002.
> Feb 19 11:03:25 localhost cardmgr[202]: executing: './network check eth0'
> Feb 19 11:03:25 localhost cardmgr[202]: shutting down socket 1
> Feb 19 11:03:25 localhost cardmgr[202]: executing: './network stop eth0'
> Feb 19 11:03:25 localhost kernel: tulip_detach(eth0)
> Feb 19 11:03:25 localhost cardmgr[202]: executing: 'rmmod tulip_cb'
> Feb 19 11:03:25 localhost cardmgr[202]: executing: 'rmmod cb_enabler'
>
>
>
> tulip-diag.c:v1.07 2/10/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> Digital Tulip, unknown type Tulip chip registers at 0x400:
>   f9a08000 ffffffff ffffffff 00fdf028 00fdf228 f0000102 b20e0000 f3fe0000
>   e0000000 fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 8ff90008
>  Port selection is MII, half-duplex.
>  Transmit stopped, Receive stopped, half-duplex.
>   The Rx process state is 'Stopped'.
>   The Tx process state is 'Stopped'.
>   The transmit threshold is 128.
> EEPROM transceiver/media description for the Digital Tulip,
> unknown type chip.
>
> Leaf node at offset 128, default media type 0000 (10baseT).
>  0 transceiver description blocks:
>  MII PHY found at address 0, status 0x782d.
>