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 14:12:58
On Tue, 11 Jun 2002, Makoto Fujiwara wrote:

> MW> PowerMacintosh G4 (Quicksilver) 800MP fails with GENERIC
> MW> makoto@ki.nu
> MW> panic: lockmgr: pid 0, not exclusive lock holder 1008730187 unlocking
> MW> Stopped in pid () at   0x30f214:	lwz r0,r1, 0x14
>
> CPU: 7450
>
> Unbelievably enough, if I apply change attached, it runs upto
> multi-user mode. But it is very unstable, hungs shortly.
> Also, the beginning of dmesg corrupted.
>
> More importantly, the original panic message appears at the timing of
> somewhere in following code.
>  sys/arch/macppc/macppc/machdep.c
>     978 #if NUKBD > 0
>     979         if (OF_call_method("`usb-kbd-ihandles", stdin, 0, 1, &ukbds) != -1 &&
>     980             ukbds != NULL && ukbds->ihandle != 0 &&
>     981             OF_instance_to_package(ukbds->ihandle) != -1) {
>     982                 printf("console keyboard type: USB\n");
>     983                 ukbd_cnattach();
>     984                 goto kbd_found;
>     985         }

I'm confused. Can you get a back-trace from this panic?

I'm also confused as I don't see anything that should be locking or
unlocking locks in there...

Take care,

Bill