[vortex-bug] 3c905CX-TXM - One machine now works, one machine doesn't

Garnet Chaney gchaney@webmill.com
Sun, 3 Dec 2000 20:59:26 -0800


Hello Again!

I found a message thread on the development board about increasing all the
magic timeout values from 200,2000, etc., to 2000000. I tried that with the
0.99Qk
driver, and the card in both machines started working......    I've moved
the machines to my cabinet at my ISP, and unfortunately, I discovered that
after
booting them up, the card on one of the machines works, the other one does
not. Same problem: One of the cards transmits, but does not recieve.
BTW, The machine that is working is only using a timeout value of 1,500,000.
With the non-working machine I've went all the way up to 4,000,000 without
fixing it.....   Could the fact that the machines are now on an active
network (with some collissions 1-3 a second) be affecting the startup of one
of the cards,
but not the other?

I think I got some of the info about debugging outputs confused in my last
message, so here it is again, comparing the working and nonworking machines:

Both machines are connected to the same DLINK 10/100 switch.

Working machine:

eth0      Link encap:Ethernet  HWaddr 00:01:03:27:08:87
          inet addr:10.0.0.194  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:309021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51763 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:18 Base address:0x2800
kernel: 3c59x.c:v0.99Qk-cx 7/5/2000 Donald Becker, becker@scyld.com
kernel: -cx by gchaney@webmill.com
kernel:   http://www.scyld.com/network/vortex.html
kernel: eth0: 3Com 3c905C Tornado at 0x2800,  00:01:03:27:08:87, IRQ 18
kernel:   8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate
interface.
kernel:   MII transceiver found at address 1, status   24.
kernel:   MII transceiver found at address 2, status   24.
kernel:   Enabling bus-master transmits and whole-frame receives.

# ./vortex-diag -a
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
  Window 0: 0000 0000 e4cf 0000 8d8d 00bf ffff 0000.
  Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
  Window 2: 0100 2703 8708 0000 0000 0000 0052 4000.
  Window 3: 0000 0180 05ea 0020 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cc6 0001 8880 0300 8000.
  Window 5: 1ffc 0000 0000 0600 080f 06de 06c6 a000.
  Window 6: 0000 0000 0000 0200 0000 062a 0062 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x2800
  0x2810: **FIFO** 00000000 00000018 *STATUS*
  0x2820: 00000020 3f6332d0 00080000 00001404
  0x2830: 00000000 8fc87038 3f6331a0 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: full-duplex.
 Station address set to 00:01:03:27:08:87.
 Configuration options 0052.

# ./vortex-diag -m
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
 MII PHY found at address 1, status 0020.
 MII PHY found at address 2, status 0020.
 MII PHY found at address 3, status 0020.
 MII PHY found at address 4, status 0020.
 MII PHY 0 at #1 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c710 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 1 at #2 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c710 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 2 at #3 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c710 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 3 at #4 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c710 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.

# ./mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #1:  0000 0020 0000 0000 01e0 45e1 0003 0800.
 Basic mode control register 0x0000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0020 ... 0020.
   Link status: not established.
 Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-
FD 10baseT, w/ 802.3X flow control.

vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: full-duplex.
 Station address set to 00:01:03:27:08:87.
 Configuration options 0052.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:03:27:08:87 (used as a unique ID only).
 OEM Station address 00:01:03:27:08:87 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 10/12/2000, division H, product HN.
Options: none.
  Vortex format checksum is incorrect (002b vs. 10b7).
  Cyclone format checksum is incorrect (0x96 vs. 0xb0).
  Hurricane format checksum is incorrect (0xbd vs. 0xb0).
 MII PHY found at address 1, status 0020.
 MII PHY found at address 2, status 0020.
 MII PHY found at address 3, status 0020.
 MII PHY found at address 4, status 0020.
 MII PHY 0 at #1 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 1 at #2 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 2 at #3 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 3 at #4 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY #1 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0020 ... 0020.
   Link status: not established.
   Capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation complete.
 This transceiver has no vendor identification.
 I'm advertising 01e0: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD
 10baseT.
   Negotiation  completed.




Nonworking machine:

eth0      Link encap:Ethernet  HWaddr 00:01:03:27:08:A7
          inet addr:10.0.0.195  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46957 errors:0 dropped:0 overruns:0 carrier:46957
          collisions:0 txqueuelen:100
          Interrupt:18 Base address:0x2800
kernel: 3c59x.c:v0.99Qk-cx 7/5/2000 Donald Becker, becker@scyld.com
kernel: -cx by gchaney@webmill.com
kernel:   http://www.scyld.com/network/vortex.html
kernel: eth0: 3Com 3c905C Tornado at 0x2800,  00:01:03:27:08:a7, IRQ 18
kernel:   8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate
interface.
kernel:   MII transceiver found at address 24, status 7809.
kernel:   Enabling bus-master transmits and whole-frame receives.
# ./vortex-diag -a
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
  Window 0: 0000 0000 e4cf 0000 8d8d 00bf ffff 0000.
  Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
  Window 2: 0100 2703 a708 0000 0000 0000 0052 4000.
  Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cc6 0001 8080 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0168 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x2800
  0x2810: **FIFO** 00000000 0000000a *STATUS*
  0x2820: 00000020 3f633220 00080000 00001404
  0x2830: 00000000 fc5003b0 3f633000 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:01:03:27:08:a7.
 Configuration options 0052.

vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
 MII PHY found at address 24, status 7809.
 MII PHY 0 at #24 transceiver registers:
   3000 7809 0041 6800 05e1 0000 0005 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0618 1e08 0030 4001 40c8 a000 0000 0000
   d300 0020 8084 9119 0065 1bef 7fff 0000.


# ./mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #24:  3000 7809 0041 6800 05e1 0000 0005 2001.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.

# ./vortex-diag -mm -v
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
 Indication enable is ffff, interrupt enable is ffff.
 Interrupt sources are pending.
   Interrupt latch indication.
   Adapter Failure indication.
   Tx Complete indication.
   Tx Available indication.
   Rx Complete indication.
   Rx Early Notice indication.
   Driver Intr Request indication.
   Statistics Full indication.
   DMA Done indication.
   Download Complete indication.
   Upload Complete indication.
   DMA in Progress indication.
   Command in Progress indication.
 Transceiver/media interfaces available:  100baseT4 100baseTx 100baseFx
10baseT
10base2 AUI MII .
Transceiver type in use:  undefined-15.
 MAC settings: full-duplex, Large packets permitted, 802.1Q flow control,
VLT VL
AN enabled.
Maximum packet size is 65535.
 Station address set to ff:ff:ff:ff:ff:ff.
 Configuration options ffff.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address FF:FF:FF:FF:FF:FF (used as a unique ID only).
 OEM Station address ff:FF:FF:FF:FF:FF (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 15/31/2027, division , product .
Options: force full-duplex.
  Vortex format checksum is incorrect (0000 vs. ffff).
  Cyclone format checksum is incorrect (00 vs. 0xff).
  Hurricane format checksum is incorrect (00 vs. 0xff).
 ***WARNING***: No MII transceivers found!
 MII PHY #24 transceiver registers:
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
   Capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising 0000:
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0000:.
   Negotiation did not complete.

# ./mii-diag -p 24 eth0
Using the specified MII PHY index 24.
Basic registers of MII PHY #24:  3000 7809 0041 6800 05e1 0000 0005 2001.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.
# ./mii-diag -p 24 eth0
Using the specified MII PHY index 24.
Basic registers of MII PHY #24:  3000 7809 0041 6800 05e1 0000 0005 2001.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.



- Garnet