[vortex] 3c556 problems (3Com Mini 10/100 PCI)

Tim Miller cerebus@haybaler.sackheads.org
Sat, 20 Oct 2001 13:17:08 -0700


--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I've got a Daewoo Qrium here with one of these adaptors in it.  Under
kernel-2.2.19, the adaptor works, with the exception that I cannot 
load the module at boot time-- if I do, the adaptor won't work until 
I rmmod and insmod it again.

Under 2.4.x (2.4.12 now), it won't work at all.  The module loads
but the adaptor won't work.  ifconfig shows transmissions but not
received packets.  kern.log gives e201 messages in interrupt loop.

I followed through the thread from July about this very problem.  The
symptoms that were reported were exactly what I'm experiencing.  But
that thread ended without a resolution I could use.

Below are the output of Donald Becker's vortex-diag with -aa, -mm, and 
-ee options.  I noticed that in the -mm output, the message

	Rx link in fail state, PLL locked.

appears, which jibes with what ifconfig reports.  But I can't find a 
way to fix it.

I could stay with 2.2.19, but I need 2.4.x so I can get DRM/DRI working
with the video card.  

Pointers appreciated.  Thanks.

-- 
Cerebus <cerebus@sackheads.org>
"Sapere Aude"

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diag-ee
Content-Transfer-Encoding: quoted-printable

vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c556 Laptop Hurricane adapter at 0x2400.
EEPROM contents (256 words, offset 0x30):
 0x000: 1578 6055 0000 8060 0040 0000 0000 0080
 0x008: 0000 0000 0000 0000 0000 0000 0000 0000
 0x010: 0000 0000 0000 0000 0000 0000 10b7 6256
 0x018: 0000 0000 0000 0000 0000 0000 0000 0a0a
 0x020: 0000 0000 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0000 8642 f8f6 6055 c722 0009 0000 6d50
 0x038: 2970 0009 0000 8642 f8f6 2010 0000 0000
 0x040: 32a6 0000 0000 0000 0000 0000 0000 0010
 0x048: 0000 0000 0000 0000 0000 0000 0000 0000
 0x050: 0000 0000 0000 0000 0000 0000 0000 0000
 0x058: 0000 0000 0000 0000 0000 0000 0000 0000
 0x060: 0000 0000 0000 0000 0000 0000 0000 0000
 0x068: 0000 0000 0000 0000 0000 0000 0000 0000
 0x070: 0000 0000 0000 0000 0000 0000 0000 0000
 0x078: 0000 0000 0000 0000 0000 0000 0000 0000
 0x080: 0000 1007 1568 0004 0000 0780 0000 0000
 0x088: 0000 0000 0000 0000 0000 0000 0000 0000
 0x090: 0000 0000 0000 0000 0000 0000 10b7 6158
 0x098: 0000 0000 0000 0000 0000 0000 0000 0a0a
 0x0a0: 0000 0060 0000 0000 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 0x2c93.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 The CardBus product ID is 1578 6055.
 3Com Node Address 00:00:86:42:F8:F6 (used as a unique ID only).
 OEM Station address 00:00:86:42:F8:F6 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 9/2/1999, division 	, product =00=00.
 Options: negotiated duplex, link beat required.
  Vortex format checksum is correct (0010 vs. 0010).
  Cyclone format checksum is correct (00 vs. 00).
  Hurricane format checksum is correct (00 vs. 00).

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diag-aa

vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c556 Laptop Hurricane adapter at 0x2400.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 0, registers values by window:
  Window 0: 0000 0000 dac2 0000 0000 06ff ffff 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 9c09 ffe3 ffff 0000 0000 0000 0002 4000.
  Window 3: 0000 0060 05ea 0000 0040 1000 0800 6000.
  Window 4: 0000 0000 0000 0020 0003 8080 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 0x2400
  0x2410: **FIFO** 00000000 00000000 *STATUS*
  0x2420: 00000000 00000000 00080000 00000004
  0x2430: 00000000 c7d93827 00000000 00080004
 Indication enable is 0000, interrupt enable is 0000.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
Transceiver type in use:  MII.
 MAC settings: half-duplex.
 Station address set to 09:9c:e3:ff:ff:ff.
 Configuration options 0002.

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diag-mm

vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c556 Laptop Hurricane adapter at 0x2400.
 MII PHY found at address 0, status 7809.
 MII PHY 0 at #0 transceiver registers:
   3100 7809 0300 e54b 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0140 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 MII PHY #0 transceiver registers:
   3100 7809 0300 e54b 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0140 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:c0:39:--:--:--, model 20 rev. 11.
   Vendor/Part: TDK transceiver (unknown type).
 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 0000:.
   Negotiation did not complete.
  TDK format vendor-specific registers 16..18 are 0x0140 0x0000 0x0000
      Link polarity is detected as normal.
      Auto-negotiation complete, 10Mbps half duplex.
      Rx link in fail state, PLL locked.
      No new link status events.

--dDRMvlgZJXvWKvBx--