Subject: Re: Hung Reboot
To: None <current-users@NetBSD.ORG>
From: Patrick Welche <>
List: current-users
Date: 09/01/1997 22:27:39
>From: "Tom T. Thai" <>
>sync;sync;reboot causes the system to pass the sync phase but hang at
>reboot phase.

... and rebooting just now I got "panic: lockmgr: locking against myself"

Now for once I have a netbsd.gdb and a netbsd.0.core that are in
sync with each other. What should I do next to help trace the problem?

quartz# gdb -k -c netbsd.0.core /netbsd.gdb
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.11 (i386-netbsd), Copyright 1993 Free Software Foundation, Inc...
panic: lockmgr: locking against myself
#0  0x2 in ?? ()
(kgdb) bt
#0  0x2 in ?? ()
Cannot access memory at address 0x0.
(kgdb) list
167     #if defined(NFSSERVER) || defined(NFS)
168             extern void nfs_init __P((void));
169     #endif
171             /*
172              * Initialize the current process pointer (curproc) before
173              * any possible traps/probes to simplify trap processing.
174              */
175             p = &proc0;
176             curproc = p;



(BTW this is i386 and I don't use nfs)