2023-05-24 18:20:16

by kernel test robot

[permalink] [raw]
Subject: [linux-next:master] [sysctl] 7eec88986d: sysctl_table_check_failed

Hello,

kernel test robot noticed "sysctl_table_check_failed" on:

commit: 7eec88986dce2d85012fbe516def7a2d7d77735c ("sysctl: Refactor base paths registrations")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

[test failed on linux-next/master 9f925874281f7e8855855d6210d6e29d844e4307]

in testcase: boot

compiler: gcc-11
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

(please refer to attached dmesg/kmsg for entire log/backtrace)


If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]


[ 2.562979][ T0] Calibrating delay loop (skipped) preset value.. 4190.15 BogoMIPS (lpj=20950780)
[ 2.564563][ T0] pid_max: default: 32768 minimum: 301
[ 2.565720][ T0] LSM: initializing lsm=capability,integrity
[ 2.566876][ T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 2.568269][ T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 2.570451][ T0] sysctl table check failed: kernel/usermodehelper Not a file
[ 2.572987][ T0] sysctl table check failed: kernel/usermodehelper No proc_handler
[ 2.574253][ T0] sysctl table check failed: kernel/usermodehelper bogus .mode 0555
[ 2.575503][ T0] sysctl table check failed: kernel/keys Not a file
[ 2.576499][ T0] sysctl table check failed: kernel/keys No proc_handler
[ 2.577552][ T0] sysctl table check failed: kernel/keys bogus .mode 0555
[ 2.578666][ T0] CPU: 0 PID: 0 Comm: swapper Not tainted 6.4.0-rc2-00007-g7eec88986dce #1
[ 2.579977][ T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 2.581597][ T0] Call Trace:
[ 2.582202][ T0] dump_stack_lvl (lib/dump_stack.c:107 (discriminator 4))
[ 2.582968][ T0] dump_stack (lib/dump_stack.c:114)
[ 2.582978][ T0] __register_sysctl_table (fs/proc/proc_sysctl.c:1411)
[ 2.582978][ T0] register_sysctl (fs/proc/proc_sysctl.c:1434)
[ 2.582978][ T0] __register_sysctl_init (fs/proc/proc_sysctl.c:1462)
[ 2.582978][ T0] sysctl_init_bases (kernel/sysctl.c:2354)
[ 2.582978][ T0] proc_sys_init (fs/proc/proc_sysctl.c:1761)
[ 2.582978][ T0] proc_root_init (fs/proc/root.c:310)
[ 2.582978][ T0] start_kernel (init/main.c:1075)
[ 2.582978][ T0] i386_start_kernel (arch/x86/kernel/head32.c:73)
[ 2.582978][ T0] startup_32_smp (arch/x86/kernel/head_32.S:319)
[ 2.582986][ T0] failed when register_sysctl kern_table to kernel


To reproduce:

# build kernel
cd linux
cp config-6.4.0-rc2-00007-g7eec88986dce .config
make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email

# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.


--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Attachments:
(No filename) (3.32 kB)
config-6.4.0-rc2-00007-g7eec88986dce (135.70 kB)
job-script (4.76 kB)
dmesg.xz (31.14 kB)
Download all attachments