[Bug 244878] Kernel panic due to spin lock held too long

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 27 11:30:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244878

--- Comment #7 from Adam Jimerson <vendion at gmail.com> ---
Leaving this closed for now as for some reason the crash dumps either did not
get exported/saved so don't know how useful this is but I did see that this
happened again yesterday and all I have to go off of is the stacktrace from
/var/log/messages:

Jun 26 21:38:42 Heimdall syslogd: kernel boot file is /boot/kernel/kernel
Jun 26 21:38:42 Heimdall kernel: spin lock 0xffffffff8200cc50 (smp rendezvous)
held by 0xfffff80214eb55e0 (tid 101663) too long
Jun 26 21:38:42 Heimdall kernel: timeout stopping cpus
Jun 26 21:38:42 Heimdall kernel: panic: spin lock held too long
Jun 26 21:38:42 Heimdall kernel: cpuid = 0
Jun 26 21:38:42 Heimdall kernel: time = 1593001188
Jun 26 21:38:42 Heimdall kernel: KDB: stack backtrace:
Jun 26 21:38:42 Heimdall kernel: #0 0xffffffff80c1d307 at kdb_backtrace+0x67
Jun 26 21:38:42 Heimdall kernel: #1 0xffffffff80bd063d at vpanic+0x19d
Jun 26 21:38:42 Heimdall kernel: #2 0xffffffff80bd0493 at panic+0x43
Jun 26 21:38:42 Heimdall kernel: #3 0xffffffff80bb09fd at
_mtx_lock_indefinite_check+0x6d
Jun 26 21:38:42 Heimdall kernel: #4 0xffffffff80bb0545 at
_mtx_lock_spin_cookie+0xd5
Jun 26 21:38:42 Heimdall kernel: #5 0xffffffff8121fb0e at
smp_targeted_tlb_shootdown+0x3ce
Jun 26 21:38:42 Heimdall kernel: #6 0xffffffff8109c2af at pmap_advise+0x57f
Jun 26 21:38:42 Heimdall kernel: #7 0xffffffff80f16214 at vm_map_madvise+0x354
Jun 26 21:38:42 Heimdall kernel: #8 0xffffffff80f1c259 at sys_madvise+0x79
Jun 26 21:38:42 Heimdall kernel: #9 0xffffffff810a8984 at amd64_syscall+0x364
Jun 26 21:38:42 Heimdall kernel: #10 0xffffffff81082520 at
fast_syscall_common+0x101
Jun 23 21:42:25 Heimdall pulseaudio[46631]: [(null)] oss-util.c: '/dev/dsp2'
doesn't support full duplex
Jun 23 21:42:25 Heimdall pulseaudio[46631]: [(null)] oss-util.c: '/dev/dsp3'
doesn't support full duplex
Jun 23 21:42:25 Heimdall pulseaudio[46631]: [(null)] oss-util.c: '/dev/dsp4'
doesn't support full duplex
Jun 23 21:42:25 Heimdall pulseaudio[46631]: [(null)] oss-util.c: '/dev/dsp5'
doesn't support full duplex
Jun 23 21:42:25 Heimdall pulseaudio[46631]: [(null)] oss-util.c: '/dev/dsp8'
doesn't support full duplex
Jun 26 21:38:42 Heimdall syslogd: kernel boot file is /boot/kernel/kernel
Jun 26 21:38:42 Heimdall kernel: spin lock 0xffffffff8200cc50 (smp rendezvous)
held by 0xfffff80214eb55e0 (tid 101663) too long
Jun 26 21:38:42 Heimdall kernel: timeout stopping cpus
Jun 26 21:38:42 Heimdall kernel: panic: spin lock held too long
Jun 26 21:38:42 Heimdall kernel: cpuid = 0
Jun 26 21:38:42 Heimdall kernel: time = 1593001188
Jun 26 21:38:42 Heimdall kernel: KDB: stack backtrace:
Jun 26 21:38:42 Heimdall kernel: #0 0xffffffff80c1d307 at kdb_backtrace+0x67
Jun 26 21:38:42 Heimdall kernel: #1 0xffffffff80bd063d at vpanic+0x19d
Jun 26 21:38:42 Heimdall kernel: #2 0xffffffff80bd0493 at panic+0x43
Jun 26 21:38:42 Heimdall kernel: #3 0xffffffff80bb09fd at
_mtx_lock_indefinite_check+0x6d
Jun 26 21:38:42 Heimdall kernel: #4 0xffffffff80bb0545 at
_mtx_lock_spin_cookie+0xd5
Jun 26 21:38:42 Heimdall kernel: #5 0xffffffff8121fb0e at
smp_targeted_tlb_shootdown+0x3ce
Jun 26 21:38:42 Heimdall kernel: #6 0xffffffff8109c2af at pmap_advise+0x57f
Jun 26 21:38:42 Heimdall kernel: #7 0xffffffff80f16214 at vm_map_madvise+0x354
Jun 26 21:38:42 Heimdall kernel: #8 0xffffffff80f1c259 at sys_madvise+0x79
Jun 26 21:38:42 Heimdall kernel: #9 0xffffffff810a8984 at amd64_syscall+0x364
Jun 26 21:38:42 Heimdall kernel: #10 0xffffffff81082520 at
fast_syscall_common+0x101

I can upload the current kernel I'm using (FreeBSD 12.1-p6 GENERIC) if need be,
but if it happens again and I get crash dumps for it I'll reopen.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list