2003-03-10 19:20:51

by Adam Scislowicz

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

Hardware:
Tyan S2723 (dual XEON)
[both NICs onboard]
Intel Pro/1000 MT Gigabit Adaptor (primary ethernet)
Intel EEPro/100 (secondary)

Software:
Linux 2.4.20
bonding patch 20030207
included e1000 driver and the 4.4.19 release from intel

Upon reconfig of the bonding interface the system freezes. I have not
been so lucky yo see a panic. I do know that it occurs when I run ifconfig.

If I do not use bonding, but do load both ethernet drivers I do not
experience any lockups.

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

thank u all,
/)dam.. . . D o n ' t S t o p
plz CC: [email protected] on any replys


2003-03-11 22:20:36

by Feldman, Scott

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

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++) {