On Sun, Jan 22, 2017 at 10:43:27AM +0100, Tom Ivar Helbekkmo wrote: > panic: kernel diagnostic assertion "(kpreempt_disabled() || cpu_softintr_p() > || ISSET(curlwp->l_pflag, LP_BOUND))" failed: file > "/usr/src/sys/kern/subr_psref.c", line 291 passive references are CPU-local, > but preemption is enabled and the caller is not in a softint or CPU-bound LWP > > Backtrace: > > vpanic() > ch_voltag_convert_in() > psref_release() > pfil_run_arg.isra.0() > if_initialize() > if_attach() > tun_clone_create() > tunopen() > cdev_open() > spec_open() > VOP_OPEN() > vn_open() > do_open() > do_sys_openat() > sys_open() > syscall()
Could you try backing out this change and see if it helps? http://mail-index.netbsd.org/source-changes/2017/01/16/msg081115.html Martin