adaptec ana6911a/tx dec 21142 woes

Olaf Schnapauff c0033014@rznb33.rz.tu-bs.de
Fri Jul 10 09:42:30 1998


Trying to run Adaptecs 21142/3 based ANA6911A/tx (combo) and the tp
version in a PII 266.

Result: I do not get a link with 10baset or 100base-tx

trying to replace t21142_timer with tulip_timer as suggested on the
mailinglist AND passing options=11 to the driver makes it work (just
getting a few "too much work at interrupt"), using 0.89h

Here for the gurus, some logs of the failed attempts, hope it helps to
figure out whats wrong. I am also using the same card with 0.88 in a
Alpha, using 10base2, works fine....


eth1: The transmitter stopped! CSR5 is f0678006, CSR6

PCI devices:

PCI devices found:
  Bus  0, device  12, function  0:
    VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 1).
      Medium devsel.  IRQ 10.  Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xdc000000.
  Bus  0, device  11, function  0:
    Ethernet controller: DEC DC21142 (rev 33).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable.  Latency=32.  Min Gnt=20.Max Lat=40.
      I/O at 0xb400.
      Non-prefetchable 32 bit memory at 0xe2000000.
  Bus  0, device  10, function  0:
    SCSI storage controller: Adaptec AIC-7871 (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 12.  Master Capable.  Latency=32.  Min Gnt=8.Max Lat=8.
      I/O at 0xb800.
      Non-prefetchable 32 bit memory at 0xe2800000.
  Bus  0, device   9, function  0:
    Ethernet controller: DEC DC21142 (rev 33).
      Medium devsel.  Fast back-to-back capable.  IRQ 14.  Master Capable.  Latency=32.  Min Gnt=20.Max Lat=40.
      I/O at 0xd000.
      Non-prefetchable 32 bit memory at 0xe3000000.
  Bus  0, device   4, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device   4, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master Capable.  Latency=32.  
      I/O at 0xd400.
  Bus  0, device   4, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  
      I/O at 0xd800.
  Bus  0, device   4, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440LX - 82443LX PAC AGP (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  Min Gnt=1.
      Non-prefetchable 32 bit memory at 0x40010100.
      Non-prefetchable 32 bit memory at 0x22a0d0e0.
      Non-prefetchable 32 bit memory at 0xe3e0e3f0.
      Non-prefetchable 32 bit memory at 0xe3f0e400.
  Bus  0, device   0, function  0:
    Host bridge: Intel 440LX - 82443LX PAC Host (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xe4000000.

Also tried another machine, same result.


eth1: tulip_open() irq 11.
eth1:  Advertising 01e1 on PHY 0 (1).
eth1: Using media type MII, CSR12 is c6.
eth1: Done tulip_open(), CSR0 ffa04800, CSR5 f0360000 CSR6 320e2002.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: 21142 negotiation status 000000c6, MII.
eth1: 21142 negotiation failed, status 000000c6.
eth1: Testing new 21142 media 100baseTx.
eth1: interrupt  csr5=0xf0068002 new csr5=0xf0060000.
eth1: The transmitter stopped!  CSR5 is f0068002, CSR6 b3860002.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: tulip_open() irq 11.
eth1:  Advertising 01e1 on PHY 0 (1).
eth1: Using media type MII, CSR12 is c6.
eth1: Done tulip_open(), CSR0 ffa04800, CSR5 f0360000 CSR6 320e2002.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.
eth1: 21142 negotiation status 000000c6, MII.
eth1: 21142 negotiation failed, status 000000c6.
eth1: Testing new 21142 media 100baseTx.
eth1: interrupt  csr5=0xf0068002 new csr5=0xf0060000.
eth1: The transmitter stopped!  CSR5 is f0068002, CSR6 b3860002.
eth1: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth1: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth1: exiting interrupt, csr5=0xf0660000.

Driver version is 0.89h


with tulip_timer instead of t21142

Found Digital DS21142/3 Tulip at I/O 0xd000.
tulip.c:v0.89B 4/19/98 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21142/3 Tulip at 0xd000, 00 00 d1 10 33 89, IRQ 14.
read_eeprom:
1109 2a00 0000 0000 0000 0000 0000 0000
0001 0103 0000 10d1 8933 2800 0000 0000
0000 0000 0000 0000 0800 9701 0003 2102
0008 0300 0821 0001 0000 7800 01e0 5000
1800 8c00 4102 0009 0705 0006 0821 0005
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 042a 7311
eth0:  EEPROM default media type Autosense.
eth0:  MII interface PHY 0, setup/reset sequences 2/0 long, capabilities 00 00.
eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
eth0: ***WARNING***: No MII transceiver found!
  PCI latency timer (CFLT) is 0x20,  PCI command is 0017.
eth0: tulip_open() irq 14.
eth0: Done tulip_open(), CSR0 ffa04800, CSR5 f0360000 CSR13 ffff0001.
eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth0: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth0: exiting interrupt, csr5=0xf0660000.
eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth0: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth0: exiting interrupt, csr5=0xf0660000.
eth0: interrupt  csr5=0xf0370004 new csr5=0xf0360000.
eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth0: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth0: exiting interrupt, csr5=0xf0660000.
eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
eth0: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth0: exiting interrupt, csr5=0xf0660000.
eth0: Media selection tick, status f0660000 mode b2422202 SIA 000020c6 ffff0001 fffbffff 8ffd0008.
eth0: MII status ffff, Link partner report ffff, CSR12 20c6, HD.

Still doesnt work, passing options=11 does it now.

Hints via email would be most appreciated.

Olaf

-- 
-------------------------------------------------------------------------
"The number of Unix installations       Olaf Schnapauff,
has grown to 10, with more expected."   O.Schnapauff@tu-bs.de  
- The Unix Programmer's Manual,1972     http://www.tu-bs.de/~c0033014/
       See Web page and keyservers  for pgp public key
pgp 2.6.3 Key fingerprint = 67 DA 50 9A 9F 41 31 9D  51 B0 77 CC C4 FA 2B 1B
pgp 5.0 fingerprint = 0DDA A44C 901B 4459 178E  628C C0D3 E4E7 9A7E 07F9