Re: if_ndis related panic in propagate_priority

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 31 Mar 2004 17:48:31 -0500
On Wednesday 31 March 2004 03:57 pm, Lukas Ertl wrote:
> On Tue, 30 Mar 2004, John Baldwin wrote:
> > On Tuesday 30 March 2004 01:14 pm, Lukas Ertl wrote:
> > > Hi,
> > >
> > > lately I'm seeing random panics when loading the if_ndis module,
> > > sometimes right after loading it, sometimes quite some time later.
> >
> > Do you have invariants on?
>
> No, no INVARIANTS, no WITNESS.

Ok, well, if a thread sleeps while holding a lock then you can get this panic, 
and INVARIANTS and WITNESS catch those acts with a more informative message.
I would recommend at least enabling INVARIANTS.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Mar 31 2004 - 12:50:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC