kern/121322: 'panic: spin lock held too long' on reboot
Kris Kennaway
kris at FreeBSD.org
Tue Mar 4 21:10:04 UTC 2008
The following reply was made to PR kern/121322; it has been noted by GNATS.
From: Kris Kennaway <kris at FreeBSD.org>
To: Lars Stokholm <lars.stokholm at gmail.com>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: kern/121322: 'panic: spin lock held too long' on reboot
Date: Tue, 04 Mar 2008 22:07:33 +0100
Lars Stokholm wrote:
> On Mon, Mar 3, 2008 at 9:56 PM, Kris Kennaway <kris at freebsd.org> wrote:
>> Can you enable WITNESS and DDB and reproduce the problem? It will drop
>> into the debugger and you can do 'show locks' to show who holds it, then
>> 'bt <#>' that thread.
>
> I was unsure of what to do with 'bt', so here's just the output of the
> command without arguments. If that's not what you wanted me to do,
> I'll try again. :)
Sorry, I meant 'show alllocks'. Look for the spinlock and pass that
thread ID as the argument to bt.
> I apologize for giving you the output as an image. Is there a way to
> write it to the disk as plain text?
If you call doadump then the DDB output will often be saved for display
by kgdb.
Kris
More information about the freebsd-bugs
mailing list