Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack
commit 1d8602129b49dc083669c163d05ef00b13217b91
Author: Andy Lutomirski <luto(a)kernel.org>
AuthorDate: Mon Jun 20 09:14:57 2016 -0700
Commit: Andy Lutomirski <luto(a)kernel.org>
CommitDate: Mon Jun 20 09:14:57 2016 -0700
[DEBUG] force-enable CONFIG_VMAP_STACK
+-----------------------------------------------------------+------------+------------+-----------------+
| | a8d0f4915a | 1d8602129b |
v4.7-rc4_062102 |
+-----------------------------------------------------------+------------+------------+-----------------+
| boot_successes | 21 | 0 | 0
|
| boot_failures | 67 | 22 | 21
|
| Out_of_memory:Kill_process | 1 | |
|
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 66 | |
|
| kernel_BUG_at_include/linux/scatterlist.h | 0 | 22 | 21
|
| invalid_opcode:#[##]SMP_DEBUG_PAGEALLOC | 0 | 22 | 21
|
| RIP:sg_init_one | 0 | 22 | 21
|
| Kernel_panic-not_syncing:Fatal_exception | 0 | 22 | 21
|
| backtrace:sg_init_one | 0 | 22 | 21
|
| backtrace:bt_selftest_smp | 0 | 22 | 21
|
| backtrace:bt_selftest_init | 0 | 22 | 21
|
| backtrace:kernel_init_freeable | 0 | 22 | 21
|
| WARNING:at_arch/x86/mm/extable.c:#ex_handler_rdmsr_unsafe | 0 | 0 | 14
|
| backtrace:native_calibrate_cpu | 0 | 0 | 14
|
| backtrace:tsc_init | 0 | 0 | 14
|
| backtrace:x86_late_time_init | 0 | 0 | 14
|
+-----------------------------------------------------------+------------+------------+-----------------+
[ 6.995876] Bluetooth: ECDH test passed in 5747 usecs
[ 6.997117] ------------[ cut here ]------------
[ 6.997117] ------------[ cut here ]------------
[ 6.997975] kernel BUG at include/linux/scatterlist.h:140!
[ 6.997975] kernel BUG at include/linux/scatterlist.h:140!
[ 6.999302] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 6.999302] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 7.000287] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.7.0-rc3-00027-g1d86021 #1
[ 7.000287] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.7.0-rc3-00027-g1d86021 #1
[ 7.001649] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1
04/01/2014
[ 7.001649] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1
04/01/2014
[ 7.003265] task: ffff88000eb24000 ti: ffffc90000068000 task.ti: ffffc90000068000
[ 7.003265] task: ffff88000eb24000 ti: ffffc90000068000 task.ti: ffffc90000068000
[ 7.004621] RIP: 0010:[<ffffffff81502615>]
[ 7.004621] RIP: 0010:[<ffffffff81502615>] [<ffffffff81502615>]
sg_init_one+0x92/0xcc
[<ffffffff81502615>] sg_init_one+0x92/0xcc
[ 7.006081] RSP: 0000:ffffc9000006bc38 EFLAGS: 00010246
[ 7.006081] RSP: 0000:ffffc9000006bc38 EFLAGS: 00010246
[ 7.007048] RAX: 0000000000000000 RBX: ffffc9000006bd00 RCX: 0000000000000028
[ 7.007048] RAX: 0000000000000000 RBX: ffffc9000006bd00 RCX: 0000000000000028
[ 7.008337] RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc9000006bcf0
[ 7.008337] RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc9000006bcf0
[ 7.009659] RBP: ffffc9000006bc58 R08: ffff88000c579658 R09: ffffc9000006bd00
[ 7.009659] RBP: ffffc9000006bc58 R08: ffff88000c579658 R09: ffffc9000006bd00
[ 7.010954] R10: ffff88000c57bcc0 R11: 0000000000000000 R12: 0000000000000010
[ 7.010954] R10: ffff88000c57bcc0 R11: 0000000000000000 R12: 0000000000000010
[ 7.012242] R13: ffffc9000006bc68 R14: ffffc9000006bcf0 R15: ffffc9000006bd78
[ 7.012242] R13: ffffc9000006bc68 R14: ffffc9000006bcf0 R15: ffffc9000006bd78
[ 7.013532] FS: 0000000000000000(0000) GS:ffff88000f800000(0000)
knlGS:0000000000000000
[ 7.013532] FS: 0000000000000000(0000) GS:ffff88000f800000(0000)
knlGS:0000000000000000
[ 7.014992] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7.014992] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7.016042] CR2: 0000000000000000 CR3: 0000000002610000 CR4: 00000000001406b0
[ 7.016042] CR2: 0000000000000000 CR3: 0000000002610000 CR4: 00000000001406b0
[ 7.017339] Stack:
[ 7.017339] Stack:
[ 7.017714] ffffc9000006bd00
[ 7.017714] ffffc9000006bd00 0000000000000000 0000000000000000 ffffc9000006bc68
ffffc9000006bc68 1ffff9200000d78d 1ffff9200000d78d
[ 7.019123] ffffc9000006bd50
[ 7.019123] ffffc9000006bd50 ffffffff81ea6bdd ffffffff81ea6bdd ffff88000eb24b70
ffff88000eb24b70 ffff88000eb24b70 ffff88000eb24b70
[ 7.020524] 0000000000000000
[ 7.020524] 0000000000000000 0000000000000001 0000000000000001 ffffc9000006bd20
ffffc9000006bd20 0000000000000046 0000000000000046
[ 7.021922] Call Trace:
[ 7.021922] Call Trace:
[ 7.022376] [<ffffffff81ea6bdd>] smp_e+0x120/0x405
[ 7.022376] [<ffffffff81ea6bdd>] smp_e+0x120/0x405
[ 7.023269] [<ffffffff8394b144>] ? bt_selftest_smp+0x94/0x7fd
[ 7.023269] [<ffffffff8394b144>] ? bt_selftest_smp+0x94/0x7fd
[ 7.024333] [<ffffffff81ea6efd>] smp_ah+0x3b/0x6d
[ 7.024333] [<ffffffff81ea6efd>] smp_ah+0x3b/0x6d
[ 7.025214] [<ffffffff8394b1c2>] bt_selftest_smp+0x112/0x7fd
[ 7.025214] [<ffffffff8394b1c2>] bt_selftest_smp+0x112/0x7fd
[ 7.026265] [<ffffffff820dfbaa>] ? nfc_genl_targets_found+0x49/0x254
[ 7.026265] [<ffffffff820dfbaa>] ? nfc_genl_targets_found+0x49/0x254
[ 7.027432] [<ffffffff81180cb1>] ? up_write+0x1f/0x53
[ 7.027432] [<ffffffff81180cb1>] ? up_write+0x1f/0x53
[ 7.028366] [<ffffffff8394ba69>] bt_selftest_init+0x146/0x174
[ 7.028366] [<ffffffff8394ba69>] bt_selftest_init+0x146/0x174
[ 7.029426] [<ffffffff8394b923>] ? test_ecdh_sample+0x76/0x76
[ 7.029426] [<ffffffff8394b923>] ? test_ecdh_sample+0x76/0x76
[ 7.030487] [<ffffffff838d058d>] do_one_initcall+0xd3/0x16d
[ 7.030487] [<ffffffff838d058d>] do_one_initcall+0xd3/0x16d
[ 7.031522] [<ffffffff838d089d>] kernel_init_freeable+0x276/0x307
[ 7.031522] [<ffffffff838d089d>] kernel_init_freeable+0x276/0x307
[ 7.032646] [<ffffffff821044a6>] kernel_init+0xf/0x129
[ 7.032646] [<ffffffff821044a6>] kernel_init+0xf/0x129
[ 7.033603] [<ffffffff8211624f>] ret_from_fork+0x1f/0x40
[ 7.033603] [<ffffffff8211624f>] ret_from_fork+0x1f/0x40
[ 7.034585] [<ffffffff82104497>] ? rest_init+0xc7/0xc7
[ 7.034585] [<ffffffff82104497>] ? rest_init+0xc7/0xc7
[ 7.035543] Code:
[ 7.035543] Code: d0 d0 83 83 e0 e0 03 03 b9 b9 21 21 43 43 65 65 87 87 48 48 39 39 0b
0b 75 75 2b 2b 83 83 e2 e2 01 01 75 75 34 34 4c 4c 09 09 f0 f0 48 48 89 89 43 43 08 08 44
44 89 89 6b 6b 10 10 44 44 89 89 63 63 14 14 5b 5b 41 41 5c 5c 41 41 5d 5d 41 41 5e 5e 5d
5d c3 c3 <0f> <0f> 0b 0b 48 48 c7 c7 c7 c7 50 50 a0 a0 d0 d0 82 82 e8 e8 78 78
77 77 04 04 00 00 0f 0f 0b 0b 48 48 c7 c7 c7 c7 10 10 a0 a0
[ 7.039883] RIP
[ 7.039883] RIP [<ffffffff81502615>] sg_init_one+0x92/0xcc
[<ffffffff81502615>] sg_init_one+0x92/0xcc
[ 7.040909] RSP <ffffc9000006bc38>
[ 7.040909] RSP <ffffc9000006bc38>
[ 7.041612] ---[ end trace 051cbe7fd8db0aa9 ]---
[ 7.041612] ---[ end trace 051cbe7fd8db0aa9 ]---
git bisect start 9e6174ca939457b78d11ca6d07f7283e2aaf3694
33688abb2802ff3a230bd2441f765477b94cc89e --
git bisect bad 893e88637bd72a491189a472a3513a698007b783 # 07:56 0- 17 Merge
'linux-review/Laura-Abbott/arm64-Handle-el1-synchronous-instruction-aborts-cleanly/20160615-020338'
into devel-hourly-2016062102
git bisect bad 2f2bb128165c513c7e3187c316a7b23898587655 # 08:06 0- 1 Merge
'linux-review/John-Kacur/Documentation-Correct-result-of-echnoing-5-to-smp_affinity/20160617-210901'
into devel-hourly-2016062102
git bisect bad da79d638040be0be878e119f03e6b3f2aec6145b # 08:18 0- 25 Merge
'linux-review/Ruslan-Bilovol/checkpatch-remove-obsolete-CONFIG_EXPERIMENTAL-checks/20160620-044522'
into devel-hourly-2016062102
git bisect bad 903a7cb751ed8d987ab391a87952bd10a177ac29 # 08:22 0- 22 Merge
'linux-review/Shaun-Tancheff/Add-support-for-SCT-Write-Same/20160620-231122' into
devel-hourly-2016062102
git bisect bad 6519aecee249c73896f9b28063817f2e5333d880 # 08:30 0- 22 Merge
'cryptodev/master' into devel-hourly-2016062102
git bisect bad 689800efa51e00a472d75d6d13c0aef41e3fe495 # 08:33 0- 9 Merge
'linux-review/Mason/thermal-tango-add-resume-support/20160621-002328' into
devel-hourly-2016062102
git bisect good 073d2eefba5c4814bf7f83f356c1cffd40f1f3bc # 08:41 22+ 2 Merge
'linux-review/H-Hartley-Sweeten/staging-comedi-fix-comedi-driver-comment-blocks/20160621-024703'
into devel-hourly-2016062102
git bisect good 46523976cd216d10a270353cca73a195d1571a7b # 08:47 21+ 22 Merge
'xhci/for-usb-next' into devel-hourly-2016062102
git bisect bad 38f512699cc6ebe47c8effd806f34c9031e480a7 # 09:12 0- 7 Merge
'luto/x86/vmap_stack' into devel-hourly-2016062102
git bisect good 91ff50581061d246e621403ae295976340d78ba9 # 09:28 20+ 22 Merge
'linux-review/H-Hartley-Sweeten/staging-comedi-addi_apci_3501-cleanup-driver/20160621-021404'
into devel-hourly-2016062102
git bisect good 1c63387aa99e051a6c2af31cd379cc3974ed94f5 # 09:41 22+ 13
x86/ptrace: Stop setting TS_COMPAT in ptrace code
git bisect good b07fde8fb5d31be38557f398cd19c07173ef3d9f # 09:53 22+ 0 signal:
Supply a fast default implementation of set_restore_sigmask(), etc
git bisect good ee3f0273b68bacee5efed24b34f741327e8bc9e7 # 10:09 20+ 17 sched:
Add CONFIG_THREAD_INFO_NO_CPU to let arches drop thread_info::cpu
git bisect good a8d0f4915a4c12140aae0cca0a39f22fd60e8d2f # 10:25 22+ 1
x86/compat: Don't change TS_COMPAT in set_personality_ia32
git bisect bad 1d8602129b49dc083669c163d05ef00b13217b91 # 10:32 0- 22 [DEBUG]
force-enable CONFIG_VMAP_STACK
# first bad commit: [1d8602129b49dc083669c163d05ef00b13217b91] [DEBUG] force-enable
CONFIG_VMAP_STACK
git bisect good a8d0f4915a4c12140aae0cca0a39f22fd60e8d2f # 10:33 65+ 66
x86/compat: Don't change TS_COMPAT in set_personality_ia32
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 1d8602129b49dc083669c163d05ef00b13217b91 # 10:47 0- 32 [DEBUG]
force-enable CONFIG_VMAP_STACK
# extra tests on HEAD of linux-devel/devel-hourly-2016062102
git bisect bad 9e6174ca939457b78d11ca6d07f7283e2aaf3694 # 10:47 0- 21 0day
head guard for 'devel-hourly-2016062102'
# extra tests on tree/branch luto/x86/vmap_stack
# extra tests with first bad commit reverted
git bisect good 415ba8a395eecdba19414106b3e99a1e30d6bc82 # 11:00 64+ 23 Revert
"[DEBUG] force-enable CONFIG_VMAP_STACK"
# extra tests on tree/branch linus/master
git bisect good 67016f6cdfd079e632bbc49e33178b2d558c120a # 11:08 64+ 63 Merge
branch 'for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
# extra tests on tree/branch linux-next/master
git bisect good 6ab97590a2c63c8de00d0ce4850fdb8780a33fab # 11:33 66+ 17 Add
linux-next specific files for 20160620
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=yocto-minimal-x86_64.cgz
wget --no-clobber
https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu Haswell,+smep,+smap
-kernel $kernel
-initrd $initrd
-m 256
-smp 1
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation