DragonFly BSD
DragonFly bugs List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: nge panic on PREVIEW


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Mon, 9 Jan 2006 20:28:37 -0500

> ----------- panic message -------------
> Mounting NFS file systems:panic: assertion: s->last_td != curthread in lwkt_serialize_enter
> Trace beginning at frame 0xd0ff8c68
> panic(c0428471,c04e4580,c044c384,d0ff8c98,d0ffe000) at panic+0x99
> panic(c044c284,c0451070,d0ffe000,d0ffe000,d362a600) at panic+0x99
> lwkt_serialize_enter(cce3b254,d0ffe000,0,d3633000,c) at lwkt_serialize_enter+0x32
> nge_rxeof(cce3b0b8,cce3b0b8,c01e8868,cce3b254,ff800000) at nge_rxeof+0x1a4
> nge_intr(cce3b0b8,0,c04f9a70,cce3b254,c16c26a0) at nge_intr+0xe2
> lwkt_serialize_handler_call(cce3b254,c019c3c1,cce3b0b8,0,d0) at lwkt_serialise_handler_call+0x5f
> ithread_handler(a,0,0,0,0) at ithread_handler+0x8d
> lwkt_exit() at lwkt_exit
> Debugger("panic")
> Stopped at      Debugger+0x44: movb     $0,in_Debugger.0
> db>

Try the attached patch

Best Regards,
sephe

--
Live Free or Die
--- if_nge.c.orig	2006-01-10 09:22:50.773433600 -0500
+++ if_nge.c	2006-01-10 09:25:03.939189328 -0500
@@ -1284,12 +1284,10 @@ nge_rxeof(struct nge_softc *sc)
 		 * If we received a packet with a vlan tag, pass it
 		 * to vlan_input() instead of ether_input().
 		 */
-		lwkt_serialize_enter(ifp->if_serializer);
 		if (extsts & NGE_RXEXTSTS_VLANPKT)
 			VLAN_INPUT_TAG(m, extsts & NGE_RXEXTSTS_VTCI);
 		else
 			ifp->if_input(ifp, m);
-		lwkt_serialize_exit(ifp->if_serializer);
 	}
 
 	sc->nge_cdata.nge_rx_prod = i;


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]