Subject: kern/34199: knote_enqueue assertion failure
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <g.mcgarry@ieee.org>
List: netbsd-bugs
Date: 08/14/2006 19:05:00
>Number: 34199
>Category: kern
>Synopsis: knote_enqueue assertion failure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 14 19:05:00 +0000 2006
>Originator: Gregory McGarry
>Release: NetBSD-current
>Organization:
>Environment:
NetBSD/i386
>Description:
Locating problems with emu10k driver. Enabled audio debugging.
Receive the following stacktrace:
panic: kernel diagnostic assertion "(kn->kn_status & KN_QUEUED) == 0" failed: file "/usr/src/sys/kern/kern_event.c", line 1416
knote_enqueue()
knote()
logwakeup()
printf()
audio_write()
audiowrite()
spec_write()
ufsspec_write()
VOP_WRITE()
vn_write()
dofilewrite()
sys_write()
syscall_plain()
>How-To-Repeat:
Either I haven't seen this problem with previous checkouts and it is a recent change, or it just started when I switched from eap(4) to emu10k(4). I always have audio debugging enabled.
>Fix: