FYI, we noticed the following commit (built with gcc-7):
commit: bb9cd077e216b886438c5698e1cd75f762ecd3c9 ("xfrm: remove unneeded
export_symbols")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url:
http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------+------------+------------+
| | c53ac41e37 | bb9cd077e2 |
+--------------------------------------------------+------------+------------+
| boot_successes | 15 | 0 |
| boot_failures | 5 | 22 |
| BUG:kernel_hang_in_boot_stage | 3 | |
| IP-Config:Auto-configuration_of_network_failed | 1 | |
| WARNING:at_net/sched/sch_generic.c:#dev_watchdog | 1 | |
| RIP:dev_watchdog | 1 | |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 22 |
+--------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 0.043126] RAMDISK: [mem 0x7b8d4000-0x7ffcffff]
[ 0.044017] ACPI: Early table checksum verification disabled
[ 0.045128] ACPI: RSDP 0x00000000000F6840 000014 (v00 BOCHS )
[ 0.046233] ACPI: RSDT 0x000000007FFE15C9 000030 (v01 BOCHS BXPCRSDT 00000001 BXPC
00000001)
[ 0.047603] ACPI: FACP 0x000000007FFE149D 000074 (v01 BOCHS BXPCFACP 00000001 BXPC
00000001)
BUG: kernel reboot-without-warning in boot stage
Elapsed time: 10
qemu-img create -f qcow2 disk-vm-snb-2G-160-0 256G
qemu-img create -f qcow2 disk-vm-snb-2G-160-1 256G
To reproduce:
# build kernel
cd linux
cp config-5.0.0-11713-gbb9cd07 .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,
lkp