[tulip-bug] LNE-100tx and IDE trouble
Pete Holzmann
Tech@ICTA.Net
Sat, 27 Jan 2001 09:05:05 -0700
I've got a PIII system ("rose") with two LinkSys LNE-100tx ethernet
cards, Mandrake Linux 2.2.14, and an IDE hard drive.
I've been seeing very poor performance when writing from the network
to the Linux box using 100baseT
Running any version of the Tulip driver (including latest test
version), I have simplified my problem statement to:
* using ttcp to write from the LAN to Rose, I get just about perfect
performance: over 10kb/sec.
* if I redirect the output of ttcp on the linux side, suddenly
everything falls apart, including kernel error messages,
incompletely written to the log file.
I assume this is some kind of interrupt level interaction between the
tulip driver and the ide driver. I need some help in debugging this
to the next level. Any suggestions most welcome!
Thanks,
Pete
FOLLOWING: a portion of /var/log/messages, and a tulip-diag log
MESSAGES
Jan 27 07:03:59 rose kernel: ing interrupt, csr5=0xfc664010.
Jan 27 07:04:00 rose kernel: fc664010.
Jan 27 07:04:00 rose kernel: th1: exiting interrupt, csr5=0xfc264010.
Jan 27 07:04:00 rose kernel: ), entry 12 05ee0300.
Jan 27 07:04:04 rose kernel: rrupt csr5=0xfc274014 new
csr5=0xfc264010.
Jan 27 07:04:05 rose kernel: sr5=0xfc274014 new csr5=0xfc264010.
Jan 27 07:04:11 rose kernel: 0.
Jan 27 07:04:15 rose kernel: csr5=0xfc274050 new csr5=0xfc264010.
Jan 27 07:04:19 rose kernel: tulip_rx(), entry 10 05ee0300.
Jan 27 07:04:21 rose kernel: eth0: MII link partner 0021, negotiated
0021.
TULIP DIAG
tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xd000.
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.
The Comet MAC registers are 1e782000 ffff5f55 filter
0000000040000000.
Index #2: Found a ADMtek AL985 Centaur-P adapter at 0xd400.
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.
The Comet MAC registers are 1c782000 ffff295d filter
0000000040000000.
Use '-a' or '-aa' to show device registers,
'-e' to show EEPROM contents, -ee for parsed contents,
or '-m' or '-mm' to show MII management registers.
---
Pete Holzmann Pete@ICTA.net 12175 Howells Road
President/CEO Colorado Springs, CO 80908 USA
ICTA(r) Tel/Fax: [1](719)495-8789
"Networking for Global Breakthrough"(r) http://www.icta.net
International Christian Technologists' Association