Linksys 10/100 CardBus MII transceiver problem

Michael Schmitz mbs@veritas.com
Sun Oct 11 01:32:33 1998


I'm posting here because I don't know if this is a tulip driver
problem or a card services problem (AMSTECH Rodeo laptop).  

Briefly, everything seems configured properly, but the transceiver
won't put any packets on the wire.  Transmit seems to time out
at the transceiver level.  Tulip-diag seems to have problems at
the PCI bus level.  Thanks for any help.

					Michael
					mbs@veritas.com

*********************** /proc/pci ***************************

PCI devices found:
  Bus  0, device  10, function  1:
    CardBus bridge: Texas Instruments PCI1131 (rev 1).
      Medium devsel.  IRQ 255.  Master Capable.  Latency=168.  Min Gnt=192.Max Lat=3.
  Bus  0, device  10, function  0:
    CardBus bridge: Texas Instruments PCI1131 (rev 1).
      Medium devsel.  IRQ 255.  Master Capable.  Latency=168.  Min Gnt=128.Max Lat=2.
  Bus  0, device   3, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device   3, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=64.  
      I/O at 0xfce0.
  Bus  0, device   3, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xfcd0.
  Bus  0, device   3, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   2, function  0:
    VGA compatible controller: Trident Cyber9397 (rev 243).
      Medium devsel.  IRQ 9.  Master Capable.  Latency=64.  
      Non-prefetchable 32 bit memory at 0xfe400000.
      Non-prefetchable 32 bit memory at 0xfede0000.
      Non-prefetchable 32 bit memory at 0xfe800000.
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (no AGP) (rev 2).
      Medium devsel.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0x0.

*********************** output from dmesg **************************

Linux PCMCIA Card Services 3.0.5
  kernel build: 2.0.35 #130 Mon Jul 27 11:06:31 MEST 1998
  options:  [pci] [cardbus]
Intel PCIC probe: 
  TI 1131 CardBus at mem 0x68000000, 2 sockets
    host opts [0]: [ring] [pci + serial irq] [no pci irq] [lat 168/176] [bus 32/34]
    host opts [1]: [ring] [pci + serial irq] [no pci irq] [lat 168/176] [bus 35/37]
    ISA irqs (scanned) = 3,4,7,10,11,15 status change on irq 15
cs: IO port probe 0x1000-0x17ff: excluding 0x1260-0x1267
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x260-0x267 0x330-0x337 0x378-0x37f 0x388-0x38f 0x398-0x39f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
ROM image dump:
  image 0: 0x000000-0x0001ff, signature PCIR
cs: cb_config(bus 32): vendor 0x1011, device 0x0019
  fn 0 bar 1: io 0x100-0x17f
  fn 0 bar 2: mem 0xa00c0000-0xa00c007f
  fn 0 rom: mem 0xa0080000-0xa00bffff
cs: cb_enable(bus 32)
  bridge io map 0 (flags 0x21): 0x100-0x17f
  bridge mem map 0 (flags 0x1): 0xa0080000-0xa00c0fff
tulip_attach(bus 32, function 0)
tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21142/3 Tulip at 0x100, 00 e0 98 03 78 aa, IRQ 11.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
eth0:  MII transceiver found at MDIO address 0, config 1000 status 7809.
eth0:  Advertising 01e1 on PHY 0, previously advertising 01e1.
eth0: 21140 transmit timed out, status f0120000, SIA 000010c6 ffff0001 fffbffff 8ff1c008, resetting...
eth0:  Advertising 01e1 on PHY 0 (0).
eth0: transmit timed out, switching to 100baseTx media.

********** output from tulip-diag -f -e -e -a -m -m  **************

tulip-diag.c:v1.06 9/18/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Digital DC21040 Tulip Tulip chip registers at 0x1000:
  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
 The Rx process state is 'Transferring Rx frame into memory'.
 The Tx process state is 'Closing Tx descriptor'.
  PCI bus error!: Unknown 7.
Transmit started, Receive started, full-duplex.
 The transmit unit is set to store-and-forward.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
EEPROM contents:
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
 ID CRC 0xfa (vs. 0xff), complete CRC 57a987a3.
 ***WARNING***: No MII transceivers found!