Subject: Re: PPC 7450 and openfirmware.c
To: Makoto Fujiwara <makoto@ki.nu>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 06/11/2002 16:11:12
On Wed, 12 Jun 2002, Makoto Fujiwara wrote:

> > panic: lockmgr: pid 0, not exclusive lock holder 1008730187 unlocking
> > Stopped in pid () at   0x30f214:	lwz r0,r1, 0x14
>
> > CPU: 7450
>
> Bill> I'm confused. Can you get a back-trace from this panic?
>
> Unfortunately, nothing accepted from the console at the moment.
> But that implies the timing is before the keyboard attached for sure.
>
> Sorry for the point.

No problem.

Try either compiling with:

options DDB_ONPANIC=0

Or editing a kernel and setting db_onpanic to zero:

gdb --write netbsd
(gdb) print db_onpanic=0
$1 = 0

Then the code in sys/kern/subr_prf.c (the panic code) will automatically
cause a backtrace to get printed.

Take care,

Bill