daily CVS update output

2024-05-03 Thread NetBSD source update


Updating src tree:
P src/distrib/riscv/ramdisk/Makefile
P src/distrib/sets/lists/dtb/ad.earmv7
P src/distrib/sets/lists/dtb/ad.earmv7hf
P src/distrib/sets/lists/dtb/ad.earmv7hfeb
P src/doc/roadmaps/ports
P src/etc/defaults/npf.boot.conf
P src/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c
U src/sys/arch/arm/dts/zynq-red-pitaya-122-16.dts
P src/sys/arch/arm/xilinx/zynq_uart.c
P src/sys/arch/cobalt/stand/boot/zs.c
P src/sys/arch/hp300/stand/mkboot/mkboot.c
P src/sys/arch/riscv/include/ptrace.h
P src/sys/arch/riscv/riscv/cpu_subr.c
P src/sys/arch/sgimips/stand/common/iris_zs.c
P src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/Makefile
P src/sys/uvm/uvm_io.c
P src/sys/uvm/pmap/pmap.c
P src/tests/lib/libm/t_fe_round.c
P src/tests/usr.bin/xlint/lint1/expr_sizeof.c
P src/usr.bin/xlint/lint1/cgram.y
P src/usr.bin/xlint/lint1/debug.c
P src/usr.bin/xlint/lint1/decl.c
P src/usr.bin/xlint/lint1/externs1.h
P src/usr.bin/xlint/lint1/lint1.h
P src/usr.bin/xlint/lint1/tree.c

Updating xsrc tree:


Killing core files:


Updating tar files:
src/top-level: collecting... replacing... done
src/bin: collecting... replacing... done
src/common: collecting... replacing... done
src/compat: collecting... replacing... done
src/crypto: collecting... replacing... done
src/dist: collecting... replacing... done
src/distrib: collecting... replacing... done
src/doc: collecting... replacing... done
src/etc: collecting... replacing... done
src/external: collecting... replacing... done
src/games: collecting... replacing... done
src/include: collecting... replacing... done
src/lib: collecting... replacing... done
src/libexec: collecting... replacing... done
src/regress: collecting... replacing... done
src/rescue: collecting... replacing... done
src/sbin: collecting... replacing... done
src/share: collecting... replacing... done
src/sys: collecting... replacing... done
src/tests: collecting... replacing... done
src/tools: collecting... replacing... done
src/usr.bin: collecting... replacing... done
src/usr.sbin: collecting... replacing... done
src/config: collecting... replacing... done
src: collecting... replacing... done
xsrc/top-level: collecting... replacing... done
xsrc/external: collecting... replacing... done
xsrc/local: collecting... replacing... done
xsrc: collecting... replacing... done



Updating release-8 src tree (netbsd-8):

Updating release-8 xsrc tree (netbsd-8):


Updating release-8 tar files:
src/top-level: collecting... replacing... done
src/bin: collecting... replacing... done
src/common: collecting... replacing... done
src/compat: collecting... replacing... done
src/crypto: collecting... replacing... done
src/dist: collecting... replacing... done
src/distrib: collecting... replacing... done
src/doc: collecting... replacing... done
src/etc: collecting... replacing... done
src/external: collecting... replacing... done
src/extsrc: collecting... replacing... done
src/games: collecting... replacing... done
src/include: collecting... replacing... done
src/lib: collecting... replacing... done
src/libexec: collecting... replacing... done
src/regress: collecting... replacing... done
src/rescue: collecting... replacing... done
src/sbin: collecting... replacing... done
src/share: collecting... replacing... done
src/sys: collecting... replacing... done
src/tests: collecting... replacing... done
src/tools: collecting... replacing... done
src/usr.bin: collecting... replacing... done
src/usr.sbin: collecting... replacing... done
src/config: collecting... replacing... done
src: collecting... replacing... done
xsrc/top-level: collecting... replacing... done
xsrc/external: collecting... replacing... done
xsrc/local: collecting... replacing... done
xsrc: collecting... replacing... done



Updating release-9 src tree (netbsd-9):

Updating release-9 xsrc tree (netbsd-9):


Updating release-9 tar files:
src/top-level: collecting... replacing... done
src/bin: collecting... replacing... done
src/common: collecting... replacing... done
src/compat: collecting... replacing... done
src/crypto: collecting... replacing... done
src/dist: collecting... replacing... done
src/distrib: collecting... replacing... done
src/doc: collecting... replacing... done
src/etc: collecting... replacing... done
src/external: collecting... replacing... done
src/extsrc: collecting... replacing... done
src/games: collecting... replacing... done
src/include: collecting... replacing... done
src/lib: collecting... replacing... done
src/libexec: collecting... replacing... done
src/regress: collecting... replacing... done
src/rescue: collecting... replacing... done
src/sbin: collecting... replacing... done
src/share: collecting... replacing... done
src/sys: collecting... replacing... done
src/tests: collecting... replacing... done
src/tools: collecting... replacing... done
src/usr.bin: collecting... replacing... done
src/usr.sbin: collecting... replacing... done
src/config: collecting... replacing... done
src: collecting... replacing... done
xsrc/top-level: collecting... 

Re: continuous ffs_blkfree_common panic

2024-05-03 Thread Andrius V
On Fri, May 3, 2024 at 3:59 PM Andrius V  wrote:
>
> Hi,
>
> Today I reinstalled one of my systems (NetBSD 10) and while setting up
> newly created user's password I received a panic. Since then system
> always panics in the same way on boot:
>
> [ 6.252795] panic: ffs_blkfree_common: freeing free frag: dev =
> 0xa801, block = 186040, fs = /
> [ 6.252795] cpu0: Begin traceback...
> [ 6.252795] vpanic() at netbsd:vpanic+0x183
> [ 6.252795] panic() at netbsd:panic+0x3c
> [ 6.252795] ffs_blkfree_common.isra.0() at
> netbsd:ffs_blkfree_common.isra.0+0x951
> [ 6.252795] ffs_blkfree_cg() at netbsd:ffs_blkfree_cg+0x106
> [ 6.252795] ffs_realloccg() at netbsd:ffs_realloccg+0x899
> [ 6.262794] ffs_balloc() at netbsd:ffs_balloc+0x1290
> [ 6.262794] ufs_gop_alloc() at netbsd:ufs_gop_alloc+0xa7
> [ 6.262794] ufs_balloc_range() at netbsd:ufs_balloc_range+0x154
> [ 6.262794] ffs_write() at netbsd:ffs_write+0x34e
> [ 6.262794] VOP_WRITE() at netbsd:VOP_WRITE+0xa6
> [ 6.262794] vn_write() at netbsd:vn_write+0x10e
> [ 6.262794] dofilewrite() at netbsd:dofilewrite+0x80
> [ 6.262794] sys_write() at netbsd:sys_write+0x49
> [ 6.272794] syscall() at netbsd:syscall+0x1fc
> [ 6.272794] --- syscall (number 4) ---
> [ 6.272794] netbsd:syscall+0x1fc:
> [ 6.272794] cpu0: End traceback...
>
> The disk is Kingston KC400 SSD, there's more than enough space on it.
> There are three gpt partitions (root/home/swap). root and home uses
> ffs2ea and wapbl enabled (log). The actual boot happens from USB drive
> but later altroot is used to switch to SSD.
>
> [ 3.402785] wd0 at atabus0 drive 0
> [ 3.402785] wd0: 
> [ 3.402785] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> [ 3.402785] wd0: 476 GB, 992277 cyl, 16 head, 63 sec, 512
> bytes/sect x 1000215216 sectors
> [ 3.402785] wd0: GPT GUID: d220d34c-d8d6-44a9-8a2a-09818d238115
> [ 3.402785] dk8 at wd0: "8baeac2c-5905-4005-a876-f61c560390f8",
> 262144 blocks at 2048, type: msdos
> [ 3.402785] dk9 at wd0: "nasroot", 724992000 blocks at 264192, type: ffs
> [ 3.402785] dk10 at wd0: "nashome", 242522112 blocks at 725258240, type: 
> ffs
>
> Mounting partitions from another NetBSD system doesn't cause panic and
> I can see files.
>
> Did I hit some hardware issue or is it software bug? What could be an
> option to go forward to restore the system (reinstall, relocate files,
> etc?)?
>
> Regards,
> Andrius V

Seems like some data corruption occurred for some reason causing the
issue (/etc/passwd file got filled with \xff values, master.passwd
file had jiberrish values at the end of the file, password database
corrupted as well). After some actions crash is not reproducible
anymore though. I guess issue can be considered as some kind of fluke.


continuous ffs_blkfree_common panic

2024-05-03 Thread Andrius V
Hi,

Today I reinstalled one of my systems (NetBSD 10) and while setting up
newly created user's password I received a panic. Since then system
always panics in the same way on boot:

[ 6.252795] panic: ffs_blkfree_common: freeing free frag: dev =
0xa801, block = 186040, fs = /
[ 6.252795] cpu0: Begin traceback...
[ 6.252795] vpanic() at netbsd:vpanic+0x183
[ 6.252795] panic() at netbsd:panic+0x3c
[ 6.252795] ffs_blkfree_common.isra.0() at
netbsd:ffs_blkfree_common.isra.0+0x951
[ 6.252795] ffs_blkfree_cg() at netbsd:ffs_blkfree_cg+0x106
[ 6.252795] ffs_realloccg() at netbsd:ffs_realloccg+0x899
[ 6.262794] ffs_balloc() at netbsd:ffs_balloc+0x1290
[ 6.262794] ufs_gop_alloc() at netbsd:ufs_gop_alloc+0xa7
[ 6.262794] ufs_balloc_range() at netbsd:ufs_balloc_range+0x154
[ 6.262794] ffs_write() at netbsd:ffs_write+0x34e
[ 6.262794] VOP_WRITE() at netbsd:VOP_WRITE+0xa6
[ 6.262794] vn_write() at netbsd:vn_write+0x10e
[ 6.262794] dofilewrite() at netbsd:dofilewrite+0x80
[ 6.262794] sys_write() at netbsd:sys_write+0x49
[ 6.272794] syscall() at netbsd:syscall+0x1fc
[ 6.272794] --- syscall (number 4) ---
[ 6.272794] netbsd:syscall+0x1fc:
[ 6.272794] cpu0: End traceback...

The disk is Kingston KC400 SSD, there's more than enough space on it.
There are three gpt partitions (root/home/swap). root and home uses
ffs2ea and wapbl enabled (log). The actual boot happens from USB drive
but later altroot is used to switch to SSD.

[ 3.402785] wd0 at atabus0 drive 0
[ 3.402785] wd0: 
[ 3.402785] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[ 3.402785] wd0: 476 GB, 992277 cyl, 16 head, 63 sec, 512
bytes/sect x 1000215216 sectors
[ 3.402785] wd0: GPT GUID: d220d34c-d8d6-44a9-8a2a-09818d238115
[ 3.402785] dk8 at wd0: "8baeac2c-5905-4005-a876-f61c560390f8",
262144 blocks at 2048, type: msdos
[ 3.402785] dk9 at wd0: "nasroot", 724992000 blocks at 264192, type: ffs
[ 3.402785] dk10 at wd0: "nashome", 242522112 blocks at 725258240, type: ffs

Mounting partitions from another NetBSD system doesn't cause panic and
I can see files.

Did I hit some hardware issue or is it software bug? What could be an
option to go forward to restore the system (reinstall, relocate files,
etc?)?

Regards,
Andrius V


Automated report: NetBSD-current/i386 test failure

2024-05-03 Thread NetBSD Test Fixture
This is an automatically generated notice of a new failure of the
NetBSD test suite.

The newly failing test case is:

usr.bin/xlint/lint1/t_integration:expr_sizeof

The above test failed in each of the last 4 test runs, and passed in
at least 26 consecutive runs before that.

The following commits were made between the last successful test and
the first failed test:

2024.05.02.20.03.33 rillig src/tests/usr.bin/xlint/lint1/expr_sizeof.c 1.16

Logs can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2024.05.html#2024.05.02.20.03.33