From nobody Sat May 21 16:12:45 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 7FF381B3C85D for ; Sat, 21 May 2022 16:12:45 +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 4L57sn1b2Cz4dwl for ; Sat, 21 May 2022 16:12:45 +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 172281DBE for ; Sat, 21 May 2022 16:12:45 +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 24LGCjJr067738 for ; Sat, 21 May 2022 16:12:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24LGCjjS067737 for bugs@FreeBSD.org; Sat, 21 May 2022 16:12:45 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 264127] "zfs destroy" panic when destroying some snapshots but not all Date: Sat, 21 May 2022 16:12:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arielmt@thornton2.com 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 attachments.created 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=1653149565; 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=TPmzHHo9EVvwPkPmaDvjRYQGxOM8aSwWY6d4y8DBcA4=; b=jZs6svvLL/w+eg1o8BuBWTohLTF8pW7GSs7X10GZ0dc+CfFPEiKyU7b+fGMsz79xZyUnHF /gTS8qJ27nTK6h+exxjrww9OAmzZDJzvGamg8fqZPSG0RrywQCO3YOeVu4a8l88qbPwkmU QSCkM2oilf1+avCsrs6KWhBMS5s6algEYlS5/kF5BrxOHRwZ2JFyV3cGGWucDSDqTLRfuF 5ArUsvWg4fvZcWzCXlWWQx4SKL8CtSuyj+pxZS+iPb8q/IK7iHz3Pjs+Fdx7zOBTEtjRe8 WcqHAA7i5QYuhLNYix/Gjnz7wtsB7l9kK6IWJNlGRgQy3LLWu3kraMOpKa94wg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653149565; a=rsa-sha256; cv=none; b=MyHMeih0th+93IzbCO7IsOE4MhejEiuZE4/OZxMQY9Vpx6t5jzejTd94ic5Zuy3j8Yh4wg VxVCjdwt7HM9YsyOe7T0+SkgPJjmvzLSMI9aXhFzHYV1gGTa/PjuS66oe5M5O2FWACpblS OB8aNHj7vEVrkS1jU0tUgdyjU1/Sji2Xr4Qay2/SEx/aSqGG/qGPTSwqWMSd6a+75qXuGu wQ7USTx69PP1R7pdIVhE81SYeavtbE8XlM6hQ/IZZM1ZMyCcAYNQTnPkUyngSY8wiT9D97 keHu3jfcyhVkDGFzBD9qXYXGUnyJxUR2KYxNpFxDK2s9TYl1UbTn0ROkRw23tA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264127 Bug ID: 264127 Summary: "zfs destroy" panic when destroying some snapshots but not all Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: arielmt@thornton2.com Created attachment 234083 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234083&action= =3Dedit kgdb /boot/kernel/kernel vmcore.7 | tee kgdb.txt I'm getting a kernel panic when trying to destroy snapshots in one specific= zfs dataset in my pool. For example: zfs destroy -d zroot/var/mail@zfs-auto-snap_015m-2022-04-17-16h45 The system is an HP 22-df0023w all-in-one PC I'm using as a home desktop. I installed 13.0-RELEASE amd64 on it, upgraded it to 13.0-RELEASE-p11 when the problem began manifesting in April 2022, and upgraded it again to 13.1-RELE= ASE on May 16, 2022. It's running the stock kernel, very few customizations not documented in the FreeBSD Handbook, and zfstools (until I commented out the zfs-auto-snapshot cron jobs). When I ran the example zfs command normally as root, I got a panic and recovered the first part of the attachment from the core dump. When I commented out the following lines in /etc/rc.conf: kld_list=3D"amdgpu" xdm_enable=3D"YES" Then rebooted and tried again with the same zfs command, I got another panic and recovered the second part of the attachment from that core dump. I suspect I would be able to boot into the installer image and use it as a rescue system to destroy the troublesome snapshots, but I'm willing to keep them for a while if it allows the cause of this bug to be found and fixed. --=20 You are receiving this mail because: You are the assignee for the bug.=