Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten

From: Evgeniy Polyakov
Date: Mon Jul 21 2008 - 17:26:15 EST


On Mon, Jul 21, 2008 at 09:21:38PM +0200, Ingo Molnar (mingo@xxxxxxx) 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 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/