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 commit e9c469cb57d2ccf6e7e5e8e6f869fc579adb58e8 Author: Andy Lutomirski AuthorDate: Tue Jun 16 12:16:30 2015 -0700 Commit: Andy Lutomirski CommitDate: Thu Jun 25 16:50:46 2015 -0700 x86/entry/64: Migrate 64-bit and compat syscalls to new exit hooks These need to be migrated together, as the compat case used to jump into the middle of the 64-bit exit code. Signed-off-by: Andy Lutomirski +----------------------------------------------------+------------+------------+------------+ | | 3854ea665f | e9c469cb57 | eafee44a99 | +----------------------------------------------------+------------+------------+------------+ | boot_successes | 63 | 0 | 0 | | boot_failures | 0 | 24 | 24 | | WARNING:at_kernel/locking/lockdep.c:#check_flags() | 0 | 24 | 24 | | backtrace:__task_pid_nr_ns | 0 | 22 | 8 | | backtrace:SyS_set_tid_address | 0 | 22 | 8 | | backtrace:vm_mmap_pgoff | 0 | 2 | | | backtrace:SyS_mmap_pgoff | 0 | 2 | | | backtrace:SyS_mmap | 0 | 2 | | | IP-Config:Auto-configuration_of_network_failed | 0 | 2 | | | backtrace:vfs_read | 0 | 0 | 3 | | backtrace:SyS_read | 0 | 0 | 3 | | backtrace:__close_fd | 0 | 0 | 13 | | backtrace:SyS_close | 0 | 0 | 13 | +----------------------------------------------------+------------+------------+------------+ [ 11.004006] Freeing unused kernel memory: 1200K (ffff88000b4d4000 - ffff88000b600000) [ 11.006656] Freeing unused kernel memory: 1360K (ffff88000bcac000 - ffff88000be00000) [ 11.010492] ------------[ cut here ]------------ [ 11.011035] WARNING: CPU: 1 PID: 1 at kernel/locking/lockdep.c:3561 check_flags+0x2f6/0x330() [ 11.011035] DEBUG_LOCKS_WARN_ON(!current->hardirqs_enabled) [ 11.011035] CPU: 1 PID: 1 Comm: init Not tainted 4.1.0-01336-ge9c469c #1 [ 11.011035] ffffffff8bb7f2e0 ffff880010d0fdd8 ffffffff8b4a70ee 000000000000002f [ 11.011035] ffff880010d0fe28 ffff880010d0fe18 ffffffff8a8ac643 ffff8800100dc120 [ 11.011035] 0000000000000202 0000000000000000 0000000000000000 0000000000000000 [ 11.011035] Call Trace: [ 11.011035] [] dump_stack+0x84/0xb9 [ 11.011035] [] warn_slowpath_common+0xa3/0x100 [ 11.011035] [] warn_slowpath_fmt+0x51/0x60 [ 11.011035] [] check_flags+0x2f6/0x330 [ 11.011035] [] lock_acquire+0xb1/0x1a0 [ 11.011035] [] ? task_work_run+0x12e/0x160 [ 11.011035] [] __task_pid_nr_ns+0x5f/0x290 [ 11.011035] [] ? pid_vnr+0x80/0x80 [ 11.011035] [] SyS_set_tid_address+0x2e/0x40 [ 11.011035] [] entry_SYSCALL_64_fastpath+0x16/0x7a [ 11.011035] ---[ end trace 3806fbdbe2666144 ]--- [ 11.011035] possible reason: unannotated irqs-on. git bisect start eafee44a99f220b651d8f2e3ef1cf617f7a178be b953c0d234bc72e8489d3bf51a276c5c4ec85345 -- git bisect bad 50d4f70d4e503816c7e593c7f7ed1c09cc98a615 # 00:23 0- 22 Merge 'btrfs/integration-4.2' into devel-spot-201506261220 git bisect good 22fdb85178ce6d40c43c419df08c7b22c9e0cef1 # 00:37 22+ 2 Merge 'pm/bleeding-edge' into devel-spot-201506261220 git bisect bad f378713e98927057d534780b238f1045f8c80a83 # 00:43 0- 22 Merge 'luto/x86/entry' into devel-spot-201506261220 git bisect good 7ae9481f6b73ee3a1afcc9d8ff0394b629171a4a # 01:02 22+ 0 Merge 'ukl/gpiod' into devel-spot-201506261220 git bisect good 3a3c8160aa4072046489cebe9623e1096ad85553 # 01:09 22+ 0 Merge 'perf/tmp.perf/pt' into devel-spot-201506261220 git bisect good 3854ea665fc3b5cdae745f1c9ca30422556cfdf9 # 01:34 22+ 0 x86/entry/64: Really create an error-entry-from-usermode code path git bisect bad 97c83f17b5d877a6ecdc52cf8c486ce167c1f4ef # 02:04 0- 22 x86/entry: Remove exception_enter from most trap handlers git bisect bad c0b6e6a29945abf362aff2fc607e1623fc3eb124 # 02:36 0- 24 x86/asm/entry/64: Save all regs on interrupt entry git bisect bad e9c469cb57d2ccf6e7e5e8e6f869fc579adb58e8 # 02:43 0- 24 x86/entry/64: Migrate 64-bit and compat syscalls to new exit hooks # first bad commit: [e9c469cb57d2ccf6e7e5e8e6f869fc579adb58e8] x86/entry/64: Migrate 64-bit and compat syscalls to new exit hooks git bisect good 3854ea665fc3b5cdae745f1c9ca30422556cfdf9 # 02:46 63+ 0 x86/entry/64: Really create an error-entry-from-usermode code path # extra tests with DEBUG_INFO git bisect bad e9c469cb57d2ccf6e7e5e8e6f869fc579adb58e8 # 02:55 0- 7 x86/entry/64: Migrate 64-bit and compat syscalls to new exit hooks # extra tests on HEAD of linux-devel/devel-spot-201506261220 git bisect bad eafee44a99f220b651d8f2e3ef1cf617f7a178be # 02:55 0- 24 0day head guard for 'devel-spot-201506261220' # extra tests on tree/branch luto/x86/entry git bisect good d5a2db8b9358cfeb7e0688ea391185fd2b1cdc05 # 03:07 66+ 0 x86/entry: Remove do_notify_resume, syscall_trace_leave, and their TIF masks # extra tests on tree/branch linus/master git bisect good c13c81006314ad76c2b31824960a900385601b8b # 03:52 61+ 2 Merge tag 'rtc-v4.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux # extra tests on tree/branch next/master git bisect good 043831b4a4e9a981c4ec6331b6d64b9f62285d5d # 04:47 60+ 0 Add linux-next specific files for 20150626 This script may reproduce the error. ---------------------------------------------------------------------------- #!/bin/bash kernel=$1 initrd=quantal-core-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 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