Re: 6.1-RELEASE panic / lockmgr?



On Thu, Jun 01, 2006 at 09:06:00PM -0400, Kris Kennaway wrote..
On Thu, Jun 01, 2006 at 11:01:07PM +0100, Robert Watson wrote:

On Thu, 1 Jun 2006, Wilko Bulte wrote:

My dual-CPU DS20 Alpha box can more or less consistently be
forced into a panic like:

FreeBSD/alpha (goldrush.wbnet) (ttyd0)^

login: panic: lockmgr: thread 0xfffffc007d9d4a80, not exclusive lock holder
0xfffffc006052d260 unlocking
cpuid = 1
KDB: enter: panic

Trigger is a "make -j2 release". j2 seems to be needed, not seen it with
-j1

Unfortunately after printing the line with "KDB" the whole thing appears
to become completely catatonic :(

Try putting a call to critical_enter() towards the beginning of panic().
Sometimes this increases the reliability of entering the debugger by
avoiding interrupt delivery during the process of entering. If you want to
be able to continue out, you'll need a critical_exit() at the end, but that
generally isn't helpful for panic().

Also turn off debug.kdb.stop_other_cpus or whatever it is. Without
this I usually get lockups on sparc64 SMP machines.

debug.kdb.stop_cpus=0 seems to be it. Will try that.

thanks,
Wilko

--
Wilko Bulte wilko@xxxxxxxxxxx
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • softdep_flush panic with snapshots
    ... not exclusive lock holder 0xc240fa20 ... KDB: enter: panic ...
    (freebsd-current)
  • Re: 6.1-RELEASE panic / lockmgr?
    ... not exclusive lock holder ... 0xfffffc006052d260 unlocking ... Unfortunately after printing the line with "KDB" the whole thing appears ... Sometimes this increases the reliability of entering the debugger by ...
    (freebsd-stable)
  • Re: 6.1-RELEASE panic / lockmgr?
    ... not exclusive lock holder ... 0xfffffc006052d260 unlocking ... Unfortunately after printing the line with "KDB" the whole thing appears to become completely catatonic:( ... Sometimes this increases the reliability of entering the debugger by avoiding interrupt delivery during the process of entering. ...
    (freebsd-stable)
  • Re: kgdb support in vanilla 2.6.2
    ... >>entering the debugger would be nice. ... If you use a unique frequency (different from kdb ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Lego Indy secret area?
    ... I've got an achievement for unlocking the secret area in Barnett College but because I did it immediately upon entering the artifact room I have no idea just what I unlocked. ...
    (alt.games.video.xbox)