Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/entry_compat
commit 1c26267b7d2eedef3e5438fa94f837cd8dcabd6b
Author: Andy Lutomirski <luto(a)kernel.org>
AuthorDate: Wed Aug 26 11:07:35 2015 -0700
Commit: Andy Lutomirski <luto(a)kernel.org>
CommitDate: Wed Aug 26 17:46:59 2015 -0700
x86/vdso: Remove runtime 32-bit vDSO selection
32-bit userspace will now always see the save vDSO, which is exactly
what used to be the int80 vDSO. Subsequent patches will clean it up
and make it support SYSENTER and SYSCALL using alternatives.
Signed-off-by: Andy Lutomirski <luto(a)kernel.org>
+-----------------------------------------------------------+------------+------------+------------+
| | 3d239c0778 | 1c26267b7d |
ebdf22afca |
+-----------------------------------------------------------+------------+------------+------------+
| boot_successes | 63 | 0 | 0
|
| boot_failures | 0 | 22 | 13
|
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 0 | 22 | 13
|
+-----------------------------------------------------------+------------+------------+------------+
[ 3.414131] Write protecting the kernel text: 9688k
[ 3.414747] Write protecting the kernel read-only data: 5132k
[ 3.415380] NX-protecting the kernel data: 10792k
[ 3.416857] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[ 3.416857]
[ 3.418170] CPU: 0 PID: 1 Comm: init Not tainted 4.2.0-rc7-00087-g1c26267 #1
[ 3.419363] 41e7f387 00000001 00000001 40253dec 4196a39c 40253e04 41967899 00000001
[ 3.420613] 00000001 00000001 41e9e300 40253e50 41064bff 41d87790 00000007 40253e20
[ 3.422057] 4106fca6 0106f07a 00000001 4b3b5d60 40240040 00400500 40240040 00000000
[ 3.423560] Call Trace:
[ 3.423851] [<4196a39c>] dump_stack+0x16/0x18
[ 3.424539] [<41967899>] panic+0xcb/0x258
[ 3.425267] [<41064bff>] do_exit+0x101f/0x10a0
[ 3.425861] [<4106fca6>] ? __sigqueue_free+0x46/0x50
[ 3.426719] [<41064d49>] do_group_exit+0x69/0x100
[ 3.427220] [<41074ae2>] get_signal+0xa62/0xc10
[ 3.427728] [<4100402e>] do_signal+0x1e/0xd40
[ 3.428191] [<4104b313>] ? kvm_clock_read+0x13/0x20
[ 3.428747] [<4100fb38>] ? sched_clock+0x8/0x10
[ 3.429245] [<4101860e>] ? convert_ip_to_linear+0xe/0x150
[ 3.430145] [<4104e5ec>] ? is_prefetch+0x11c/0x310
[ 3.431119] [<4104f797>] ? __do_page_fault+0x987/0x9c0
[ 3.431740] [<4104af00>] ? kvm_async_pf_task_wake+0x1c0/0x1c0
[ 3.432310] [<410021f7>] prepare_exit_to_usermode+0x127/0x220
[ 3.432889] [<4104af00>] ? kvm_async_pf_task_wake+0x1c0/0x1c0
[ 3.433464] [<41974209>] resume_userspace+0x19/0x20
[ 3.433961] Kernel Offset: disabled
Elapsed time: 10
git bisect start ebdf22afca6568fd3ccbf01965d0cf2a8bfec706
a9c909ce8c7853b4fc16055c50eb50d91e20cb93 --
git bisect good 4b4d383594561d90d0b8a142c2f949da40eba6c4 # 09:57 20+ 0
x86/entry/64: Remove execve stubs
git bisect bad 5becf6c59f5d58e71b8dceb75c4b448b0daf52e5 # 10:19 0- 19 x86/asm:
Re-add manual CFI infrastructure
git bisect good 3d239c077870c4ef0b2209437dbdadc4466d0529 # 10:31 22+ 0
selftests/x86: Add a test for vDSO unwinding
git bisect bad 1c26267b7d2eedef3e5438fa94f837cd8dcabd6b # 10:47 0- 22
x86/vdso: Remove runtime 32-bit vDSO selection
# first bad commit: [1c26267b7d2eedef3e5438fa94f837cd8dcabd6b] x86/vdso: Remove runtime
32-bit vDSO selection
git bisect good 3d239c077870c4ef0b2209437dbdadc4466d0529 # 10:55 63+ 0
selftests/x86: Add a test for vDSO unwinding
# extra tests with DEBUG_INFO
git bisect bad 1c26267b7d2eedef3e5438fa94f837cd8dcabd6b # 11:03 0- 56
x86/vdso: Remove runtime 32-bit vDSO selection
# extra tests on HEAD of luto/x86/entry_compat
git bisect bad ebdf22afca6568fd3ccbf01965d0cf2a8bfec706 # 11:03 0- 13
x86/vdso/32: Save extra registers in the INT80 vsyscall path
# extra tests on tree/branch luto/x86/entry_compat
git bisect bad ebdf22afca6568fd3ccbf01965d0cf2a8bfec706 # 11:03 0- 13
x86/vdso/32: Save extra registers in the INT80 vsyscall path
# extra tests on tree/branch linus/master
git bisect good f9ed72dde34e3d5253e206e4bc3edbc6373015d6 # 11:20 66+ 0 Merge
branch 'for-linus' of git://git.kernel.dk/linux-block
# extra tests on tree/branch linux-next/master
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-i386.cgz
wget --no-clobber
https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-initrd $initrd
-m 300
-smp 2
-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