[...]
> It still takes a few minutes to recover, but at least it recovers
> automatically, and within the TCP timeout limit, so no connections are lost.
>
> I tested this by transfering several gigabytes across the network using netcat,
> and it always recovered without needing manual intervention.
>
> So I suggest the following patch:
>
> --- linux-2.4.20/drivers/net/tulip/tulip_core.c.orig Tue Oct 29 18:41:48 2002
> +++ linux-2.4.20/drivers/net/tulip/tulip_core.c Sun May 11 11:31:29 2003
> @@ -575,7 +575,7 @@
> dev->if_port = 2 - dev->if_port;
> } else
> dev->if_port = 0;
> - else
> + else if (dev->if_port != 0 || (csr12 & 0x0004) != 0)
> dev->if_port = 1;
> tulip_select_media(dev, 0);
> }
>
> Any comments?
I can confirm that this patch fixed my problem. Sometimes transmission still
times out, but the driver recovers automatically within 3 minutes. The machine
has been up for more than one month.
Still no comments?
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.orgIn personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
- 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/