Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755884AbYGUPHi (ORCPT ); Mon, 21 Jul 2008 11:07:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752219AbYGUPH2 (ORCPT ); Mon, 21 Jul 2008 11:07:28 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:49988 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751099AbYGUPH1 (ORCPT ); Mon, 21 Jul 2008 11:07:27 -0400 Date: Mon, 21 Jul 2008 08:07:27 -0700 (PDT) Message-Id: <20080721.080727.10939720.davem@davemloft.net> To: mingo@elte.hu Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [crash, bisected] Kernel BUG at ffffffff8079afb1 (__netif_schedule()) From: David Miller In-Reply-To: <20080721133059.GA30637@elte.hu> References: <20080720.104411.81744468.davem@davemloft.net> <20080721133059.GA30637@elte.hu> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1479 Lines: 42 From: Ingo Molnar Date: Mon, 21 Jul 2008 15:30:59 +0200 > -tip testing on latest -git (v2.6.26-5253-g14b395e) triggered the > following boot crash on a Core2Duo 64-bit testsystem: > > ADDRCONF(NETDEV_UP): eth0: link is not ready > eth0: Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Should be fixed by: e1000: resolve tx multiqueue bug With the recent changes to tx mutiqueue, e1000 was not calling netif_start_queue() before calling netif_wake_queue(). This causes an oops during loading of the driver. (Based on commit d55b53fff0c2ddb639dca04c3f5a0854f292d982 ("igb/ixgbe/e1000e: resolve tx multiqueue bug").) Signed-off-by: Ben Hutchings Acked-by: Jeff Kirsher Signed-off-by: David S. Miller diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index f8df8bd..cf12b05 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c @@ -1472,6 +1472,8 @@ e1000_open(struct net_device *netdev) e1000_irq_enable(adapter); + netif_start_queue(netdev); + /* fire a link status change interrupt to start the watchdog */ E1000_WRITE_REG(&adapter->hw, ICS, E1000_ICS_LSC); -- 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/