From nobody Sat Jun 11 18:06:41 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 0B54F847B95 for ; Sat, 11 Jun 2022 18:06:42 +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 4LL5PY6BSvz4XRy for ; Sat, 11 Jun 2022 18:06:41 +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 B2101119F4 for ; Sat, 11 Jun 2022 18:06:41 +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 25BI6fWA045319 for ; Sat, 11 Jun 2022 18:06:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25BI6fiO045318 for fs@FreeBSD.org; Sat, 11 Jun 2022 18:06:41 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: fs@FreeBSD.org Subject: [Bug 264450] ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument Date: Sat, 11 Jun 2022 18:06:41 +0000 X-Bugzilla-Reason: CC 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: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: 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=1654970801; 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=yaRpgc19ltxrco+Qxq+PzTg6t3vtHRyv4SIVQpv1dqA=; b=xnBHCSk60sThMZFtDMPsk5B4vq6HgcOChDfqwPSjufavxkUInAs0ldj/YnGUwJiYA34mfq nXQ6zGdXeMRpFo8uhlwzo4K1GhdXRNV67oCt9oWRYzpMLF5o0lzCGgkW3JvrBpQxtsUDb0 aEsvNP6fIEPe/rMloHDf7zxnGTs39UIyc/3j6FYp/wA6k5iVdLvQ2+ZTQ4AdTXcEy34f43 byOswuDLOsePZIylNwbVOpSfyXyFi/JCBO1tNnsP7vaebKQ7hMXJEl2K5Wpf2tgaefk4tW 2SudBpm0klXkThnsbjEgvxKafUQDQg8UGDTnnqUkJwVbtF2lFXMYIpPkaGlvRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654970801; a=rsa-sha256; cv=none; b=iPeMhSGYYXAXzVw/lB2cHkocm+FEJTPmM57ShbcnLL9MQhDfMyeHL1z+pfZPPCrazDb6yY cO6GRrKvHO1pn9VFLMKPdXBC5PdfzA2l9Crp6Ghh6fJvFOn24E5risD/JGEgOrJrVvk7GY mAw4TTFoctbkQkibRlqDZo+qFni4ipWnvWQqeXPOKCmOKNhJ3gO0Hmw2A/kO91fAhSaM6I MzM3nsm7jZu/kxrnaxkBUlh8UqMTcZlItfAalJaQq5P7gsKz/F/Mghd1m91cEjdCOQD5Om Xys21KJHVyklVTUgzl1R53n/wbPq9iE6sH25UpjdT05hFNC1mAFaIz5bAiND1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264450 --- Comment #15 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D800a53b445e7eb113ba193b1ac9863129= 9178529 commit 800a53b445e7eb113ba193b1ac98631299178529 Author: Kirk McKusick AuthorDate: 2022-06-11 18:04:19 +0000 Commit: Kirk McKusick CommitDate: 2022-06-11 18:05:14 +0000 Bug fix to UFS/FFS superblock integrity checks when reading a superbloc= k. One of the checks was that the cylinder group size (fs_cgsize) matched that calculated by CGSIZE(). The value calculated by CGSIZE() has changed over time as the filesystem has evolved. Thus comparing the value of CGSIZE() of the current generation filesystem may not match the size as computed by CGSIZE() that was in effect at the time an older filesystem was created. Therefore the check for fs_cgsize is changed to simply ensure that it is not larger than the filesystem blocksize (fs_bsize). Reported by: Martin Birgmeier Tested by: Martin Birgmeier MFC after: 1 month (with 076002f24d35) PR: 264450 Differential Revision: https://reviews.freebsd.org/D35219 sys/ufs/ffs/ffs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=