Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: file corruption



On Tue, Apr 04, 2017 at 02:29:39PM +0100, Patrick Welche wrote:
> I just did a fresh cvs checkout of src, into /usr/src which is on:
> 
> wd1: <Samsung SSD 850 EVO M.2 500GB>
> /dev/wd1e on /usr type ffs (log, local)
> cylgrp  dynamic inodes  FFSv2   sblock  FFSv2   fslevel 5
> 
> Without attempting any builds, and just looking at the fresh checkout,
> according to "file":
> 
> /usr/src/external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-avx512.s: data
> 
> rather than "ASCII text", and e.g.:
> 
> Created src/external/bsd/llvm/dist/llvm/test/Object/Inputs/
> src/external/bsd/llvm/dist/llvm/test/Object/Inputs/absolute.elf-x86-64
> /absolute.elf-x86-64/1.1.1.1///
> u=rw,g=rw,o=rw
> 711
> ^?ELF^B^A^A^@^@^@^@^@^@^@^@^@^A^@>^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@p^@
> ^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@@^@^G^@^D^@^@.symtab^@.strtab^@.shstrtab^@.text^@
> .data^@.bss^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> 
> 
> The "general filesystem corruption?" guess of the "current danger?" thread in
> http://mail-index.netbsd.org/current-users/2017/03/31/msg031433.html
> seems well founded.
> 
> The above is with a kernel from today's current/amd64.
> 
> The kernel is running with DEBUG, DIAGNOSTIC and LOCKDEBUG.
> 
> (machine was still fine at the beginning of March)

Repeated the simple test remounting

/dev/wd1e on /usr type ffs (local)

i.e., no WAPBL, and see:

src/external/gpl2/gettext/dist/gettext-runtime/libasprintf/configure: POSIX shell script executable (binary data)

rather than

src.bak/external/gpl2/gettext/dist/gettext-runtime/libasprintf/configure: POSIX shell script, ASCII text executable, with very long lines

# more src/external/gpl2/gettext/dist/gettext-runtime/libasprintf/configure
...
Created src/external/gpl2/gettext/dist/gettext-runtime/po/
src/external/gpl2/gettext/dist/gettext-runtime/po/be.gmo
/be.gmo/1.1.1.1///
u=rw,g=rw,o=rw
7604
<DE>^R^D<95>^@^@^@^@^]^@^@^@^\^@^@^@^D^A^@^@)^@^@^@<EC>^A^@^@^@^@^@^@<90>^B^@^@<F0>^A^@^@<91>^B^@^@^Y^@^@^@<82>^D^@^@^Y^@^@^@<9C>^D^@^@,^@^@^@<B6>^D^@^@^]^@^@^@<E3>^D^@^@%^@^@^@^A^E^@^@,^@^@^@'^E^@^@-^@^@^@T^E^@^@ ^@^@^@<82>^E^@^@&^@^@^@<A3>^E^@^@^_^@^@^@<CA>^E^@^@^_^@^@^@<EA>^E^@^@<C7>^@^@^@
^F^@^@e^@^@^@<D2>^F^@^@:^@^@^@8^G^@^@^Y^A^@^@s^G^@^@<DE>^A^@^@<8D>^H^@^@*^@^@^@l
^@^@&^@^@^@<97>
^@^@^T^@^@^@<BE>
...


It seems something recentish broke FFS, and WAPBL is blameless...

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index