From: Pierre Ynard <linkfanel@yahoo.fr>
To: netdev@vger.kernel.org
Cc: akpm@osdl.org
Subject: Rare NIC "crash" with 3c905B
Date: Fri, 9 Mar 2007 03:47:30 +0100 [thread overview]
Message-ID: <20070309024730.GA26884@via.ecp.fr> (raw)
Hello,
I think that I found a problem with 3c905B Cyclone 100baseTx cards,
supported by the 3c59x driver. Please have a look at:
http://bugzilla.kernel.org/show_bug.cgi?id=7440
In short, the device stores received packets through DMA into buffers on
a rx_ring, which has a default size of 32 packets. It happens on my
network that my card will receive 32 packets (and likely more than that)
before the interrupt handler is called to handle these packets. As a
result, 32 packets are successfully read and the interrupt handler
returns, but after that, no more interrupt is ever sent by the device
to signal the reception of new incoming packets. This results in an
almost total loss of connectivity for the host. Reloading the driver
module restores normal condition.
I can provide extensive logs of this. I tried changing the RX_RING_SIZE
constant from 32 to 256 packets, and it definitely solved the problem,
as my network is not weird enough to send me 256 packets at the same
time yet :) Please don't ask me to try with another card of the same
model, as I'm currently not on the same continent as this server
(though I'd be very happy to conclude that the problem can be solved by
simply swapping the card).
I have little experience with this kind of things, but it is my
understanding that it might rather be a bug in card's firmware. If so,
there is hardly anything that can be done about it, right? Shouldn't the
driver provide a workaround in that case?
(Don't bother CCing me, I'm on the list.)
Regards,
--
Pierre Ynard
WTS #51 - No phone
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
reply other threads:[~2007-03-09 3:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070309024730.GA26884@via.ecp.fr \
--to=linkfanel@yahoo.fr \
--cc=akpm@osdl.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).