Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2019 07:43:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 236504] [gmirror][UFS2] "Superblock check-hash failed" messages seen
Message-ID:  <bug-236504-3630-e5HT1vcNjl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236504-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236504-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236504

--- Comment #4 from Peter Holm <pho@FreeBSD.org> ---
This patch does not seem to fix the problem seen:

20190316 08:29:28 all: graid1_7.sh
Mar 16 08:35:18 t2 kernel: Superblock check-hash failed: recorded check-hash
0xe4e5b25e !=3D computed check-hash 0x1aaf9179 (Ignored)
FAIL graid1_7.sh exit code 5
20190316 08:35:52 all: graid1_7.sh
^C
$ svn diff -x -p /usr/src/sys
Index: /usr/src/sys/geom/label/g_label_ufs.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/src/sys/geom/label/g_label_ufs.c       (revision 345222)
+++ /usr/src/sys/geom/label/g_label_ufs.c       (working copy)
@@ -76,8 +76,8 @@ g_label_ufs_taste_common(struct g_consumer *cp, ch
        label[0] =3D '\0';

        fs =3D NULL;
-       if (SBLOCKSIZE % pp->sectorsize !=3D 0 ||
-           ffs_sbget(cp, &fs, STDSB, M_GEOM, g_use_g_read_data) !=3D 0) {
+       if (SBLOCKSIZE % pp->sectorsize !=3D 0 || ffs_sbget(cp, &fs,
+           STDSB_NOHASHFAIL, M_GEOM, g_use_g_read_data) !=3D 0) {
                KASSERT(fs =3D=3D NULL,
                    ("g_label_ufs_taste_common: non-NULL fs %p\n", fs));
                return;
$ uname -a
FreeBSD t2.osted.lan 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r345222M: Sat Mar=
 16
08:26:16 CET 2019     pho@t2.osted.lan:/usr/src/sys/amd64/compile/PHO  amd64
$

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236504-3630-e5HT1vcNjl>