[vortex] driver problem

Chris Jones chris@black-sun.co.uk
Tue, 12 Sep 2000 18:17:42 +0100


Hi

Andrew Morton wrote:
> 
> collisions problem.  We think it's still not working for one particular
> flavour of Cardbus NIC, but it'll cure your 905B.

I patched my kernel up to test8 and dropped the file you linked to in place
of drivers/net/3c59x.c, recompiled everything, rebooted, but I still get the
problem. I've verified I'm using the new driver:

Sep 12 18:11:11 tenshu kernel: 3c59x.c:LK1.1.9  2 Sep 2000  Donald Becker
and others. http://www.scyld.com/network/vortex.html $Revision: 1.102.2.40 $ 

but I'm still seeing the same errors in syslog.
I grabbed the diagnostic tools and as per the bug reporting section in the
driver docs, outputs are below.

I also stuck a higher debug level (7) in the driver to see if it would
generate some more useful info, but other than the status information it
printed when activating the interface the errors were the same.

Any suggestions?

-- 
 _____ _         _       _____
| __  | |___ ___| |_ ___|   __|_ _ ___        Chris "Ng" Jones
| __ -| | .'|  _| '_|___|__   | | |   |  chris@black-sun.co.uk
|_____|_|__,|___|_,_|   |_____|___|_|_|    www.black-sun.co.uk
            S o f t w a r e

-(cmsj@tenshu)-(~)- ./mii-diag -v
mii-diag.c:v2.00 4/19/2000  Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
 MII PHY #24 transceiver registers:
   3000 786d 0000 0000 01e1 0020 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0ecf 1fdd 0000 0000 0005 2001 0000
   0000 2040 07cf 1c11 0011 1000 0000 0000.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD
10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Your link partner is generating 10baseT link beat  (no autonegotiation).
 MII PHY #24 transceiver registers:
   3000 786d 0000 0000 01e1 0020 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0008 0810 0000 0000 0005 2001 0000
   0000 2040 07cf 1c11 0011 1000 0000 0000.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x786d ... 786d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 This transceiver has no vendor identification.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0020: 10baseT.
   Negotiation did not complete.


-(cmsj@tenshu)-(~)- sudo ./vortex-diag -aaee
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 100baseTx adapter at 0xd000.
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 f5f5 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 1000 205a 1260 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0018 0001 8880 0000 8000.
  Window 5: 1ffc 0000 0000 1ffc 0800 0000 0000 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xd000
  0xD010: **FIFO** 00000000 00000000 *STATUS*
  0xD020: 00000000 00000000 00080000 00000004
  0xD030: 00000000 12ceed32 00000000 00080004
 Indication enable is 0000, interrupt enable is 0000.
 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:10:5a:20:60:12.
 Configuration options 000a.
EEPROM contents (64 words):
 0x000: 0010 5a20 6012 9055 c51a 0036 5051 6d50
 0x008: 2971 0000 0010 5a20 6012 0020 0000 0022
 0x010: 32a2 0000 0000 0180 0000 0004 0000 10b7
 0x018: 9055 000a 0000 0000 0000 0000 0000 0000
 0x020: 0037 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 0x86f0.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:10:5A:20:60:12 (used as a unique ID only).
 OEM Station address 00:10:5A:20:60:12 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 8/26/1998, division 6, product QP.
Options: none.
  Vortex format checksum is incorrect (005f vs. 10b7).
  Cyclone format checksum is correct (0x37 vs. 0x37).
  Hurricane format checksum is correct (0x37 vs. 0x37).

After loading the driver with debug=7, activating the interface produces:

Sep 12 18:13:32 tenshu kernel: eth0: using NWAY autonegotiation 
Sep 12 18:13:32 tenshu kernel: eth0: MII #24 status 786d, link partner
capability 0020, setting half-duplex.