Bug 219574

Summary: DAHDI kmod locks up in mutex
Product: Base System Reporter: myj
Component: kernAssignee: freebsd-multimedia (Nobody) <multimedia>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 11.0-RELEASE   
Hardware: amd64   
OS: Any   

Description myj 2017-05-26 16:45:34 UTC
Had two crashes in dahdi module:

spin lock 0xffffffff82244d20 (dahdi_timer_lock) held by 0xfffff80078db5500 (tid 101049) too long
spin lock 0xffffffff82244d20 (dahdi_timer_lock) held by 0xfffff80078db5500 (tid 101049) too long
panic: spin lock held too long
cpuid = 1
KDB: stack backtrace:
#0 0xffffffff80b24477 at kdb_backtrace+0x67
#1 0xffffffff80ad97e2 at vpanic+0x182
#2 0xffffffff80ad9653 at panic+0x43
#3 0xffffffff80ab5390 at __mtx_trylock_spin_flags+0
#4 0xffffffff82230dca at dahdi_poll+0x4a
#5 0xffffffff8222dd50 at dahdi_device_poll+0x40
#6 0xffffffff80986940 at devfs_poll_f+0x70
#7 0xffffffff80b437d0 at kern_poll+0x650
#8 0xffffffff80b43171 at sys_poll+0x61
#9 0xffffffff80fa26ae at amd64_syscall+0x4ce
#10 0xffffffff80f8488b at Xfast_syscall+0xfb



spin lock 0xffffffff82244d20 (dahdi_timer_lock) held by 0xfffff8001cf04500 (tid 101395) too long
spin lock 0xffffffff82244d20 (dahdi_timer_lock) held by 0xfffff8001cf04500 (tid 101395) too long
panic: spin lock held too long
cpuid = 1
KDB: stack backtrace:
#0 0xffffffff80b24477 at kdb_backtrace+0x67
#1 0xffffffff80ad97e2 at vpanic+0x182
#2 0xffffffff80ad9653 at panic+0x43
#3 0xffffffff80ab5390 at __mtx_trylock_spin_flags+0
#4 0xffffffff82230dca at dahdi_poll+0x4a
#5 0xffffffff8222dd50 at dahdi_device_poll+0x40
#6 0xffffffff80986940 at devfs_poll_f+0x70
#7 0xffffffff80b437d0 at kern_poll+0x650
#8 0xffffffff80b43171 at sys_poll+0x61
#9 0xffffffff80fa26ae at amd64_syscall+0x4ce
#10 0xffffffff80f8488b at Xfast_syscall+0xfb
Uptime: 12h37m43s