NetBSD-Bugs archive

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

kern/58160: 32bit compat atf failures on aarch64



>Number:         58160
>Category:       kern
>Synopsis:       32bit compat atf failures on aarch64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 17 13:40:01 +0000 2024
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.10
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD out-of-the-silent-planet.aprisoft.de 10.99.10 NetBSD 10.99.10 (GENERIC64) #436: Wed Apr 17 12:29:44 CEST 2024 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

Found this in the output of my compat_netbsd32 test run on aarch64:

sbin/resize_ffs/t_grow (610/946): 4 test cases
    grow_16M_v0_8192: [0.213129s] Failed: rump_ffs mount failed: rump_ffs: puffs_daemon: Invalid argument<<NEWLINE UNEXPECTED>>rump_ffs: puffs_daemon: Invalid argument
    grow_16M_v1_16384: [0.215039s] Failed: rump_ffs mount failed: rump_ffs: puffs_daemon: Invalid argument<<NEWLINE UNEXPECTED>>rump_ffs: puffs_daemon: Invalid argument
    grow_16M_v2_32768: [0.201164s] Failed: rump_ffs mount failed: rump_ffs: puffs_daemon: Invalid argument<<NEWLINE UNEXPECTED>>rump_ffs: puffs_daemon: Invalid argument
    grow_ffsv1_partial_cg: [0.166941s] Passed.
[0.802016s]

>How-To-Repeat:

Install evbarmv7hf-el userland on an aarch64 machine with a GENERIC64
kernel (or create a chroot for it) and then do:

	cd /usr/tests/sbin/resize_ffs
	atf-run t_grow

output:

Content-Type: application/X-atf-tps; version="3"
info: atf.version, Automated Testing Framework 0.20 (atf-0.20)
info: tests.root, /usr/tests/sbin/resize_ffs
info: time.start, Wed Apr 17 15:32:07 CEST 2024
info: uname.sysname, NetBSD
info: uname.nodename, out-of-the-silent-planet.aprisoft.de
info: uname.release, 10.99.10
info: uname.version, NetBSD 10.99.10 (GENERIC64) #436: Wed Apr 17 12:29:44 CEST 2024 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64
info: uname.machine, evbarm
info: env, BLOCKSIZE=1k
info: env, PWD=/usr/tests/sbin/resize_ffs
info: env, MAIL=/var/mail/martin
info: env, HOME=/root
info: env, PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin
info: env, HOST=out-of-the-silent-planet.aprisoft.de
info: env, SSH_CONNECTION=192.168.111.67 65036 192.168.111.62 22
info: env, TERM=rxvt
info: env, USER=martin
info: env, SSH_AUTH_INFO_0=publickey ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCwCFYZ6sRl7vQszFb2PPNUdKrcM8GzD244x62MH2HpNTHDAg/6zp1w/49OzzeUN5a8X6PEM6nyOXP1sP/fxYfalwko+C+4KhAP2PmIXPWx1oN+TecgobX+E+sWnRDuacQwW8UNvErTxeI8AEGR7H+lNxV8ubyluDzELRFnApiKxwXJnryZarFzfluIkHmmJF/Vp26aLvye5l8m/E6tie+h+jb6RxIC3RwicpBHhMxHUVKTKRyXV9h5nRyobf6rS4XGPxHbyWGthy+MRfN8C39kuYHt8hBy/s9VKLX+iM7fFU7QlrD/mGBAq01MDdtMyr7jmWcqPihSj5iGT3/9nNyLL9kcE9JriC0aJqmT9BSh32N+KB1T+/F8e2Y8pjxyNsWCIYL+xGMlHt0r96mgsg0pRd+ikNnF41u2evb8ZFwCRweFdfcMQ5648FrxSRtD0v6QmaKRLZhSBvSJWGPqcDY3RBIdriDgjDseELw0WyCyl01HqlPLEt/5R1PHIfUoYh2bbs+qlDWRztY6zozJwSWEdlDtljzJQAwPrbmNvjXlgrBSPODJyfs8kvX5yvZm/EikiP87GhxSdxiFj1CX7xRMlScuVpXwDzdRzdcBmYTeB/sep1wHRq/pRz0V2obyFbNYOGhDr9etHCoi3+tvBMJbttPRNsS12/bkWVvK+BzjVQ==
info: env, SSH_CLIENT=192.168.111.67 65036 22
info: env, GROUP=users
info: env, COLORFGBG=default;default;0
info: env, EDITOR=me
info: env, LOGNAME=martin
info: env, SU_FROM=martin
info: env, VENDOR=acorn
info: env, SHELL=/usr/pkg/bin/tcsh
info: env, SHLVL=4
info: env, DISPLAY=big-apple.aprisoft.de:0
info: env, REMOTEHOST=big-apple.aprisoft.de
info: env, HOSTTYPE=NetBSD
info: env, WINDOWID=65011714
info: env, COLORTERM=rxvt-xpm
info: env, OSTYPE=NetBSD
info: env, MACHTYPE=arm32
tps-count: 1
tp-start: 1713360727.880315, t_grow, 4
tc-start: 1713360727.880370, grow_16M_v0_8192
tc-so:in resize_ffs: 8192 1024 32768 131072 0 28
tc-so:bs is 8192 numdata is 28
tc-so:****resizing fs with blocksize 8192
tc-so:fsimage: 16.0MB (32768 sectors) block size 8192, fragment size 1024
tc-so:	using 4 cylinder groups of 4.00MB, 512 blks, 1024 inodes.
tc-so:super-block backups (for fsck_ffs -b #) at:
tc-so:32, 8224, 16416, 24608,
tc-se:umount: /tmp/atf-run.KJKNKP/mnt: not currently mounted
tc-end: 1713360728.107829, grow_16M_v0_8192, failed, rump_ffs mount failed: rump_ffs: puffs_daemon: Invalid argument<<NEWLINE UNEXPECTED>>rump_ffs: puffs_daemon: Invalid argument
tc-start: 1713360728.109623, grow_16M_v1_16384
tc-so:in resize_ffs: 16384 2048 32768 131072 1 29
tc-so:bs is 16384 numdata is 29
tc-so:****resizing fs with blocksize 16384
tc-so:fsimage: 16.0MB (32768 sectors) block size 16384, fragment size 2048
tc-so:	using 4 cylinder groups of 4.00MB, 256 blks, 512 inodes.
tc-so:super-block backups (for fsck_ffs -b #) at:
tc-so:32, 8224, 16416, 24608,
tc-se:umount: /tmp/atf-run.qCqBlf/mnt: not currently mounted
tc-end: 1713360728.333150, grow_16M_v1_16384, failed, rump_ffs mount failed: assertion "PU_GETSFLAG(pu, PU_PUFFSDAEMON)" failed: file "/work/src/lib/libpuffs/puffs.c", line 718, function "puffs_cancel"<<NEWLINE UNEXPECTED>>assertion "PU_GETSFLAG(pu, PU_PUFFSDAEMON)" failed: file "/work/src/lib/libpuffs/puffs.c", line 718, function "puffs_cancel"
tc-start: 1713360728.334932, grow_16M_v2_32768
tc-so:in resize_ffs: 32768 4096 32768 131072 2 28
tc-so:bs is 32768 numdata is 28
tc-so:****resizing fs with blocksize 32768
tc-so:fsimage: 16.0MB (32768 sectors) block size 32768, fragment size 4096
tc-so:	using 4 cylinder groups of 4.00MB, 128 blks, 256 inodes.
tc-so:super-block backups (for fsck_ffs -b #) at:
tc-so:192, 8384, 16576, 24768,
tc-se:umount: /tmp/atf-run.s0LsKv/mnt: not currently mounted
tc-end: 1713360728.558110, grow_16M_v2_32768, failed, rump_ffs mount failed: rump_ffs: puffs_daemon: Invalid argument<<NEWLINE UNEXPECTED>>rump_ffs: puffs_daemon: Invalid argument
tc-start: 1713360728.559833, grow_ffsv1_partial_cg
tc-so:***resize_ffs grow test
tc-so:Executing command [ newfs -V1 -s 4000 -F fsimage ]
tc-so:Executing command [ resize_ffs -c -y -s 5760 fsimage ]
tc-so:Executing command [ resize_ffs -y -s 5760 fsimage ]
tc-so:Executing command [ fsck_ffs -f -n -F fsimage ]
tc-so:Executing command [ resize_ffs -c -y -s 5760 fsimage ]
tc-end: 1713360728.734938, grow_ffsv1_partial_cg, passed
tp-end: 1713360728.735598, t_grow
info: time.end, Wed Apr 17 15:32:08 CEST 2024


>Fix:
n/a



Home | Main Index | Thread Index | Old Index