[vortex-bug] AUI connector with 3C905B-Combo, a workaround

Moritz Franosch jfranosc@physik.tu-muenchen.de
18 Aug 2000 23:10:06 +0200


Bogdan Costescu <Bogdan.Costescu@IWR.Uni-Heidelberg.De> writes:

> On 16 Aug 2000, Moritz Franosch wrote:
> 
> > I didn't.
> > ...
> > Instead I recorded the output of vortex-diag during the steps that
> > are necessary to make the card work.
> 
> Sorry about this, but you sent a lot of info and only a small part of it
> was indeed needed. 

Doesn't matter.


> There is usually no use of 'vortex-diag' run _before_
> an 'ifconfig' (which is done by /sbin/init.d/network start), as only
> vortex_probe1() routine is called. 'ifconfig' calls vortex_open() which
> does all the initialization of the driver internal variables and the card.

> I asked you to try to only pass 'options=1' to the driver, initialize the
> network (/sbin/init.d/network start) and then run 'vortex-diag'. The
> reason is that I want to see why the card is not working. The information
> that you provided shows the card's state after a succesfull initialization
> with your protocol. 

I thought insmod is enough.


Here is the information you need, hopefully. Is it?



# lsmod
Module                  Size  Used by
serial                 42612   0  (autoclean)
memstat                 1476   0  (unused)
ncr53c8xx              51988   0  (unused)
# modprobe 3c59x options=1
# lsmod
Module                  Size  Used by
3c59x                  18944   0  (unused)
serial                 42612   0  (autoclean)
memstat                 1476   0  (unused)
ncr53c8xx              51988   0  (unused)
# /sbin/init.d/network start
Setting up network device eth0 done
# /home/jfranosc/config/vortex-diag/vortex-diag -v
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT 10base2 AUI10baseFL.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:01:02:2a:bb:a9.
 Configuration options 000a.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:02:2A:BB:A9 (used as a unique ID only).
 OEM Station address 00:01:02:2A:BB:A9 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/26/2000, division H, product DG.
Options: none.
  Vortex format checksum is incorrect (00dc vs. 10b7).
  Cyclone format checksum is correct (0x89 vs. 0x89).
  Hurricane format checksum is correct (0x89 vs. 0x89).
 MII PHY found at address 24, status 780d.
 MII PHY 0 at #24 transceiver registers:
   3100 780d 0000 0000 01e1 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.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.
# /home/jfranosc/config/vortex-diag/vortex-diag -a
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
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 0000 0000 f5f5 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 0100 2a02 a9bb 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0000 003a 0800 0800 6000.
  Window 4: 0000 00d1 0000 0cc0 0001 8808 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 0xc800
  0xC810: **FIFO** 00000000 00000000 *STATUS*
  0xC820: 00000020 00000000 00080000 00000004
  0xC830: 00000000 64449bbc 0684b800 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT 10base2 AUI10baseFL.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:01:02:2a:bb:a9.
 Configuration options 000a.
# /home/jfranosc/config/vortex-diag/vortex-diag -e
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:02:2A:BB:A9 (used as a unique ID only).
 OEM Station address 00:01:02:2A:BB:A9 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/26/2000, division H, product DG.
Options: none.
  Vortex format checksum is incorrect (00dc vs. 10b7).
  Cyclone format checksum is correct (0x89 vs. 0x89).
  Hurricane format checksum is correct (0x89 vs. 0x89).
# /home/jfranosc/config/vortex-diag/vortex-diag -ee
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
EEPROM contents (64 words):
 0x000: 0001 022a bba9 9058 003a 0048 4744 6d50
 0x008: 2978 0000 0001 022a bba9 0010 0000 0008
 0x010: 32a2 0000 0000 0180 0000 0000 0000 10b7
 0x018: 9058 003a 0000 0000 0000 0000 0000 0000
 0x020: 0089 0000 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0000 0000 0000 0000 0000 0000 0000 0000
 0x038: 0000 0000 0000 0000 0000 0000 0000 0000
 The word-wide EEPROM checksum is 0xc09a.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:02:2A:BB:A9 (used as a unique ID only).
 OEM Station address 00:01:02:2A:BB:A9 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/26/2000, division H, product DG.
Options: none.
  Vortex format checksum is incorrect (00dc vs. 10b7).
  Cyclone format checksum is correct (0x89 vs. 0x89).
  Hurricane format checksum is correct (0x89 vs. 0x89).
# /home/jfranosc/config/vortex-diag/vortex-diag -m
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
 MII PHY found at address 24, status 780d.
 MII PHY 0 at #24 transceiver registers:
   3100 780d 0000 0000 01e1 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.
# ping -c 1 -w 1 129.187.127.254
PING 129.187.127.254 (129.187.127.254): 56 data bytes

--- 129.187.127.254 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
# /home/jfranosc/config/vortex-diag/vortex-diag -v
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT 10base2 AUI10baseFL.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:01:02:2a:bb:a9.
 Configuration options 000a.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:02:2A:BB:A9 (used as a unique ID only).
 OEM Station address 00:01:02:2A:BB:A9 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/26/2000, division H, product DG.
Options: none.
  Vortex format checksum is incorrect (00dc vs. 10b7).
  Cyclone format checksum is correct (0x89 vs. 0x89).
  Hurricane format checksum is correct (0x89 vs. 0x89).
 MII PHY found at address 24, status 782d.
 MII PHY 0 at #24 transceiver registers:
   3100 782d 0000 0000 01e1 0020 8000 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.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.
# /home/jfranosc/config/vortex-diag/vortex-diag -a
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
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 0000 0000 f5f5 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 0100 2a02 a9bb 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0000 003a 0800 0800 6000.
  Window 4: 0000 00d1 8000 0cc0 0001 8808 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0078 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0002 e000.
Vortex chip registers at 0xc800
  0xC810: **FIFO** 00000000 0000000a *STATUS*
  0xC820: 00000020 00000000 00080000 00000004
  0xC830: 00000000 b3eb4c15 0684b800 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT 10base2 AUI10baseFL.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:01:02:2a:bb:a9.
 Configuration options 000a.
# /home/jfranosc/config/vortex-diag/vortex-diag -e
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:02:2A:BB:A9 (used as a unique ID only).
 OEM Station address 00:01:02:2A:BB:A9 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/26/2000, division H, product DG.
Options: none.
  Vortex format checksum is incorrect (00dc vs. 10b7).
  Cyclone format checksum is correct (0x89 vs. 0x89).
  Hurricane format checksum is correct (0x89 vs. 0x89).
# /home/jfranosc/config/vortex-diag/vortex-diag -ee
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
EEPROM contents (64 words):
 0x000: 0001 022a bba9 9058 003a 0048 4744 6d50
 0x008: 2978 0000 0001 022a bba9 0010 0000 0008
 0x010: 32a2 0000 0000 0180 0000 0000 0000 10b7
 0x018: 9058 003a 0000 0000 0000 0000 0000 0000
 0x020: 0089 0000 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0000 0000 0000 0000 0000 0000 0000 0000
 0x038: 0000 0000 0000 0000 0000 0000 0000 0000
 The word-wide EEPROM checksum is 0xc09a.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:02:2A:BB:A9 (used as a unique ID only).
 OEM Station address 00:01:02:2A:BB:A9 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/26/2000, division H, product DG.
Options: none.
  Vortex format checksum is incorrect (00dc vs. 10b7).
  Cyclone format checksum is correct (0x89 vs. 0x89).
  Hurricane format checksum is correct (0x89 vs. 0x89).
# /home/jfranosc/config/vortex-diag/vortex-diag -m
vortex-diag.c:v2.02 7/1/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0xc800.
 MII PHY found at address 24, status 782d.
 MII PHY 0 at #24 transceiver registers:
   3100 782d 0000 0000 01e1 0020 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.



Moritz