[tulip] Linksys PCMPC200v2 Transmit Timeouts

Erik Steffl steffl@bigfoot.com
Tue, 05 Dec 2000 01:09:38 -0800


  I have somewhat similar problem with linksys LNE100TX 4.1 card. or two
problems, both tx related but otherwise probably unrelated.

  one problem is the tx timeout message, it does not go away unless I
re-load drivers (and no transmission goes through). this problem is
fixed either by patch I've got from Dan Hollis or by latest test driver:

tulip.c:v0.92p 11/28/2000  Written by Donald Becker <becker@scyld.com>

  the other problem is that there is a lot of carrier errors (as
reported by ifconfig) and I also get tx errors but only for given
connection, the card works continuously. there are no problems on rx.

  it looks like this problem is caused by card thinking it's 100Mb, half
duplex while the card on the other end of crossover cable thinks that
it's 100Mb FULL duplex (IMO full duplex is right, why would it be half
duplex? the card is definitely able to do full duplex (tested by loading
ms win)).

  Donald said that this problem should befixed by the tst driver
mentioned above but it is not (in my case). Does anybody else have
similar problems? Any other comments/ideas?

  I am not sure how this is related, your card might use completely
different chips, I don't know (it looks like quite a mess).

	erik

Tom Reinertson wrote:
> 
> I've got a problem with the new Linksys 32bit pccard ethernet adapter.
> Donald provided me with a new driver for this card back in August and it
> has been working fine in my old laptop.  Recently I changed to an IBM
> ThinkPad i1200 and installed the card and driver in it.  The driver
> loads properly but doesn't work properly -- it reports transmission
> timeouts.  As far as I can tell the only change is PCI-Cardbus chip.
> The old laptop had a TI 1450 and this one has an O2Micro.
> 
> I've tried changing interrupts from 3 to 5 and then to 9, but that
> doesn't help.  I've included a snippet from /var/log/debug and the
> output from tulip-diag.  I sure would appreciate any direction someone
> can give me on this one.
> 
> Thanks.
> 
> Tom
> 
> /var/log/debug ----------------------------
> 
> Dec  3 20:07:36 team1 kernel: Linux PCMCIA Card Services 3.1.8
> Dec  3 20:07:36 team1 kernel:   kernel build: 2.2.14 #1 Sun Dec 3
> 18:14:49 MST 2000
> Dec  3 20:07:36 team1 kernel:   options:  [pci] [cardbus] [apm]
> Dec  3 20:07:36 team1 kernel: Intel PCIC probe:
> Dec  3 20:07:36 team1 kernel:   O2Micro OZ6812 PCI-to-CardBus at bus 0
> slot 3, mem 0x68000000, 1 socket
> Dec  3 20:07:36 team1 kernel:     host opts [0]: [a 24] [b 8d] [c 00] [d
> 82] [mhpg 18] [fifo 00] [e 2a] [no pci irq] [lat 32/176] [bus 32/34]
> Dec  3 20:07:36 team1 kernel:     ISA irqs (default) = 3,4,5,7,9,12,15
> polling interval = 1000 ms
> Dec  3 20:07:36 team1 cardmgr[7658]: starting, version is 3.1.8
> Dec  3 20:07:36 team1 cardmgr[7658]: watching 1 sockets
> Dec  3 20:07:36 team1 kernel: cs: IO port probe 0x1000-0x17ff: clean.
> Dec  3 20:07:36 team1 kernel: cs: IO port probe 0x0100-0x04ff: excluding
> 0x2c8-0x2cf 0x3b8-0x3df 0x4d0-0x4d7
> Dec  3 20:07:36 team1 kernel: cs: IO port probe 0x0a00-0x0aff: clean.
> Dec  3 20:07:37 team1 kernel: cs: cb_alloc(bus 32): vendor 0x13d1,
> device 0xab02
> Dec  3 20:07:37 team1 cardmgr[7658]: initializing socket 0
> Dec  3 20:07:37 team1 cardmgr[7658]: socket 0: Linksys EtherFast PCM200
> v2
> Dec  3 20:07:37 team1 cardmgr[7658]: executing: 'insmod
> /lib/modules/2.2.14/pcmcia/cb_enabler.o'
> Dec  3 20:07:37 team1 cardmgr[7658]: executing: 'insmod
> /lib/modules/2.2.14/pcmcia/pci-scan.o'
> Dec  3 20:07:37 team1 cardmgr[7658]: executing: 'insmod
> /lib/modules/2.2.14/pcmcia/cb_shim.o'
> Dec  3 20:07:37 team1 kernel: cb_shim.c:v1.00 4/15/2000  Donald Becker
> <becker@scyld.com>
> Dec  3 20:07:37 team1 kernel:  http://www.scyld.com/linux/drivers.html
> Dec  3 20:07:37 team1 cardmgr[7658]: executing: 'insmod
> /lib/modules/2.2.14/pcmcia/tulip.o'
> Dec  3 20:07:37 team1 kernel: tulip.c:v0.92j 8/9/2000  Written by Donald
> Becker <becker@scyld.com>
> Dec  3 20:07:37 team1 kernel:   http://www.scyld.com/network/tulip.html
> Dec  3 20:07:37 team1 kernel: Failed to map PCI address 0x0 for device
> 'ADMtek Centaur-C (Linksys v2)'.
> Dec  3 20:07:37 team1 kernel: cs: cb_config(bus 32)
> Dec  3 20:07:37 team1 kernel:   fn 0 bar 1: io 0xa00-0xaff
> Dec  3 20:07:37 team1 kernel:   fn 0 bar 2: mem 0x60060000-0x600603ff
> Dec  3 20:07:37 team1 kernel:   fn 0 rom: mem 0x60040000-0x6005ffff
> Dec  3 20:07:37 team1 kernel: cs: cb_enable(bus 32)
> Dec  3 20:07:37 team1 kernel:   bridge io map 0 (flags 0x21):
> 0xa00-0xaff
> Dec  3 20:07:37 team1 kernel:   bridge mem map 0 (flags 0x1):
> 0x60040000-0x60060fff
> Dec  3 20:07:37 team1 kernel: Found a ADMtek Centaur-C (Linksys v2) at
> 32/0 address 0x60060000->0xc6048000 IRQ 3.
> Dec  3 20:07:37 team1 kernel: ADMtek Centaur-C (Linksys v2) at 32/0
> command 0x7.
> Dec  3 20:07:37 team1 kernel: eth0: ADMtek Comet rev 17 at 0xc6048000,
> 00:E0:98:82:31:95, IRQ 3.
> Dec  3 20:07:37 team1 kernel: eth0:  MII transceiver #1 config 3000
> status 7849 advertising 01e1.
> Dec  3 20:07:37 team1 cardmgr[7658]: executing: './network start eth0'
> Dec  3 20:07:37 team1 cardmgr[7658]: exiting
> Dec  3 20:08:25 team1 kernel: eth0: Transmit timed out, status fc674055,
> CSR12 00000000, resetting...
> Dec  3 20:08:30 team1 kernel: eth0: Transmit timed out, status fc67c057,
> CSR12 00000000, resetting...
> Dec  3 20:09:00 team1 last message repeated 6 times
> 
> ./tulip-diag -m  ------------------------------------------------------
> 
> tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
>  http://www.scyld.com/diag/index.html
> Index #1: Found a ADMtek AL985 Centaur (Linksys CardBus v2) adapter at
> 0xa00.
>  Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
>  Transmit started, Receive started, half-duplex.
>   The Rx process state is 'Waiting for packets'.
>   The Tx process state is 'Idle'.
>   The transmit threshold is 128.
>  Interrupt sources are pending!  CSR5 is fc674014.
>    Tx out of buffers indication.
>    Link passed indication.
>    Early Rx indication.
>  The Comet MAC registers are 8298e000 ffff9531 filter 8000000000000000.
>  MII PHY found at address 1, status 0x786d.
>  MII PHY found at address 2, status 0x786d.
>  MII PHY found at address 3, status 0x786d.
>  MII PHY found at address 4, status 0x786d.
>  MII PHY #1 transceiver registers:
>    1000 786d 0022 5410 01e1 0081 0004 2001
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    01c0 0001 0790 8020 4f02 0304 0026 0000
>    0000 cfbf 0000 ffff ffff ffff ffff ffff.
>  MII PHY #2 transceiver registers:
>    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.
>  MII PHY #3 transceiver registers:
>    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.
>  MII PHY #4 transceiver registers:
>    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.
> 
> _______________________________________________
> tulip mailing list
> tulip@scyld.com
> http://www.scyld.com/mailman/listinfo/tulip