From nobody Sat Jul 16 00:38:44 2022 X-Original-To: fs@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 4Ll8VF414tz4X45r for ; Sat, 16 Jul 2022 00:38: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 4Ll8VF2lnhz3Q8k for ; Sat, 16 Jul 2022 00:38: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 4Ll8VF1h5rz12C9 for ; Sat, 16 Jul 2022 00:38: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 26G0cjhp078701 for ; Sat, 16 Jul 2022 00:38:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26G0cjlG078700 for fs@FreeBSD.org; Sat, 16 Jul 2022 00:38: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: fs@FreeBSD.org Subject: [Bug 265162] fsck_ffs(8) core dumps with a mangled FS Date: Sat, 16 Jul 2022 00:38:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mckusick@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657931925; 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=SmvxhLCftLlWoyi6eF1IbmcyXzGzYhHEyXMYiwga64k=; b=J4sAiZznOID4kTSqBjTjQs/TMH/0dN2TlqST4ak4CZezp1f/wpvDD6o+Ak1nL32lZAwzco EhYMi1fYsds0SOFLklxyCckuiWIcXKYiBirJsoKqqmf3HIw7L20uBiILL+/dViNW5inz1I Dka51GYlxHvOsQAxh+pU8wJmjHoKAxhz/E/yiP08+buQs6QyR1aKMDaEKEla4g587CaNjR IV1iqU6yEXK3+0X03AMgnXk/n2BlOuimxbvLo6SsQ/chwDThvWZI9RFdF97h8h8wPOUkJR FXah1OAZ/IT6vdjo9Qk+XPfbjn+RxrDF5My4jntxVsLVq71cqRI0Nroj/5FbLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657931925; a=rsa-sha256; cv=none; b=JhdTjZ9F+zFrAiDZt/+YF9s06FzqQEOhNewKOMYHd7LvL3AR4sedtmw/ZGIlWWq2AVAd28 +kj9Ftvzf4xBEM1PLiZJ1WvWVjxcKmiVCvglsjqvT59q6TjI3FAn9zaY6q1Wyfq3PQBuU0 QSxhkLVlokE8GT8REZpLTRshIOV0Prh3HvOIMNy4ZX91Yzd52qwYe3VBLEQWtgF/2k1/f2 EZgR1K1IEni1IERWTmEUnFfMZRdbee2SDrQZergDhMUl1BKqcva3N2HIgYWhcnKgQ6iETS iQF36iSplDuoAHibo+87fdAtP12FygfJXlV1RHpWwQn1QkoCmXc2+nbAmaWUzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265162 Kirk McKusick changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mckusick@FreeBSD.org --- Comment #1 from Kirk McKusick --- Created attachment 235285 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235285&action= =3Dedit Proposed fix This adds a check to the superblock validation code that checks for this ca= se. The result is that fsck_ffs bails on the filesystem because it does not know how to fix it. In this case the only way to recover is to specify an alternative superblock. This particular filesystem image does not have the parameters set up to allow fsck to do that itself. --=20 You are receiving this mail because: You are the assignee for the bug.=