Re: [LKP] [rcu] kernel BUG at include/linux/pagemap.h:149!
by Frederic Weisbecker
On Fri, Sep 11, 2015 at 10:19:47AM +0800, Boqun Feng wrote:
> Subject: [PATCH 01/27] rcu: Don't disable preemption for Tiny and Tree RCU
> readers
>
> Because preempt_disable() maps to barrier() for non-debug builds,
> it forces the compiler to spill and reload registers. Because Tree
> RCU and Tiny RCU now only appear in CONFIG_PREEMPT=n builds, these
> barrier() instances generate needless extra code for each instance of
> rcu_read_lock() and rcu_read_unlock(). This extra code slows down Tree
> RCU and bloats Tiny RCU.
>
> This commit therefore removes the preempt_disable() and preempt_enable()
> from the non-preemptible implementations of __rcu_read_lock() and
> __rcu_read_unlock(), respectively.
>
> For debug purposes, preempt_disable() and preempt_enable() are still
> kept if CONFIG_PREEMPT_COUNT=y, which makes the detection of sleeping
> inside atomic sections still work in non-preemptible kernels.
>
> Signed-off-by: Boqun Feng <boqun.feng(a)gmail.com>
> Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
> ---
> include/linux/rcupdate.h | 6 ++++--
> include/linux/rcutiny.h | 1 +
> kernel/rcu/tree.c | 9 +++++++++
> 3 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
> index d63bb77..6c3cece 100644
> --- a/include/linux/rcupdate.h
> +++ b/include/linux/rcupdate.h
> @@ -297,12 +297,14 @@ void synchronize_rcu(void);
>
> static inline void __rcu_read_lock(void)
> {
> - preempt_disable();
> + if (IS_ENABLED(CONFIG_PREEMPT_COUNT))
> + preempt_disable();
preempt_disable() is a no-op when !CONFIG_PREEMPT_COUNT, right?
Or rather it's a barrier(), which is anyway implied by rcu_read_lock().
So perhaps we can get rid of the IS_ENABLED() check?
2 years, 11 months
[lkp-robot] [fs/locks] 52306e882f: stress-ng.lockofd.ops_per_sec -11% regression
by kernel test robot
Greeting,
FYI, we noticed a -11% regression of stress-ng.lockofd.ops_per_sec due to commit:
commit: 52306e882f77d3fd73f91435c41373d634acc5d2 ("fs/locks: Use allocation rather than the stack in fcntl_getlk()")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: stress-ng
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 128G memory
with following parameters:
testtime: 1s
class: filesystem
cpufreq_governor: performance
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/intel/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: stress-ng/1s-filesystem-performance/lkp-bdw-ep6
v4.13-rc1 52306e882f77d3fd73f91435c4
---------------- --------------------------
%stddev change %stddev
\ | \
1.219e+08 -11% 1.09e+08 stress-ng.lockofd.ops_per_sec
1.229e+08 -10% 1.103e+08 stress-ng.locka.ops_per_sec
1.233e+08 -10% 1.105e+08 stress-ng.locka.ops
1.223e+08 -11% 1.093e+08 stress-ng.lockofd.ops
1061237 10% 1168476 stress-ng.eventfd.ops
1061205 10% 1168414 stress-ng.eventfd.ops_per_sec
2913174 9% 3163165 stress-ng.time.voluntary_context_switches
89.90 -4% 86.58 stress-ng.time.user_time
26510 -6% 24822 stress-ng.io.ops
26489 -6% 24798 stress-ng.io.ops_per_sec
885499 ± 14% 18% 1042236 perf-stat.cpu-migrations
2.537e+08 10% 2.783e+08 perf-stat.node-store-misses
1067830 ± 4% 8% 1154877 ± 3% perf-stat.page-faults
5384755 ± 4% 7% 5747689 perf-stat.context-switches
32.28 7% 34.42 ± 3% perf-stat.node-store-miss-rate%
12245 ±110% -7e+03 5367 ± 29% latency_stats.avg.call_usermodehelper_exec.__request_module.get_fs_type.do_mount.SyS_mount.entry_SYSCALL_64_fastpath
311261 ±173% -3e+05 11702 ±100% latency_stats.avg.tty_release_struct.tty_release.__fput.____fput.task_work_run.exit_to_usermode_loop.syscall_return_slowpath.entry_SYSCALL_64_fastpath
1472 ± 60% 4e+03 5144 ± 97% latency_stats.max.sync_inodes_sb.sync_inodes_one_sb.iterate_supers.sys_sync.entry_SYSCALL_64_fastpath
225 ± 39% 3e+03 3698 ±132% latency_stats.max.rpc_wait_bit_killable.__rpc_wait_for_completion_task.nfs4_do_close.[nfsv4].__nfs4_close.[nfsv4].nfs4_close_sync.[nfsv4].nfs4_close_context.[nfsv4].__put_nfs_open_context.nfs_file_clear_open_context.nfs_file_release.__fput.____fput.task_work_run
228 ± 34% 3e+03 3103 ±159% latency_stats.max.rpc_wait_bit_killable.__rpc_wait_for_completion_task.nfs4_run_open_task.[nfsv4].nfs4_do_open.[nfsv4].nfs4_atomic_open.[nfsv4].nfs4_file_open.[nfsv4].do_dentry_open.vfs_open.path_openat.do_filp_open.do_sys_open.SyS_open
270 ± 24% 3e+03 3110 ±162% latency_stats.max.io_schedule.wait_on_page_bit_common.__filemap_fdatawait_range.filemap_write_and_wait_range.nfs_file_fsync.vfs_fsync_range.vfs_fsync.nfs4_file_flush.[nfsv4].filp_close.do_dup2.SyS_dup2.entry_SYSCALL_64_fastpath
12245 ±110% -7e+03 5367 ± 29% latency_stats.max.call_usermodehelper_exec.__request_module.get_fs_type.do_mount.SyS_mount.entry_SYSCALL_64_fastpath
927506 ±173% -9e+05 11702 ±100% latency_stats.max.tty_release_struct.tty_release.__fput.____fput.task_work_run.exit_to_usermode_loop.syscall_return_slowpath.entry_SYSCALL_64_fastpath
7892 ± 54% 3e+04 33793 ±131% latency_stats.sum.sync_inodes_sb.sync_inodes_one_sb.iterate_supers.sys_sync.entry_SYSCALL_64_fastpath
12030 ±109% 2e+04 33536 ±136% latency_stats.sum.autofs4_wait.autofs4_mount_wait.autofs4_d_manage.follow_managed.lookup_fast.path_openat.do_filp_open.do_sys_open.SyS_open.entry_SYSCALL_64_fastpath
14311 ± 15% 7e+03 21729 ±116% latency_stats.sum.call_rwsem_down_read_failed.page_lock_anon_vma_read.rmap_walk_anon.rmap_walk.try_to_unmap.migrate_pages.migrate_misplaced_page.__handle_mm_fault.handle_mm_fault.__do_page_fault.do_page_fault.page_fault
8095 ± 22% 7e+03 15421 ± 79% latency_stats.sum.call_rwsem_down_read_failed.rmap_walk_anon.rmap_walk.remove_migration_ptes.migrate_pages.migrate_misplaced_page.__handle_mm_fault.handle_mm_fault.__do_page_fault.do_page_fault.page_fault
495 ± 39% 7e+03 7470 ±131% latency_stats.sum.rpc_wait_bit_killable.__rpc_wait_for_completion_task.nfs4_do_close.[nfsv4].__nfs4_close.[nfsv4].nfs4_close_sync.[nfsv4].nfs4_close_context.[nfsv4].__put_nfs_open_context.nfs_file_clear_open_context.nfs_file_release.__fput.____fput.task_work_run
3449 ± 18% 7e+03 10001 ± 68% latency_stats.sum.io_schedule.wait_on_page_bit_common.__filemap_fdatawait_range.filemap_fdatawait_keep_errors.sync_inodes_sb.sync_inodes_one_sb.iterate_supers.sys_sync.entry_SYSCALL_64_fastpath
378 ±123% 6e+03 6438 ±109% latency_stats.sum.io_schedule.__lock_page.find_lock_entry.shmem_getpage_gfp.shmem_fault.__do_fault.__handle_mm_fault.handle_mm_fault.__do_page_fault.do_page_fault.page_fault
386 ± 34% 3e+03 3242 ±153% latency_stats.sum.rpc_wait_bit_killable.__rpc_wait_for_completion_task.nfs4_run_open_task.[nfsv4].nfs4_do_open.[nfsv4].nfs4_atomic_open.[nfsv4].nfs4_file_open.[nfsv4].do_dentry_open.vfs_open.path_openat.do_filp_open.do_sys_open.SyS_open
413 ± 19% 3e+03 3256 ±156% latency_stats.sum.io_schedule.wait_on_page_bit_common.__filemap_fdatawait_range.filemap_write_and_wait_range.nfs_file_fsync.vfs_fsync_range.vfs_fsync.nfs4_file_flush.[nfsv4].filp_close.do_dup2.SyS_dup2.entry_SYSCALL_64_fastpath
2874 ±173% -3e+03 0 latency_stats.sum.call_rwsem_down_write_failed.do_unlinkat.SyS_unlink.entry_SYSCALL_64_fastpath
3683 ±172% -4e+03 5 ±100% latency_stats.sum.call_rwsem_down_read_failed.lookup_slow.walk_component.path_lookupat.filename_lookup.user_path_at_empty.SyS_chmod.entry_SYSCALL_64_fastpath
12245 ±110% -7e+03 5367 ± 29% latency_stats.sum.call_usermodehelper_exec.__request_module.get_fs_type.do_mount.SyS_mount.entry_SYSCALL_64_fastpath
7320 ±136% -7e+03 0 latency_stats.sum.call_rwsem_down_write_failed.do_truncate.do_sys_ftruncate.SyS_ftruncate.entry_SYSCALL_64_fastpath
52297 ±124% -3e+04 26320 ± 16% latency_stats.sum.call_rwsem_down_read_failed.lookup_slow.walk_component.link_path_walk.path_parentat.filename_parentat.do_unlinkat.SyS_unlink.entry_SYSCALL_64_fastpath
64452 ± 83% -3e+04 31383 ± 30% latency_stats.sum.call_rwsem_down_write_failed.do_rmdir.SyS_rmdir.entry_SYSCALL_64_fastpath
1867567 ±173% -2e+06 11702 ±100% latency_stats.sum.tty_release_struct.tty_release.__fput.____fput.task_work_run.exit_to_usermode_loop.syscall_return_slowpath.entry_SYSCALL_64_fastpath
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
4 years, 5 months
[lkp-robot] [x86/mm] 9e52fc2b50: will-it-scale.per_thread_ops -16% regression
by kernel test robot
Greeting,
FYI, we noticed a -16% regression of will-it-scale.per_thread_ops due to commit:
commit: 9e52fc2b50de3a1c08b44f94c610fbe998c0031a ("x86/mm: Enable RCU based page table freeing (CONFIG_HAVE_RCU_TABLE_FREE=y)")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: will-it-scale
on test machine: 32 threads Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz with 64G memory
with following parameters:
test: malloc1
cpufreq_governor: performance
test-description: Will It Scale takes a testcase and runs it from 1 through to n parallel copies to see if the testcase will scale. It builds both a process and threads based test in order to see any differences between the two.
test-url: https://github.com/antonblanchard/will-it-scale
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/intel/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: will-it-scale/malloc1-performance/lkp-sb03
39e48d9b128abbd2 9e52fc2b50de3a1c08b44f94c6
---------------- --------------------------
%stddev change %stddev
\ | \
52686 ± 4% -16% 44404 will-it-scale.per_thread_ops
2351 216% 7432 ± 9% will-it-scale.time.involuntary_context_switches
221 9% 241 will-it-scale.time.system_time
74 9% 81 will-it-scale.time.percent_of_cpu_this_job_got
129046 126398 will-it-scale.per_process_ops
11216681 ± 3% -11% 10001205 will-it-scale.time.minor_page_faults
2936727 ± 4% -15% 2498747 interrupts.CAL:Function_call_interrupts
41949 40801 vmstat.system.in
14.86 15.03 boot-time.dhcp
15.23 15.41 boot-time.kernel_boot
3.885e+08 ± 3% 33% 5.185e+08 perf-stat.node-load-misses
10335 25% 12942 perf-stat.cpu-migrations
2.119e+08 24% 2.636e+08 perf-stat.iTLB-loads
1.616e+09 17% 1.893e+09 perf-stat.cache-misses
8.361e+08 16% 9.736e+08 perf-stat.node-stores
8.381e+08 16% 9.725e+08 perf-stat.node-loads
6.28 15% 7.26 perf-stat.cache-miss-rate%
31.67 10% 34.77 perf-stat.node-load-miss-rate%
4.049e+08 4% 4.208e+08 perf-stat.node-store-misses
0.20 3% 0.21 perf-stat.branch-miss-rate%
0.52 0.51 perf-stat.ipc
1.859e+09 1.824e+09 perf-stat.iTLB-load-misses
9.837e+11 9.639e+11 perf-stat.branch-instructions
6.615e+11 6.46e+11 perf-stat.dTLB-stores
4.787e+12 4.674e+12 perf-stat.instructions
2.08e+08 2.028e+08 perf-stat.page-faults
2.08e+08 2.028e+08 perf-stat.minor-faults
89.77 87.37 perf-stat.iTLB-load-miss-rate%
32.63 -7% 30.19 perf-stat.node-store-miss-rate%
[*] 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
4 years, 5 months
[lkp-robot] [blk] 47e0fb461f: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit:
commit: 47e0fb461fca1a68a566c82fcc006cc787312d8c ("blk: make the bioset rescue_workqueue optional.")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
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):
+-------------------------------------------------------+------------+------------+
| | 011067b056 | 47e0fb461f |
+-------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 6 | 6 |
| WARNING:at_drivers/ata/libata-core.c:#ata_host_detach | 6 | 6 |
| EIP:ata_host_detach | 6 | 6 |
| BUG:unable_to_handle_kernel | 0 | 6 |
| Oops:#[##] | 0 | 6 |
| EIP:ata_dev_next | 0 | 6 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 6 |
+-------------------------------------------------------+------------+------------+
[ 60.775694] BUG: unable to handle kernel paging request at 00002480
[ 60.776801] IP: ata_dev_next+0x74/0xd4
[ 60.777629] *pdpt = 0000000000000000 *pde = f000ff53f000ff53
[ 60.777635]
[ 60.779284] Oops: 0000 [#1]
[ 60.780019] CPU: 0 PID: 44 Comm: kworker/u2:3 Tainted: G S W 4.12.0-rc5-00126-g47e0fb46 #1
[ 60.781816] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 60.783712] Workqueue: events_unbound async_run_entry_fn
[ 60.784703] task: d4bfe940 task.stack: d515e000
[ 60.785615] EIP: ata_dev_next+0x74/0xd4
[ 60.786453] EFLAGS: 00210286 CPU: 0
[ 60.787248] EAX: d5f85e80 EBX: 00000000 ECX: 00000001 EDX: d5f85640
[ 60.788329] ESI: d5f858a0 EDI: 00000000 EBP: d515fef4 ESP: d515fee8
[ 60.789416] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 60.790419] CR0: 80050033 CR2: 00002480 CR3: 02a75000 CR4: 001406b0
[ 60.791506] Call Trace:
[ 60.792195] ata_scsi_scan_host+0x38/0x131
[ 60.793051] async_port_probe+0x43/0x48
[ 60.793886] async_run_entry_fn+0x3b/0x13b
[ 60.794746] process_one_work+0x11f/0x26c
[ 60.795595] worker_thread+0x1b2/0x26f
[ 60.796419] kthread+0xf9/0xfe
[ 60.797168] ? process_scheduled_works+0x24/0x24
[ 60.798074] ? __kthread_create_on_node+0x109/0x109
[ 60.799021] ret_from_fork+0x19/0x30
[ 60.799829] Code: 41 69 c9 e0 05 00 00 8d 84 08 20 fa ff ff eb 2f 83 fb 03 74 66 05 e0 05 00 00 8b 3a 8d 8f 40 16 00 00 39 ca 74 49 b9 01 00 00 00 <39> 97 80 24 00 00 74 3c 69 c9 e0 05 00 00 01 f1 39 c8 73 45 83
[ 60.802985] EIP: ata_dev_next+0x74/0xd4 SS:ESP: 0068:d515fee8
[ 60.804012] CR2: 0000000000002480
[ 60.804794] ---[ end trace a06f3b23fe961bc3 ]---
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years, 6 months
[lkp-robot] [uvcvideo] c698cbbd35: Failed to query (GET_INFO) UVC control 11 on unit 1: -32 (exp. 1).
by kernel test robot
FYI, we noticed the following commit:
commit: c698cbbd35daebf58ced376bb6f98dd013e6cf9e ("uvcvideo: send a control event when a Control Change interrupt arrives")
url: https://github.com/0day-ci/linux/commits/Guennadi-Liakhovetski/UVC-fix-qu...
base: git://linuxtv.org/media_tree.git master
in testcase: netperf
with following parameters:
ip: ipv4
runtime: 300s
nr_threads: 200%
cluster: cs-localhost
test: SCTP_STREAM
cpufreq_governor: performance
test-description: Netperf is a benchmark that can be use to measure various aspect of networking performance.
test-url: http://www.netperf.org/netperf/
on test machine: 4 threads Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz with 4G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
[ 74.743574] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (5986:0295)
[ 74.744636] uvcvideo: Failed to query (GET_INFO) UVC control 11 on unit 1: -32 (exp. 1).
[ 74.745523] input: Ideapad extra buttons as /devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input15
[ 74.746246] uvcvideo: Failed to query (GET_INFO) UVC control 13 on unit 1: -32 (exp. 1).
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
4 years, 7 months
ce07a9415f ("locking/lockdep: Make check_prev_add() able to .."): BUG: unable to handle kernel NULL pointer dereference at 00000020
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/torvalds/linux.git master
commit ce07a9415f266e181a0a33033a5f7138760240a4
Author: Byungchul Park <byungchul.park(a)lge.com>
AuthorDate: Mon Aug 7 16:12:51 2017 +0900
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Thu Aug 10 12:29:06 2017 +0200
locking/lockdep: Make check_prev_add() able to handle external stack_trace
Currently, a space for stack_trace is pinned in check_prev_add(), that
makes us not able to use external stack_trace. The simplest way to
achieve it is to pass an external stack_trace as an argument.
A more suitable solution is to pass a callback additionally along with
a stack_trace so that callers can decide the way to save or whether to
save. Actually crossrelease needs to do other than saving a stack_trace.
So pass a stack_trace and callback to handle it, to check_prev_add().
Signed-off-by: Byungchul Park <byungchul.park(a)lge.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: akpm(a)linux-foundation.org
Cc: boqun.feng(a)gmail.com
Cc: kernel-team(a)lge.com
Cc: kirill(a)shutemov.name
Cc: npiggin(a)gmail.com
Cc: walken(a)google.com
Cc: willy(a)infradead.org
Link: http://lkml.kernel.org/r/1502089981-21272-5-git-send-email-byungchul.park...
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
70911fdc95 locking/lockdep: Change the meaning of check_prev_add()'s return value
ce07a9415f locking/lockdep: Make check_prev_add() able to handle external stack_trace
74d83ec2b7 Merge tag 'platform-drivers-x86-v4.14-2' of git://git.infradead.org/linux-platform-drivers-x86
1418b85217 Add linux-next specific files for 20170929
+-------------------------------------------------------+------------+------------+------------+---------------+
| | 70911fdc95 | ce07a9415f | 74d83ec2b7 | next-20170929 |
+-------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 516 | 129 | 167 | 479 |
| boot_failures | 0 | 6 | 43 | 146 |
| BUG:unable_to_handle_kernel | 0 | 6 | 24 | 42 |
| Oops:#[##] | 0 | 6 | 24 | 42 |
| EIP:iput | 0 | 5 | | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 6 | 1 | |
| EIP:do_raw_spin_trylock | 0 | 1 | 1 | |
| WARNING:kernel_stack | 0 | 0 | 20 | 110 |
| EIP:update_stack_state | 0 | 0 | 23 | 42 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 0 | 23 | 42 |
| invoked_oom-killer:gfp_mask=0x | 0 | 0 | 0 | 16 |
| Mem-Info | 0 | 0 | 0 | 16 |
| EIP:clear_user | 0 | 0 | 0 | 2 |
| EIP:copy_page_to_iter | 0 | 0 | 0 | 1 |
+-------------------------------------------------------+------------+------------+------------+---------------+
procd: Instance odhcpd::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
procd: Instance uhttpd::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
procd: Instance dnsmasq::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
[ 187.661000] Writes: Total: 2 Max/Min: 0/0 Fail: 0
procd: - shutdown -
[ 220.353842] BUG: unable to handle kernel NULL pointer dereference at 00000020
[ 220.354946] IP: iput+0x544/0x650
[ 220.355441] *pde = 00000000
[ 220.355444]
[ 220.356100] Oops: 0000 [#1] PREEMPT SMP
[ 220.356647] CPU: 0 PID: 29697 Comm: umount Not tainted 4.13.0-rc4-00169-gce07a941 #627
[ 220.357790] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 220.359217] task: c0a0ba00 task.stack: c0a1e000
[ 220.359881] EIP: iput+0x544/0x650
[ 220.360384] EFLAGS: 00010246 CPU: 0
[ 220.360900] EAX: 00000001 EBX: c0100218 ECX: 00000000 EDX: 00000000
[ 220.361778] ESI: 00000000 EDI: 00000000 EBP: c0a1fdd8 ESP: c0a1fdc0
[ 220.362689] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 220.363502] CR0: 80050033 CR2: 00000020 CR3: 10a03000 CR4: 00000690
[ 220.364427] Call Trace:
[ 220.364816] dentry_unlink_inode+0x176/0x180
[ 220.365449] ? preempt_count_sub+0x1c5/0x2e0
[ 220.366092] __dentry_kill+0x207/0x330
[ 220.366663] shrink_dentry_list+0x5df/0x610
[ 220.367311] shrink_dcache_parent+0x65/0x80
[ 220.367939] do_one_tree+0x13/0x40
[ 220.368449] shrink_dcache_for_umount+0x84/0xe0
[ 220.369132] generic_shutdown_super+0x3e/0x1b0
[ 220.369823] kill_anon_super+0x11/0x20
[ 220.370382] kernfs_kill_sb+0x6c/0x80
[ 220.370912] sysfs_kill_sb+0x1a/0x30
[ 220.371450] deactivate_locked_super+0x4c/0x80
[ 220.372109] deactivate_super+0x100/0x110
[ 220.372701] cleanup_mnt+0xc0/0xe0
[ 220.373206] __cleanup_mnt+0x10/0x20
[ 220.373716] task_work_run+0x7f/0xa0
[ 220.374255] exit_to_usermode_loop+0x100/0x16f
[ 220.374908] do_int80_syscall_32+0x27f/0x2e0
[ 220.375514] entry_INT80_32+0x2f/0x2f
[ 220.376046] EIP: 0xa7f34a69
[ 220.376478] EFLAGS: 00000292 CPU: 0
[ 220.376993] EAX: 00000000 EBX: 080960f0 ECX: a7f76ff4 EDX: 080960d0
[ 220.377904] ESI: 080960d0 EDI: 080960f0 EBP: afe22258 ESP: afe22208
[ 220.378773] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 220.379565] Code: b5 20 56 3c b7 0f 84 64 fe ff ff e9 6b fe ff ff 8d b4 26 00 00 00 00 8b 7b 1c c1 ee 03 31 c9 83 05 ac 56 3c b7 01 83 e6 01 89 f2 <8b> 47 20 89 45 ec b8 c0 1f 30 b7 c7 04 24 00 00 00 00 e8 15 89
[ 220.382358] EIP: iput+0x544/0x650 SS:ESP: 0068:c0a1fdc0
[ 220.383125] CR2: 0000000000000020
[ 220.383597] ---[ end trace 0bfc95b7cf7c8ea4 ]---
[ 220.384273] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 988e175b9df683ac8c465fca60d64dbe9e4dd81e 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 --
git bisect good d68e68e5fb7134427c6d79c58beaaf869543f3f7 # 08:24 G 19 0 0 0 IB/hfi1: Fix whitespace alignment issue for MAD
git bisect good 64b19e1323e96c34af7ca90d1954e70890c7a98e # 08:44 G 19 0 0 0 IB/core: Export ioctl enum types to user-space
git bisect good 1993519be8bc86342687c61d8d11c3ade62b3b84 # 09:16 G 19 0 0 0 bnxt_re: Fix memory leak in FRMR path
git bisect bad e930b4d8a52067c773d9cd6f6bdd7d4ddc99563f # 09:28 B 10 2 1 1 RDMA/hns: remove redundant assignment to variable j
git bisect bad 0ff4b7e6db6db3341a99a3f0afb5eb8927feb8ab # 10:05 B 16 3 4 4 Merge branch 'vnic' into k.o/for-next
git bisect bad 7ae6f2a3d552dc01c4423c0cdede1daa9fd07991 # 10:20 B 0 1 14 0 Merge branch 'qedr' into k.o/for-next
git bisect good 89aaca54ba60e91f02c1c168fbef5d71f71a6d43 # 10:55 G 55 0 0 2 bnxt_re: Don't issue cmd to delete GID for QP1 GID entry before the QP is destroyed
git bisect bad 0d9c2ff1c9f7f8b339fc42ac9763b28c71f1c115 # 11:19 B 19 1 2 3 Merge tag 'v4.14-rc2' into k.o/for-next
git bisect bad aae3dbb4776e7916b6cd442d00159bea27a695c1 # 11:41 B 1 1 0 0 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect bad 04759194dc447ff0b9ef35bc641ce3bb076c2930 # 12:19 B 52 1 5 5 Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
git bisect good 735f463af70e9601881ec879961ec42aef051733 # 13:15 G 177 0 0 5 Merge tag 'drm-intel-next-2017-08-18' of git://anongit.freedesktop.org/git/drm-intel into drm-next
git bisect good 0081a0ce809b611c1f37da5d6ae5bc8027ffd1c4 # 13:15 G 309 0 0 1 Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 5f82e71a001d14824a7728ad9e49f6aea420f161 # 13:15 B 42 5 0 13 Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 475fb533fb7d3dcf009a434f9b9ea238b93f4cb8 # 13:56 G 180 0 0 3 perf evsel: Fix buffer overflow while freeing events
git bisect good b0c79f49c343cda8954b3322984c32f258ca4ccb # 15:32 G 174 0 0 0 Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 0c2364791343e4b04cd1f097ff2abc2799062448 # 15:46 B 11 1 4 6 Merge branch 'x86/asm' into locking/core
git bisect good a9668cd6ee288c4838bc668880ac085be551cac2 # 16:27 G 175 0 0 6 locking: Remove smp_mb__before_spinlock()
git bisect bad cd8084f91c02c1afd256a39aa833bff737631304 # 16:45 B 32 1 3 6 locking/lockdep: Apply crossrelease to completions
git bisect good 70911fdc9576f4eeb3986689a1c9a778a4a4aacb # 17:42 G 174 0 0 0 locking/lockdep: Change the meaning of check_prev_add()'s return value
git bisect bad 23f873d8f9526ed7e49a1a02a45f8afb9ae5fb84 # 17:51 B 0 1 14 0 locking/lockdep: Detect and handle hist_lock ring buffer overwrite
git bisect bad b09be676e0ff25bd6d2e7637e26d349f9109ad75 # 17:52 B 54 10 0 11 locking/lockdep: Implement the 'crossrelease' feature
git bisect bad ce07a9415f266e181a0a33033a5f7138760240a4 # 17:52 B 71 6 0 0 locking/lockdep: Make check_prev_add() able to handle external stack_trace
# first bad commit: [ce07a9415f266e181a0a33033a5f7138760240a4] locking/lockdep: Make check_prev_add() able to handle external stack_trace
git bisect good 70911fdc9576f4eeb3986689a1c9a778a4a4aacb # 21:42 G 512 0 0 0 locking/lockdep: Change the meaning of check_prev_add()'s return value
# extra tests on HEAD of dledford/k.o/for-next
git bisect bad 988e175b9df683ac8c465fca60d64dbe9e4dd81e # 21:43 B 6 5 0 3 RDMA/hns: Fix calltrace for sleeping in atomic
# extra tests on tree/branch linus/master
git bisect bad 74d83ec2b73457449918c315e40622c03a3659a6 # 21:43 B 163 24 0 19 Merge tag 'platform-drivers-x86-v4.14-2' of git://git.infradead.org/linux-platform-drivers-x86
# extra tests on tree/branch linux-next/master
git bisect bad 1418b852174ad50b3cb4738b8801626aefdc0bd9 # 21:44 B 472 42 0 104 Add linux-next specific files for 20170929
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 7 months
77ef56e4f0 ("x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y"): BUG: kernel hang in early-boot stage, last printk: Unable to boot - please use a kernel appropriate for your CPU.
by Fengguang Wu
FYI. We'll either need to upgrade to qemu-2.9 (which supports 5-level
paging) or disable CONFIG_X86_5LEVEL.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 77ef56e4f0fbb350d93289aa025c7d605af012d4
Author: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
AuthorDate: Mon Jul 17 01:59:54 2017 +0300
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Fri Jul 21 10:05:19 2017 +0200
x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y
Most of things are in place and we can enable support for 5-level paging.
The patch makes XEN_PV and XEN_PVH dependent on !X86_5LEVEL. Both are
not ready to work with 5-level paging.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Reviewed-by: Juergen Gross <jgross(a)suse.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Andy Lutomirski <luto(a)amacapital.net>
Cc: Dave Hansen <dave.hansen(a)intel.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: linux-arch(a)vger.kernel.org
Cc: linux-mm(a)kvack.org
Link: http://lkml.kernel.org/r/20170716225954.74185-9-kirill.shutemov@linux.int...
[ Minor readability edits. ]
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
ee00f4a32a x86/mm: Allow userspace have mappings above 47-bit
77ef56e4f0 x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y
cd4175b116 Merge branch 'parisc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
73527316e3 Add linux-next specific files for 20170922
+-------------------------------------------------------------------------------------------------------------+------------+------------+------------+---------------+
| | ee00f4a32a | 77ef56e4f0 | cd4175b116 | next-20170922 |
+-------------------------------------------------------------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 46 | 0 | 0 | 0 |
| boot_failures | 0 | 26 | 30 | 10 |
| BUG:kernel_hang_in_early-boot_stage,last_printk:Unable_to_boot-please_use_a_kernel_appropriate_for_your_CPU | 0 | 26 | 30 | 10 |
+-------------------------------------------------------------------------------------------------------------+------------+------------+------------+---------------+
This kernel requires the following features not present on the CPU:
la57
Unable to boot - please use a kernel appropriate for your CPU.
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 38502ef49f96f7fe25fcb3aaa904a570df955c2c v4.13 --
git bisect bad 0d519f2d1ed1f11e49abc88cfcf6cf13b83ba14c # 07:08 B 0 4 17 0 Merge tag 'pci-v4.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
git bisect bad be6297e9be118d89fa477a60ddfbf0e0b2dfacec # 07:28 B 0 1 16 2 Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
git bisect bad d725c7ac8b96cbdc28266895c6f7080c55bf2f23 # 07:53 B 0 10 27 4 Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good b0c79f49c343cda8954b3322984c32f258ca4ccb # 07:59 G 11 0 0 0 Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good e0a195b5225e1285806622cc146dc5c3312fb392 # 08:12 G 11 0 0 0 Merge branch 'x86-spinlocks-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad b1b6f83ac938d176742c85757960dec2cf10e468 # 20:15 B 0 1 43 15 Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 6c51e67b64d169419fb13318035bb442f9176612 # 20:54 G 11 0 0 0 Merge branch 'x86-syscall-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 5f82e71a001d14824a7728ad9e49f6aea420f161 # 21:15 G 11 0 0 0 Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good f655e6e6b992a2fb0d0334db2620607b98df39e7 # 21:40 G 11 0 0 0 x86/cpu/AMD: Make the microcode level available earlier in the boot
git bisect good e8f01a8dad7cdf9ddaa792451733a45ab5d385af # 21:55 G 11 0 0 0 x86/mm: Rename tasksize_32bit/64bit to task_size_32bit/64bit()
git bisect bad 4e237903f95db585b976e7311de2bfdaaf0f6e31 # 22:10 B 0 3 17 0 x86/mm, kexec: Fix memory corruption with SME on successive kexecs
git bisect bad 77ef56e4f0fbb350d93289aa025c7d605af012d4 # 22:29 B 0 2 15 0 x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y
git bisect good b569bab78d8df157a6f91070af827753e4d1787c # 22:44 G 11 0 0 0 x86/mm: Prepare to expose larger address space to userspace
git bisect good ee00f4a32a76ef631394f31d5b6028d50462b357 # 23:04 G 11 0 0 0 x86/mm: Allow userspace have mappings above 47-bit
# first bad commit: [77ef56e4f0fbb350d93289aa025c7d605af012d4] x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y
git bisect good ee00f4a32a76ef631394f31d5b6028d50462b357 # 23:09 G 31 0 0 0 x86/mm: Allow userspace have mappings above 47-bit
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 77ef56e4f0fbb350d93289aa025c7d605af012d4 # 23:39 B 0 11 28 4 x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y
# extra tests on HEAD of linux-review/Dan-Carpenter/USB-devio-Prevent-integer-overflow-in-proc_do_submiturb/20170924-051615
git bisect bad 4ff7075c88c3a97742f7841bc3113dd552d64356 # 23:53 B 0 5 18 0 USB: devio: Don't corrupt user memory
# extra tests on tree/branch linus/master
git bisect bad cd4175b11685b11c40e31a03e05084cc212b0649 # 00:12 B 0 11 28 4 Merge branch 'parisc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
# extra tests with first bad commit reverted
git bisect good 81585aec9ae3ab26a2e0d6521d3d6e7575dc4c92 # 00:26 G 11 0 0 0 Revert "x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y"
# extra tests on tree/branch linux-next/master
git bisect bad 73527316e3fdde8a210b8ab66c1bf48538cf6b09 # 01:05 B 0 5 19 0 Add linux-next specific files for 20170922
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 7 months
d82fed7529 ("locking/lockdep/selftests: Fix mixed read-write .."): BUG: -1 unexpected failures (out of 262) - debugging disabled! |
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 locking/core
commit d82fed75294229abc9d757f08a4817febae6c4f4
Author: Peter Zijlstra <peterz(a)infradead.org>
AuthorDate: Mon Aug 28 14:42:45 2017 +0200
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Tue Aug 29 15:15:17 2017 +0200
locking/lockdep/selftests: Fix mixed read-write ABBA tests
Commit:
e91498589746 ("locking/lockdep/selftests: Add mixed read-write ABBA tests")
adds an explicit FAILURE to the locking selftest but overlooked the
fact that this kills lockdep. Fudge the test to avoid this.
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: hpa(a)zytor.com
Link: http://lkml.kernel.org/r/20170828124245.xlo2yshxq2btgmuf@hirez.programmin...
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
ec81048cc3 sched/completion: Avoid unnecessary stack allocation for COMPLETION_INITIALIZER_ONSTACK()
d82fed7529 locking/lockdep/selftests: Fix mixed read-write ABBA tests
d82fed7529 locking/lockdep/selftests: Fix mixed read-write ABBA tests
ddad247ed1 Merge branch 'perf/core'
+---------------------------------------------------------+------------+------------+------------+------------+
| | ec81048cc3 | d82fed7529 | d82fed7529 | ddad247ed1 |
+---------------------------------------------------------+------------+------------+------------+------------+
| boot_successes | 35 | 0 | 0 | 0 |
| boot_failures | 0 | 15 | 15 | 19 |
| BUG:-#unexpected_failures(out_of#)-debugging_disabled!| | 0 | 15 | 15 | 19 |
+---------------------------------------------------------+------------+------------+------------+------------+
[ 0.004000] context:failed| ok | ok |
[ 0.004000] try:failed| ok |failed|
[ 0.004000] block:failed| ok |failed|
[ 0.004000] spinlock:failed| ok |failed|
[ 0.004000] -----------------------------------------------------------------
[ 0.004000] BUG: -1 unexpected failures (out of 262) - debugging disabled! |
[ 0.004000] -----------------------------------------------------------------
[ 0.004000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.004000] hpet clockevent registered
[ 0.004009] tsc: Detected 2693.508 MHz processor
[ 0.005226] Calibrating delay loop (skipped) preset value.. 5387.01 BogoMIPS (lpj=10774032)
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start c9d2cddca4506727eae2e7d2df0620edbf49e82e cc4a41fe5541a73019a864883297bd5043aa6d98 --
git bisect bad 5a5ab909d6bfaee8dd1332c7de7cc02ff3ec087f # 07:17 B 0 11 28 4 Merge 'wsa/i2c/for-next' into devel-catchup-201708300632
git bisect bad 2bf7c98887d8158669b5ded3ab55d6b211eea807 # 07:34 B 0 11 28 4 Merge 'andersson-remoteproc/rpmsg-next' into devel-catchup-201708300632
git bisect bad 0dee929f30bd25284c2f49fee5546691222a05b0 # 07:51 B 0 11 26 2 Merge 'tip/master' into devel-catchup-201708300632
git bisect good 08cc918622aa4d5516f770f8246d41f4a30c2c61 # 08:02 G 11 0 0 0 0day base guard for 'devel-catchup-201708300632'
git bisect good 1b2f76d77a277bb70d38ad0991ed7f16bbc115a9 # 08:17 G 11 0 0 0 Merge tag 'perf-core-for-mingo-4.14-20170829' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
git bisect bad 8ea7c2d9a971f95ec9f6ffac60cb4847d35f0b36 # 08:27 B 0 3 16 0 manual merge of locking/core
git bisect good af07c8069f9951cff957500f3adce04b8665934c # 08:44 G 11 0 0 0 Merge branch 'efi/core'
git bisect good 70911fdc9576f4eeb3986689a1c9a778a4a4aacb # 09:02 G 11 0 0 0 locking/lockdep: Change the meaning of check_prev_add()'s return value
git bisect good a1d14934ea4b9db816a8dbfeab1c3e7204a0d871 # 09:16 G 11 0 0 0 workqueue/lockdep: 'Fix' flush_work() annotation
git bisect good 500912121411e0175d44b69a7810ac6068e78326 # 09:29 G 11 0 0 0 irqchip/xtensa-mx: Report that effective affinity is a single target
git bisect good d45e3dd0a26d52e508e7796cb8f86cde4b3d8a92 # 09:43 G 11 0 0 0 Merge branch 'irq/core'
git bisect good 966a967116e699762dbf4af7f9e0d1955c25aa37 # 09:55 G 11 0 0 0 smp: Avoid using two cache lines for struct call_single_data
git bisect good 1c322ac06d9af7ea259098ae5dc977855207d335 # 10:02 G 11 0 0 0 acpi/nfit: Fix COMPLETION_INITIALIZER_ONSTACK() abuse
git bisect bad d82fed75294229abc9d757f08a4817febae6c4f4 # 10:15 B 0 11 27 3 locking/lockdep/selftests: Fix mixed read-write ABBA tests
git bisect good ec81048cc340bb03334e6ca62661ecc0a684897a # 10:27 G 11 0 0 0 sched/completion: Avoid unnecessary stack allocation for COMPLETION_INITIALIZER_ONSTACK()
# first bad commit: [d82fed75294229abc9d757f08a4817febae6c4f4] locking/lockdep/selftests: Fix mixed read-write ABBA tests
git bisect good ec81048cc340bb03334e6ca62661ecc0a684897a # 10:32 G 31 0 0 0 sched/completion: Avoid unnecessary stack allocation for COMPLETION_INITIALIZER_ONSTACK()
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad d82fed75294229abc9d757f08a4817febae6c4f4 # 10:48 B 0 10 23 0 locking/lockdep/selftests: Fix mixed read-write ABBA tests
# extra tests on HEAD of linux-devel/devel-catchup-201708300632
git bisect bad c9d2cddca4506727eae2e7d2df0620edbf49e82e # 10:48 B 0 35 51 0 0day head guard for 'devel-catchup-201708300632'
# extra tests on tree/branch tip/locking/core
git bisect bad d82fed75294229abc9d757f08a4817febae6c4f4 # 10:49 B 0 15 28 0 locking/lockdep/selftests: Fix mixed read-write ABBA tests
# extra tests with first bad commit reverted
git bisect good 5c767a6f4a19bda3da8982bb045a4031a536652f # 11:19 G 11 0 0 0 Revert "locking/lockdep/selftests: Fix mixed read-write ABBA tests"
# extra tests on tree/branch tip/master
git bisect bad ddad247ed1846f2e432e150461a3007fdca504bf # 11:36 B 0 11 32 8 Merge branch 'perf/core'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 7 months
[kprobes/x86] a19b2e3d78: WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: a19b2e3d783964d48d2b494439648e929bcdc976 ("kprobes/x86: Remove IRQ disabling from ftrace-based/optimized kprobes")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git perf/core
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------+------------+------------+
| | 5bb4fc2d86 | a19b2e3d78 |
+----------------------------------------------------------------+------------+------------+
| boot_successes | 12 | 0 |
| boot_failures | 0 | 14 |
| WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller | 0 | 14 |
| BUG:kernel_hang_in_test_stage | 0 | 2 |
+----------------------------------------------------------------+------------+------------+
[ 86.794775] WARNING: CPU: 1 PID: 1 at kernel/locking/lockdep.c:2962 trace_hardirqs_off_caller+0x6a/0xa1
[ 86.816156] Modules linked in:
[ 86.823679] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc2-00179-ga19b2e3 #139
[ 86.839654] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 86.860817] task: ffffa01adbd58040 task.stack: ffffc18ac0630000
[ 86.873128] RIP: 0010:trace_hardirqs_off_caller+0x6a/0xa1
[ 86.885573] RSP: 0000:ffffc18ac0633ca0 EFLAGS: 00010286
[ 86.896944] RAX: 0000000000000025 RBX: ffffa01adbd58040 RCX: ffffa01adbd58040
[ 86.912305] RDX: 0000000000000092 RSI: ffffffffa013cb72 RDI: 0000000000000293
[ 86.927660] RBP: ffffc18ac0633cb0 R08: 0000000000000001 R09: 0000000000000001
[ 86.942861] R10: ffffc18ac0633e28 R11: dead000000000200 R12: ffffffffa009c722
[ 86.957936] R13: ffffa01adf40dbe0 R14: ffffffffa017f6ca R15: ffffffffa017f6ce
[ 86.973045] FS: 0000000000000000(0000) GS:ffffa01adf400000(0000) knlGS:0000000000000000
[ 86.990564] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 87.002751] CR2: ffffc18ac06cc000 CR3: 000000000b28f001 CR4: 00000000000206e0
[ 87.018115] Call Trace:
[ 87.025046] trace_hardirqs_off+0xd/0xf
[ 87.034185] setjmp_pre_handler+0x6c/0x95
[ 87.043738] kprobe_ftrace_handler+0xc3/0xf4
[ 87.054278] ? arch_local_save_flags+0xd/0xd
[ 87.064388] ? init_test_probes+0x201/0x462
[ 87.074271] ftrace_ops_assist_func+0xa3/0xe0
[ 87.084804] 0xffffffffc00830d5
[ 87.092808] ? kprobe_target+0x1/0x16
[ 87.101421] kprobe_target+0x5/0x16
[ 87.109749] init_test_probes+0x201/0x462
[ 87.118988] ? kprobe_target+0x5/0x16
[ 87.127846] ? init_test_probes+0x201/0x462
[ 87.137740] init_kprobes+0x1f7/0x204
[ 87.145837] ? debugfs_kprobe_init+0xaa/0xaa
[ 87.155084] ? set_debug_rodata+0x17/0x17
[ 87.162962] do_one_initcall+0x90/0x138
[ 87.171029] ? set_debug_rodata+0x17/0x17
[ 87.179522] kernel_init_freeable+0x1c6/0x24e
[ 87.188499] ? rest_init+0xca/0xca
[ 87.196696] kernel_init+0xe/0xfa
[ 87.219577] ret_from_fork+0x2a/0x40
[ 87.227413] Code: 0f ba e0 09 73 29 e8 d1 09 6d 00 85 c0 74 4e 83 3d 46 be 7a 04 00 75 45 48 c7 c6 cd 92 c5 a2 48 c7 c7 bf 10 c4 a2 e8 89 4d 01 00 <0f> ff eb 2e 83 bb c8 08 00 00 00 74 25 8b 83 a8 08 00 00 c7 83
[ 87.264878] ---[ end trace 7927ffff7c5c9021 ]---
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
4 years, 7 months
f34c8585ed ("rcutorture: Invoke call_rcu() from timer handler"): WARNING: kernel stack regs at bdf19a20 in trinity-c0:12909 has bad 'bp' value bdf17850
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/torvalds/linux.git master
commit f34c8585ed70f0f9b5ff9cf59c0dd533cddb975f
Author: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
AuthorDate: Thu Jul 20 15:27:32 2017 -0700
Commit: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
CommitDate: Mon Jul 24 16:04:19 2017 -0700
rcutorture: Invoke call_rcu() from timer handler
The Linux kernel invokes call_rcu() from various interrupt/softirq
handlers, but rcutorture does not. This commit therefore adds this
behavior to rcutorture's repertoire.
Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
96036c4306 rcu: Add last-CPU to GP-kthread starvation messages
f34c8585ed rcutorture: Invoke call_rcu() from timer handler
99637e4268 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
1418b85217 Add linux-next specific files for 20170929
+-------------------------------------------------------+------------+------------+------------+---------------+
| | 96036c4306 | f34c8585ed | 99637e4268 | next-20170929 |
+-------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 923 | 312 | 462 | 479 |
| boot_failures | 0 | 2 | 159 | 146 |
| WARNING:kernel_stack | 0 | 2 | 110 | 110 |
| invoked_oom-killer:gfp_mask=0x | 0 | 0 | 20 | 16 |
| Mem-Info | 0 | 0 | 20 | 16 |
| BUG:unable_to_handle_kernel | 0 | 0 | 66 | 42 |
| Oops:#[##] | 0 | 0 | 66 | 42 |
| EIP:update_stack_state | 0 | 0 | 66 | 42 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 0 | 66 | 42 |
| EIP:copy_page_to_iter | 0 | 0 | 5 | 1 |
| EIP:clear_user | 0 | 0 | 1 | 2 |
| kernel_BUG_at_include/linux/page-flags.h | 0 | 0 | 1 | |
| invalid_opcode:#[##] | 0 | 0 | 1 | |
| EIP:__rmqueue | 0 | 0 | 1 | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 0 | 1 | |
+-------------------------------------------------------+------------+------------+------------+---------------+
[ 130.157350] vm86_32: Denied a call to vm86(old) from trinity-c0[4748] (uid: 1). Set the vm.mmap_min_addr sysctl to 0 and/or adjust LSM mmap_min_addr policy to enable vm86 if you are using a vm86-based DOS emulator.
procd: Instance odhcpd::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
procd: Instance uhttpd::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
procd: Instance dnsmasq::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
[ 187.360163] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 202.720524] WARNING: kernel stack regs at bdf19a20 in trinity-c0:12909 has bad 'bp' value bdf17850
[ 202.720542] unwind stack type:0 next_sp: (null) mask:0xa graph_idx:0
[ 202.720559] bf5dfdf4: bf5dfe44 (0xbf5dfe44)
[ 202.720580] bf5dfdf8: b9828114 (__save_stack_trace+0xf4/0x160)
[ 202.720602] bf5dfdfc: bf5dfe44 (0xbf5dfe44)
[ 202.720614] bf5dfe00: 00000000 ...
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start bcbe9b34f5dce1f68c63350f4a5a751850e102bf v4.13 --
git bisect bad ee89252b9edf08a8be3a4f5db53c56d39c872822 # 17:36 B 12 6 9 9 Merge tag 'arc-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
git bisect bad be6297e9be118d89fa477a60ddfbf0e0b2dfacec # 17:36 B 0 1 21 7 Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
git bisect bad bf1d6b2c76eda86159519bf5c427b1fa8f51f733 # 17:54 B 20 1 2 2 Merge tag 'staging-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect bad 0098410dd62dcbabf50b5b1d257ddcc9278e9087 # 18:28 B 51 1 0 4 Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 9657752cb5039c7498d4b27c4a75530f93b87d9b # 19:10 B 309 1 0 0 Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good fe91f28138e730790db014812623cfaadd318fa6 # 19:46 G 305 0 0 3 Merge tag 'hwmon-for-linus-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
git bisect good fea1543760351e10e9c573ddf8861c2f23f5b866 # 20:54 G 304 0 0 0 Merge branch 'core-debugobjects-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 0081a0ce809b611c1f37da5d6ae5bc8027ffd1c4 # 21:23 B 168 1 0 0 Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 16c0b106070f4760f7d1fffb0cd40393552b5294 # 22:08 G 308 0 0 0 rcu: Remove exports from rcu_idle_exit() and rcu_idle_enter()
git bisect bad f34c8585ed70f0f9b5ff9cf59c0dd533cddb975f # 23:12 B 54 1 0 0 rcutorture: Invoke call_rcu() from timer handler
git bisect good 85ef2bd2a561055f3b1cab634f67b734034eb984 # 00:43 G 306 0 1 5 rcutorture: Don't wait for kernel when all builds fail
git bisect good c234ee4b82682a64dbe8027a0a4dab36569133f2 # 01:42 G 302 0 2 2 rcutorture: Use nr_cpus rather than maxcpus to limit test size
git bisect good 808de39cf422aa08dffd29510d841848ea18e215 # 03:21 G 310 0 0 0 rcutorture: Add task's CPU for rcutorture writer stalls
git bisect good 96036c43066a04c99353abb4a342cc38a52d36f2 # 05:26 G 301 0 0 0 rcu: Add last-CPU to GP-kthread starvation messages
# first bad commit: [f34c8585ed70f0f9b5ff9cf59c0dd533cddb975f] rcutorture: Invoke call_rcu() from timer handler
git bisect good 96036c43066a04c99353abb4a342cc38a52d36f2 # 09:55 G 903 0 0 0 rcu: Add last-CPU to GP-kthread starvation messages
# extra tests on HEAD of ceph-client/testing
git bisect bad 87992bc627711014747d28250b5a180484c33c78 # 09:56 B 7 4 0 1 [DO NOT MERGE] ceph: Use pagevec_lookup_range_tag()
# extra tests on tree/branch linus/master
git bisect bad 99637e4268ea27f6fa52c4b3717d3c0675e5c20c # 09:57 B 459 111 0 49 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
# extra tests with first bad commit reverted
git bisect bad afe73609354dc14ae0f278f20992fd7003feaf3f # 10:12 B 7 1 2 2 Revert "rcutorture: Invoke call_rcu() from timer handler"
# extra tests on tree/branch linux-next/master
git bisect bad 1418b852174ad50b3cb4738b8801626aefdc0bd9 # 10:14 B 472 110 0 36 Add linux-next specific files for 20170929
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 7 months