if_ndis related panic in propagate_priority

John Baldwin jhb at FreeBSD.org
Wed Mar 31 14:50:03 PST 2004


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


More information about the freebsd-current mailing list