lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <558dcd50.NdlxINRA0eusAbf6%fengguang.wu@intel.com>
Date:	Sat, 27 Jun 2015 06:08:16 +0800
From:	kernel test robot <fengguang.wu@...el.com>
To:	Andy Lutomirski <luto@...nel.org>
Cc:	LKP <lkp@...org>, linux-kernel@...r.kernel.org,
	fengguang.wu@...el.com
Subject: [x86/entry/32]  WARNING: CPU: 1 PID: 1 at
 kernel/locking/lockdep.c:2595 trace_hardirqs_on_caller()

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 bf19026dab994e989bb4fa3250bc11c69c02cf66
Author:     Andy Lutomirski <luto@...nel.org>
AuthorDate: Wed Jun 17 11:05:08 2015 -0700
Commit:     Andy Lutomirski <luto@...nel.org>
CommitDate: Thu Jun 25 16:50:54 2015 -0700

    x86/entry/32: Use prepare_exit_to_usermode and syscall_return_slowpath
    
    This removes the hybrid asm-and-C implementation of exit work.
    
    Signed-off-by: Andy Lutomirski <luto@...nel.org>

+-----------------------------------------------------------------+------------+------------+------------+
|                                                                 | 0f3966052a | bf19026dab | aebfa2900e |
+-----------------------------------------------------------------+------------+------------+------------+
| boot_successes                                                  | 205        | 27         | 15         |
| boot_failures                                                   | 0          | 48         | 9          |
| WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_on_caller() | 0          | 47         | 8          |
| Kernel_panic-not_syncing:hung_task:blocked_tasks                | 0          | 5          |            |
| backtrace:watchdog                                              | 0          | 5          |            |
| INFO:rcu_sched_detected_stalls_on_CPUs/tasks                    | 0          | 1          | 1          |
| BUG:kernel_test_hang                                            | 0          | 1          | 1          |
+-----------------------------------------------------------------+------------+------------+------------+

[   10.362331] Key type encrypted registered
[   10.370264] debug: unmapping init [mem 0x857c1000-0x85837fff]
[   10.374694] ------------[ cut here ]------------
[   10.375581] WARNING: CPU: 1 PID: 1 at kernel/locking/lockdep.c:2595 trace_hardirqs_on_caller+0x186/0x1e0()
[   10.387711] DEBUG_LOCKS_WARN_ON(!irqs_disabled())
[   10.388651] Modules linked in:
[   10.389353] CPU: 1 PID: 1 Comm: init Not tainted 4.1.0-01352-gbf19026d #1
[   10.390731] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[   10.392739]  00000001 00000000 8002bf30 854753a5 8002bf74 8002bf64 84e4dba1 85679031
[   10.394477]  8002bf90 00000001 8567f328 00000a23 84e91036 00000a23 84e91036 8547c87c
[   10.396152]  7fb88c34 00000000 8002bf7c 84e4dbfe 00000009 8002bf74 85679031 8002bf90
[   10.407943] Call Trace:
[   10.408540]  [<854753a5>] dump_stack+0x48/0x60
[   10.409506]  [<84e4dba1>] warn_slowpath_common+0x81/0xb0
[   10.410678]  [<84e91036>] ? trace_hardirqs_on_caller+0x186/0x1e0
[   10.411813]  [<84e91036>] ? trace_hardirqs_on_caller+0x186/0x1e0
[   10.412939]  [<8547c87c>] ? syscall_exit_work_irqs_off+0xc/0xc
[   10.414050]  [<84e4dbfe>] warn_slowpath_fmt+0x2e/0x30
[   10.415019]  [<84e91036>] trace_hardirqs_on_caller+0x186/0x1e0
[   10.416119]  [<84e00f1c>] trace_hardirqs_on_thunk+0xc/0x10
[   10.428251]  [<8547c87c>] ? syscall_exit_work_irqs_off+0xc/0xc
[   10.429386] ---[ end trace 8b4643c7f32f991f ]---
[   10.525863] random: init urandom read with 0 bits of entropy available

git bisect start aebfa2900e002d691e374547851fb4b4efe5044f b953c0d234bc72e8489d3bf51a276c5c4ec85345 --
git bisect good 210173ee66b64571d18b4c3f63a07cb749a441ef  # 01:05     41+      0  Merge 'nfs/linux-next' into devel-spot-201506261748
git bisect  bad 8707fe0c18ff95fc5f5ba07ee89fdac647bf08f8  # 01:12      0-     13  Merge 'iommu/master' into devel-spot-201506261748
git bisect  bad e8aebcb0d1ea51f93fef6e58ada8d5aeedf5b486  # 01:31      1-     21  Merge 'mtd/next' into devel-spot-201506261748
git bisect  bad 2d8c0e0bafd5f7e004a0a7268b75259698934450  # 01:50      9-      2  Merge 'luto/x86/entry' into devel-spot-201506261748
git bisect good 869c9ea8ffbee3e527ef18eb78b11daef4864251  # 02:08     65+      0  Merge 'perf/tmp.perf/pt' into devel-spot-201506261748
git bisect good c084862c95f2e107db831fe5770faabd6cd759ea  # 02:20     66+      0  x86/asm/entry/64: Migrate error and interrupt exit work to C
git bisect good 369165749af20ab55b3991bbe4500403eb5cb938  # 02:39     71+      0  x86/entry/64/compat: Remove PTREGSCALL stubs
git bisect good 5c21c7dda6541ccf3ad810f17beff6a6326983c1  # 02:51     71+      0  [TEMPORARY] x86/entry/32: Sanity check for work_notifysig
git bisect good 0f3966052a62463bb8f68c500a2cc45ae4a837c0  # 03:04     67+      0  x86/vm86: Teach handle_vm86_trap to return to 32bit mode directly
git bisect  bad bf19026dab994e989bb4fa3250bc11c69c02cf66  # 03:40      0-      2  x86/entry/32: Use prepare_exit_to_usermode and syscall_return_slowpath
# first bad commit: [bf19026dab994e989bb4fa3250bc11c69c02cf66] x86/entry/32: Use prepare_exit_to_usermode and syscall_return_slowpath
git bisect good 0f3966052a62463bb8f68c500a2cc45ae4a837c0  # 03:43    196+      0  x86/vm86: Teach handle_vm86_trap to return to 32bit mode directly
# extra tests with DEBUG_INFO
git bisect  bad bf19026dab994e989bb4fa3250bc11c69c02cf66  # 04:43      0-     17  x86/entry/32: Use prepare_exit_to_usermode and syscall_return_slowpath
# extra tests on HEAD of linux-devel/devel-spot-201506261748
git bisect  bad aebfa2900e002d691e374547851fb4b4efe5044f  # 04:44      0-      9  0day head guard for 'devel-spot-201506261748'
# extra tests on tree/branch luto/x86/entry
git bisect  bad d5a2db8b9358cfeb7e0688ea391185fd2b1cdc05  # 05:42      0-    112  x86/entry: Remove do_notify_resume, syscall_trace_leave, and their TIF masks
# extra tests with first bad commit reverted
# extra tests on tree/branch linus/master
git bisect good e382608254e06c8109f40044f5e693f2e04f3899  # 05:57    205+      0  Merge tag 'trace-v4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
# extra tests on tree/branch next/master
git bisect good 043831b4a4e9a981c4ec6331b6d64b9f62285d5d  # 06:07    205+      0  Add linux-next specific files for 20150626


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

View attachment "dmesg-quantal-intel12-10:20150627034504:i386-randconfig-b0-06261819:4.1.0-01352-gbf19026d:1" of type "text/plain" (70124 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ