Too many carrier errors and too few RX packets problem

Sergio Salvi sergio.salvi@uol.com.br
Mon Mar 6 18:02:11 2000


Hi!

I'm using a 3Com 3c905 Boomerang 100baseTx with Linux 2.2.14 but I'm
having the following problem, as reported by ifconfig:

eth1      Link encap:Ethernet  HWaddr 00:60:08:59:2F:62
          inet addr:192.168.192.64  Bcast:192.168.195.255
Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7326 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1317 errors:0 dropped:0 overruns:0 carrier:1317
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0xef00

I have a lot of RX packets but too few TX packets (No, I'm not ftping
other servers :), and the carrier error increases as much as I use the
network card (even in a simple telnet session). It's forced at 100/full
in the NIC and switch. I tried also using 10/half, 100/half and 10/full.

The cable is ok (I tested it with a cable tester) and the switch port
also. I even switched the cables and the switch port. Even changed the
switch (from a Cisco to a Bay), and the problems persists. I was using
kernel 2.2.10 and with 2.2.14 the problem persists.

I compiled the driver as module and tried some options at insmod. Here
is some output of "debug=6":

-----

Mar  6 18:46:51 srv kernel: 3c59x.c:v0.99H 11/17/98 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
Mar  6 18:46:51 srv kernel: eth1: 3Com 3c905 Boomerang 100baseTx at
0xef00,  00:60:08:59:2f:62, IRQ 9
Mar  6 18:46:51 srv kernel:   Internal config register is 16302d8,
transceivers 0xe040.
Mar  6 18:46:51 srv kernel:   8K word-wide RAM 3:5 Rx:Tx split,
autoselect/MII interface.
Mar  6 18:46:51 srv kernel:   MII transceiver found at address 24,
status 784f.
Mar  6 18:46:51 srv kernel:   Enabling bus-master transmits and
whole-frame receives.
Mar  6 18:47:17 srv kernel: eth1: Initial media type MII.
Mar  6 18:47:17 srv kernel: eth1: MII #24 status 784f, link partner
capability 0000, setting half-duplex.
Mar  6 18:47:17 srv kernel: eth1: vortex_open() InternalConfig 016302d8.

Mar  6 18:47:17 srv kernel: eth1: vortex_open() irq 9 media status 8c02.

Mar  6 18:47:17 srv kernel: eth1:  Filling in the Rx ring.
Mar  6 18:47:18 srv kernel: eth1: interrupt, status e401, latency 5
ticks.
Mar  6 18:47:18 srv kernel: eth1: In interrupt loop, status e401.
Mar  6 18:47:18 srv kernel:   In boomerang_rx(), status e001, rx_status
8000.
Mar  6 18:47:18 srv kernel: Receiving packet size 60 status 803c.
Mar  6 18:47:18 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:47:18 srv kernel: eth1: interrupt, status e401, latency 4
ticks.
Mar  6 18:47:18 srv kernel: eth1: In interrupt loop, status e401.
Mar  6 18:47:18 srv kernel:   In boomerang_rx(), status e001, rx_status
8000.
Mar  6 18:47:18 srv kernel: Receiving packet size 60 status 803c.
Mar  6 18:47:18 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:47:18 srv kernel: eth1: interrupt, status e401, latency 4
ticks.
Mar  6 18:47:18 srv kernel: eth1: In interrupt loop, status e401.
Mar  6 18:47:18 srv kernel:   In boomerang_rx(), status e001, rx_status
8000.
Mar  6 18:47:18 srv kernel: Receiving packet size 60 status 803c.
Mar  6 18:47:18 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:47:18 srv kernel: eth1: interrupt, status e401, latency 4
ticks.
Mar  6 18:47:18 srv kernel: eth1: In interrupt loop, status e401.
Mar  6 18:47:18 srv kernel:   In boomerang_rx(), status e001, rx_status
8000.
Mar  6 18:47:18 srv kernel: Receiving packet size 60 status 803c.
Mar  6 18:47:18 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:47:18 srv kernel: eth1: interrupt, status e401, latency 3
ticks.
Mar  6 18:47:18 srv kernel: eth1: In interrupt loop, status e401.
Mar  6 18:47:18 srv kernel:   In boomerang_rx(), status e001, rx_status
8000.
Mar  6 18:47:18 srv kernel: Receiving packet size 60 status 803c.
Mar  6 18:47:18 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:47:18 srv kernel: eth1: interrupt, status e401, latency 6
ticks.
Mar  6 18:47:18 srv kernel: eth1: In interrupt loop, status e401.
Mar  6 18:47:18 srv kernel:   In boomerang_rx(), status e001, rx_status
8000.
Mar  6 18:47:18 srv kernel: Receiving packet size 60 status 803c.
Mar  6 18:47:18 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:47:18 srv kernel: eth1: interrupt, status e401, latency 3
ticks.
Mar  6 18:47:18 srv kernel: eth1: In interrupt loop, status e401.
Mar  6 18:47:18 srv kernel:   In boomerang_rx(), status e001, rx_status
8000.
Mar  6 18:47:18 srv kernel: Receiving packet size 60 status 803c.
Mar  6 18:47:18 srv kernel: eth1: exiting interrupt, status e000.

---------

Is there anything wrong in these messages ?

I found also a "strange" message:

Mar  6 18:48:25 srv kernel: Receiving packet size 98 status 8062.
Mar  6 18:48:25 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:48:25 srv kernel: pt, status e000.
Mar  6 18:48:25 srv kernel: eth1: Trying to send a packet, Tx index 141.

And these are the output when I was shutting down the interface and
unloading the module:

Mar  6 18:50:46 srv kernel: eth1: exiting interrupt, status e000.
Mar  6 18:50:46 srv kernel: eth1: vortex_close() status e000, Tx status
00.
Mar  6 18:50:46 srv kernel: eth1: vortex close stats: rx_nocopy 8
rx_copy 58588 tx_queued 58311 Rx pre-checksummed 0.

Any ideas ?

Thanks!
Sergio Salvi.
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-vortex-bug-request@beowulf.org