Subject: kern/23915: kqueue/pipe related panic on SMP machines
To: None <gnats-bugs@gnats.NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 12/28/2003 17:01:43
>Number:         23915
>Category:       kern
>Synopsis:       kqueue/pipe related panic on SMP machines
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 28 16:02:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.6ZG
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 1.6ZG NetBSD 1.6ZG (PORTER) #1: Sun Dec 28 15:33:41 CET 2003 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

Running the regress/sys/kern/kqueue/read/pipe1 regression test program on SMP
machines kills them reliably with a "Locking against myself" panic:

kern/sys_pipe.c: 1375 on cpu 0
last locked: sys_pipe.c: 1064

trace:
filt_piperead+0x28
knote+0x1f
pipeselwakeup+0x9f
pipe_write+0x2ee
dofilewrite
sys_write


>How-To-Repeat:
s/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: