Re: The pain with the Net Drivers (ne*, xirc2ps_c, etc)

Willy Tarreau (willy@w.ods.org)
Sat, 26 Oct 2002 09:42:35 +0200


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/