Skip to contentSkip to conversation

e100 locking up netconsole.

PATCH In review [email protected] 1 participant 1 message Jan 25, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/10 e100 locking up netconsole.

From: Steven Rostedt <[email protected]>

If the transmit buffer of the e100 overflowed, then the system would hang. This was caused because the e100 driver would stop the queue, and netpoll_send_pkt in netpoll.c would then loop forever. This is because the e100 net_poll would never start the queue again after the transmits have completed.

For those that use the e100 and netconsole, all you need to do is a sysreq 't' to lock up the system.

---

 25-akpm/drivers/net/e100.c |    1 +
 1 files changed, 1 insertion(+)
drivers/net/e100.c renamed from drivers/net/e100.c~e100-locking-up-netconsole +1 -0
diff -puN drivers/net/e100.c~e100-locking-up-netconsole drivers/net/e100.c
@@ -1630,6 +1630,7 @@ static void e100_netpoll(struct net_devi
 	struct nic *nic = netdev_priv(netdev);
 	e100_disable_irq(nic);
 	e100_intr(nic->pdev->irq, netdev, NULL);
+	e100_tx_clean(nic);
 	e100_enable_irq(nic);
 }
 #endif

_