From nobody Tue Feb 8 02:41:42 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 70B9019B23D8 for ; Tue, 8 Feb 2022 02:41:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jt6j220Jsz3JMG for ; Tue, 8 Feb 2022 02:41:42 +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 2225F119EB for ; Tue, 8 Feb 2022 02:41:42 +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 2182fgu2030639 for ; Tue, 8 Feb 2022 02:41:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2182fgEX030638 for virtualization@FreeBSD.org; Tue, 8 Feb 2022 02:41:42 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: virtualization@FreeBSD.org Subject: [Bug 261198] bhyve host panics with: spin lock 0xffffffff81eac800 (callout) helpanic: spin lock held too long Date: Tue, 08 Feb 2022 02:41:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644288102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TyfNhfTKpio3IpFUeqyazpaCRRQR7eI7Ep8DJJ+gNp4=; b=M7LiOaFSzPJkrivuLds41Aq3vvYuGw91/XU5N5UYoWn8vH8AA5glWbWq2vTnB0wRE5p0hz HhgzSdQldSPgPKlZhc0nkIusiEJQalQ+wM9YWiEPte4tm2UqtJLiKUsD/ftwZKJyiVCpjZ jB1TnfdPx7k6gFhdZ6y8Mz0CfT2T9IC+U1Zd+tdaJSgBB19CvEq4T3vmy7X6VNQnPLWUX5 iBqYKqYflcKIvLqqdBNzHyzOz2tSwkPPC8mMSwccSUsB3Mz6ToD03j/cIiGjLStQNzW66y 24JaD/WK2dsk3tPEHFeAYPc3cu/amIuRMrsp69xYUeqPIK5zbsUopxQl5nZ0vQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644288102; a=rsa-sha256; cv=none; b=ihc+ZgsGgwenGkt1f3pcGuJ9+5KVQWwgMNFZRYy8yi6HYqVXZmG3gCgcLK0502LcffoBsE fWjUeUWYjS63q8Kjhdv696B52sOk9bdcwEVUHCXYR13Qr4OJJDZ1oZ/LcHf/JydfPtR7xm G4SSmsOlEW4aGxw2e0InChq8gGjc+xemTMSK8WxR79GUXKL6XHkyLI6F2GL5Wsy+sa9YkJ Ys8gWZWsj3CQWey6yEZUBBR2nXfBywkvOUD70kAtrJuYG44fqIOFStpTXqJ6eJLM5T5R8h hOBat0VVDLnGovRtkT0TVD037cRktEKAI9njmytMFY6w2iTss6THRCJ8qLDeTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261198 --- Comment #7 from Mark Johnston --- Hmm, I wonder if we can avoid stopping the callout when td->td_lock !=3D sc->sc_lock. In that case, the thread is in the process of going to sleep = and will abort in sleepq_switch() anyway. I don't think sleepq_switch() can sa= fely abort the callout, but I believe it should be ok to leave it be. That'd be= a rare case, and see the comment above the problematic callout_stop() call. --=20 You are receiving this mail because: You are the assignee for the bug.=