From nobody Tue Mar 5 18:47:27 2024 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 4Tq4LR6kP8z5DCSL for ; Tue, 5 Mar 2024 18:47:27 +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 4Tq4LR4j2sz4Wpj for ; Tue, 5 Mar 2024 18:47:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709664447; a=rsa-sha256; cv=none; b=XR0Bf/bk23qOyJz56dbEetrlp/yJ3oorh+8aK+zDSR8a6MdnyW0yLzo0PjoneojwHMjb2e IjOhbNXU/A+OOKcaCRvPfix2x5xYY38D1d4fzgZIYc9lus8hZvRo/PAc51OLdZcSei3Auc y7ZNuYWHYEziI9eOM3nWkKrOmFSbgVAZTVdQnN4Fm/GnKSi8KigEG5AX5dXMZzbrFprm2K i83JvIseYz8JMvvpe1WitUg53OnRE2HCvJF9Pk1mu/QBWrGOxWzi4l1jA5+FSWNYc2TeJk jc37tsfIbXTSbdgVOiYfLU3N6PUZ7/LhcHVLJkYnWvFxo3wt+oAlWuim2KH/VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709664447; 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=zzGkNgFSB7JaspRa/HDVGVh2XoXXWORYbwxq1KgRrt0=; b=NibEZRY1i1fTwHOoWMg2Je87bAiZOVB7/xMxyfWfvW9lSF+mCjQM/mUJ8rAgd3IeHs2kak Pq6P76vQ2yo8KCUBSe9m8UJzbDZ1GDN2ui+blLcdaFVIQ/8w3T5W2DIcB3lZba1gOnZk75 OzM2qSgXtRVyyLzrNqT4v/6DChLmfeczlo0t48G9JnG6ZJIo8j1rrExwkYnYdb/hvw7fDY qGQ0MYl5jd40GCjT7EMs6kNcpnULDk8v6LDHb/3jdm3wMDmSHs/ZUe/CCbeeWDBdLOG/6q ZUWUQbymDOjYLJ7uGDExCT0gQjXSi9/GuEqUCglJVXlmeCGc64ccEy3Wvl8HOQ== 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 4Tq4LR4BK2zHkB for ; Tue, 5 Mar 2024 18:47:27 +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 425IlRV3001382 for ; Tue, 5 Mar 2024 18:47:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 425IlR2F001371 for bugs@FreeBSD.org; Tue, 5 Mar 2024 18:47:27 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 277499] panic in doneq0 xpt_done_td xpt_done_process after HDD falling off the bus (Periph destroyed) Date: Tue, 05 Mar 2024 18:47:27 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277499 Warner Losh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imp@FreeBSD.org --- Comment #1 from Warner Losh --- This looks like an old bug that I killed 3 or 4 years ago. The root cause is that we're leaking a reference, so the periph is torn down with outstanding devices. if ((ccb_h->func_code & XPT_FC_USER_CCB) =3D=3D 0) { struct cam_ed *dev =3D ccb_h->path->device; if (sim) devq =3D sim->devq; KASSERT(devq, ("Periph disappeared with CCB %p %s request pending.", ccb_h, xpt_action_name(ccb_h->func_code))); mtx_lock(&devq->send_mtx); devq is NULL here, according to the traceback... The hard part is figuring out how this came to be. --=20 You are receiving this mail because: You are the assignee for the bug.=