Re: if_ndis related panic in propagate_priority

From: John Baldwin (jhb_at_FreeBSD.org)
Date: 04/01/04

  • Next message: John Baldwin: "Re: if_ndis related panic in propagate_priority"
    To: Lukas Ertl <le@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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
    "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: John Baldwin: "Re: if_ndis related panic in propagate_priority"

    Relevant Pages

    • Re: 4.7 vs 5.2.1 SMP/UP bridging performance
      ... Gerrit Nagelhout wrote: ... >>WITNESS and INVARIANTS are turned off for the 5.2.1 release bits. ... > were changed to have multiple threads poll multiple devices at the ...
      (freebsd-current)
    • HEADSUP: Sleep queues added to kernel, so be careful.
      ... a diagnostic as it sleeps on a vm_page * while holding the page queues mutex ... be sure to turn on INVARIANTS and WITNESS (with spin mutex checking ... All of the bugs I found during testing were found by INVARIANTS + ...
      (freebsd-current)
    • Re: The effects of WITNESS and INVARIANTS
      ... >> It makes the claims of the effects of WITNESS and INVARIANTS very ... > they're invaluable tools when debugging the development system, ... > them to be off, as it really helps the debugging process, as well as ...
      (freebsd-current)
    • Re: The effects of WITNESS and INVARIANTS
      ... >> It makes the claims of the effects of WITNESS and INVARIANTS very ... > they're invaluable tools when debugging the development system, ... > them to be off, as it really helps the debugging process, as well as ...
      (freebsd-performance)
    • Re: [amd64] Instability worse than ever
      ... >> with at least WITNESS and INVARIANTS, ... > enabled, and double-checked my serial debugging setup, however, it's ... It is recognized that the console is "unavailable" ...
      (freebsd-current)