Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 22:19:36 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   FYI for main (14: 847dfd2803f6 based) on arm64 (cortex-a72): 2 odd g_vfs_done failures happened
Message-ID:  <49D21B5B-9110-40A8-ADBF-8F29CF6B2525@yahoo.com>
References:  <49D21B5B-9110-40A8-ADBF-8F29CF6B2525.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The following happened while doing: chflags -R noschg /
It has not been repeatable. I've never gotten such before.
The offset values look odd to me.

chflags: =
g_vfs_done():gpt/FBSDmacchroot[READ(offset=3D-4154898212347031552, =
length=3D32768)]error =3D 5
=
/usr/fbsd/main-sg_vfs_done():gpt/FBSDmacchroot[READ(offset=3D-316462093691=
3141760, length=3D32768)]error =3D 5
rc/contrib/pjdfstest/tests/mkdir/05.t: Invalid argument
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/06.t: Invalid =
argument
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/07.t: =
Operation not supported
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/08.t: =
Operation not supported
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/09.t: =
Operation not supported
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/11.t: =
Operation not supported
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/12.t: Invalid =
argument
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/00.t: =
Operation not supported
chflags: /usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/05.t: Invalid =
argument

The fsck_ffs after shutdown now and mount -r / got . . .

# fsck_ffs -y /
** /dev/gpt/FBSDmacchroot
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
UNKNOWN FILE TYPE I=3D80660704
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660705
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660706
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660707
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660708
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660709
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660710
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660711
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660712
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660713
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660714
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660715
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660716
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660717
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660718
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=3D80660719
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

** Phase 2 - Check Pathnames
UNALLOCATED  I=3D80660704  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/04.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660705  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/05.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660706  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/06.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660707  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/07.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660708  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/08.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660709  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/09.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660710  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/10.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660711  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/11.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660712  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/12.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660713  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/00.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660714  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/01.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660715  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/02.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660716  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/03.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660717  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/04.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660718  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/05.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=3D80660719  OWNER=3Droot MODE=3D0
SIZE=3D0 MTIME=3DDec 31 16:00 1969=20
NAME=3D/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/06.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes

SUMMARY INFORMATION BAD
SALVAGE? yes

BLK(S) MISSING IN BIT MAPS
SALVAGE? yes

1484690 files, 32501714 used, 178244320 free (270032 frags, 22246786 =
blocks, 0.1% fragmentation)

***** FILE SYSTEM MARKED DIRTY *****

***** FILE SYSTEM WAS MODIFIED *****

***** PLEASE RERUN FSCK *****
# fsck_ffs -y /
** /dev/gpt/FBSDmacchroot
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1484690 files, 32501714 used, 178244320 free (270032 frags, 22246786 =
blocks, 0.1% fragmentation)

***** FILE SYSTEM MARKED CLEAN *****


The context at the time of failure was:

# ~/fbsd-based-on-what-freebsd-main.sh=20
merge-base: 847dfd2803f6c8b077e3ebc68e35adff2c79a65f
merge-base: CommitDate: 2021-02-03 21:24:22 +0000
325d7069b027 (HEAD -> mm-src) mm-src snapshot for mm's patched build in =
git context.
847dfd2803f6 (freebsd/main, freebsd/HEAD, pure-src, main) readelf: do =
not trucate section name with -W

(So based on 847dfd2803f6 from 2021-Feb-03.)

The system was built based on -mcpu=3Dcortex-a72 usage and
was a non-debug build.

I'll also note that I've reported a couple of apparently
random powerpc64 non-repeatable problems from a build
based on the same 847dfd2803f6 source code. This is the
first oddity noted outside that context.

# gpart show -pl
=3D>        40  2000409184    ada0  GPT  (954G)
          40      409600  ada0p1  (null)  (200M)
      409640  1740636160  ada0p2  FBSDmacchroot  (830G)
  1741045800    58720256  ada0p3  FBSDmacchswp0  (28G)
  1799766056   176160768  ada0p4  FBSDmacchswp1  (84G)
  1975926824    24482400          - free -  (12G)


Note: I have since updated the machine to . . .

# ~/fbsd-based-on-what-freebsd-main.sh=20
merge-base: 3acea07c1873b1e4042f4a4fa8668745ee59f15b
merge-base: CommitDate: 2021-02-08 19:15:21 +0000
c1845d00f818 (HEAD -> mm-src) mm-src snapshot for mm's patched build in =
git context.
3acea07c1873 (pure-src) Restore the augmented strlen commentary
FreeBSD FBSDmacch 14.0-CURRENT FreeBSD 14.0-CURRENT =
mm-src-n244686-c1845d00f818 GENERIC-NODBG  arm64 aarch64 1400004 1400004

and had no troubles doing so.

The other systems will all be updated to be based on
the 3acea07c1873 source code vintage.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D21B5B-9110-40A8-ADBF-8F29CF6B2525>