I am pretty sure this is caused by commit 7eec88986dce ("sysctl: Refactor base paths registrations"). Add Joel to the CC list.
Before we used to use register_sysctl_table() to register that table.
regards, dan carpenter
On Wed, May 24, 2023 at 04:18:42PM +0530, Naresh Kamboju wrote:
LTP syscalls statx06 fails on NFS mounted devices using external hard drives for testing and running on Linux next 6.4.0-rc3-next-20230524.
Test case fails on x86_64, i386 and arm64 Juno-r2.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Linux version 6.4.0-rc3-next-20230524 (tuxmake@tuxmake) (x86_64-linux-gnu-gcc (Debian 11.3.0-12) 11.3.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC @1684908723 ...
[ 1.396191] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 1.397234] sysctl table check failed: kernel/usermodehelper Not a file [ 1.398166] sysctl table check failed: kernel/usermodehelper No proc_handler [ 1.399165] sysctl table check failed: kernel/usermodehelper bogus .mode 0555 [ 1.400166] sysctl table check failed: kernel/keys Not a file [ 1.401165] sysctl table check failed: kernel/keys No proc_handler [ 1.402165] sysctl table check failed: kernel/keys bogus .mode 0555 [ 1.403166] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.4.0-rc3-next-20230524 #1 [ 1.404165] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.5 11/26/2020 [ 1.404165] Call Trace: [ 1.404165] <TASK> [ 1.404165] dump_stack_lvl+0x72/0x90 [ 1.404165] dump_stack+0x14/0x20 [ 1.404165] __register_sysctl_table+0x570/0x840 [ 1.404165] __register_sysctl_init+0x29/0x60 [ 1.404165] sysctl_init_bases+0x27/0x80 [ 1.404165] proc_sys_init+0x37/0x40 [ 1.404165] proc_root_init+0x7b/0x90 [ 1.404165] start_kernel+0x403/0x6a0 [ 1.404165] x86_64_start_reservations+0x1c/0x30 [ 1.404165] x86_64_start_kernel+0xcb/0xe0 [ 1.404165] secondary_startup_64_no_verify+0x179/0x17b [ 1.404165] </TASK> [ 1.404165] failed when register_sysctl kern_table to kernel
.... ./runltp -f syscalls -d /scratch
...
[ 1192.088987] loop0: detected capacity change from 0 to 614400 tst_device.c:93: TINFO: Found free device 0 '/dev/loop0' tst_test.c:1093: TINFO: Formatting /dev/loop0 with ext4 opts='-I 256' extra opts='' mke2fs 1.46.5 (30-Dec-2021) [ 1192.337350] EXT4-fs (loop0): mounted filesystem dfe9283c-5d2f-43f8-840e-a2bbbff5b202 r/w with ordered data mode. Quota mode: none. tst_test.c:1558: TINFO: Timeout per run is 0h 05m 00s
statx06.c:140: TPASS: Birth time Passed statx06.c:138: TFAIL: Modified time > after_time statx06.c:140: TPASS: Access time Passed statx06.c:140: TPASS: Change time Passed
links,
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230524/tes...
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230524/tes...
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230524/tes...
-- Linaro LKFT https://lkft.linaro.org