Panic "sleeping thread" with qlnxe driver
-
Dear pfSense community,
I am experiencing problems with using the qlnxe driver for using a QLogic 41000 series device.
The system crash occurs simply by enabling or disabling a VLAN interface created on a NIC .
I assume that the operation triggers a series of hotplug events that are handled by pfSense and this raises critical runs that generates conflicts.
Attached is the crash report.
Best regards
-
Important parts of that are:
The backtrace:db:0:kdb.enter.default> bt Tracing pid 41110 tid 100731 td 0xfffff8039f557740 kdb_enter() at kdb_enter+0x37/frame 0xfffffe00a7eb7eb0 vpanic() at vpanic+0x197/frame 0xfffffe00a7eb7f00 panic() at panic+0x43/frame 0xfffffe00a7eb7f60 propagate_priority() at propagate_priority+0x282/frame 0xfffffe00a7eb7f90 turnstile_wait() at turnstile_wait+0x30c/frame 0xfffffe00a7eb7fe0 __mtx_lock_sleep() at __mtx_lock_sleep+0x199/frame 0xfffffe00a7eb8070 qlnx_ioctl() at qlnx_ioctl+0x528/frame 0xfffffe00a7eb80d0 ifhwioctl() at ifhwioctl+0x596/frame 0xfffffe00a7eb8150 ifioctl() at ifioctl+0x4bc/frame 0xfffffe00a7eb8210 kern_ioctl() at kern_ioctl+0x2b7/frame 0xfffffe00a7eb8270 sys_ioctl() at sys_ioctl+0x101/frame 0xfffffe00a7eb8340 amd64_syscall() at amd64_syscall+0x387/frame 0xfffffe00a7eb8470 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00a7eb8470 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800b54d4a, rsp = 0x7fffffffd198, rbp = 0x7fffffffd210 ---
The panic strings:
Sleeping thread (tid 100919, pid 62482) owns a non-sleepable lock KDB: stack backtrace of thread 100919: sched_switch() at sched_switch+0x630/frame 0xfffffe00c741ddf0 mi_switch() at mi_switch+0xd4/frame 0xfffffe00c741de20 sleepq_timedwait() at sleepq_timedwait+0x2f/frame 0xfffffe00c741de60 _sleep() at _sleep+0x1c8/frame 0xfffffe00c741dee0 pause_sbt() at pause_sbt+0xf1/frame 0xfffffe00c741df10 qlnx_stop() at qlnx_stop+0x4b5/frame 0xfffffe00c741dfa0 qlnx_init_locked() at qlnx_init_locked+0x2a/frame 0xfffffe00c741e070 qlnx_ioctl() at qlnx_ioctl+0x53a/frame 0xfffffe00c741e0d0 ifhwioctl() at ifhwioctl+0x596/frame 0xfffffe00c741e150 ifioctl() at ifioctl+0x4bc/frame 0xfffffe00c741e210 kern_ioctl() at kern_ioctl+0x2b7/frame 0xfffffe00c741e270 sys_ioctl() at sys_ioctl+0x101/frame 0xfffffe00c741e340 amd64_syscall() at amd64_syscall+0x387/frame 0xfffffe00c741e470 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00c741e470 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800b54d4a, rsp = 0x7fffffffd198, rbp = 0x7fffffffd210 --- panic: sleeping thread cpuid = 3 time = 1663318115 KDB: enter: panic
There is a bug report open for this:
https://redmine.pfsense.org/issues/13028And it looks like you've opened a bug upstream:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266480Steve