Re: mm kernel oops with r8169 & named, PREEMPT

From: Francois Romieu
Date: Wed Oct 13 2004 - 02:30:54 EST


Danny <dannydaemonic@xxxxxxxxx> :
> This is with the network driver r8169 and linux-2.6.9-rc4-mm1. Same
> thing happened with linux-2.6.9-rc3-mm3 (but also locked up).
> linux-2.6.8.1-mm4 didn't seem to have this problem. This is very
> repeatable, if this is an unknown issue let me know (CC please, not on
> the list) and I will jump through the hoops to get a useful oops.

Try the patch below (courtesy of Jon Mason, whitespaces may be wrong) and
see 1) if things perform better 2) if "timeout" messages appear in the
kernel log.

Oops as well as Cc: netdev@xxxxxxxxxxx are welcome.

--- linux-2.6.9-rc4-mm1/drivers/net/r8169.c 2004-10-12 13:59:57.000000000 -0500
+++ linux-2.6.9-rc4-mm1/drivers/net/r8169.c 2004-10-12 10:51:21.000000000 -0500
@@ -1680,6 +1680,7 @@ static void rtl8169_unmap_tx_skb(struct

pci_unmap_single(pdev, le64_to_cpu(desc->addr), len, PCI_DMA_TODEVICE);
desc->opts2 = 0x00;
+ desc->opts1 = 0x00;
desc->addr = 0x00;
tx_skb->len = 0;
}


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