From nobody Sun May 01 17:07:15 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 996B01AB5369 for ; Sun, 1 May 2022 17:07:15 +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 4Krt1t75Rjz4mY9 for ; Sun, 1 May 2022 17:07:14 +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 D2875196DE for ; Sun, 1 May 2022 17:07:14 +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 241H7EFp097286 for ; Sun, 1 May 2022 17:07:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 241H7EwS097285 for bugs@FreeBSD.org; Sun, 1 May 2022 17:07:14 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 263704] Panic because device went away with XPT_ATA_IO pending Date: Sun, 01 May 2022 17:07:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=1651424835; 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; bh=DVeipw2niN++01KApGIC3YT5BQvlHucKxR/KbZO/n58=; b=iVLoYmmq9yNOlosZBlo6cFLBHgzmcn/cpEBGlwmyVCGoQXLJeOSvvpPvTXFZJ6Yqal6Pix YuPQeQhuzTWuFua3QSbe0VJvPw8Wl3fhbSDXCcHDFHp1QFc27MSjTqSwkImR/kMI7KgFDm FCC/3ZaYc3IrVYUV5Eu2KT2shn35LVF4S2fZSWAog74Mq+PPUlSEy6NYPVu+9ratOd4UES LcX9JXa9uaICwXjFgMXtUK6dYXd3KIhUEQGu3D8XjmbVPetIjoSBz3Kwc8q9dItGnc3RMF vK9xcWRAT4632CKOoaBhuEsidtuluIM2XYq75wMuWMoJjzWbvrz5O3tDUgKkhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651424835; a=rsa-sha256; cv=none; b=HKxwZiZQuBRVvg1fTjMBJ1QvVMnpiWqakjGScjRnGlsqDF7owuJP2MLE3RdLX5lWqSVunx ydjycJfRrGhy34bHaAhRaUjWWrt/0sxdLbKk8i9XpSAo48MN0aeHodV6AdxkcSiq3vKeCB F/bJjkCizZ5gu4iXA0gBvhAF5SamyqGp5+5CKasnItp39Vo+AlfJIb9ONIZmLGw9g9F/Gq Xygkl+YavAU/2kq78F7W2tV/pblulZJSvA1FnqCKQRCuvP0Id1cLCTBpUsNSa7lxQ8/QdH 6BzFxyR7BonMy9vPaPLEdHJr2XSfvF5FA2OXYJB1pmf1LL50Hvn1qvbiZKYmqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263704 Bug ID: 263704 Summary: Panic because device went away with XPT_ATA_IO pending Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: imp@FreeBSD.org we can drop all references to the device (causing us to go through camperiphfree and destroy the path) while we have an I/O pending in the ata= _da state machine (usually in state ADA_STATE_RAHEAD with ATA_SETFEATURES ATA_SF_ENAB_RCACHE command). It's not clear why the reference that we take = out to do the reprobe isn't effective at blocking this. By retrying this condit= ion, though we avoid this bug (at least more often, I don't have a good reproduc= tion test case, I just see this panic a few times a month at work on systems that have transient disk errors on ahci connected SATA SSDs). --=20 You are receiving this mail because: You are the assignee for the bug.=