[vortex] problems w/3c59x on 3CCFE575BT

dean gaudet dean@arctic.org
Mon Dec 23 13:55:00 2002


On Mon, 23 Dec 2002, Donald Becker wrote:

> I checked this against the reference 3ccfe575bt that I have here at
> the Scyld offices.  Except for the station address and date, the EEPROM
> contents match the properly working device that I have here.
>
> Verify that you are not passing in a module option.
>
> >  MII PHY 0 at #0 transceiver registers:
> >    3000 282d 0300 e54b 00a1 45e1 0001 0000
>
> This transceiver model is slightly different than on my card.  Both are
> TDK 78q2120 parts, but your transceiver is a newer rev. 11 chip (e543
> vs. e54b).

here's a big long paste so you can be sure i'm doing everything right...
including setting no options.  i ^C'd the wgets after a few seconds
because they were still clearly going slow.

would it help for me to get the old 3c575_cb driver going and run some of
these diagnostics?

-dean

# ifdown eth0
# rmmod 3c59x
# modprobe -C /dev/null --verbose 3c59x
/sbin/insmod /lib/modules/2.4.20-ac1/kernel/drivers/net/3c59x.o
Using /lib/modules/2.4.20-ac1/kernel/drivers/net/3c59x.o
Symbol version prefix ''
# mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #0:  3000 282d 0300 e54b 00a1 45e1 0001 0000.
 The autonegotiated capability is 00a0.
The autonegotiated media type is 100baseTx.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
   End of basic transceiver informaion.

# ifup eth0
# mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #0:  3000 282d 0300 e54b 00a1 45e1 0001 0000.
 The autonegotiated capability is 00a0.
The autonegotiated media type is 100baseTx.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
   End of basic transceiver informaion.

# vortex-diag -ee -aa -m
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575BT CardBus adapter at 0x4800.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
  Window 0: 0000 0000 0000 0000 0000 066f 7261 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 5000 b404 29e7 0000 0000 0000 0112 4000.
  Window 3: 0000 0160 05ea 0020 0040 1000 0800 6000.
  Window 4: 0000 0000 0000 0cc2 0003 a800 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0002 e000.
Vortex chip registers at 0x4800
  0x4810: **FIFO** 00000000 00000000 *STATUS*
  0x4820: 00000020 00000000 00080000 00001404
  0x4830: 00000000 0424fbdc 09a3c800 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
Transceiver type in use:  MII.
 MAC settings: full-duplex.
 Station address set to 00:50:04:b4:e7:29.
 Configuration options 0112.
EEPROM contents (256 words, offset 0x30):
 0x000: 10b7 5157 0007 0000 0001 0200 4000 0000
 0x008: 0000 0000 0000 0000 0000 0000 0000 0000
 0x010: 0000 0000 0000 0000 0090 0000 10b7 5b57
 0x018: 0000 0000 0000 0000 0000 0000 0109 0a0a
 0x020: 0000 0060 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0050 04b4 e729 5157 c6fc 0036 4757 6d50
 0x038: 3000 0009 0050 04b4 e729 2010 0000 0006
 0x040: 32a6 1570 0000 0060 0007 0000 0000 00be
 0x048: 0313 4943 2053 0104 5701 0451 0306 0001
 0x050: 0000 0500 410c 019a 1eb5 5501 3002 ffff
 0x058: 0701 1106 4000 0000 1500 0534 3300 6f43
 0x060: 206d 6f43 7072 726f 7461 6f69 006e 4333
 0x068: 4643 3545 3537 5442 4c00 4e41 4320 7261
 0x070: 6264 7375 4320 7261 0064 3030 0031 21ff
 0x078: 0602 0501 0006 8080 8080 ff19 ffff ffff
 0x080: ffff ffff ffff ffff ffff ffff ffff ffff
 0x088: ffff ffff ffff ffff ffff ffff ffff ffff
 0x090: ffff ffff ffff ffff ffff ffff ffff ffff
 0x098: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0a0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0a8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0b0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0b8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0c0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0c8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0d0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0d8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0e0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0e8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0f0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0f8: ffff ffff ffff ffff ffff ffff ffff ffff
 The word-wide EEPROM checksum is 0xfe69.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 The CardBus product ID is 10b7 5157.
 3Com Node Address 00:50:04:B4:E7:29 (used as a unique ID only).
 OEM Station address 00:50:04:B4:E7:29 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 7/28/1999, division 6, product WG.
 Options: negotiated duplex, link beat required.
  Vortex format checksum is correct (00be vs. 00be).
  Cyclone format checksum is incorrect (0x1a vs. 00).
  Hurricane format checksum is incorrect (0x6b vs. 00).
 MII PHY found at address 0, status 282d.
 MII PHY 0 at #0 transceiver registers:
   3000 282d 0300 e54b 00a1 45e1 0001 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0140 0000 0700 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
# wget http://neemlark/~dean/olivum.mp3
--10:42:02--  http://neemlark/%7Edean/olivum.mp3
           => `olivum.mp3.11'
Resolving neemlark... done.
Connecting to neemlark[192.168.1.6]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 92,059,063 [audio/mpeg]

 0% [                                                                                         ] 25,742        17.41K/s  ETA 1:26:02
# mii-diag -R eth0
Resetting the transceiver...
Basic registers of MII PHY #0:  3000 2809 0300 e54b 00a1 0000 0000 0000.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x2809 ... 2809.
   Link status: not established.
   End of basic transceiver informaion.

# mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #0:  3000 282d 0300 e54b 00a1 45e1 0003 0000.
 The autonegotiated capability is 00a0.
The autonegotiated media type is 100baseTx.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
   End of basic transceiver informaion.

# vortex-diag -ee -aa -m
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575BT CardBus adapter at 0x4800.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
  Window 0: 0000 0000 0000 0000 0000 06ff ffff 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 5000 b404 29e7 0000 0000 0000 0112 4000.
  Window 3: 0000 0160 05ea 0020 0040 1000 0800 6000.
  Window 4: 0000 0000 0000 0cc2 0003 a800 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
  Window 6: 0000 0000 0000 1b00 0000 8eb8 08d3 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0002 e000.
Vortex chip registers at 0x4800
  0x4810: **FIFO** 00000000 0000000c *STATUS*
  0x4820: 00000020 09a3cac0 00080000 00001404
  0x4830: 00000000 efc01040 09a3c830 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
Transceiver type in use:  MII.
 MAC settings: full-duplex.
 Station address set to 00:50:04:b4:e7:29.
 Configuration options 0112.
EEPROM contents (256 words, offset 0x30):
 0x000: 10b7 5157 0007 0000 0001 0200 4000 0000
 0x008: 0000 0000 0000 0000 0000 0000 0000 0000
 0x010: 0000 0000 0000 0000 0090 0000 10b7 5b57
 0x018: 0000 0000 0000 0000 0000 0000 0109 0a0a
 0x020: 0000 0060 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0050 04b4 e729 5157 c6fc 0036 4757 6d50
 0x038: 3000 0009 0050 04b4 e729 2010 0000 0006
 0x040: 32a6 1570 0000 0060 0007 0000 0000 00be
 0x048: 0313 4943 2053 0104 5701 0451 0306 0001
 0x050: 0000 0500 410c 019a 1eb5 5501 3002 ffff
 0x058: 0701 1106 4000 0000 1500 0534 3300 6f43
 0x060: 206d 6f43 7072 726f 7461 6f69 006e 4333
 0x068: 4643 3545 3537 5442 4c00 4e41 4320 7261
 0x070: 6264 7375 4320 7261 0064 3030 0031 21ff
 0x078: 0602 0501 0006 8080 8080 ff19 ffff ffff
 0x080: ffff ffff ffff ffff ffff ffff ffff ffff
 0x088: ffff ffff ffff ffff ffff ffff ffff ffff
 0x090: ffff ffff ffff ffff ffff ffff ffff ffff
 0x098: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0a0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0a8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0b0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0b8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0c0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0c8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0d0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0d8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0e0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0e8: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0f0: ffff ffff ffff ffff ffff ffff ffff ffff
 0x0f8: ffff ffff ffff ffff ffff ffff ffff ffff
 The word-wide EEPROM checksum is 0xfe69.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 The CardBus product ID is 10b7 5157.
 3Com Node Address 00:50:04:B4:E7:29 (used as a unique ID only).
 OEM Station address 00:50:04:B4:E7:29 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 7/28/1999, division 6, product WG.
 Options: negotiated duplex, link beat required.
  Vortex format checksum is correct (00be vs. 00be).
  Cyclone format checksum is incorrect (0x1a vs. 00).
  Hurricane format checksum is incorrect (0x6b vs. 00).
 MII PHY found at address 0, status 282d.
 MII PHY 0 at #0 transceiver registers:
   3000 282d 0300 e54b 00a1 45e1 0001 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0140 002d 0600 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
# wget http://neemlark/~dean/olivum.mp3
--10:42:19--  http://neemlark/%7Edean/olivum.mp3
           => `olivum.mp3.12'
Resolving neemlark... done.
Connecting to neemlark[192.168.1.6]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 92,059,063 [audio/mpeg]

 0% [                                                                                         ] 30,086         7.86K/s  ETA 3:10:40