From owner-freebsd-bugs@freebsd.org Sat Jun 27 11:30:54 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3062F34D044 for ; Sat, 27 Jun 2020 11:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49vBQQ0Zklz3V03 for ; Sat, 27 Jun 2020 11:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1212334D043; Sat, 27 Jun 2020 11:30:54 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 104D434CDFB for ; Sat, 27 Jun 2020 11:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49vBQP6ggDz3Tly for ; Sat, 27 Jun 2020 11:30:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E082124645 for ; Sat, 27 Jun 2020 11:30:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05RBUrxF057344 for ; Sat, 27 Jun 2020 11:30:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05RBUrO3057343 for bugs@FreeBSD.org; Sat, 27 Jun 2020 11:30:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244878] Kernel panic due to spin lock held too long Date: Sat, 27 Jun 2020 11:30:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vendion@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2020 11:30:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244878 --- Comment #7 from Adam Jimerson --- Leaving this closed for now as for some reason the crash dumps either did n= ot 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 rendezvo= us) 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 =3D 0 Jun 26 21:38:42 Heimdall kernel: time =3D 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+0x= 354 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+0x3= 64 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 rendezvo= us) 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 =3D 0 Jun 26 21:38:42 Heimdall kernel: time =3D 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+0x= 354 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+0x3= 64 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. --=20 You are receiving this mail because: You are the assignee for the bug.=