From nobody Tue Jan 4 02:02:36 2022 X-Original-To: bugs@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 B0155191D999 for ; Tue, 4 Jan 2022 02:02:36 +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 4JSbV40tGGz596c for ; Tue, 4 Jan 2022 02:02:36 +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 E8AB01089E for ; Tue, 4 Jan 2022 02:02:35 +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 20422ZwU023312 for ; Tue, 4 Jan 2022 02:02:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20422ZUl023311 for bugs@FreeBSD.org; Tue, 4 Jan 2022 02:02:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 226510] panic: Re-refing for reason 5, cnt = 1 Date: Tue, 04 Jan 2022 02:02:36 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641261756; 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=x2ZqXT6Kx7Hl4QOc5fvfTimWAUfX/zJmJp4DeAVt+yU=; b=BNxu/ZQtULPfzkgSc0df5FxguhNzeo/luLeqf5jnTJ6998DDsuYNXT082Cn5lWUXHw+tWN fZ0s/5tmYzrjLibXhijKMg1dTDM2dVg+8quN5s59y/mIwbPp84dD0ToGlLntFjr8jXS8zP 5Un1jDXHmLfFP3RDXsV4ZNbEYuGK9lSBU8QOsrC7Uc/Jsp57t/En3C5S+4VGsQFblrNg66 NkEFmQg1b9Jprw3Tq4Oxlf/xxtO9XxvdMwJ0IYhHlg5KKfTK9c5MG71bgH9lKSLHaieGHA 8TRQYRWqDbIadOQyrn4Ejc3SLQcdH2qMQSN5gMojtLoD0vqCjcnFiUKJvmdvYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641261756; a=rsa-sha256; cv=none; b=BfCL9Zcp1yTQvTb4Rv/vFeXsTg/Aeu5MDxPXrIJOIGD97RozH6Cgb3/drb65V9BWNzDlhe EyE6FJ6hZX5xXMA4Kfr2RYEzUOQcQ4JKmLidfObgulrXQv5Yuu1OY7gfdc0EdO4UNoLDWF EYvPprQhAAiePjqk4llmmPXhE/f5qmj9siXB6t5hwfobd3uHuNg339C88+7kdGki0I2dBE sQinoGVK4XStur9IMNzJaTva1Mu9rIjPmHzA1JwtMndah7jbxIfTL7wi7JS5mzsutjzDsy wwron9wRIbwL3rPnvWmHFygDNQOkNsXW2/ubXNrZz09YRA4+2lPLuq0mu8T8Iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226510 --- Comment #22 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbb8441184bab60cd8a07c2b94bd6c4ae8= b56ec25 commit bb8441184bab60cd8a07c2b94bd6c4ae8b56ec25 Author: Robert Wing AuthorDate: 2022-01-04 01:21:58 +0000 Commit: Robert Wing CommitDate: 2022-01-04 01:56:48 +0000 cam: don't lock while handling an AC_UNIT_ATTENTION Don't take the device_mtx lock in daasync() when handling an AC_UNIT_ATTENTION. Instead, assert the lock is held before modifying the periph's softc flags. The device_mtx lock is taken in xptdevicetraverse() before daasync() is eventually called in xpt_async_bcast(). PR: 240917, 226510, 226578 Reviewed by: imp MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D27735 sys/cam/scsi/scsi_da.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=