Subject: locking errors in -current
To: None <current-users@netbsd.org>
From: Jarle Greipsland <jarle@runit.sintef.no>
List: current-users
Date: 12/02/2000 19:15:18
Today I updated my source tree, rebuilt a -current kernel, and
installed it. The kernel, built with the LOCKDEBUG option, almost
immediately started to complain about locking errors. This is on an
Alpha PC164 with /usr/src nullfs-mounted from /local/src.
The error messages are listed below. Should I send-pr this, or can
someone immediately spot the error and fix it?
-jarle
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../ufs/ufs/ufs_vnops.c:211
last unlocked: ../../../../ufs/ufs/ufs_vnops.c:216
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../uvm/uvm_pager.c:828
last unlocked: ../../../../uvm/uvm_pager.c:875
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault.c:1654
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault.c:1654
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
ed: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../uvm/uvm_pager.c:828
last unlocked: ../../../../uvm/uvm_pager.c:875
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault.c:1654
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault.c:1654
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../miscfs/genfs/genfs_vnops.c:823
last unlocked: ../../../../miscfs/genfs/genfs_vnops.c:908
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../uvm/uvm_fault_i.h:92
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../ufs/ffs/ffs_vfsops.c:940
last unlocked: ../../../../ufs/ffs/ffs_vfsops.c:948
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../kern/vfs_subr.c:1241
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../ufs/ffs/ffs_vfsops.c:940
last unlocked: ../../../../ufs/ffs/ffs_vfsops.c:948
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../kern/vfs_subr.c:1241
setclock: 0/12/2/18/3/3
Dec 2 19:03:03 honey ntpd[165]: time reset 25.882560 s
simple_unlock: lock not held
lock: 0xfffffc00012b5bb8, currently at: ../../../../miscfs/genfs/genfs_vnops.c:612
last locked: ../../../../ufs/ffs/ffs_vfsops.c:940
last unlocked: ../../../../ufs/ffs/ffs_vfsops.c:948
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
switching with held simple_lock 0xfffffc00012b5dd8 CPU 0 ../../../../uvm/uvm_fault.c:914
simple_lock: lock held
lock: 0xfffffc00012b5dd8, currently at: ../../../../uvm/uvm_fault.c:1384
last locked: ../../../../uvm/uvm_fault.c:914
last unlocked: ../../../../kern/vfs_subr.c:1241