Re: Problems with 3c59x

"Lists (lst)" <[email protected]>
Newsgroups gmane.linux.drivers.vortex.devel
Message-ID <[email protected]>
On Fri, 6 Dec 2002, Lists (lst) wrote:

> > Try debug=8, which should show only error packets.

Now I'm using 3c59x.c:v0.99Xg with option debug=8
This is the normal print (last normal Yesterday at 17:29:28):
Dec 12 17:29:24 lapd eth0: Media selection timer tick happened, Autonegotiate full duplex.
Dec 12 17:29:24 lapd eth0: MII transceiver has status 782d.
Dec 12 17:29:24 lapd eth0: Media selection timer finished, Autonegotiate.
Dec 12 17:29:28 lapd eth1: Media selection timer tick happened, Autonegotiate full duplex.
Dec 12 17:29:28 lapd eth1: MII transceiver has status 782d.
Dec 12 17:29:28 lapd eth1: Media selection timer finished, Autonegotiate.

Yesterday my eth1 was broken. The peer machine (it's an crossover link 
from my eth1) not responding to my pings. I shutdown the interface and in 
my kernel logs appears:

Dec 12 17:29:37 lapd eth1: vortex_close() status e601, Tx status 00.
Dec 12 17:29:37 lapd eth1: vortex close stats: rx_nocopy 1112698 rx_copy 
8498224 tx_queued 3 Rx pre-checksummed 9294542.

When i'm trying to bring the interface up again I receive this:

Dec 12 17:32:34 lapd eth1: Initial media type Autonegotiate half-duplex.
Dec 12 17:32:34 lapd eth1: MII #24 status 782d, link partner capability 41e1, setting full-duplex.
Dec 12 17:32:34 lapd eth1: vortex_open() irq 11 media status 8880.
Dec 12 17:32:34 lapd eth1: Tx Ring full, refusing to send buffer.
Dec 12 17:32:34 lapd eth1: Tx Ring full, refusing to send buffer.
 . . . Lots of: eth1: Tx Ring full, refusing to send buffer. :(
and something like this:
Dec 12 17:32:37 lapd ethfer.
Dec 12 17:32:37 lapd eth1fer.
Dec 12 17:32:37 lapd etfer.
Dec 12 17:32:37 lapd etfer.
Dec 12 17:32:37 lapd etfer.
I wait just a few moments and shutdown again the eth1 (and eth0). 
More messages:
Dec 12 17:34:31 lapd eth1 deferred output. It is buggy.
Dec 12 17:34:31 lapd eth1: vortex_close() status e401, Tx status 00.
Dec 12 17:34:31 lapd eth1: vortex close stats: rx_nocopy 1113443 rx_copy 
8505028 tx_queued 3 Rx pre-checksummed 9301730.

Dec 12 17:34:55 lapd eth0: vortex_close() status e000, Tx status 00.
Dec 12 17:34:55 lapd eth0: vortex close stats: rx_nocopy 1113519 rx_copy 
8505892 tx_queued 3 Rx pre-checksummed 9302648.

unload modules (3c59x and pci-scan)
load modules (pci-scan and 3c59x)

Dec 12 17:35:22 lapd pci-scan.c:v1.11 8/31/2002  Donald Becker <[email protected]> http://www.scyld.com/linux/drivers.html
Dec 12 17:35:22 lapd 3c59x.c:v0.99Xg 11/27/2002 Donald Becker, [email protected]
Dec 12 17:35:22 lapd http://www.scyld.com/network/vortex.html
Dec 12 17:35:22 lapd eth0: 3Com 3c905C Tornado at 0xe800,  00:50:da:8a:1a:8b, IRQ 10
Dec 12 17:35:22 lapd Internal config register is 01800000, transceivers 0xa.
Dec 12 17:35:22 lapd 8K buffer 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
Dec 12 17:35:22 lapd MII transceiver found at address 24, status 782d.
Dec 12 17:35:22 lapd Using bus-master transmits and whole-frame receives.
Dec 12 17:35:22 lapd eth1: 3Com 3c905C Tornado at 0xec00,  00:50:da:89:e9:33, IRQ 11
Dec 12 17:35:22 lapd Internal config register is 01800000, transceivers 0xa.
Dec 12 17:35:22 lapd 8K buffer 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
Dec 12 17:35:22 lapd MII transceiver found at address 24, status 782d.
Dec 12 17:35:22 lapd Using bus-master transmits and whole-frame receives.

Bringing up eths:
eth0:
Dec 12 17:35:22 lapd eth0: Initial media type Autonegotiate half-duplex.
Dec 12 17:35:22 lapd eth0: MII #24 status 782d, link partner capability 45e1, setting full-duplex.
Dec 12 17:35:22 lapd eth0: vortex_open() irq 10 media status 8880.
Dec 12 17:35:25 lapd eth0: Media selection timer tick happened, Autonegotiate full duplex.
Dec 12 17:35:25 lapd eth0: MII transceiver has status 782d.
Dec 12 17:35:25 lapd eth0: Media selection timer finished, Autonegotiate.
eth1:
Dec 12 17:36:01 lapd eth1: Initial media type Autonegotiate half-duplex.
Dec 12 17:36:01 lapd eth1: MII #24 status 782d, link partner capability 41e1, setting full-duplex.
Dec 12 17:36:01 lapd eth1: vortex_open() irq 11 media status 8880.
Dec 12 17:36:04 lapd eth1: Media selection timer tick happened, Autonegotiate full duplex.
Dec 12 17:36:04 lapd eth1: MII transceiver has status 782d.
Dec 12 17:36:04 lapd eth1: Media selection timer finished, Autonegotiate.
Dec 12 17:36:04 lapd eth1: Media selection timer tick happened, Autonegotiate full duplex.
Dec 12 17:36:04 lapd eth1: MII transceiver has status 782d.
Dec 12 17:36:04 lapd eth1: Media selection timer finished, Autonegotiate.
. . .
Dec 12 17:37:04 lapd eth1: Media selection timer tick happened, Autonegotiate full duplex.
Dec 12 17:37:04 lapd eth1: IRQ 11 is physically blocked! Failing back to low-rate polling.
Dec 12 17:37:04 lapd eth1: MII transceiver has status 782d.
Dec 12 17:37:04 lapd eth1: Media selection timer finished, Autonegotiate.

And ... restarts eth1: Tx Ring full, refusing to send buffer.
I tried again but the same messages and eth1 still broken. eth0 works 
perfect ...

At 17:44 I reboot the machine and now it's work just fine.

What can I do? For more than 3 days the machine runs perfect. For up.down 
operations I using ifconfig.

My machine is:
M/B Tyan TIGER 200
2 CPUs x 1GHz Intel PIII
1,5 GB SDRAM
2 x eepro100 (unused)
2 x 3Com905C-TX-M 10/100 PCI cards

I'm running an Andreea A. kernel 2.4.20-aa1 (with some more patches but 
without efect over the network).

Thanx a lot,
Cosmin
P.S. Sorry for a very long mail.

_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.