Lanfinity keeps breaking under load.

Bernhard Sessner <[email protected]> Mon, 21 Apr 2003 16:13:30 +0200
Newsgroups gmane.linux.drivers.tulip.general
Message-ID <[email protected]>
Hello,

I'm running a Compaq Presario 1211EA with Conexant Lanfinity ethernet.
I've seen several people on the list with problems similar to mine, but I did not
find a solution posted.

My current kernel version is 2.4.18 (Debian),  but I get the same problems 
with other 2.4.1x kernels, also with unpatched ones.
The driver in 2.4.20 does work actually without breaking down,
but the maximum throughput is around 300 KByte/s.

The problem is always the same: Under a high (mostly) NFS transmit load, 
the interface stops working completely.
I have to bring it down and up to get it to work again.

I tried to get as much info as I could, 
turned off wrapping in order to keep it readable:

#from syslog during boot:
Apr 21 14:42:13 earnie kernel: pci-scan.c:v1.11 8/31/2002  Donald Becker <[email protected]> http://www.scyld.com/linux/drivers.html
Apr 21 14:42:13 earnie kernel: tulip.c:v0.95f 11/17/2002  Written by Donald Becker <[email protected]>
Apr 21 14:42:13 earnie kernel:   http://www.scyld.com/network/tulip.html
Apr 21 14:42:13 earnie kernel:   The PCI BIOS has not enabled the device at 0/72!  Updating PCI command 0003->0007.
Apr 21 14:42:13 earnie kernel: eth0: Conexant LANfinity rev 8 at 0xc90e7000, 00:50:8B:FA:D5:4D, IRQ 11.
Apr 21 14:42:13 earnie kernel: eth0:  MII transceiver #1 config 1000 status 782d advertising 01e1.
Apr 21 14:42:13 earnie kernel: eth0:  MII transceiver #0 config 1000 status 782d advertising 01e1.

The following output has been generated when the interface was "broken down"

#./mii-diag 
Using the default interface 'eth0'.
Basic registers of MII PHY #1:  1000 782d 0022 1720 01e1 41e1 0007 2001.
 The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   End of basic transceiver information.

#./tulip-diag -aaemmf
tulip-diag.c:v2.15 9/23/2002 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
Conexant LANfinity chip registers at 0x1400:
 0x00: fff88000 ffffffff ffffffff 0795a800 0795aa00 f4660000 e0042202 7bffebef
 0x40: fffe0000 fffd80e8 fffe0000 fffe0000 ffffffff ffffffff ffffffff f7f9fec8
 Extended registers:
 0x80: cc660000 cbffebef f0000019 ffff00ff ffffffff 0795aaa0 0795a970 00000000
 0xa0: ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 0xc0: 00000000 00000000 00000000 00000000 00000000 0000ffff 00000000 00000000
 0xe0: 00000000 00000000 00000000 000000ff ffffffff 00000000 00000000 00000000
 Port selection is MII, full-duplex.
 Transmit started, Receive started.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
EEPROM 256 words, 8 address bits.
Conexant EEPROM format is undocumented.
 MII PHY found at address 1, status 0x782d.
 MII PHY found at address 0, status 0x782d.
 MII PHY #1 transceiver registers:
   1000 782d 0022 1720 01e1 41e1 0007 2001
   1000 782d 0022 1720 01e1 41e1 0007 2001
   1000 782d 0022 1720 01e1 0000 0007 2001
   0000 0000 0000 0020 01e1 2001 0000 9c18.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:08:85:--:--:--, model 50 rev. 0.
   Vendor/Part: Alta/Kendin Sundance.
 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 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.

#ifconfig, note that TX bytes is definitely wrong - at this time i had transmitted ~ 120 MB.
eth0      Protokoll:Ethernet  Hardware Adresse 00:50:8B:FA:D5:4D  
          inet Adresse:10.254.130.45  Bcast:10.254.130.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:117302 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10338 errors:136157 dropped:0 overruns:0 carrier:136572
          Kollisionen:0 Sendewarteschlangenlänge:100 
          RX bytes:138877071 (132.4 MiB)  TX bytes:1836792 (1.7 MiB)
          Interrupt:11 Basisadresse:0x7000

#from syslog, don't know if this helps though.
Apr 21 15:01:48 earnie kernel: RPC: sendmsg returned error 101
Apr 21 15:01:48 earnie kernel: nfs: RPC call returned error 101
Apr 21 15:01:48 earnie kernel: RPC: sendmsg returned error 101
Apr 21 15:01:48 earnie kernel: nfs: RPC call returned error 101


If something is missing, let me know.
Many thanks in advance,

Bernhard
_______________________________________________
tulip mailing list, [email protected]
To change to digest mode or unsubscribe visit
http://www.scyld.com/mailman/listinfo/tulip