NetBSD Problem Report #60855

From www@netbsd.org  Tue Oct  6 08:42:40 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E61841A923B
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  6 Oct 2026 08:42:39 +0000 (UTC)
Message-Id: <20261006084239.059D31A923C@mollari.NetBSD.org>
Date: Tue,  6 Oct 2026 08:42:38 +0000 (UTC)
From: phako@free.fr
Reply-To: phako@free.fr
To: gnats-bugs@NetBSD.org
Subject: FFSv2ea superblok mismatch
X-Send-Pr-Version: www-1.0
X-From4GNATS: "phako@free.fr via gnats" <gnats-admin@NetBSD.org>

>Number:         60855
>Category:       kern
>Synopsis:       FFSv2ea superblok mismatch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    chs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 06 08:45:00 +0000 2026
>Last-Modified:  Tue Oct 06 12:15:43 +0000 2026
>Originator:     paco
>Release:        11
>Organization:
>Environment:
NetBSD netbsd.home.arpa 11.0 NetBSD 11.0 (GENERIC) #0: Thu Jul 30 15:23:12 UTC 2026  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When creating with newfs or converting a FFSv2 to FFSv2ea filesystem with fsck_ffs -c ea, the resulting FS has all but the first one superblock with a wrong magic number, running fsck on such filesystem correct the issue and dumpfs then report the alternate blocks with the same magic number and FS type (FFSv2ea and not FFSv2 only) than the first superblock.
>How-To-Repeat:
Create a new FFSv2ea FS or convert a FFSv2 to FFSv2ea and run fsck or dumpfs -a on it.
>Fix:
I guess that creating and converting the FS whith the correct magic number on all superblocks should correct the issue.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->chs
Responsible-Changed-By: chs@NetBSD.org
Responsible-Changed-When: Tue, 06 Oct 2026 12:15:43 +0000
Responsible-Changed-Why:
my area


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.