FYI for main (14: 847dfd2803f6 based) on arm64 (cortex-a72): 2 odd g_vfs_done failures happened

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 8 Feb 2021 22:19:36 -0800
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=-4154898212347031552, length=32768)]error = 5
/usr/fbsd/main-sg_vfs_done():gpt/FBSDmacchroot[READ(offset=-3164620936913141760, length=32768)]error = 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=80660704
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660705
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660706
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660707
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660708
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660709
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660710
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660711
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660712
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660713
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660714
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660715
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660716
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660717
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660718
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

UNKNOWN FILE TYPE I=80660719
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? yes

** Phase 2 - Check Pathnames
UNALLOCATED  I=80660704  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/04.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660705  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/05.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660706  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/06.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660707  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/07.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660708  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/08.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660709  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/09.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660710  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/10.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660711  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/11.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660712  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkdir/12.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660713  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/00.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660714  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/01.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660715  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/02.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660716  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/03.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660717  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/04.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660718  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/usr/fbsd/main-src/contrib/pjdfstest/tests/mkfifo/05.t

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? yes

UNALLOCATED  I=80660719  OWNER=root MODE=0
SIZE=0 MTIME=Dec 31 16:00 1969 
NAME=/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 
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=cortex-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
=>        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 
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.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Tue Feb 09 2021 - 05:19:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC