public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Adrian Pop <adrpo@ida.liu.se>
Cc: Adam Kropelin <akropel1@rochester.rr.com>, linux-kernel@vger.kernel.org
Subject: Re: The pain with the Net Drivers (ne*, xirc2ps_c, etc)
Date: Sat, 26 Oct 2002 09:42:35 +0200	[thread overview]
Message-ID: <20021026074235.GA29184@alpha.home.local> (raw)
In-Reply-To: <Pine.GSO.4.44.0210260712300.11632-100000@mir20.ida.liu.se>

Hi !

On Sat, Oct 26, 2002 at 07:58:36AM +0200, Adrian Pop wrote:
>  NETDEV WATCHDOG: eth0: transmit timed out
>  eth0: transmit timed out
> And after this the card resets, and it
> takes quite a while for that.
> 
> My workaround for NE2000 cards: in 8390.h replaced
>   #define TX_TIMEOUT (20*HZ/100)
>   with
>   #define TX_TIMEOUT (100*HZ/100)

you understand that this means that your card often needds more than 0.2s to
send a frame ? Are all your cards connected to a defective hub, or a network
with lots of collisions ? Is the yellow led on your hub constantly lit ?

I have several ISA cards here (3c509, hp, ...) on a 386sx and a 486DX2-66 and
I have used NE2K for years on these machines under 2.2 and 2.4 kernels
without even one problem. The 486 is a firewall which generates lots of
collisions on the hub when uploading files to the local web server, but I
never had the problem you mention on these machines.

In fact, the only PC on which I see it is my laptop. When I send lots of
traffic to a 3c575 (cardbus), I get lots of these. This is not because of
the card (it works well in other notebooks, and other cards do the same),
but the notebook itself. When it's getting hot, I think it looses interrupts!

And please, give us an example of kernel version you use. >2.2 is not an
answer. How do you want people to read the code if they don't know *exactly*
which one certainly induces the problem ? We don't even know if it's a vanilla
kernel or a patched one.

Cheers,
Willy


  reply	other threads:[~2002-10-26  7:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-26  3:07 The pain with the Net Drivers (ne*, xirc2ps_c, etc) Adrian Pop
2002-10-26  4:45 ` Adam Kropelin
2002-10-26  5:58   ` Adrian Pop
2002-10-26  7:42     ` Willy Tarreau [this message]
2002-10-26 13:53     ` Tomas Szepe

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=20021026074235.GA29184@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=adrpo@ida.liu.se \
    --cc=akropel1@rochester.rr.com \
    --cc=linux-kernel@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