FYI, we noticed the following commit (built with gcc-7):
commit: 8c5c906fa51596651e5d11e968797deda86e7fea ("mm/mmap: Use
current_syscall_task_size() in get_unmapped_area()")
https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/fixes
in testcase: rcutorture
with following parameters:
runtime: 300s
test: cpuhotplug
torture_type: srcu
test-description: rcutorture is rcutorture kernel module load/unload test.
test-url:
https://www.kernel.org/doc/Documentation/RCU/torture.txt
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------+------------+------------+
| | c0e0591f33 | 8c5c906fa5 |
+------------------------------------------------+------------+------------+
| boot_successes | 30 | 0 |
| boot_failures | 0 | 28 |
| Kernel_panic-not_syncing:No_working_init_found | 0 | 28 |
+------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
[ 12.143700] Run /etc/init as init process
[ 12.145113] Starting init: /etc/init exists but couldn't execute it (error -13)
[ 12.147601] Run /bin/init as init process
[ 12.149019] Run /bin/sh as init process
[ 12.150400] Starting init: /bin/sh exists but couldn't execute it (error -14)
[ 12.152630] Kernel panic - not syncing: No working init found. Try passing init=
option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 12.157043] CPU: 1 PID: 1 Comm: init Not tainted 5.0.0-rc7-00028-g8c5c906f #1
[ 12.159256] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 12.161958] Call Trace:
[ 12.164218] dump_stack+0x5c/0x7b
[ 12.165439] ? rest_init+0x80/0xd0
[ 12.166687] panic+0xfe/0x2b2
[ 12.167809] ? rest_init+0xd0/0xd0
[ 12.169057] kernel_init+0xf5/0x110
[ 12.170317] ret_from_fork+0x35/0x40
[ 12.171661] Kernel Offset: 0xd000000 from 0xffffffff81000000 (relocation range:
0xffffffff80000000-0xffffffffbfffffff)
Elapsed time: 20
qemu-img create -f qcow2 disk-vm-snb-8G-403-0 256G
To reproduce:
# build kernel
cd linux
cp config-5.0.0-rc7-00028-g8c5c906f .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Rong Chen