Hi all, this time I'm reporting panics in sound system :). I'm having M-Audio Audiophile 192 sound card which got supported with the new revision of sound system, so I have sound snd_envy24ht The panic is reproducible when I start kcontrol (from fluxbox), try to enable and configure soundsystem and then push the Test button. I get the following crash (hand retyped DDB part as the machine doesn't have serial port and I can't do it over firewire as of now): Sleeping thread (tid 100112, pid 1391) owns a non-sleepable lock sched_switch(c5619300,0,1) at sched_switch+0x14b mi_switch(1,0,c5468400,e62fca44,c06cac56,...) at mi_switch+0x1ba sleepq_switch(c5468400) at sleepq_switch+0x86 sleepq_timedwait_sig(c5468400) at sleepq_timedwait_sig+0x1e msleep(c5468400,c544e940,14c,c0bf2307,64,...) at msleep+0x200 chn_sleep(64,c5468400,a000,a,c5450980,...) at chn_sleep+0x17 chn_flush(c5450080,c5450080,ffffffff,c544e940,0,...) at chn_flush+0xb3 dsp_close(c5467600,7,2000,c5619300) at dsp_close+0xc4 giant_close(c5467600,7,2000,c5619300,c071289c,...) at giant_close+0x4b devfs_close(e62fcb70) at devfs_close+0x402 VOP_CLOSE_APV(c0a096e0,e62fcb70) at VOP_CLOSE_APV+0x38 vn_close(c5d7bdd0,7,c5946780,c5619300) at vn_close+0x5a vn_closefile(c6421900,c5619300,e62fcc28,c0689fe0,c6421900,...) at vn_closefile+0 xea devfs_close_f(c6421900,c5619300) at devfs_close_f+0xf fdrop_locked(c6421900,c5619300,c64c5000,e62fcca8,c0688537,...) at fdrop_locked+0 xd0 fdrop(c6421900,c5619300,c6421900,e62fcc70,0,...) at fdrop+0x41 closef(c6421900,c5619300,0,e62fcd38,c6134a78,...) at closef+0x41f kern_close(c5619300,b,e62fcd30,c0918033,c5619300,...) at kern_close+0x20b close(c5619300,e62fcd04) at close+0x10 syscall(2891003b,285f003b,bfbf003b,807f000,8082d80,...) at syscall+0x2b7 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (6, FreeBSD ELF32, close), eip = 0x288f5a23, esp = 0xbfbfe4fc, ebp 0xbfbfe528 --- panic: sleeping thread KDB: enter: panic db>bt Tracing pid 31 tid 100035 td 0xc52b0480 kdb_enter(...) at kdb_enter+0x2b panic(...) at panic+0xbb propagate_priority(...) at propagate_priority0x54 turnstile_wait(...) at turnstile_wait+0x28d _mtx_lock_sleep(...) at mtx_lock_sleep+0xb6 _mtx_lock_flags(...) at _mtx_lock_flags+0x30 envy24ht_intr(c5457000) at envy24ht_intr+0x20 ithread_execute_handlers(...) at ithread_execute_handlers+0x121 ithread_loop(...) at ithread_loop+0x54 fork_exit(...) at fork_exit+0x70 fork_trampoline(...) at fork_trampoline+0x8 I'm unable to do show alllocks (unsupported on 6.x?). (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc04768ab in db_fncall (dummy1=-472982908, dummy2=0, dummy3=-1064325877, dummy4=0xe3ceda70 "") at /usr/src/sys/ddb/db_command.c:493 #2 0xc04766b0 in db_command (last_cmdp=0xc0a62ea4, cmd_table=0x0, aux_cmd_tablep=0xc09bb530, aux_cmd_tablep_end=0xc09bb54c) at /usr/src/sys/ddb/db_command.c:408 #3 0xc0476778 in db_command_loop () at /usr/src/sys/ddb/db_command.c:459 #4 0xc0478399 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:222 #5 0xc06c4ddb in kdb_trap (type=3, code=0, tf=0xe3cedbb0) at /usr/src/sys/kern/subr_kdb.c:473 #6 0xc09177bc in trap (frame {tf_fs = -473038840, tf_es = -1066663896, tf_ds = -1063714776, tf_edi = 1, tf_esi = -1063673537, tf_ebp = -472982544, tf_isp = -472982564, tf_ebx -47298 2500, tf_edx = 0, tf_ecx = -1048489984, tf_eax = 18, tf_trapno = 3, tf_err 0, tf_eip = -1066644641, tf_cs = 32, tf_eflags = 150, tf_esp = -472982512, tf_ss -1066747481}) at /usr/src/sys/i386/i386/trap.c:594 #7 0xc090433a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #8 0xc06c4b5f in kdb_enter (msg=0x12 <Address 0x12 out of bounds>) at cpufunc.h:60 #9 0xc06ab9a7 in panic (fmt=0xc099a13f "sleeping thread") at /usr/src/sys/kern/kern_shutdown.c:549 #10 0xc06cc804 in propagate_priority (td=0xc5619300) at /usr/src/sys/kern/subr_turnstile.c:209 #11 0xc06cd0b5 in turnstile_wait (lock=0xc5466240, owner=0xc5619300, queue=0) ---Type <return> to continue, or q <return> to quit--- at /usr/src/sys/kern/subr_turnstile.c:715 #12 0xc06a2366 in _mtx_lock_sleep (m=0xc5466240, tid=3307930752, opts=0, file=0xc0c04da9 "/usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/ sound/pci/envy24ht.c", line=1970) at /usr/src/sys/kern/kern_mutex.c:579 #13 0xc06a21a0 in _mtx_lock_flags (m=0xc1815000, opts=0, file=0xc0c04da9 "/usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/ sound/pci/envy24ht.c", line=1970) at /usr/src/sys/kern/kern_mutex.c:288 #14 0xc0c03498 in ?? () #15 0xc5466240 in ?? () #16 0x00000000 in ?? () #17 0xc0c04da9 in ?? () #18 0x000007b2 in ?? () #19 0xffffffff in ?? () #20 0xffffffff in ?? () #21 0xffffffff in ?? () #22 0xc5466180 in ?? () #23 0x00000004 in ?? () #24 0xc52a7300 in ?? () #25 0xe3cedcec in ?? () #26 0xc0694f15 in ithread_execute_handlers (p=0xc5457000, ie=0xc52a7300) at /usr/src/sys/kern/kern_intr.c:682 Previous frame identical to this frame (corrupt stack?) (kgdb) up 13 #13 0xc06a21a0 in _mtx_lock_flags (m=0xc1815000, opts=0, file=0xc0c04da9 "/usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/ sound/pci/envy24ht.c", line=1970) at /usr/src/sys/kern/kern_mutex.c:288 288 _get_sleep_lock(m, curthread, opts, file, line); (kgdb) Any clues on this one? Thanks, Petr