[cpu/hotplug] 6362ef376a: [ INFO: possible circular locking dependency detected ]
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.hotplug
commit 6362ef376aacbc309022ad12f08693d201cdda08
Author: Thomas Gleixner <tglx(a)linutronix.de>
AuthorDate: Thu Apr 13 10:50:55 2017 +0200
Commit: Thomas Gleixner <tglx(a)linutronix.de>
CommitDate: Mon Apr 17 16:12:27 2017 +0200
cpu/hotplug: Convert hotplug locking to percpu rwsem
There are no more (known) nested calls to get_online_cpus() so it's
possible to remove the nested call magic and convert the mutex to a
percpu-rwsem, which speeds up get/put_online_cpus() significantly for the
uncontended case.
The contended case (write locked for hotplug operations) is slow anyway, so
the slightly more expensive down_write of the percpu rwsem does not matter.
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
00ebb15e90 perf/core: Remove redundant get_online_cpus()
6362ef376a cpu/hotplug: Convert hotplug locking to percpu rwsem
6362ef376a cpu/hotplug: Convert hotplug locking to percpu rwsem
d36d99770e Merge branch 'timers/core'
+----------------------------------------------------+------------+------------+------------+------------+
| | 00ebb15e90 | 6362ef376a | 6362ef376a | d36d99770e |
+----------------------------------------------------+------------+------------+------------+------------+
| boot_successes | 35 | 0 | 0 | 0 |
| boot_failures | 0 | 13 | 13 | 11 |
| INFO:possible_circular_locking_dependency_detected | 0 | 13 | 13 | 5 |
| INFO:possible_recursive_locking_detected | 0 | 0 | 0 | 6 |
+----------------------------------------------------+------------+------------+------------+------------+
[init] Using pid_max = 32768
[init] Started watchdog process, PID is 8909
[main] Main thread is alive.
[ 23.762049]
[ 23.762311] ======================================================
[ 23.763199] [ INFO: possible circular locking dependency detected ]
[ 23.764101] 4.11.0-rc6-00237-g6362ef3 #1 Not tainted
[ 23.764847] -------------------------------------------------------
[ 23.765822] trinity-main/352 is trying to acquire lock:
[ 23.766631] (jump_label_mutex){+.+...}, at: [<ffffffffb30e9521>] jump_label_lock+0x12/0x14
[ 23.767937]
[ 23.767937] but task is already holding lock:
[ 23.768778] (perf_sched_mutex){+.+...}, at: [<ffffffffb30def80>] perf_event_alloc+0x563/0x65e
[ 23.770002]
[ 23.770002] which lock already depends on the new lock.
[ 23.770002]
[ 23.771156]
[ 23.771156] the existing dependency chain (in reverse order) is:
[ 23.772309]
[ 23.772309] -> #3 (perf_sched_mutex){+.+...}:
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 98c5b9ad245d1735d95d66e463a44b449122581c 4f7d029b9bf009fbee76bb10c0c4351a1870d2f3 --
git bisect bad 9364dcd917be48868feab7d699b90ec8457e85b4 # 03:47 B 0 11 22 0 Merge 'net/master' into devel-catchup-201704180142
git bisect good c5de08f31b482b1ba1cf637d41921e41efe519bd # 03:56 G 11 0 0 0 Merge 'linux-review/Aneesh-Kumar-K-V/HugeTLB-migration-support-for-PPC64/20170418-011540' into devel-catchup-201704180142
git bisect good 7c90451c9c633b4c7fefc29272ba15f18e56b87c # 04:10 G 11 0 0 0 Merge 'net-next/master' into devel-catchup-201704180142
git bisect bad b5cea3442f45b5c98f45f8225978e0aa05f18da8 # 04:19 B 0 1 12 0 Merge 'tip/WIP.hotplug' into devel-catchup-201704180142
git bisect good a5cbdf693a60d5b86d4d21dfedd90f17754eb273 # 04:34 G 10 0 0 0 ACPI/processor: Fix error handling in __acpi_processor_start()
git bisect good 92b636ebde0776e579cd16d47783b8b755a4c9ea # 04:42 G 11 0 0 0 KVM/PPC/Book3S HV: Use cpuhp_setup_state_nocalls_locked()
git bisect good d21819c3b480fa0d24419f09abef05c3214ce72e # 04:59 G 11 0 0 0 kernel/hotplug: Use stop_machine_locked() in takedown_cpu()
git bisect good 862a8fda91ef0575bdd559158f6db5b6e9a70fe7 # 05:26 G 11 0 0 0 PCI: Replace the racy recursion prevention
git bisect good 00ebb15e900ebda8ee9036dddc63e3214cfad22b # 05:36 G 11 0 0 0 perf/core: Remove redundant get_online_cpus()
git bisect bad 6362ef376aacbc309022ad12f08693d201cdda08 # 05:53 B 0 2 13 0 cpu/hotplug: Convert hotplug locking to percpu rwsem
# first bad commit: [6362ef376aacbc309022ad12f08693d201cdda08] cpu/hotplug: Convert hotplug locking to percpu rwsem
git bisect good 00ebb15e900ebda8ee9036dddc63e3214cfad22b # 06:00 G 31 0 0 0 perf/core: Remove redundant get_online_cpus()
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 6362ef376aacbc309022ad12f08693d201cdda08 # 06:09 B 0 1 12 0 cpu/hotplug: Convert hotplug locking to percpu rwsem
# extra tests on HEAD of linux-devel/devel-catchup-201704180142
git bisect bad 98c5b9ad245d1735d95d66e463a44b449122581c # 06:14 B 0 12 28 2 0day head guard for 'devel-catchup-201704180142'
# extra tests on tree/branch tip/WIP.hotplug
git bisect bad 6362ef376aacbc309022ad12f08693d201cdda08 # 06:16 B 0 13 24 0 cpu/hotplug: Convert hotplug locking to percpu rwsem
# extra tests with first bad commit reverted
git bisect good 8ccd6ba4df3ca5f8ccd7fe881165fdbf4f02b7b8 # 06:34 G 11 0 0 0 Revert "cpu/hotplug: Convert hotplug locking to percpu rwsem"
# extra tests on tree/branch tip/master
git bisect bad d36d99770e402abb6c1dc149be8602d9eb565c22 # 06:42 B 1 1 1 1 Merge branch 'timers/core'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[lkp-robot] [PCI] 295afd4204: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit:
commit: 295afd420469ed67ea4c5c4b3fdf1bba5331f33e ("PCI: Use cpu_hotplug_disable() instead of get_online_cpus()")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.hotplug
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -m 420M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
[ 1.519476] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 1.522861] IP: _find_next_bit+0x20/0x70
[ 1.524612] PGD 0
[ 1.524613]
[ 1.527169] Oops: 0000 [#1] SMP
[ 1.528743] Modules linked in:
[ 1.530305] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc6-00030-g295afd4 #1
[ 1.533677] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 1.537582] task: ffff88000b9a8000 task.stack: ffffc900000d0000
[ 1.539801] RIP: 0010:_find_next_bit+0x20/0x70
[ 1.541687] RSP: 0000:ffffc900000d3c78 EFLAGS: 00010256
[ 1.543728] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
[ 1.546215] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 1.548697] RBP: ffffc900000d3c78 R08: ffffffffffffffff R09: 0000000000000000
[ 1.551176] R10: 00000000000001f1 R11: ffffc900000d3b68 R12: ffffffff81fddbc0
[ 1.553621] R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
[ 1.556083] FS: 0000000000000000(0000) GS:ffff88000be00000(0000) knlGS:0000000000000000
[ 1.559534] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.561692] CR2: 0000000000000000 CR3: 0000000001e09000 CR4: 00000000000006f0
[ 1.564140] Call Trace:
[ 1.565603] find_next_bit+0xb/0x10
[ 1.567283] cpumask_next_and+0x2d/0x50
[ 1.569056] pci_device_probe+0xc0/0x140
[ 1.570848] driver_probe_device+0x2bb/0x460
[ 1.572684] __driver_attach+0xdf/0xf0
[ 1.574404] ? driver_probe_device+0x460/0x460
[ 1.576292] bus_for_each_dev+0x60/0xa0
[ 1.578029] driver_attach+0x1e/0x20
[ 1.579706] bus_add_driver+0x170/0x270
[ 1.581447] ? set_debug_rodata+0x12/0x12
[ 1.583250] driver_register+0x60/0xe0
[ 1.585005] ? agp_amd64_mod_init+0x21/0x21
[ 1.586830] __pci_register_driver+0x4c/0x50
[ 1.588642] agp_intel_init+0x22/0x2a
[ 1.590331] do_one_initcall+0x43/0x180
[ 1.592062] ? set_debug_rodata+0x12/0x12
[ 1.593829] kernel_init_freeable+0x1a2/0x22a
[ 1.595671] ? rest_init+0x90/0x90
[ 1.597302] kernel_init+0xe/0x100
[ 1.598939] ret_from_fork+0x2c/0x40
[ 1.600610] Code: 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 39 f2 48 89 f0 48 89 e5 73 44 48 89 ce 48 89 d1 49 c7 c0 ff ff ff ff 48 c1 e9 06 49 89 f1 <4c> 33 0c cf 89 d1 48 83 e2 c0 49 d3 e0 4c 89 c1 4c 21 c9 74 12
[ 1.607143] RIP: _find_next_bit+0x20/0x70 RSP: ffffc900000d3c78
[ 1.609310] CR2: 0000000000000000
[ 1.610929] ---[ end trace afd27f16f2eedaf7 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
3 years, 9 months
[lkp-robot] [f2fs] 59c9081bc8: aim7.jobs-per-min +12% improvement
by kernel test robot
Greeting,
FYI, we noticed a +12% improvement of aim7.jobs-per-min due to commit:
commit: 59c9081bc86ef0b273a41abf2c1f413301429a6d ("f2fs: allow write page cache when writting cp")
https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs.git dev-test
in testcase: aim7
on test machine: 40 threads Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz with 384G memory
with following parameters:
disk: 1BRD_48G
fs: f2fs
test: disk_rw
load: 3000
cpufreq_governor: performance
test-description: AIM7 is a traditional UNIX system level benchmark suite which is used to test and measure the performance of multiuser system.
test-url: https://sourceforge.net/projects/aimbench/files/aim-suite7/
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: aim7/1BRD_48G-f2fs-disk_rw-3000-performance/lkp-ivb-ep01
22588f8773f68744 59c9081bc86ef0b273a41abf2c
---------------- --------------------------
108504 12% 121167 aim7.jobs-per-min
827142 8% 889247 aim7.time.voluntary_context_switches
166 -10% 149 aim7.time.elapsed_time
166 -10% 149 aim7.time.elapsed_time.max
5892 -12% 5176 aim7.time.system_time
575818 ± 4% -14% 495473 ± 3% aim7.time.involuntary_context_switches
426869 7% 455589 interrupts.CAL:Function_call_interrupts
7118 12% 7943 vmstat.io.bo
46543 47718 vmstat.system.in
1054904 ± 89% -1e+06 53098 ±173% latency_stats.avg.call_rwsem_down_write_failed.do_unlinkat.SyS_unlink.do_syscall_64.return_from_SYSCALL_64
4691 ±115% -5e+03 78 ± 6% latency_stats.max.kthread_park.watchdog_park_threads.watchdog_enable_all_cpus.proc_watchdog_update.proc_watchdog_common.proc_nmi_watchdog.proc_sys_call_handler.proc_sys_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
5978 ± 90% -5e+03 1239 ± 13% latency_stats.sum.kthread_park.watchdog_park_threads.watchdog_enable_all_cpus.proc_watchdog_update.proc_watchdog_common.proc_nmi_watchdog.proc_sys_call_handler.proc_sys_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
89.24 87.60 turbostat.%Busy
159 156 turbostat.PkgWatt
131 128 turbostat.CorWatt
2690 2624 turbostat.Avg_MHz
92438778 ± 28% 69% 1.564e+08 ± 19% perf-stat.iTLB-loads
0.19 14% 0.21 ± 5% perf-stat.branch-miss-rate%
0.27 6% 0.29 perf-stat.ipc
6.082e+09 -3% 5.894e+09 perf-stat.node-stores
4.699e+09 -5% 4.485e+09 ± 3% perf-stat.node-store-misses
1.351e+12 -6% 1.266e+12 perf-stat.dTLB-loads
4.872e+12 -7% 4.516e+12 perf-stat.instructions
2687098 ± 3% -8% 2473467 ± 3% perf-stat.context-switches
1.068e+12 -8% 9.801e+11 perf-stat.branch-instructions
0.14 ± 6% -10% 0.13 ± 5% perf-stat.dTLB-store-miss-rate%
6.616e+08 ± 6% -10% 5.979e+08 ± 5% perf-stat.dTLB-store-misses
1.785e+13 -13% 1.56e+13 perf-stat.cpu-cycles
2.855e+09 ± 13% -19% 2.303e+09 ± 14% perf-stat.node-loads
2.122e+09 ± 16% -22% 1.656e+09 ± 17% perf-stat.node-load-misses
38.81 ± 22% -29% 27.70 ± 22% perf-stat.iTLB-load-miss-rate%
aim7.jobs-per-min
140000 ++-----------------------------------------------------------------+
| |
120000 O+O O O O O O O O O O O O O O O O O O O O O O O O O O |
| *.*. .*.*..*.*.*.*.*.*.* O *.*..*.*.*.*.*.*
100000 ++: * : : |
| : : : |
80000 ++ : *.*.. .*.* *.*. .*.* |
|: : : * : : * |
60000 ++ : : : : |
|: : : : : |
40000 ++ : : : : |
|: : : : : |
20000 ++ :: :: |
| : : |
0 *+-------------------------*------------*--------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
3 years, 9 months
[lkp-robot] [cpu/hotplug] 94380da276: INFO:possible_recursive_locking_detected
by kernel test robot
FYI, we noticed the following commit:
commit: 94380da2765a391335c2326ba327e835c2e7aa03 ("cpu/hotplug: Convert hotplug locking to percpu rwsem")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.hotplug
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 IvyBridge -m 420M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | d632ccfe1c | 94380da276 |
+------------------------------------------+------------+------------+
| boot_successes | 0 | 4 |
| boot_failures | 0 | 4 |
| INFO:possible_recursive_locking_detected | 0 | 4 |
| calltrace:SyS_perf_event_open | 0 | 4 |
+------------------------------------------+------------+------------+
[ 23.381603] [ INFO: possible recursive locking detected ]
[ 23.383344] 4.11.0-rc6-00236-g94380da #32 Not tainted
[ 23.385029] ---------------------------------------------
[ 23.386830] trinity-main/2266 is trying to acquire lock:
[ 23.388554] (cpu_hotplug_lock.rw_sem){.+.+.+}, at: [<ffffffff811992fa>] perf_swevent_init+0x75/0x286
[ 23.391640]
[ 23.391640] but task is already holding lock:
[ 23.394084] (cpu_hotplug_lock.rw_sem){.+.+.+}, at: [<ffffffff811a30db>] SyS_perf_event_open+0x547/0xe3c
[ 23.397273]
[ 23.397273] other info that might help us debug this:
[ 23.399855] Possible unsafe locking scenario:
[ 23.399855]
[ 23.402314] CPU0
[ 23.403507] ----
[ 23.405813] lock(cpu_hotplug_lock.rw_sem);
[ 23.407449] lock(cpu_hotplug_lock.rw_sem);
[ 23.409117]
[ 23.409117] *** DEADLOCK ***
[ 23.409117]
[ 23.412453] May be due to missing lock nesting notation
[ 23.412453]
[ 23.415292] 3 locks held by trinity-main/2266:
[ 23.416986] #0: (cpu_hotplug_lock.rw_sem){.+.+.+}, at: [<ffffffff811a30db>] SyS_perf_event_open+0x547/0xe3c
[ 23.433473] #1: (&sig->cred_guard_mutex){+.+.+.}, at: [<ffffffff811a3146>] SyS_perf_event_open+0x5b2/0xe3c
[ 23.436931] #2: (&pmus_srcu){......}, at: [<ffffffff8119ab29>] perf_event_alloc+0x2fc/0x7a1
[ 23.457210]
[ 23.457210] stack backtrace:
[ 23.459813] CPU: 0 PID: 2266 Comm: trinity-main Not tainted 4.11.0-rc6-00236-g94380da #32
[ 23.463175] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 23.481993] Call Trace:
[ 23.483305] dump_stack+0x86/0xc0
[ 23.484930] __lock_acquire+0x9a4/0x1580
[ 23.486552] ? kvm_sched_clock_read+0x9/0x12
[ 23.488380] lock_acquire+0x180/0x21b
[ 23.489918] ? lock_acquire+0x180/0x21b
[ 23.491528] ? perf_swevent_init+0x75/0x286
[ 23.493332] get_online_cpus+0x42/0x80
[ 23.494906] ? perf_swevent_init+0x75/0x286
[ 23.496605] perf_swevent_init+0x75/0x286
[ 23.498260] ? perf_event_alloc+0x346/0x7a1
[ 23.499973] perf_try_init_event+0x46/0x76
[ 23.501662] perf_event_alloc+0x46d/0x7a1
[ 23.503339] SyS_perf_event_open+0x587/0xe3c
[ 23.505078] do_int80_syscall_32+0x66/0x12c
[ 23.506792] entry_INT80_compat+0x38/0x50
[ 23.508468] RIP: 0023:0x8090aa2
[ 23.509962] RSP: 002b:00000000ffd738d8 EFLAGS: 00000282 ORIG_RAX: 0000000000000150
[ 23.513094] RAX: ffffffffffffffda RBX: 0000000008b1e790 RCX: 0000000000000000
[ 23.515432] RDX: 00000000ffffffff RSI: 00000000ffffffff RDI: 0000000000000009
[ 23.517789] RBP: 000000006d656d0c R08: 0000000000000000 R09: 0000000000000000
[ 23.520128] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 23.522463] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 23.574529] trinity-main uses obsolete (PF_INET,SOCK_PACKET)
[ 23.591467] kernel msg: ebtables bug: please report to author: Wrong len argument
[ 24.396248] VFS: Warning: trinity-c0 using old stat() call. Recompile your binary.
[ 24.812470] VFS: Warning: trinity-c1 using old stat() call. Recompile your binary.
[ 25.016003] VFS: Warning: trinity-c2 using old stat() call. Recompile your binary.
[ 25.298865] VFS: Warning: trinity-c0 using old stat() call. Recompile your binary.
[ 25.641396] VFS: Warning: trinity-c2 using old stat() call. Recompile your binary.
[ 62.647743] rcu-torture: rtc: ffffffff836b9d00 ver: 1 tfle: 0 rta: 1 rtaf: 0 rtf: 0 rtmbe: 0 rtbe: 0 rtbke: 0 rtbre: 0 rtbf: 0 rtb: 0 nt: 1 onoff: 0/0:0/0 -1,0:-1,0 0:0 (HZ=1000) barrier: 0/0:0 cbflood: 1
[ 62.655884] rcu-torture: Reader Pipe: 2 0 0 0 0 0 0 0 0 0 0
[ 62.661435] rcu-torture: Reader Batch: 0 2 0 0 0 0 0 0 0 0 0
[ 62.664264] rcu-torture: Free-Block Circulation: 0 0 0 0 0 0 0 0 0 0 0
[ 95.628115] trinity-c1 (3029) used greatest stack depth: 12776 bytes left
[ 124.087732] rcu-torture: rtc: ffffffff836b9d00 ver: 1 tfle: 0 rta: 1 rtaf: 0 rtf: 0 rtmbe: 0 rtbe: 0 rtbke: 0 rtbre: 0 rtbf: 0 rtb: 0 nt: 1 onoff: 0/0:0/0 -1,0:-1,0 0:0 (HZ=1000) barrier: 0/0:0 cbflood: 1
[ 124.093259] rcu-torture: Reader Pipe: 2 0 0 0 0 0 0 0 0 0 0
[ 124.098220] rcu-torture: Reader Batch: 0 2 0 0 0 0 0 0 0 0 0
[ 124.100963] rcu-torture: Free-Block Circulation: 0 0 0 0 0 0 0 0 0 0 0
[ 124.103961] ??? Writer stall state RTWS_STUTTER(8) g16575 c16575 f0x2 ->state 0x1
[ 124.107832] rcu_sched: wait state: 1 ->state: 0x1
[ 124.110243] rcu_bh: wait state: 1 ->state: 0x1
[ 124.112572] Dumping ftrace buffer:
[ 124.113953] (ftrace buffer empty)
[ 185.527728] rcu-torture: rtc: ffffffff836b9d00 ver: 1 tfle: 0 rta: 1 rtaf: 0 rtf: 0 rtmbe: 0 rtbe: 0 rtbke: 0 rtbre: 0 rtbf: 0 rtb: 0 nt: 1 onoff: 0/0:0/0 -1,0:-1,0 0:0 (HZ=1000) barrier: 0/0:0 cbflood: 1
[ 185.537727] rcu-torture: Reader Pipe: 2 0 0 0 0 0 0 0 0 0 0
[ 185.544726] rcu-torture: Reader Batch: 0 2 0 0 0 0 0 0 0 0 0
[ 185.549730] rcu-torture: Free-Block Circulation: 0 0 0 0 0 0 0 0 0 0 0
[ 185.554738] ??? Writer stall state RTWS_STUTTER(8) g16740 c16740 f0x2 ->state 0x0
[ 185.559754] rcu_sched: wait state: 1 ->state: 0x1
[ 185.564727] rcu_bh: wait state: 1 ->state: 0x1
[ 246.967752] rcu-torture: rtc: ffffffff836b9d00 ver: 1 tfle: 0 rta: 1 rtaf: 0 rtf: 0 rtmbe: 0 rtbe: 0 rtbke: 0 rtbre: 0 rtbf: 0 rtb: 0 nt: 1 onoff: 0/0:0/0 -1,0:-1,0 0:0 (HZ=1000) barrier: 0/0:0 cbflood: 1
[ 246.973174] rcu-torture: Reader Pipe: 2 0 0 0 0 0 0 0 0 0 0
[ 246.977499] rcu-torture: Reader Batch: 0 2 0 0 0 0 0 0 0 0 0
[ 246.980084] rcu-torture: Free-Block Circulation: 0 0 0 0 0 0 0 0 0 0 0
[ 246.984216] ??? Writer stall state RTWS_STUTTER(8) g16914 c16914 f0x2 ->state 0x1
[ 246.987555] rcu_sched: wait state: 1 ->state: 0x1
[ 246.991049] rcu_bh: wait state: 1 ->state: 0x1
[ 308.407742] rcu-torture: rtc: ffffffff836b9d00 ver: 1 tfle: 0 rta: 1 rtaf: 0 rtf: 0 rtmbe: 0 rtbe: 0 rtbke: 0 rtbre: 0 rtbf: 0 rtb: 0 nt: 1 onoff: 0/0:0/0 -1,0:-1,0 0:0 (HZ=1000) barrier: 0/0:0 cbflood: 1
[ 308.414492] rcu-torture: Reader Pipe: 2 0 0 0 0 0 0 0 0 0 0
[ 308.420303] rcu-torture: Reader Batch: 0 2 0 0 0 0 0 0 0 0 0
[ 308.423144] rcu-torture: Free-Block Circulation: 0 0 0 0 0 0 0 0 0 0 0
[ 308.426222] ??? Writer stall state RTWS_STUTTER(8) g19059 c19059 f0x2 ->state 0x1
[ 308.430474] rcu_sched: wait state: 1 ->state: 0x1
[ 308.432968] rcu_bh: wait state: 1 ->state: 0x1
[ 315.411616] sysrq: SysRq : Emergency Sync
[ 315.413203] Emergency Sync complete
[ 315.414894] sysrq: SysRq : Resetting
Elapsed time: 320
initrds=(
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
3 years, 9 months
[cpu/hotplug] 728767c1a4: [ INFO: possible recursive locking detected ]
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git WIP.hotplug
commit 728767c1a47c80233f97926ddbd4aceabac20288
Author: Thomas Gleixner <tglx(a)linutronix.de>
AuthorDate: Thu Apr 13 10:50:55 2017 +0200
Commit: Thomas Gleixner <tglx(a)linutronix.de>
CommitDate: Fri Apr 14 09:12:05 2017 +0200
cpu/hotplug: Convert hotplug locking to percpu rwsem
There are no more (known) nested calls to get_online_cpus() so it's
possible to remove the nested call magic and convert the mutex to a
percpu-rwsem, which speeds up get/put_online_cpus() significantly for the
uncontended case.
The contended case (write locked for hotplug operations) is slow anyway, so
the slightly more expensive down_write of the percpu rwsem does not matter.
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
d9b9d296c0 ACPI/processor: Use cpu_hotplug_disable() instead of get_online_cpus()
728767c1a4 cpu/hotplug: Convert hotplug locking to percpu rwsem
728767c1a4 cpu/hotplug: Convert hotplug locking to percpu rwsem
+------------------------------------------+------------+------------+------------+
| | d9b9d296c0 | 728767c1a4 | 728767c1a4 |
+------------------------------------------+------------+------------+------------+
| boot_successes | 33 | 4 | 4 |
| boot_failures | 0 | 11 | 11 |
| INFO:possible_recursive_locking_detected | 0 | 11 | 11 |
| calltrace:SyS_perf_event_open | 0 | 11 | 11 |
+------------------------------------------+------------+------------+------------+
or similar which could potentially make this machine unbootable without a firmware reset.
ctrl-c now unless you really know what you are doing.
[ 152.427115]
[ 152.427407] =============================================
[ 152.428270] [ INFO: possible recursive locking detected ]
[ 152.429088] 4.11.0-rc6-00032-g728767c #1 Not tainted
[ 152.429808] ---------------------------------------------
[ 152.430496] trinity-main/476 is trying to acquire lock:
[ 152.431267] (cpu_hotplug_lock.rw_sem){++++++}, at: [<ffffffff811527ed>] swevent_hlist_get+0x15/0x93
[ 152.432429]
[ 152.432429] but task is already holding lock:
[ 152.433236] (cpu_hotplug_lock.rw_sem){++++++}, at: [<ffffffff8115b524>] SyS_perf_event_open+0x1ee/0xa29
[ 152.434491]
[ 152.434491] other info that might help us debug this:
[ 152.435371] Possible unsafe locking scenario:
[ 152.435371]
[ 152.436137] CPU0
[ 152.436454] ----
[ 152.436808] lock(cpu_hotplug_lock.rw_sem);
[ 152.437330] lock(cpu_hotplug_lock.rw_sem);
[ 152.437899]
[ 152.437899] *** DEADLOCK ***
[ 152.437899]
[ 152.438656] May be due to missing lock nesting notation
[ 152.438656]
[ 152.439531] 3 locks held by trinity-main/476:
[ 152.440066] #0: (cpu_hotplug_lock.rw_sem){++++++}, at: [<ffffffff8115b524>] SyS_perf_event_open+0x1ee/0xa29
[ 152.441454] #1: (&sig->cred_guard_mutex){+.+.+.}, at: [<ffffffff8115b543>] SyS_perf_event_open+0x20d/0xa29
[ 152.442770] #2: (&pmus_srcu){......}, at: [<ffffffff81154f47>] perf_init_event+0x0/0x1e0
[ 152.443833]
[ 152.443833] stack backtrace:
[ 152.444386] CPU: 0 PID: 476 Comm: trinity-main Not tainted 4.11.0-rc6-00032-g728767c #1
[ 152.445427] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 152.446848] Call Trace:
[ 152.447109] dump_stack+0x89/0xcb
[ 152.447601] print_deadlock_bug+0xe1/0xec
[ 152.448113] check_deadlock+0x14f/0x179
[ 152.448608] validate_chain+0x60a/0x614
[ 152.449127] ? save_stack_trace+0x16/0x19
[ 152.449630] ? kasan_kmalloc+0xcd/0x152
[ 152.450104] ? SyS_perf_event_open+0x265/0xa29
[ 152.450680] ? entry_SYSCALL64_slow_path+0x25/0x25
[ 152.451322] __lock_acquire+0x473/0x514
[ 152.451785] lock_acquire+0x6c/0x89
[ 152.452220] ? swevent_hlist_get+0x15/0x93
[ 152.452811] get_online_cpus+0x46/0x83
[ 152.453282] ? swevent_hlist_get+0x15/0x93
[ 152.453834] ? __lock_acquire+0x473/0x514
[ 152.454479] swevent_hlist_get+0x15/0x93
[ 152.454971] perf_swevent_init+0x4b/0xa1
[ 152.455509] perf_try_init_event+0x41/0x63
[ 152.456104] perf_init_event+0x184/0x1e0
[ 152.456623] ? perf_init_event+0x7a/0x1e0
[ 152.457181] ? __raw_spin_lock_init+0x31/0x52
[ 152.457760] perf_event_alloc+0x38e/0x4cb
[ 152.458281] ? _raw_spin_unlock+0x26/0x31
[ 152.458878] SyS_perf_event_open+0x265/0xa29
[ 152.459384] do_syscall_64+0xc6/0x1f0
[ 152.459821] ? trace_hardirqs_on_caller+0x156/0x18d
[ 152.460405] entry_SYSCALL64_slow_path+0x25/0x25
[ 152.461030] RIP: 0033:0x7f55b86f96d9
[ 152.461472] RSP: 002b:00007ffd591a8958 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
[ 152.462477] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f55b86f96d9
[ 152.463347] RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000000068b000
[ 152.464228] RBP: 0000000000001697 R08: 0000000000000001 R09: 0000000000000004
[ 152.465480] R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000402daa
[ 152.466492] R13: 00007ffd591a8b80 R14: 0000000000000000 R15: 0000000000000000
[ 153.858170] init: tty4 main process ended, respawning
[ 153.874002] init: tty5 main process (448) terminated with status 1
[ 153.875026] init: tty5 main process ended, respawning
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 9e6fa09147a76480acacba38c58cc563e4bcdaba 39da7c509acff13fc8cb12ec1bb20337c988ed36 --
git bisect bad f67391ec3106c1d413378e9865607ed333d9f258 # 01:17 B 0 1 12 0 Merge 'tip/timers/core' into devel-spot-201704160001
git bisect bad c9e9c5dce19dad94265db1b2d5ab9dd7e5ffc283 # 01:31 B 0 1 11 0 Merge 'peterz-queue/debug/tmp' into devel-spot-201704160001
git bisect bad 0e96f8517807516f76c5fa5a7d33e8c9606b809e # 01:45 B 0 2 22 9 Merge 'tip/master' into devel-spot-201704160001
git bisect good fb1f820a4b89e7e5ac0275b2e6ea420c755bb614 # 02:03 G 11 0 0 0 Merge 'linux-review/Liping-Zhang/netfilter-nft_set_bitmap-free-dummy-elements-when-destroy-the-set/20170415-234258' into devel-spot-201704160001
git bisect good 143e0e5c2bfeee4d4d1d84c59904d95c52d0ed7b # 02:20 G 10 0 0 0 Merge 'linux-review/Axel-Lin/regulator-rn5t618-Fix-out-of-bounds-array-access/20170415-230416' into devel-spot-201704160001
git bisect good f3fcb80385a3475a812fde289e03537869ab92af # 02:31 G 10 0 0 0 Merge 'tip/WIP.hotplug' into devel-spot-201704160001
git bisect good 28c624c63a2d84de073c05f5e2509024a0f743f4 # 02:47 G 11 0 0 0 Merge branch 'perf/core'
git bisect good 9b8cacf73d9ab2adf37e7914d2c4db088693a898 # 02:59 G 11 0 0 0 Merge branch 'x86/boot'
git bisect bad 4b311d788c6b874d535f2ab6753f4517b57de7e1 # 03:14 B 0 1 12 0 Merge branch 'WIP.hotplug'
git bisect good 19b4bf0d51e262db06624f10ef2437462ae0f79c # 03:28 G 11 0 0 0 Merge branch 'x86/platform'
git bisect good 59f7c20e57d292adb64010d1f2e9f58b5f78fe0c # 03:49 G 10 0 0 0 KVM/PPC/Book3S HV: Use cpuhp_setup_state_nocalls_locked()
git bisect good 7c03a967222d62b36bdc1d41237bd6f86e98b804 # 04:03 G 11 0 0 0 PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
git bisect good c3e513c7a86e1df573c5932f1cdf6c4029e2c55a # 04:18 G 10 0 0 0 Merge branch 'x86/urgent'
git bisect good 90b20432aeb850ef84086a72893cd9411479d896 # 04:31 G 11 0 0 0 x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method
git bisect bad 728767c1a47c80233f97926ddbd4aceabac20288 # 04:42 B 0 3 14 0 cpu/hotplug: Convert hotplug locking to percpu rwsem
git bisect good d9b9d296c03b9039c36459acead479c567b96fd9 # 04:59 G 11 0 0 0 ACPI/processor: Use cpu_hotplug_disable() instead of get_online_cpus()
# first bad commit: [728767c1a47c80233f97926ddbd4aceabac20288] cpu/hotplug: Convert hotplug locking to percpu rwsem
git bisect good d9b9d296c03b9039c36459acead479c567b96fd9 # 05:12 G 31 0 0 0 ACPI/processor: Use cpu_hotplug_disable() instead of get_online_cpus()
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 728767c1a47c80233f97926ddbd4aceabac20288 # 05:25 B 0 1 11 0 cpu/hotplug: Convert hotplug locking to percpu rwsem
# extra tests on HEAD of linux-devel/devel-spot-201704160001
git bisect bad 9e6fa09147a76480acacba38c58cc563e4bcdaba # 05:30 B 0 12 31 6 0day head guard for 'devel-spot-201704160001'
# extra tests on tree/branch peterz-queue/WIP.hotplug
git bisect bad 728767c1a47c80233f97926ddbd4aceabac20288 # 05:32 B 0 11 22 0 cpu/hotplug: Convert hotplug locking to percpu rwsem
# extra tests with first bad commit reverted
git bisect good ca4c35a27c14222bbee03eec97bc2dd9a62f49b9 # 05:49 G 10 0 0 0 Revert "cpu/hotplug: Convert hotplug locking to percpu rwsem"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[PCI] 7c03a96722: BUG: KASAN: global-out-of-bounds in cpumask_of_node at addr ffffffff827d2738
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git WIP.hotplug
commit 7c03a967222d62b36bdc1d41237bd6f86e98b804
Author: Thomas Gleixner <tglx(a)linutronix.de>
AuthorDate: Thu Apr 13 18:17:37 2017 +0200
Commit: Thomas Gleixner <tglx(a)linutronix.de>
CommitDate: Fri Apr 14 09:12:05 2017 +0200
PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
68896b391d perf/x86/intel: Drop get_online_cpus() in intel_snb_check_microcode()
7c03a96722 PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
728767c1a4 cpu/hotplug: Convert hotplug locking to percpu rwsem
+------------------------------------------------------------------+------------+------------+------------+
| | 68896b391d | 7c03a96722 | 728767c1a4 |
+------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 33 | 0 | 0 |
| boot_failures | 2 | 15 | 15 |
| invoked_oom-killer:gfp_mask=0x | 2 | | |
| Mem-Info | 2 | | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2 | | |
| BUG:KASAN:global-out-of-bounds | 0 | 15 | 15 |
+------------------------------------------------------------------+------------+------------+------------+
[ 6.563347] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 6.601740] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 6.641708] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 6.657085] Linux agpgart interface v0.103
[ 6.658459] ==================================================================
[ 6.660189] BUG: KASAN: global-out-of-bounds in cpumask_of_node+0x4b/0x80 at addr ffffffff827d2738
[ 6.662060] Read of size 8 by task swapper/0/1
[ 6.662924] Address belongs to variable pe+0x38/0x40
[ 6.663898] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc6-00030-g7c03a96 #2
[ 6.665728] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 6.667454] Call Trace:
[ 6.668008] dump_stack+0x86/0xcd
[ 6.668625] kasan_report+0x354/0x4e0
[ 6.669280] ? cpumask_of_node+0x4b/0x80
[ 6.670125] ? pci_match_device+0x213/0x230
[ 6.670951] __asan_load8+0x64/0x70
[ 6.671627] cpumask_of_node+0x4b/0x80
[ 6.672324] pci_device_probe+0x13a/0x220
[ 6.673224] ? pci_device_remove+0x110/0x110
[ 6.674183] ? do_raw_spin_unlock+0xe6/0xf0
[ 6.675041] ? _raw_spin_unlock+0x22/0x40
[ 6.675944] ? devices_kset_move_last+0xd3/0xe0
[ 6.676776] driver_probe_device+0x1bf/0x3b0
[ 6.677464] ? driver_probe_device+0x3b0/0x3b0
[ 6.678190] __driver_attach+0x9f/0xd0
[ 6.678815] bus_for_each_dev+0xd2/0x140
[ 6.679389] ? store_drivers_autoprobe+0x80/0x80
[ 6.680227] ? _raw_spin_unlock+0x22/0x40
[ 6.681008] driver_attach+0x26/0x30
[ 6.681743] bus_add_driver+0x187/0x330
[ 6.682525] driver_register+0xfb/0x160
[ 6.683329] __pci_register_driver+0xaf/0xc0
[ 6.684247] ? agp_setup+0xb3/0xb3
[ 6.685024] agp_intel_init+0x5e/0x7f
[ 6.685916] do_one_initcall+0xfa/0x210
[ 6.686785] ? initcall_blacklisted+0x130/0x130
[ 6.687506] ? parse_args+0x419/0x530
[ 6.688364] kernel_init_freeable+0x3be/0x51f
[ 6.689395] ? start_kernel+0x67d/0x67d
[ 6.690330] ? rest_init+0x150/0x150
[ 6.691244] ? rest_init+0x150/0x150
[ 6.692176] kernel_init+0xe/0x110
[ 6.693082] ? rest_init+0x150/0x150
[ 6.694019] ret_from_fork+0x31/0x40
[ 6.694832] Memory state around the buggy address:
[ 6.695598] ffffffff827d2600: 00 fa fa fa fa fa fa fa 04 fa fa fa fa fa fa fa
[ 6.696898] ffffffff827d2680: 04 fa fa fa fa fa fa fa 00 fa fa fa fa fa fa fa
[ 6.698709] >ffffffff827d2700: 00 fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
[ 6.700534] ^
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 241d2e55db42c4fde44827906c24310df2999e0c 39da7c509acff13fc8cb12ec1bb20337c988ed36 --
git bisect bad e2220db774094c89c55238c436ba3ddc4d9b5b26 # 05:52 B 0 11 22 0 Merge 'linux-review/Jarno-Rajahalme/datapath-Delete-conntrack-entry-clashing-with-an-expectation/20170414-133929' into devel-spot-201704142141
git bisect bad 9586b3d20279608b7ff0139b7c656924dd207a5c # 06:02 B 0 11 23 1 Merge 'jolsa-perf/perf/threaded_4' into devel-spot-201704142141
git bisect good ba19ee654127deafdfce10a9a753b10942846cc1 # 06:20 G 11 0 0 0 Merge 'aaron/csd_cacheline_aligned' into devel-spot-201704142141
git bisect bad 41ffd437660122cd77362ba2336c07768e8be2dd # 06:40 B 0 11 24 2 Merge 'linux-review/Quentin-Schulz/spi-atmel-factorize-reusable-code-for-SPI-controller-init/20170414-164939' into devel-spot-201704142141
git bisect good 62c0ac1cbe034a10105d56c072ec7134e1d97211 # 06:52 G 11 0 0 0 Merge 'linux-review/SF-Markus-Elfring/pinctrl-imx-Use-kmalloc_array-in-imx_dt_node_to_map/20170414-175138' into devel-spot-201704142141
git bisect bad fa10cf2a7fa547d6d19e909e215309a93afb7f19 # 07:19 B 0 11 24 2 Merge 'tip/WIP.hotplug' into devel-spot-201704142141
git bisect good c22a94608cd7333e040bc1413560f7c927ae7dd0 # 07:35 G 11 0 0 2 kernel/stop_machine: Provide stop_machine_locked()
git bisect good 2cacca85938f868e847135099ef71304646cbec0 # 07:51 G 11 0 0 0 perf/x86/intel/cqm: Use cpuhp_setup_state_locked()
git bisect good ebf26a4d1f1f667587e8b63c3364fd8629bd439a # 09:13 G 11 0 0 2 kernel/hotplug: Use stop_machine_locked() in takedown_cpu()
git bisect good 68896b391d91aedf150b13e6aae5511017993c99 # 09:35 G 11 0 0 0 perf/x86/intel: Drop get_online_cpus() in intel_snb_check_microcode()
git bisect bad 7c03a967222d62b36bdc1d41237bd6f86e98b804 # 09:50 B 0 8 21 2 PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
# first bad commit: [7c03a967222d62b36bdc1d41237bd6f86e98b804] PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
git bisect good 68896b391d91aedf150b13e6aae5511017993c99 # 09:52 G 31 0 0 0 perf/x86/intel: Drop get_online_cpus() in intel_snb_check_microcode()
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 7c03a967222d62b36bdc1d41237bd6f86e98b804 # 10:16 B 0 11 26 4 PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
# extra tests on HEAD of linux-devel/devel-spot-201704142141
git bisect bad 241d2e55db42c4fde44827906c24310df2999e0c # 10:16 B 0 25 39 0 0day head guard for 'devel-spot-201704142141'
# extra tests on tree/branch peterz-queue/WIP.hotplug
git bisect bad 728767c1a47c80233f97926ddbd4aceabac20288 # 10:30 B 0 11 22 0 cpu/hotplug: Convert hotplug locking to percpu rwsem
# extra tests with first bad commit reverted
git bisect good 8c1dc5d02c1ced263fa4442507d09d21f9a7e200 # 10:47 G 11 0 0 0 Revert "PCI: Use cpu_hotplug_disable() instead of get_online_cpus()"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[lkp-robot] [locking/ww] 57dd924e54: BUG:soft_lockup-CPU##stuck_for#s
by kernel test robot
FYI, we noticed the following commit:
commit: 57dd924e541a98219bf3a508623db2e0c07e75a7 ("locking/ww-mutex: Limit stress test to 2 seconds")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------+------------+------------+
| | 44fe84459f | 57dd924e54 |
+--------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 8 | 8 |
| INFO:task_blocked_for_more_than#seconds | 8 | |
| calltrace:debug_show_all_locks | 8 | |
| calltrace:ww_mutex_lock_slow | 7 | |
| Kernel_panic-not_syncing:hung_task:blocked_tasks | 8 | |
| calltrace:stress_inorder_work | 1 | |
| IP-Config:Auto-configuration_of_network_failed | 0 | 4 |
| BUG:soft_lockup-CPU##stuck_for#s | 0 | 4 |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 4 |
+--------------------------------------------------+------------+------------+
[ 273.632796] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [swapper/0:1]
[ 273.675540] irq event stamp: 4865008
[ 273.685130] hardirqs last enabled at (4865007): [<ffffffff8e848aad>] restore_regs_and_iret+0x0/0x1d
[ 273.698804] hardirqs last disabled at (4865008): [<ffffffff8e848d08>] apic_timer_interrupt+0x98/0xb0
[ 273.712354] softirqs last enabled at (4865006): [<ffffffff8d6c6601>] __do_softirq+0x1cf/0x22a
[ 273.725144] softirqs last disabled at (4864999): [<ffffffff8d6c6886>] irq_exit+0x56/0xa6
[ 273.737170] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc2-00029-g57dd924 #1
[ 273.748511] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 273.763553] task: ffff89a4bae9c040 task.stack: ffff89a4baea0000
[ 273.772653] RIP: 0010:erase_augmented+0x79/0x23b
[ 273.781081] RSP: 0000:ffff89a4baea3e20 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff10
[ 273.792428] RAX: 00000000ffffffff RBX: ffffffff91ce7a38 RCX: ffff89a4bae9c040
[ 273.802992] RDX: ffffffff91ce7b50 RSI: 0000000000000000 RDI: ffffffff91ce7328
[ 273.813680] RBP: ffff89a4baea3e50 R08: ffffffff91ce7560 R09: 0000000000000000
[ 273.824245] R10: 0000000000000000 R11: ffff89a4bae9c768 R12: 0000000000000000
[ 273.834880] R13: ffffffff91ce7a38 R14: ffffffff91ce7a39 R15: ffffffff91ce8200
[ 273.845602] FS: 0000000000000000(0000) GS:ffff89a4bbc00000(0000) knlGS:0000000000000000
[ 273.857595] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 273.884265] CR2: 00000000ffffffff CR3: 000000000d419000 CR4: 00000000000006a0
[ 273.894885] Call Trace:
[ 273.898736] rbtree_test_init+0x1c3/0x27f
[ 273.904839] ? irq_poll_setup+0x96/0x96
[ 273.910698] ? set_debug_rodata+0x20/0x20
[ 273.916791] do_one_initcall+0xa2/0x17c
[ 273.922687] ? set_debug_rodata+0x20/0x20
[ 273.928744] kernel_init_freeable+0x202/0x2a3
[ 273.935363] ? rest_init+0x16d/0x16d
[ 273.940809] kernel_init+0xf/0x142
[ 273.946056] ? rest_init+0x16d/0x16d
[ 273.951528] ret_from_fork+0x31/0x40
[ 273.956974] Code: 45 10 75 0b e8 e5 db e1 ff 4d 89 65 10 eb 17 e8 da db e1 ff 4d 89 65 08 eb 0c e8 cf db e1 ff 4c 89 25 e7 ca 3b 04 e8 c3 db e1 ff <4d> 85 e4 74 0e e8 b9 db e1 ff 4d 89 34 24 e9 4e 01 00 00 e8 ab
[ 273.987248] Kernel panic - not syncing: softlockup: hung tasks
[ 273.996061] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G L 4.11.0-rc2-00029-g57dd924 #1
[ 274.009087] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 274.024313] Call Trace:
[ 274.028133] <IRQ>
[ 274.031381] dump_stack+0xb1/0x103
[ 274.036617] panic+0xfb/0x2c2
[ 274.041180] watchdog_timer_fn+0x227/0x25a
[ 274.047441] ? __touch_watchdog+0x1c/0x1c
[ 274.053526] hrtimer_run_queues+0x140/0x1e4
[ 274.059914] run_local_timers+0x1e/0x64
[ 274.065741] update_process_times+0x21/0x4d
[ 274.072159] tick_nohz_handler+0xbd/0xf6
[ 274.078129] smp_trace_apic_timer_interrupt+0x62/0x74
[ 274.085735] smp_apic_timer_interrupt+0x9/0xb
[ 274.092356] apic_timer_interrupt+0x9d/0xb0
[ 274.098767] RIP: 0010:erase_augmented+0x79/0x23b
[ 274.107194] RSP: 0000:ffff89a4baea3e20 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff10
[ 274.118506] RAX: 00000000ffffffff RBX: ffffffff91ce7a38 RCX: ffff89a4bae9c040
[ 274.129096] RDX: ffffffff91ce7b50 RSI: 0000000000000000 RDI: ffffffff91ce7328
[ 274.139761] RBP: ffff89a4baea3e50 R08: ffffffff91ce7560 R09: 0000000000000000
[ 274.150265] R10: 0000000000000000 R11: ffff89a4bae9c768 R12: 0000000000000000
[ 274.160893] R13: ffffffff91ce7a38 R14: ffffffff91ce7a39 R15: ffffffff91ce8200
[ 274.171516] </IRQ>
[ 274.174831] rbtree_test_init+0x1c3/0x27f
[ 274.182921] ? irq_poll_setup+0x96/0x96
[ 274.188758] ? set_debug_rodata+0x20/0x20
[ 274.194881] do_one_initcall+0xa2/0x17c
[ 274.200776] ? set_debug_rodata+0x20/0x20
[ 274.206941] kernel_init_freeable+0x202/0x2a3
[ 274.213644] ? rest_init+0x16d/0x16d
[ 274.219061] kernel_init+0xf/0x142
[ 274.224238] ? rest_init+0x16d/0x16d
[ 274.229723] ret_from_fork+0x31/0x40
[ 274.236556] Kernel Offset: 0xc600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Elapsed time: 290
initrds=(
/osimage/debian/debian-x86_64-2016-08-31.cgz
/lkp/scheduled/vm-lkp-wsx03-4G-7/boot-1-debian-x86_64-2016-08-31.cgz-57dd924e541a98219bf3a508623db2e0c07e75a7-20170412-119024-102ictu-0.cgz
/lkp/lkp/lkp-x86_64.cgz
/osimage/deps/debian-x86_64-2016-08-31.cgz/lkp_2017-04-01.cgz
/osimage/deps/debian-x86_64-2016-08-31.cgz/rsync-rootfs_2016-11-15.cgz
/osimage/deps/debian-x86_64-2016-08-31.cgz/run-ipconfig_2016-11-15.cgz
)
cat "${initrds[@]}" > /fs/sdc1/initrd-vm-lkp-wsx03-4G-7
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu host
-kernel /pkg/linux/x86_64-randconfig-r0-04020107/gcc-6/57dd924e541a98219bf3a508623db2e0c07e75a7/vmlinuz-4.11.0-rc2-00029-g57dd924
-initrd /fs/sdc1/initrd-vm-lkp-wsx03-4G-7
-m 4096
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0,hostfwd=tcp::23666-:22
-boot order=nc
-no-reboot
-watchdog i6300esb
-watchdog-action debug
-rtc base=localtime
-drive file=/fs/sdc1/disk0-vm-lkp-wsx03-4G-7,media=disk,if=virtio
-drive file=/fs/sdc1/disk1-vm-lkp-wsx03-4G-7,media=disk,if=virtio
-pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-4G-7
-serial file:/dev/shm/kboot/vm-lkp-wsx03-4G-7/serial
-serial file:/dev/shm/kboot/vm-lkp-wsx03-4G-7/kmsg
-daemonize
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
3 years, 9 months
[lkp-robot] [sched] 65308ef1cb: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit:
commit: 65308ef1cbf5773f451ad448420f65087e700891 ("sched: force update of blocked load of idle cpus")
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------------------+------------+------------+
| | 70a5ebe3d7 | 65308ef1cb |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 4 | 8 |
| invoked_oom-killer:gfp_mask=0x | 4 | 2 |
| Mem-Info | 4 | 2 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 4 | 2 |
| BUG:unable_to_handle_kernel | 0 | 6 |
| Oops:#[##] | 0 | 6 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 6 |
+------------------------------------------------------------------+------------+------------+
[ 0.224113] BUG: unable to handle kernel NULL pointer dereference at 0000000000000060
[ 0.225454] IP: run_rebalance_domains+0x12e/0x3f0
[ 0.226211] PGD 0
[ 0.226212]
[ 0.226794] Oops: 0000 [#1] SMP
[ 0.227298] Modules linked in:
[ 0.227787] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.11.0-rc2-00231-g65308ef1 #1
[ 0.229004] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.229015] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.229017] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.229018] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 0.229019] pci_bus 0000:00: resource 7 [mem 0x20000000-0xfebfffff window]
[ 0.229097] NET: Registered protocol family 1
[ 0.229105] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.229120] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.229160] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.229265] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.229313] PCI: CLS 0 bytes, default 64
[ 0.229397] Unpacking initramfs...
[ 0.240812] task: ffff88000018e000 task.stack: ffff880000194000
[ 0.241776] RIP: 0010:run_rebalance_domains+0x12e/0x3f0
[ 0.242633] RSP: 0000:ffff88001db03ec0 EFLAGS: 00010202
[ 0.243490] RAX: 0000000000000001 RBX: 0000000000000007 RCX: 0000000000000003
[ 0.244597] RDX: 0000000000000001 RSI: ffffffff8206d340 RDI: 0000000000000246
[ 0.245700] RBP: ffff88001db03f38 R08: 0000000000000000 R09: 0000000000000000
[ 0.246825] R10: 00000000e8cfc995 R11: 0000000000000001 R12: ffff88001db1c980
[ 0.247982] R13: 0000000000000001 R14: 00000000ffff8ae6 R15: 0000000000000000
[ 0.249136] FS: 0000000000000000(0000) GS:ffff88001db00000(0000) knlGS:0000000000000000
[ 0.250418] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.251357] CR2: 0000000000000060 CR3: 0000000002026000 CR4: 00000000000006a0
[ 0.252520] Call Trace:
[ 0.252933] <IRQ>
[ 0.253282] ? run_rebalance_domains+0x7e/0x3f0
[ 0.254031] __do_softirq+0x217/0x48b
[ 0.254653] irq_exit+0x6c/0x110
[ 0.255200] scheduler_ipi+0xf3/0x140
[ 0.255810] smp_reschedule_interrupt+0x29/0x30
[ 0.256563] reschedule_interrupt+0x9a/0xa0
[ 0.257259] RIP: 0010:native_safe_halt+0x6/0x10
[ 0.257999] RSP: 0000:ffff880000197e80 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff02
[ 0.259233] RAX: ffff88000018e000 RBX: ffff88000018e000 RCX: 0000000000000000
[ 0.260386] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88000018e000
[ 0.261543] RBP: ffff880000197e80 R08: 00000000766f06ef R09: 0000000000000000
[ 0.262651] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
[ 0.263763] R13: ffff88000018e000 R14: 0000000000000000 R15: 0000000000000000
[ 0.264887] </IRQ>
[ 0.265250] default_idle+0xa6/0x180
[ 0.265841] arch_cpu_idle+0xf/0x20
[ 0.266419] default_idle_call+0x36/0x40
[ 0.267061] do_idle+0x107/0x1b0
[ 0.267605] cpu_startup_entry+0x62/0x70
[ 0.268255] start_secondary+0x142/0x150
[ 0.268896] start_cpu+0x14/0x14
[ 0.269435] Code: 00 75 28 e8 a5 17 03 00 85 c0 75 1f 48 c7 c2 08 97 cd 81 be 9d 22 00 00 48 c7 c7 48 f0 ce 81 c6 05 fd 5e ba 01 01 e8 e2 32 01 00 <41> 8b 47 60 41 8b 7f 28 48 0f af f8 e8 31 d1 03 00 ba 01 00 00
[ 0.272555] RIP: run_rebalance_domains+0x12e/0x3f0 RSP: ffff88001db03ec0
[ 0.273649] CR2: 0000000000000060
[ 0.274205] ---[ end trace a98abbc46615362a ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
3 years, 9 months
29453a313d: BUG: unable to handle kernel NULL pointer dereference at 0000081e
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.infradead.org/users/willy/linux-dax.git xarray-2017-04-11
commit 29453a313dbff33f688edb516d97bb05083963bf
Author: Matthew Wilcox <mawilcox(a)microsoft.com>
AuthorDate: Tue Mar 7 10:03:24 2017 -0500
Commit: Matthew Wilcox <mawilcox(a)microsoft.com>
CommitDate: Thu Apr 13 11:55:51 2017 -0400
Convert page cache to the xarray
The xarray is more efficient than the radix tree. On average it touches
two cachelines per level for a tag lookup whereas the radix tree will
touch three. Also, the API encourages users to stay at their level of
the tree for multiple operations, meaning we don't walk the tree
multiple times for a compound operation (eg look up a page and set its
tag).
The address_space page_tree radix tree is replaced with an xarray called
pages. The xarray has an embedded spinlock, so tree_lock is removed in
favour of using the xa_lock. It continues to protect the same data that
were protected by the tree_lock.
I also turned mapping_tagged() into an inline and changed it to return
bool.
Note that this patch is buggy! It assumes that lookup is prepared to
handle multiorder pages, but the conversion of the lookup routines still
assumed that tail pages were being inserted into the xarray.
Signed-off-by: Matthew Wilcox <mawilcox(a)microsoft.com>
8344b11609 Export __set_page_dirty
29453a313d Convert page cache to the xarray
3c9b8d1a46 moar fixes
+------------------------------------------+------------+------------+------------+
| | 8344b11609 | 29453a313d | 3c9b8d1a46 |
+------------------------------------------+------------+------------+------------+
| boot_successes | 29 | 0 | 0 |
| boot_failures | 2 | 11 | 2 |
| invoked_oom-killer:gfp_mask=0x | 2 | | |
| Mem-Info | 2 | | |
| BUG:unable_to_handle_kernel | 0 | 11 | 2 |
| Oops:#[##] | 0 | 11 | 2 |
| EIP:find_get_entry | 0 | 11 | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 | 2 |
| EIP:__xas_next_slot | 0 | 0 | 2 |
+------------------------------------------+------------+------------+------------+
[ 0.553271] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.554472] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.555755] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.557682] PCI: CLS 0 bytes, default 64
[ 0.559044] Unpacking initramfs...
[ 0.564706] BUG: unable to handle kernel NULL pointer dereference at 0000081e
[ 0.566060] IP: find_get_entry+0xab/0x380
[ 0.567032] *pde = 00000000
[ 0.567034]
[ 0.568545] Oops: 0000 [#1] PREEMPT SMP
[ 0.569483] Modules linked in:
[ 0.570338] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc6-00009-g29453a3 #1
[ 0.572117] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.574215] task: cf4e5040 task.stack: cf4a2000
[ 0.575234] EIP: find_get_entry+0xab/0x380
[ 0.576202] EFLAGS: 00210246 CPU: 0
[ 0.577094] EAX: 0000080a EBX: 00000000 ECX: cfc46b80 EDX: 00000002
[ 0.578286] ESI: cf396ab8 EDI: 0000080a EBP: cf4a3c70 ESP: cf4a3c24
[ 0.579512] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 0.580624] CR0: 80050033 CR2: 0000081e CR3: 01e6e000 CR4: 001406d0
[ 0.581836] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 0.583045] DR6: fffe0ff0 DR7: 00000400
[ 0.583978] Call Trace:
[ 0.584760] ? replace_page_cache_page+0x170/0x170
[ 0.585806] ? __might_sleep+0x37/0xa0
[ 0.586735] pagecache_get_page+0x24/0x2d0
[ 0.587697] grab_cache_page_write_begin+0x25/0x40
[ 0.588739] simple_write_begin+0x2a/0x1f0
[ 0.589706] generic_perform_write+0xb1/0x1b0
[ 0.590718] __generic_file_write_iter+0x157/0x1f0
[ 0.591760] ? down_write+0x8b/0xa0
[ 0.592643] generic_file_write_iter+0x147/0x320
[ 0.593655] __vfs_write+0xd5/0x140
[ 0.594553] vfs_write+0xaa/0x1d0
[ 0.595433] ? zlib_inflate+0x20a/0x17e0
[ 0.596368] SyS_write+0x4a/0xa0
[ 0.597240] xwrite+0x1c/0x4b
[ 0.598076] do_copy+0x23/0xb0
[ 0.598929] write_buffer+0x1d/0x2c
[ 0.599829] flush_buffer+0x21/0x6f
[ 0.600728] __gunzip+0x20a/0x29c
[ 0.601607] ? bunzip2+0x2f5/0x2f5
[ 0.602519] ? __gunzip+0x29c/0x29c
[ 0.603417] gunzip+0x16/0x18
[ 0.604247] ? write_buffer+0x2c/0x2c
[ 0.605145] ? initrd_load+0x3b/0x3b
[ 0.606223] unpack_to_rootfs+0x16d/0x26f
[ 0.607178] ? write_buffer+0x2c/0x2c
[ 0.608093] ? initrd_load+0x3b/0x3b
[ 0.608999] ? unpack_to_rootfs+0x26f/0x26f
[ 0.609973] populate_rootfs+0x4e/0xf1
[ 0.610898] ? unpack_to_rootfs+0x26f/0x26f
[ 0.611873] do_one_initcall+0x46/0x1b0
[ 0.612809] ? repair_env_string+0x12/0x54
[ 0.613775] ? parse_args+0x2a9/0x5a0
[ 0.614679] kernel_init_freeable+0xfb/0x179
[ 0.615698] ? rest_init+0x120/0x120
[ 0.616607] kernel_init+0x10/0x100
[ 0.617490] ? schedule_tail+0x25/0x90
[ 0.618416] ? rest_init+0x120/0x120
[ 0.619324] ret_from_fork+0x21/0x2c
[ 0.620232] Code: 8d 55 d8 89 f0 e8 96 f5 26 00 3d 06 08 00 00 89 c7 0f 84 c9 00 00 00 85 c0 0f 84 d1 01 00 00 f7 c7 01 00 00 00 0f 85 c5 01 00 00 <8b> 47 14 8d 50 ff a8 01 89 d3 0f 44 df 8b 53 10 85 d2 0f 84 6d
[ 0.623812] EIP: find_get_entry+0xab/0x380 SS:ESP: 0068:cf4a3c24
[ 0.624993] CR2: 000000000000081e
[ 0.625875] ---[ end trace c2d576a679fd01ea ]---
[ 0.626897] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 0c4ec3f4aee22508f35142f047fe3f5c6543fca3 c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 --
git bisect bad b9b08e95785cfb0441e6f6ddac165527142e4b38 # 06:06 B 0 1 12 0 Merge 'kdave-btrfs-devel/misc-4.12' into devel-catchup-201704140325
git bisect good 0f7a37bf4c273d5a7c4a316adb854bdc6df9ed0c # 06:36 G 10 0 2 2 Merge 'linux-review/Laxman-Dewangan/pwm-tegra-Read-PWM-clock-source-rate-in-driver-init/20170414-020922' into devel-catchup-201704140325
git bisect bad 77e7b990e7bea329c0651e2209ca271bf776ad60 # 06:46 B 0 1 12 0 Merge 'dax/xarray-2017-04-11' into devel-catchup-201704140325
git bisect good f341d9f08ae01d90d8d0c135ae2edf4423e724c9 # 07:17 G 11 0 0 0 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect good e39bccf20483ce3d6a55da23ab6dc3b7ad4f49e0 # 07:49 G 10 0 1 1 Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
git bisect good ea6b1720ce25f92f7a17b2e0c2b653d20773d10a # 08:10 G 10 0 3 3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect good 8b65bb57d87a66cd156f856f28f2bd72d7b2395e # 08:35 G 11 0 3 3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
git bisect good 2a610b8aa8e5bd449ba270e517b0e72295d62c9c # 08:48 G 11 0 3 3 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect good 462e9a355e7488fde3712c3b2585fc2f2a2c263d # 09:05 G 10 0 1 1 Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
git bisect good d4770c73183d0279d14504147d74a40dee12aedb # 09:20 G 11 0 6 6 Add XArray
git bisect bad 29453a313dbff33f688edb516d97bb05083963bf # 09:30 B 0 1 12 0 Convert page cache to the xarray
git bisect good 14e7eb9f041e25f7a6fdee7f8176c62167aa5bec # 09:50 G 10 0 4 4 arm64: Turn flush_dcache_mmap_lock into a no-op
git bisect good 8344b11609d16a0ccb7b745417e616f0d6b99c86 # 10:16 G 11 0 2 2 Export __set_page_dirty
# first bad commit: [29453a313dbff33f688edb516d97bb05083963bf] Convert page cache to the xarray
git bisect good 8344b11609d16a0ccb7b745417e616f0d6b99c86 # 10:33 G 31 0 3 5 Export __set_page_dirty
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 29453a313dbff33f688edb516d97bb05083963bf # 10:49 B 0 4 15 0 Convert page cache to the xarray
# extra tests on HEAD of linux-devel/devel-catchup-201704140325
git bisect bad 0c4ec3f4aee22508f35142f047fe3f5c6543fca3 # 10:54 B 0 15 30 0 0day head guard for 'devel-catchup-201704140325'
# extra tests on tree/branch dax/xarray-2017-04-11
git bisect bad 3c9b8d1a46f46d86fb6496ecf103c0daa0acfe20 # 11:09 B 0 1 12 0 moar fixes
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[lkp-robot] [userfaultfd] 05a0a21e93: kernel_selftests.vm.run_vmtests.fail
by kernel test robot
FYI, we noticed the following commit:
commit: 05a0a21e9346172402b5a2dd195eb75cce24efd5 ("userfaultfd: selftest: combine all cases into the single executable")
url: https://github.com/0day-ci/linux/commits/Mike-Rapoport/userfaultfd-selfte...
in testcase: kernel_selftests
with following parameters:
test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 8 threads Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz with 8G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
selftests: run_vmtests [FAIL]
/usr/src/linux-selftests-x86_64-rhel-7.2-05a0a21e9346172402b5a2dd195eb75cce24efd5/tools/testing/selftests/vm
make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-05a0a21e9346172402b5a2dd195eb75cce24efd5/tools/testing/selftests/vm'
skip watchdog test: not be default compiling/testing target
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong
3 years, 9 months