Subject: kern/11190: switching with held simple_lock
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin J. Laubach <mjl@emsi.priv.at>
List: netbsd-bugs
Date: 10/10/2000 15:40:17
>Number:         11190
>Category:       kern
>Synopsis:       switching with held simple_lock
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 10 15:40:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Martin J. Laubach
>Release:        1.5G -current from Oct 10
>Organization:
>Environment:
NetBSD asparagus 1.5G NetBSD 1.5G (ASPARAGUS) #0: Tue Oct 10 13:58:26 CEST 2000     mjl@asparagus:/home/temp/devel/cvs/src/sys/arch/i386/compile/ASPARAGUS i386


>Description:

  My -current kernel spews the messages below, even on a relatively idle
machine. The system continues to run, but it doesn't look sane. This is
on a single processor machine with LOCKDEBUG enabled.


switching with held simple_lock 0xc02ac2a8 CPU 0 ../../../../kern/vfs_syscalls.c:483
simple_lock: lock held
lock: 0xc02ab9f4, currently at: ../../../../kern/sys_generic.c:979
last locked: ../../../../kern/kern_synch.c:398
last unlocked: ../../../../kern/kern_synch.c:592
simple_unlock: lock not held
lock: 0xc02ab9f4, currently at: ../../../../kern/kern_synch.c:592
last locked: ../../../../kern/kern_synch.c:398
last unlocked: ../../../../kern/sys_generic.c:987
switching with held simple_lock 0xc02ac2a8 CPU 0 ../../../../kern/vfs_syscalls.c:483
switching with held simple_lock 0xc02ac2a8 CPU 0 ../../../../kern/vfs_syscalls.c:483
switching with held simple_lock 0xc02ac2a8 CPU 0 ../../../../kern/vfs_syscalls.c:483
switching with held simple_lock 0xc02ac2a8 CPU 0 ../../../../kern/vfs_syscalls.c:483


>How-To-Repeat:
  Boot 1.4G and wait.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: