[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080721212447.GA10107@2ka.mipt.ru>
Date: Tue, 22 Jul 2008 01:24:48 +0400
From: Evgeniy Polyakov <johnpol@....mipt.ru>
To: Ingo Molnar <mingo@...e.hu>
Cc: Pekka Enberg <penberg@...helsinki.fi>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Vegard Nossum <vegard.nossum@...il.com>,
"Rafael J. Wysocki" <rjw@...k.pl>, cl@...ux-foundation.org,
davem@...emloft.net, Auke Kok <auke-jan.h.kok@...el.com>
Subject: Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten
On Mon, Jul 21, 2008 at 09:21:38PM +0200, Ingo Molnar (mingo@...e.hu) wrote:
> So it's now a strong likelyhood that this crash is a combination of
> e1000e+netconsole.
e1000_clean_tx_irq() call looks particulary suspicious: it is called
without adapter->tx_queue_lock in poll controller (netconsole callback)
and with that lock in NAPI handler.
Can you check kind of this patch:
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 869544b..5f180d8 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -4067,7 +4067,9 @@ static void e1000_netpoll(struct net_device *netdev)
disable_irq(adapter->pdev->irq);
e1000_intr(adapter->pdev->irq, netdev);
+ spin_lock(&adapter->tx_queue_lock);
e1000_clean_tx_irq(adapter);
+ spin_unlock(&adapter->tx_queue_lock);
enable_irq(adapter->pdev->irq);
}
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists