Subject: kern/8511: panic: lockmgr: not holding exclusive lock
To: None <gnats-bugs@gnats.netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 09/28/1999 13:08:57
>Number: 8511
>Category: kern
>Synopsis: panic: lockmgr: not holding exclusive lock
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 28 12:05:01 1999
>Last-Modified:
>Originator: Manuel Bouyer
>Organization:
None
>Release: -current as of thursday
>Environment:
System: NetBSD rochebonne.antioche.eu.org 1.4K NetBSD 1.4K (ROCHEBONNE) #0: Mon Sep 27 20:30:50 MEST 1999 bouyer@rochebonne.antioche.eu.org:/home/bouyer/1.4K/src/sys/arch/i386/compile/ROCHEBONNE i386
rochebonne#/var/crash>mount
/dev/wd0a on / type ffs (NFS exported, local)
/dev/wd0e on /usr type ffs (NFS exported, local)
/dev/wd1a on /home type lfs (NFS exported, local)
mfs:147 on /tmp type mfs (asynchronous, local)
pid178@rochebonne:/auto on /auto type nfs
Running 'make build' with NBUILDJOBS=4 in /home (LFS)
>Description:
While running a 'make build' in my LFS filesystem, I got:
panic: lockmgr: not holding exclusive lock
Script started on Tue Sep 28 20:08:50 1999
rochebonne#/var/crash>gdb netbsd.0
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386--netbsd"...(no debugging symbols found)...
(gdb) target kcore netbsd.0.core
panic: lockmgr: not holding exclusive lock
#0 0xf01e18c4 in cpu_reboot ()
(gdb) where
#0 0xf01e18c4 in cpu_reboot ()
#1 0xf01e1927 in cpu_reboot ()
#2 0xf010aae1 in db_fncall ()
#3 0xf010a830 in db_command ()
#4 0xf010a9c2 in db_command_loop ()
#5 0xf010d066 in db_trap ()
#6 0xf01df85c in kdb_trap ()
#7 0xf01e7608 in trap ()
#8 0xf0100ccd in calltrap ()
#9 0xf013be69 in panic ()
#10 0xf012fdbf in lockmgr ()
#11 0xf0131224 in proclist_lock_read ()
#12 0xf013140d in pfind ()
#13 0xf020631f in usl_sync_check ()
#14 0xf020637d in usl_detachproc ()
#15 0xf0205f67 in wsdisplay_switch ()
#16 0xf020ac75 in internal_command ()
#17 0xf020ad74 in wskbd_translate ()
#18 0xf020aa81 in wskbd_cngetc ()
#19 0xf01e8620 in cngetc ()
#20 0xf010bd09 in db_readline ()
#21 0xf010bd9f in db_read_line ()
#22 0xf010a9b3 in db_command_loop ()
---Type <return> to continue, or q <return> to quit---
#23 0xf010d066 in db_trap ()
#24 0xf01df85c in kdb_trap ()
#25 0xf01e7608 in trap ()
#26 0xf0100ccd in calltrap ()
#27 0xf013be69 in panic ()
#28 0xf012fdbf in lockmgr ()
#29 0xf0131224 in proclist_lock_read ()
#30 0xf013140d in pfind ()
#31 0xf013f02a in selwakeup ()
#32 0xf01451be in ptcwakeup ()
#33 0xf014510c in ptsstart ()
#34 0xf0143893 in ttstart ()
#35 0xf0144b59 in tputchar ()
#36 0xf013c0b3 in putchar ()
#37 0xf013c8d8 in kprintf ()
#38 0xf013c2f2 in printf ()
#39 0xf01e7925 in trap ()
#40 0xf0100ccd in calltrap ()
#41 0xf01312c4 in proclist_lock_write ()
#42 0xf012dd02 in fork1 ()
#43 0xf012dc34 in sys___vfork14 ()
#44 0xf01e7cce in syscall ()
#45 0xf0100d85 in syscall1 ()
can not access 0xefbfc120, invalid translation (invalid PDE)
can not access 0xefbfc120, invalid translation (invalid PDE)
---Type <return> to continue, or q <return> to quit---
Cannot access memory at address 0xefbfc120.
(gdb) quit
rochebonne#/var/crash>^Dexit
Script done on Tue Sep 28 20:09:12 1999
>How-To-Repeat:
don't know. It's the first time I get this one.
>Fix:
unknown
>Audit-Trail:
>Unformatted: