Re: [2.4.20] system freezes Intel e1000(included & 4.4.19) & bonding(20030207, active-backup mode)

From: Scott Feldman (scott.feldman@intel.com)
Date: Tue Mar 11 2003 - 17:31:37 EST


On Mon, 10 Mar 2003, Adam Scislowicz wrote:

> Is anyone else using 2.4.20 bonding in combination w/ the e1000 or
> better yet the Tyan S2723?

It's almost like dev_close was called without dev_open? Not sure.

Can you try this patch against e1000 in 2.4.20:

--- linux-2.4.20/drivers/net/e1000/e1000_main.c.orig 2003-03-11 13:45:26.000000000 -0800
+++ linux-2.4.20/drivers/net/e1000/e1000_main.c 2003-03-11 14:12:12.000000000 -0800
@@ -977,6 +977,9 @@
         unsigned long size;
         int i;
 
+ if(!adapter->tx_ring.buffer_info)
+ return;
+
         /* Free all the Tx ring sk_buffs */
 
         for(i = 0; i < adapter->tx_ring.count; i++) {
@@ -1042,6 +1045,9 @@
         unsigned long size;
         int i;
 
+ if(!adapter->rx_ring.buffer_info)
+ return;
+
         /* Free all the Rx ring sk_buffs */
 
         for(i = 0; i < adapter->rx_ring.count; i++) {

-
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/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:28 EST