Re: 2.6.20->2.6.21 - networking dies after random time

From: Marcin Ślusarz
Date: Wed Aug 01 2007 - 03:24:08 EST


2007/7/30, Ingo Molnar <mingo@xxxxxxx>:
> (..)
> does the patch below fix those timeouts? It tests the theory whether any
> POST latency could expose this problem.
>
> Ingo
>
> Index: linux/drivers/net/lib8390.c
> ===================================================================
> --- linux.orig/drivers/net/lib8390.c
> +++ linux/drivers/net/lib8390.c
> @@ -375,6 +375,8 @@ static int ei_start_xmit(struct sk_buff
> /* Turn 8390 interrupts back on. */
> ei_local->irqlock = 0;
> ei_outb_p(ENISR_ALL, e8390_base + EN0_IMR);
> + /* force POST: */
> + ei_inb_p(e8390_base + EN0_IMR);
>
> spin_unlock(&ei_local->page_lock);
> enable_irq_lockdep_irqrestore(dev->irq, &flags);
>

Bad news. It doesn't fix the problem.

Marcin
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html