[lkp-robot] [bisect done] ef1433f717 [ 7.049860] BUG: unable to handle kernel NULL pointer dereference at 0000004c
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 ef1433f717a2c63747a519d86965d73ff9bd08b3
Author: Kishon Vijay Abraham I <kishon(a)ti.com>
AuthorDate: Mon Apr 2 18:59:35 2018 +0530
Commit: Lorenzo Pieralisi <lorenzo.pieralisi(a)arm.com>
CommitDate: Fri May 18 16:40:50 2018 +0100
PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry
In order to be able to provide correct driver_data for pci_epf device,
a separate configfs entry for each pci_epf_device_id table entry in
pci_epf_driver is required.
Add support to create configfs entry for each pci_epf_device_id
table entry here.
Signed-off-by: Kishon Vijay Abraham I <kishon(a)ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi(a)arm.com>
Tested-by: Gustavo Pimentel <gustavo.pimentel(a)synopsys.com>
ecc57efe9d misc: pci_endpoint_test: Use pci_irq_vector function
ef1433f717 PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry
f5b7769eb0 Revert "debugfs: inode: debugfs_create_dir uses mode permission from parent"
0468ba62dc Add linux-next specific files for 20180613
+--------------------------------------------------------------+------------+------------+------------+---------------+
| | ecc57efe9d | ef1433f717 | f5b7769eb0 | next-20180613 |
+--------------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 42 | 0 | 0 | 0 |
| boot_failures | 4 | 15 | 19 | 57 |
| WARNING:at_arch/x86/include/asm/pgtable.h:#do_anonymous_page | 4 | | | |
| EIP:do_anonymous_page | 4 | | | |
| WARNING:at_arch/x86/include/asm/pgtable.h:#change_pte_range | 2 | | | |
| EIP:change_pte_range | 2 | | | |
| BUG:unable_to_handle_kernel | 0 | 15 | 19 | 57 |
| Oops:#[##] | 0 | 15 | 19 | 57 |
| EIP:__pci_epf_register_driver | 0 | 15 | 19 | 57 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 19 | 57 |
+--------------------------------------------------------------+------------+------------+------------+---------------+
[ 7.004551] crc32c: self tests passed, processed 225944 bytes in 114627 nsec
[ 7.022096] crc32_combine: 8373 self tests passed
[ 7.038149] crc32c_combine: 8373 self tests passed
[ 7.038731] cpqphp: Compaq Hot Plug PCI Controller Driver version: 0.9.8
[ 7.039375] switchtec: loaded.
[ 7.049860] BUG: unable to handle kernel NULL pointer dereference at 0000004c
[ 7.050604] *pdpt = 0000000000000000 *pde = f000ff53f000ff53
[ 7.051110] Oops: 0002 [#1] PREEMPT SMP
[ 7.051443] Modules linked in:
[ 7.051711] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.0-rc1-00005-gef1433f #1
[ 7.052364] EIP: __pci_epf_register_driver+0x8c/0xc0
[ 7.052791] EFLAGS: 00210202 CPU: 0
[ 7.053097] EAX: 41a78114 EBX: 41790220 ECX: 41a78114 EDX: 41a78114
[ 7.053632] ESI: 41a780c0 EDI: 41a78114 EBP: 40031f08 ESP: 40031ef8
[ 7.054170] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 7.054631] CR0: 80050033 CR2: 0000004c CR3: 01b5f000 CR4: 001406f0
[ 7.055171] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 7.055704] DR6: fffe0ff0 DR7: 00000400
[ 7.056037] Call Trace:
[ 7.056255] ? pci_epf_init+0x28/0x28
[ 7.056573] ? pci_epf_test_init+0x2d/0x4a
[ 7.056928] ? do_one_initcall+0x41/0x1a0
[ 7.057278] ? parse_args+0x189/0x2a0
[ 7.057601] ? kernel_init_freeable+0x19f/0x219
[ 7.057999] ? rest_init+0x1e0/0x1e0
[ 7.058309] ? kernel_init+0x8/0xf0
[ 7.058612] ? ret_from_fork+0x2e/0x38
[ 7.058946] Code: d2 b8 60 80 a7 41 e8 b4 ec 4a 00 8b 7e 58 8b 4d f0 b8 48 00 00 00 89 fa e8 72 d6 fa ff 84 c0 74 1b 8b 45 f0 c7 46 58 48 00 00 00 <89> 3d 4c 00 00 00 a3 48 00 00 00 c7 07 48 00 00 00 b8 60 80 a7
[ 7.059742] EIP: __pci_epf_register_driver+0x8c/0xc0 SS:ESP: 0068:40031ef8
[ 7.059742] CR2: 000000000000004c
[ 7.059742] ---[ end trace 7624867efb8b23bc ]---
[ 7.059742] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 0468ba62dc097465dfee1e65f83a171985653d15 29dcea88779c856c7dc92040a0c01233263101d4 --
git bisect bad 1aaccb5fa0eac996adde53538ca4b87a0b229ab7 # 18:45 B 0 2 16 0 Merge tag 'rtc-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
git bisect good af6c5d5e01ad9f2c9ca38cccaae6b5d67ddd241f # 19:09 G 11 0 0 0 Merge branch 'for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
git bisect bad 68abbe729567cef128b2c2141f2ed2567f3b8372 # 19:18 B 0 11 27 2 Merge branch 'akpm' (patches from Andrew)
git bisect good da315f6e03988a7127680bbc26e1028991b899b8 # 19:30 G 11 0 0 0 Merge tag 'fuse-update-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
git bisect bad a1cdde8c411dbde19863e5104a4a1f218dd07b89 # 19:39 B 0 11 25 0 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
git bisect good c0ab85267e25e34ce8b7e4429f0ef01fa0795b80 # 19:52 G 11 0 0 0 Merge tag 'microblaze-v4.18-rc1' of git://git.monstr.eu/linux-2.6-microblaze
git bisect good 3036bc45364f98515a2c446d7fac2c34dcfbeff4 # 20:03 G 11 0 0 0 Merge tag 'media/v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
git bisect bad 3a3869f1c443383ef8354ffa0e5fb8df65d8b549 # 20:14 B 0 11 25 0 Merge tag 'pci-v4.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
git bisect good 13fbadcd512c225c907d6e8147fb48a88114bf03 # 20:26 G 11 0 0 0 Merge branch 'pci/sparc'
git bisect bad 741f8e7ecc2c6414cff442ec8eb07dcfe4481533 # 20:34 B 0 11 25 0 Merge branch 'lorenzo/pci/hv'
git bisect good f03c7aa4598b78f9f0f6883f1e410f67968f74b9 # 20:46 G 11 0 0 0 Merge branch 'lorenzo/pci/dwc'
git bisect bad bf79d7d0997abfab40b421a0360adcc4fdbda0a4 # 20:53 B 0 11 27 2 Merge branch 'lorenzo/pci/endpoint'
git bisect good ecc57efe9d0d958c8a3a43a4430bf19319e74728 # 21:15 G 11 0 0 4 misc: pci_endpoint_test: Use pci_irq_vector function
git bisect good d792b32688c65841aef256e5870f0e25ed69ed9c # 21:29 G 11 0 0 2 Merge branch 'lorenzo/pci/dwc-fixes'
git bisect bad ef1433f717a2c63747a519d86965d73ff9bd08b3 # 21:38 B 0 11 26 1 PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry
# first bad commit: [ef1433f717a2c63747a519d86965d73ff9bd08b3] PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry
git bisect good ecc57efe9d0d958c8a3a43a4430bf19319e74728 # 21:44 G 31 0 0 4 misc: pci_endpoint_test: Use pci_irq_vector function
# extra tests with debug options
git bisect bad ef1433f717a2c63747a519d86965d73ff9bd08b3 # 21:54 B 0 11 25 0 PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry
# extra tests on HEAD of linux-next/master
git bisect bad 0468ba62dc097465dfee1e65f83a171985653d15 # 21:54 B 0 57 74 0 Add linux-next specific files for 20180613
# extra tests on tree/branch linus/master
git bisect bad f5b7769eb0400ec5217a47e41148a9f816ca1f9f # 22:04 B 0 9 23 0 Revert "debugfs: inode: debugfs_create_dir uses mode permission from parent"
# extra tests with first bad commit reverted
git bisect good 283f585ecca0621330650302d51bc5a5af090157 # 22:17 G 11 0 0 0 Revert "PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry"
# extra tests on tree/branch linux-next/master
git bisect bad 0468ba62dc097465dfee1e65f83a171985653d15 # 22:17 B 0 57 74 0 Add linux-next specific files for 20180613
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
1ecfd20c55 ("debug instrumentation"): WARNING: 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/luto/linux.git x86/fixes
commit 1ecfd20c5593057dc9ea645eeb7f10b674022ac0
Author: Andy Lutomirski <luto(a)kernel.org>
AuthorDate: Mon Mar 26 20:23:08 2018 -0700
Commit: Andy Lutomirski <luto(a)kernel.org>
CommitDate: Tue Jun 26 22:14:24 2018 -0700
debug instrumentation
813835028e Merge branch 'fixes-v4.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
1ecfd20c55 debug instrumentation
6012b92248 x86/entry/64/compat: Fix "x86/entry/64/compat: Preserve r8-r11 in int $0x80"
+------------------------------------------------------------------------+------------+------------+------------+
| | 813835028e | 1ecfd20c55 | 6012b92248 |
+------------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 39 | 3 | 0 |
| boot_failures | 0 | 11 | 11 |
| WARNING:possible_circular_locking_dependency_detected | 0 | 11 | 11 |
| WARNING:at_arch/x86/kernel/hw_breakpoint.c:#arch_install_hw_breakpoint | 0 | 2 | 1 |
| RIP:arch_install_hw_breakpoint | 0 | 2 | 1 |
+------------------------------------------------------------------------+------------+------------+------------+
[ 34.792424] init: networking main process (445) terminated with status 1
[ 38.160506] Set DR0=693000
[ 38.162204] Set DR7=d0202
[ 38.162526]
[ 38.162537] ======================================================
[ 38.162539] WARNING: possible circular locking dependency detected
[ 38.162541] 4.18.0-rc2-00045-g1ecfd20 #1 Not tainted
[ 38.162543] ------------------------------------------------------
[ 38.162545] trinity-main/451 is trying to acquire lock:
[ 38.162547] (____ptrval____) (console_owner){-...}, at: console_unlock+0x232/0x574
[ 38.162554]
[ 38.162556] but task is already holding lock:
[ 38.162557] (____ptrval____) (&ctx->lock){....}, at: __perf_install_in_context+0x83/0x161
[ 38.162564]
[ 38.162566] which lock already depends on the new lock.
[ 38.162567]
[ 38.162568]
[ 38.162571] the existing dependency chain (in reverse order) is:
[ 38.162572]
[ 38.162573] -> #5 (&ctx->lock){....}:
[ 38.162580] __perf_event_task_sched_out+0x661/0x79a
[ 38.162581] __schedule+0x982/0xc46
[ 38.162583] schedule+0x29/0x42
[ 38.162585] exit_to_usermode_loop+0x3c/0xbb
[ 38.162587] prepare_exit_to_usermode+0xdc/0x116
[ 38.162588] retint_user+0x8/0x18
[ 38.162589]
[ 38.162591] -> #4 (&rq->lock){-.-.}:
[ 38.162597] task_fork_fair+0x2b/0x1ea
[ 38.162599] sched_fork+0x28b/0x394
[ 38.162600] copy_process+0xc46/0x2c90
[ 38.162602] _do_fork+0xfd/0x63e
[ 38.162604] kernel_thread+0x20/0x21
[ 38.162605] rest_init+0x1d/0x238
[ 38.162607] start_kernel+0x4e7/0x509
[ 38.162608] secondary_startup_64+0xa5/0xb0
[ 38.162609]
[ 38.162610] -> #3 (&p->pi_lock){-.-.}:
[ 38.162616] try_to_wake_up+0x8f/0x53e
[ 38.162617] autoremove_wake_function+0x12/0x84
[ 38.162619] __wake_up_common+0x13f/0x211
[ 38.162620] __wake_up_common_lock+0xd0/0x112
[ 38.162622] tty_port_default_wakeup+0x16/0x21
[ 38.162623] serial8250_tx_chars+0x27d/0x3c1
[ 38.162625] serial8250_handle_irq+0xd7/0xf9
[ 38.162627] serial8250_default_handle_irq+0x28/0x3b
[ 38.162628] serial8250_interrupt+0x64/0xf1
[ 38.162630] __handle_irq_event_percpu+0x51/0x141
[ 38.162631] handle_irq_event_percpu+0x61/0xc4
[ 38.162633] handle_irq_event+0x4e/0x7e
[ 38.162634] handle_edge_irq+0x205/0x249
[ 38.162636] handle_irq+0x18e/0x1a3
[ 38.162638] do_IRQ+0x7f/0x10a
[ 38.162639] ret_from_intr+0x0/0x33
[ 38.162640] string+0x8b/0xaa
[ 38.162642] vsnprintf+0x376/0x74e
[ 38.162644] add_uevent_var+0x112/0x1d5
[ 38.162645] kobject_uevent_env+0x19b/0x7e6
[ 38.162647] kobject_synth_uevent+0x13e/0x3f1
[ 38.162648] uevent_store+0x17/0x30
[ 38.162650] kernfs_fop_write+0x183/0x1e9
[ 38.162652] __vfs_write+0xb8/0x2a7
[ 38.162653] vfs_write+0x11f/0x1e8
[ 38.162655] ksys_write+0xa1/0x104
[ 38.162656] do_syscall_64+0x37d/0x5b0
[ 38.162658] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 38.162659]
[ 38.162660] -> #2 (&tty->write_wait){-.-.}:
[ 38.162666] __wake_up_common_lock+0x99/0x112
[ 38.162668] tty_port_default_wakeup+0x16/0x21
[ 38.162670] serial8250_tx_chars+0x27d/0x3c1
[ 38.162671] serial8250_handle_irq+0xd7/0xf9
[ 38.162673] serial8250_default_handle_irq+0x28/0x3b
[ 38.162704] serial8250_interrupt+0x64/0xf1
[ 38.162707] __handle_irq_event_percpu+0x51/0x141
[ 38.162708] handle_irq_event_percpu+0x61/0xc4
[ 38.162710] handle_irq_event+0x4e/0x7e
[ 38.162712] handle_edge_irq+0x205/0x249
[ 38.162714] handle_irq+0x18e/0x1a3
[ 38.162715] do_IRQ+0x7f/0x10a
[ 38.162717] ret_from_intr+0x0/0x33
[ 38.162719] string+0x8b/0xaa
[ 38.162720] vsnprintf+0x376/0x74e
[ 38.162722] add_uevent_var+0x112/0x1d5
[ 38.162724] kobject_uevent_env+0x19b/0x7e6
[ 38.162726] kobject_synth_uevent+0x13e/0x3f1
[ 38.162728] uevent_store+0x17/0x30
[ 38.162730] kernfs_fop_write+0x183/0x1e9
[ 38.162731] __vfs_write+0xb8/0x2a7
[ 38.162754] vfs_write+0x11f/0x1e8
[ 38.162756] ksys_write+0xa1/0x104
[ 38.162758] do_syscall_64+0x37d/0x5b0
[ 38.162760] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 38.162761]
[ 38.162762] -> #1 (&port_lock_key){-.-.}:
[ 38.162768] serial8250_console_write+0xfd/0x365
[ 38.162770] console_unlock+0x356/0x574
[ 38.162772] register_console+0x3a4/0x4ad
[ 38.162774] univ8250_console_init+0x1f/0x22
[ 38.162775] console_init+0x19/0x28
[ 38.162777] start_kernel+0x390/0x509
[ 38.162779] secondary_startup_64+0xa5/0xb0
[ 38.162780]
[ 38.162781] -> #0 (console_owner){-...}:
[ 38.162787] console_unlock+0x295/0x574
[ 38.162789] vprintk_emit+0x3aa/0x3c2
[ 38.162791] printk+0x8f/0xab
[ 38.162793] arch_install_hw_breakpoint+0x9d/0x130
[ 38.162794] event_sched_in+0x153/0x34a
[ 38.162796] group_sched_in+0x62/0x161
[ 38.162798] flexible_sched_in+0x184/0x24c
[ 38.162800] visit_groups_merge+0x178/0x238
[ 38.162802] ctx_sched_in+0x192/0x1b8
[ 38.162803] ctx_resched+0x6c/0x82
[ 38.162805] __perf_install_in_context+0x12b/0x161
[ 38.162807] remote_function+0x2e/0x74
[ 38.162809] generic_exec_single+0x59/0x130
[ 38.162810] smp_call_function_single+0x12c/0x18f
[ 38.162812] task_function_call+0x7d/0xab
[ 38.162814] perf_install_in_context+0xc5/0x12c
[ 38.162816] __se_sys_perf_event_open+0xe69/0x117d
[ 38.162818] do_syscall_64+0x37d/0x5b0
[ 38.162820] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 38.162821]
[ 38.162823] other info that might help us debug this:
[ 38.162824]
[ 38.162825] Chain exists of:
[ 38.162826] console_owner --> &rq->lock --> &ctx->lock
[ 38.162835]
[ 38.162836] Possible unsafe locking scenario:
[ 38.162837]
[ 38.162839] CPU0 CPU1
[ 38.162841] ---- ----
[ 38.162842] lock(&ctx->lock);
[ 38.162845] lock(&rq->lock);
[ 38.162848] lock(&ctx->lock);
[ 38.162852] lock(console_owner);
[ 38.162862]
[ 38.162864] *** DEADLOCK ***
[ 38.162865]
[ 38.162867] 5 locks held by trinity-main/451:
[ 38.162868] #0: (____ptrval____) (&sig->cred_guard_mutex){+.+.}, at: __se_sys_perf_event_open+0x456/0x117d
[ 38.162876] #1: (____ptrval____) (&ctx->mutex){+.+.}, at: __se_sys_perf_event_open+0xb22/0x117d
[ 38.162884] #2: (____ptrval____) (&cpuctx_lock){....}, at: __perf_install_in_context+0x68/0x161
[ 38.162892] #3: (____ptrval____) (&ctx->lock){....}, at: __perf_install_in_context+0x83/0x161
[ 38.162899] #4: (____ptrval____) (console_lock){+.+.}, at: vprintk_emit+0x261/0x3c2
[ 38.162906]
[ 38.162907] stack backtrace:
[ 38.162909] CPU: 0 PID: 451 Comm: trinity-main Not tainted 4.18.0-rc2-00045-g1ecfd20 #1
[ 38.162910] Call Trace:
[ 38.162911] dump_stack+0x92/0xde
[ 38.162913] print_circular_bug+0x2fb/0x308
[ 38.162915] __lock_acquire+0x17d2/0x2298
[ 38.162916] ? debug_show_all_locks+0x1c7/0x1c7
[ 38.162918] ? debug_show_all_locks+0x1c7/0x1c7
[ 38.162919] ? kvm_clock_read+0x21/0x29
[ 38.162921] ? kvm_sched_clock_read+0x5/0xd
[ 38.162922] ? lock_acquire+0xa8/0xd8
[ 38.162924] lock_acquire+0xa8/0xd8
[ 38.162925] ? console_unlock+0x232/0x574
[ 38.162927] console_unlock+0x295/0x574
[ 38.162928] ? console_unlock+0x232/0x574
[ 38.162930] ? vprintk_emit+0x261/0x3c2
[ 38.162931] vprintk_emit+0x3aa/0x3c2
[ 38.162933] printk+0x8f/0xab
[ 38.162935] ? kmsg_dump_rewind+0x6e/0x6e
[ 38.162936] ? match_held_lock+0x1c/0x208
[ 38.162938] ? arch_install_hw_breakpoint+0x44/0x130
[ 38.162983] arch_install_hw_breakpoint+0x9d/0x130
[ 38.162985] event_sched_in+0x153/0x34a
[ 38.162986] group_sched_in+0x62/0x161
[ 38.162988] ? pinned_sched_in+0x24d/0x24d
[ 38.162989] flexible_sched_in+0x184/0x24c
[ 38.162991] ? pinned_sched_in+0x24d/0x24d
[ 38.162993] visit_groups_merge+0x178/0x238
[ 38.162995] ? __perf_event_header__init_id+0x13f/0x13f
[ 38.162996] ? match_held_lock+0x1c/0x208
[ 38.162998] ? match_held_lock+0x1c/0x208
[ 38.163000] ctx_sched_in+0x192/0x1b8
[ 38.163002] ? visit_groups_merge+0x238/0x238
[ 38.163003] ctx_resched+0x6c/0x82
[ 38.163005] __perf_install_in_context+0x12b/0x161
[ 38.163007] ? remote_function+0x28/0x74
[ 38.163009] ? __perf_event_enable+0x1fa/0x1fa
[ 38.163011] ? rb_free_rcu+0x9/0x9
[ 38.163013] remote_function+0x2e/0x74
[ 38.163015] generic_exec_single+0x59/0x130
[ 38.163016] smp_call_function_single+0x12c/0x18f
[ 38.163018] ? rb_free_rcu+0x9/0x9
[ 38.163020] ? generic_smp_call_function_single_interrupt+0xa/0xa
[ 38.163022] ? errseq_sample+0x9/0x18
[ 38.163024] ? alloc_file+0x148/0x15c
[ 38.163025] ? task_function_call+0x7d/0xab
[ 38.163027] task_function_call+0x7d/0xab
[ 38.163029] ? perf_event_addr_filters_exec+0x13c/0x13c
[ 38.163055] ? __perf_event_enable+0x1fa/0x1fa
[ 38.163057] perf_install_in_context+0xc5/0x12c
[ 38.163059] __se_sys_perf_event_open+0xe69/0x117d
[ 38.163060] ? kvm_sched_clock_read+0x5/0xd
[ 38.163062] ? perf_event_set_output+0x1c5/0x1c5
[ 38.163063] ? mark_held_locks+0x6e/0x88
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start e144566f3f540f7c5abf380ae91fea7e5dcd7a52 7daf201d7fe8334e2d2364d4e8ed3394ec9af819 --
git bisect bad 128772fbc9b059bbf94425995658bb4b273188c5 # 16:14 B 0 5 18 0 Merge 'linux-review/David-Howells/KEYS-Miscellaneous-fixes/20180627-013720' into devel-spot-201806271430
git bisect bad 62659b79832c79306c6f9c7ab42337953b7b5c56 # 16:32 B 0 1 14 0 Merge 'linux-review/Srinivas-Pandruvada/platform-x86-intel-hid-Add-support-for-Device-Specific-Methods/20180627-073734' into devel-spot-201806271430
git bisect bad 5bb7e76e5bf5ac8bf6b3e22007040d62fcafaa6e # 16:47 B 0 2 15 0 Merge 'linux-review/Benjamin-Herrenschmidt/usb-gadget-Fix-OS-descriptors-support/20180627-104245' into devel-spot-201806271430
git bisect bad 8ffdac32cfaa9b67ed88375853a8ad06c1a54a0b # 16:59 B 0 2 15 0 Merge 'nicolas.pitre/vt-unicode' into devel-spot-201806271430
git bisect good be820b3110db8b32b9217c4fe3ea1c6a95e383a1 # 17:14 G 12 0 0 0 Merge 'linux-review/alanx-chiang-intel-com/Add-a-property-in-at24-c/20180627-135047' into devel-spot-201806271430
git bisect bad e6164dd35175e46c54bb82f5a9188e7c501a4ca7 # 17:35 B 0 1 14 0 Merge 'rrnayak/4.18-rc1/rpmpd-post4' into devel-spot-201806271430
git bisect bad 4e59cc6486034f422d90d7d91b5a353176aad7cb # 17:47 B 0 1 14 0 Merge 'luto/x86/fixes' into devel-spot-201806271430
git bisect good 805f16a5f12fd68e10841013ccfaceb2f4d7066a # 18:01 G 12 0 0 0 Documentation: e1000: Fix docs build error
git bisect good 829eb05365ff06e8adc23f2541597d0cc3c18348 # 18:14 G 11 0 0 0 sfc: make function efx_rps_hash_bucket static
git bisect good 84bfed40fc25dd052620398fdcc19d8c77f02270 # 18:27 G 11 0 0 0 Merge tag 'for-4.18-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
git bisect good 813835028e9ae1f18cd11bb0ec591d0f0577d96a # 18:45 G 11 0 0 0 Merge branch 'fixes-v4.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
git bisect bad 86e7fd3564497f657de30a36da4505799eebef01 # 18:57 B 0 1 14 0 selftests/x86/sigreturn/64: Fix spurious failures on AMD CPUs
git bisect bad 1ecfd20c5593057dc9ea645eeb7f10b674022ac0 # 19:12 B 1 3 0 0 debug instrumentation
# first bad commit: [1ecfd20c5593057dc9ea645eeb7f10b674022ac0] debug instrumentation
git bisect good 813835028e9ae1f18cd11bb0ec591d0f0577d96a # 19:25 G 33 0 0 0 Merge branch 'fixes-v4.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
# extra tests with debug options
git bisect bad 1ecfd20c5593057dc9ea645eeb7f10b674022ac0 # 19:43 B 1 4 0 0 debug instrumentation
# extra tests on HEAD of linux-devel/devel-spot-201806271430
git bisect bad e144566f3f540f7c5abf380ae91fea7e5dcd7a52 # 19:48 B 0 18 36 2 0day head guard for 'devel-spot-201806271430'
# extra tests on tree/branch luto/x86/fixes
git bisect bad 6012b922485401bc42676e804171ded262fc2ef2 # 20:05 B 0 1 14 0 x86/entry/64/compat: Fix "x86/entry/64/compat: Preserve r8-r11 in int $0x80"
# extra tests with first bad commit reverted
git bisect good ea4627c622b944a7c64ff297379d3c71f1774556 # 20:34 G 11 0 0 0 Revert "debug instrumentation"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[lkp-robot] 4d7614ce48 [ 2.292528] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:69
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Rik-van-Riel/mm-allocate-mm_cpum...
commit 4d7614ce489c4f72226a0a322293013e24213ffe
Author: Rik van Riel <riel(a)surriel.com>
AuthorDate: Tue Jun 26 13:31:24 2018 -0400
Commit: 0day robot <lkp(a)intel.com>
CommitDate: Wed Jun 27 02:11:24 2018 +0800
x86,tlb: only send page table free TLB flush to lazy TLB CPUs
CPUs in !is_lazy have either received TLB flush IPIs earlier on during
the munmap (when the user memory was unmapped), or have context switched
and reloaded during that stage of the munmap.
Page table free TLB flushes only need to be sent to CPUs in lazy TLB
mode, which TLB contents might not yet be up to date yet.
Signed-off-by: Rik van Riel <riel(a)surriel.com>
Tested-by: Song Liu <songliubraving(a)fb.com>
a76d6b6951 x86,tlb: make lazy TLB mode lazier
4d7614ce48 x86,tlb: only send page table free TLB flush to lazy TLB CPUs
1806016b65 x86,switch_mm: skip atomic operations for init_mm
+-----------------------------------------------------------------------------+------------+------------+------------+
| | a76d6b6951 | 4d7614ce48 | 1806016b65 |
+-----------------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 45 | 0 | 0 |
| boot_failures | 0 | 26 | 30 |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/rwsem.c | 0 | 14 | 17 |
| Kernel_panic-not_syncing:No_working_init_found | 0 | 14 | 17 |
| BUG:sleeping_function_called_from_invalid_context_at_mm/mmap.c | 0 | 12 | 13 |
| BUG:scheduling_while_atomic | 0 | 11 | 13 |
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 0 | 9 | 10 |
+-----------------------------------------------------------------------------+------------+------------+------------+
[ 2.268131] page_owner is disabled
[ 2.287457] debug: unmapping init [mem 0xb1d38000-0xb1dcafff]
[ 2.290235] Write protecting the kernel text: 8276k
[ 2.291201] Write protecting the kernel read-only data: 4000k
[ 2.291821] rodata_test: all tests were successful
[ 2.292528] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:69
[ 2.293542] in_atomic(): 1, irqs_disabled(): 0, pid: 1, name: init
[ 2.294208] 1 lock held by init/1:
[ 2.294548] #0: (ptrval) (&mm->mmap_sem){....}, at: setup_arg_pages+0xdf/0x3a0
[ 2.295339] CPU: 0 PID: 1 Comm: init Not tainted 4.18.0-rc2-00048-g4d7614c #236
[ 2.296091] Call Trace:
[ 2.296346] dump_stack+0x16/0x26
[ 2.296728] ___might_sleep+0xdf/0x160
[ 2.297107] __might_sleep+0xdd/0xf0
[ 2.297482] down_write+0x1c/0x60
[ 2.297860] __vma_adjust+0x150/0x6e0
[ 2.298229] setup_arg_pages+0x313/0x3a0
[ 2.298628] load_elf_binary+0x2f9/0x1230
[ 2.299090] ? find_held_lock+0x27/0xa0
[ 2.299472] ? do_raw_read_unlock+0x27/0x60
[ 2.299933] search_binary_handler+0x52/0x1f0
[ 2.300456] __do_execve_file+0x672/0x7b0
[ 2.300912] ? rest_init+0xc0/0xc0
[ 2.301251] do_execve+0x1b/0x20
[ 2.301574] run_init_process+0x21/0x30
[ 2.301997] kernel_init+0x55/0x100
[ 2.302348] ret_from_fork+0x19/0x24
[ 2.302819] Failed to execute /init (error -14)
[ 2.303314] Starting init: /sbin/init exists but couldn't execute it (error -14)
[ 2.304148] Starting init: /bin/sh exists but couldn't execute it (error -14)
[ 2.304905] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 2.306304] CPU: 0 PID: 1 Comm: init Tainted: G W 4.18.0-rc2-00048-g4d7614c #236
[ 2.307201] Call Trace:
[ 2.307464] dump_stack+0x16/0x26
[ 2.307853] panic+0xb2/0x208
[ 2.308165] ? rest_init+0xc0/0xc0
[ 2.308517] kernel_init+0xe2/0x100
[ 2.308940] ret_from_fork+0x19/0x24
[ 2.309313] Kernel Offset: disabled
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start b2626a71fe883bfb3624f94f353487c15ebd6e0f 7daf201d7fe8334e2d2364d4e8ed3394ec9af819 --
git bisect good 7c63dd1ec76ce28de7cbe7fe8520bb92d5335588 # 02:55 G 11 0 0 0 Merge 'arm/drm-armada-devel' into devel-catchup-201806270212
git bisect good 5c47437e386bdd3ee02960193fa727395379c3ec # 03:08 G 11 0 0 0 Merge 'linux-review/Michael-Straube/staging-rtl8188eu-remove-blank-lines/20180627-015252' into devel-catchup-201806270212
git bisect good 10d371cb1de9860da2e741a8d8e84a7c67df83e7 # 03:18 G 11 0 0 0 Merge 'jwboyer-fedora/rawhide' into devel-catchup-201806270212
git bisect good cd46897b20b2649ac6af93bfc221156c69830c87 # 03:27 G 10 0 0 0 Merge 'stm32/stm32-next' into devel-catchup-201806270212
git bisect bad 7af3ea033a9e531d36580c3f373f52bb8f834e97 # 03:44 B 0 11 38 13 Merge 'linux-review/Rik-van-Riel/mm-allocate-mm_cpumask-dynamically-based-on-nr_cpu_ids/20180627-021116' into devel-catchup-201806270212
git bisect good 813835028e9ae1f18cd11bb0ec591d0f0577d96a # 03:47 G 10 0 0 0 Merge branch 'fixes-v4.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
git bisect good a76d6b6951082d4eaad65500913db9e9ae7d43e0 # 04:09 G 11 0 0 1 x86,tlb: make lazy TLB mode lazier
git bisect bad 55b75ec2a6880621b0b588b6f1109ecd4d3a2eb0 # 04:14 B 0 2 18 2 x86,mm: always use lazy TLB mode
git bisect bad 4d7614ce489c4f72226a0a322293013e24213ffe # 04:29 B 0 3 17 0 x86,tlb: only send page table free TLB flush to lazy TLB CPUs
# first bad commit: [4d7614ce489c4f72226a0a322293013e24213ffe] x86,tlb: only send page table free TLB flush to lazy TLB CPUs
git bisect good a76d6b6951082d4eaad65500913db9e9ae7d43e0 # 04:40 G 31 0 0 1 x86,tlb: make lazy TLB mode lazier
# extra tests with debug options
git bisect bad 4d7614ce489c4f72226a0a322293013e24213ffe # 04:52 B 0 11 25 0 x86,tlb: only send page table free TLB flush to lazy TLB CPUs
# extra tests on HEAD of linux-devel/devel-catchup-201806270212
git bisect bad b2626a71fe883bfb3624f94f353487c15ebd6e0f # 04:52 B 0 35 52 0 0day head guard for 'devel-catchup-201806270212'
# extra tests on tree/branch linux-review/Rik-van-Riel/mm-allocate-mm_cpumask-dynamically-based-on-nr_cpu_ids/20180627-021116
git bisect bad 1806016b65593ae8279e4fdd844050b057f3402a # 05:11 B 0 3 17 0 x86,switch_mm: skip atomic operations for init_mm
# extra tests with first bad commit reverted
git bisect good 067d8e2c11d722347f93e57659deca2f73d77e48 # 05:28 G 11 0 0 0 Revert "x86,tlb: only send page table free TLB flush to lazy TLB CPUs"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[lkp-robot] ca90800a91 [ 7.797533] WARNING: CPU: 0 PID: 1 at mm/slab_common.c:996 kmalloc_slab
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 ca90800a91ba723d78ded634d037c1d2df8b54d6
Author: Kees Cook <keescook(a)chromium.org>
AuthorDate: Thu May 10 16:40:03 2018 -0700
Commit: Kees Cook <keescook(a)chromium.org>
CommitDate: Tue Jun 5 12:16:51 2018 -0700
test_overflow: Add memory allocation overflow tests
Make sure that the memory allocators are behaving as expected in the face
of overflows of multiplied arguments or when using the array_size()-family
helpers.
Example output of new tests (with the expected __alloc_pages_slowpath
and vmalloc warnings about refusing giant allocations removed):
[ 93.062076] test_overflow: kmalloc detected saturation
[ 93.062988] test_overflow: kmalloc_node detected saturation
[ 93.063818] test_overflow: kzalloc detected saturation
[ 93.064539] test_overflow: kzalloc_node detected saturation
[ 93.120386] test_overflow: kvmalloc detected saturation
[ 93.143458] test_overflow: kvmalloc_node detected saturation
[ 93.166861] test_overflow: kvzalloc detected saturation
[ 93.189924] test_overflow: kvzalloc_node detected saturation
[ 93.221671] test_overflow: vmalloc detected saturation
[ 93.246326] test_overflow: vmalloc_node detected saturation
[ 93.270260] test_overflow: vzalloc detected saturation
[ 93.293824] test_overflow: vzalloc_node detected saturation
[ 93.294597] test_overflow: devm_kmalloc detected saturation
[ 93.295383] test_overflow: devm_kzalloc detected saturation
[ 93.296217] test_overflow: all tests passed
Signed-off-by: Kees Cook <keescook(a)chromium.org>
610b15c50e overflow.h: Add allocation size calculation helpers
ca90800a91 test_overflow: Add memory allocation overflow tests
6f0d349d92 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
deb5571a33 Add linux-next specific files for 20180625
+-------------------------------------------+------------+------------+------------+---------------+
| | 610b15c50e | ca90800a91 | 6f0d349d92 | next-20180625 |
+-------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 35 | 0 | 0 | 0 |
| boot_failures | 0 | 15 | 19 | 10 |
| WARNING:at_mm/slab_common.c:#kmalloc_slab | 0 | 15 | 19 | 10 |
| EIP:kmalloc_slab | 0 | 15 | 19 | 10 |
| Mem-Info | 0 | 15 | 19 | 10 |
+-------------------------------------------+------------+------------+------------+---------------+
[ 7.795515] test_overflow: s8 : 19 tests
[ 7.795919] test_overflow: u16: 17 tests
[ 7.796319] test_overflow: s16: 17 tests
[ 7.796713] test_overflow: u32: 17 tests
[ 7.797100] test_overflow: s32: 17 tests
[ 7.797533] WARNING: CPU: 0 PID: 1 at mm/slab_common.c:996 kmalloc_slab+0x5f/0x70
[ 7.798532] CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc4-00006-gca90800 #1
[ 7.799272] EIP: kmalloc_slab+0x5f/0x70
[ 7.799650] EFLAGS: 00210246 CPU: 0
[ 7.800036] EAX: 00000000 EBX: 0001c71d ECX: ffffffff EDX: 014000c0
[ 7.800053] ESI: 014000c0 EDI: 78029f20 EBP: 78029e50 ESP: 78029e50
[ 7.800053] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 7.800053] CR0: 80050033 CR2: 00000000 CR3: 01ffe000 CR4: 00140690
[ 7.800053] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 7.800053] DR6: fffe0ff0 DR7: 00000400
[ 7.800053] Call Trace:
[ 7.800053] ? __kmalloc+0x10/0x130
[ 7.800053] ? test_kmalloc+0x9a/0xcd
[ 7.800053] ? test_module_init+0x18bc/0x23d5
[ 7.800053] ? debug_check_no_obj_freed+0xe4/0x1a0
[ 7.800053] ? test_kmalloc+0xcd/0xcd
[ 7.800053] ? do_one_initcall+0x68/0x13b
[ 7.800053] ? do_early_param+0x73/0x73
[ 7.800053] ? kernel_init_freeable+0xde/0x158
[ 7.800053] ? rest_init+0xd0/0xd0
[ 7.800053] ? kernel_init+0x8/0xe0
[ 7.800053] ? ret_from_fork+0x19/0x30
[ 7.800053] Code: 00 00 00 00 83 e9 01 0f bd c9 75 05 b9 ff ff ff ff 83 c1 01 8b 04 8d 80 54 cf 79 5d c3 8d b4 26 00 00 00 00 31 c0 80 e6 02 75 d1 <0f> 0b 5d c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 55 89 d0 89
[ 7.800053] ---[ end trace 65f6a6774a196306 ]---
[ 7.810634] test_overflow: kmalloc detected saturation
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 7daf201d7fe8334e2d2364d4e8ed3394ec9af819 v4.17 --
git bisect bad a16afaf7928b74c30a4727cdcaa67bd10675a55d # 12:07 B 0 1 14 0 Merge tag 'for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
git bisect good abf7dba7c4f77d781f6df50fefb19a64c5dc331f # 12:24 G 11 0 0 0 Merge tag 'char-misc-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect bad 3a3869f1c443383ef8354ffa0e5fb8df65d8b549 # 12:33 B 0 5 18 0 Merge tag 'pci-v4.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
git bisect good 0eb0061381b2bac082cc26d573fc48fe99db3922 # 12:49 G 11 0 0 0 Merge tag 'for-linus-4.18' of git://github.com/cminyard/linux-ipmi
git bisect bad 1c8c5a9d38f607c0b6fd12c91cbe1a4418762a21 # 12:58 B 0 5 42 12 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 8b70543e9af036984a52800811416b74978ae4de # 13:13 G 11 0 0 0 Merge tag 'selinux-pr-20180605' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
git bisect good 5eb6eed7e0fe880dc8de8da203cc888716bbf196 # 13:25 G 11 0 0 0 Merge tag 'trace-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
git bisect bad 285767604576148fc1be7fcd112e4a90eb0d6ad2 # 13:42 B 0 10 23 0 Merge tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect bad ca90800a91ba723d78ded634d037c1d2df8b54d6 # 13:57 B 0 1 14 0 test_overflow: Add memory allocation overflow tests
git bisect good 6d3344324b5ae49fc8cb599a2c687e5607ba6e9f # 14:15 G 11 0 0 0 test_overflow: macrofy some more, do more tests for free
git bisect good 610b15c50e86eb1e4b77274fabcaea29ac72d6a8 # 14:29 G 11 0 0 0 overflow.h: Add allocation size calculation helpers
# first bad commit: [ca90800a91ba723d78ded634d037c1d2df8b54d6] test_overflow: Add memory allocation overflow tests
git bisect good 610b15c50e86eb1e4b77274fabcaea29ac72d6a8 # 14:34 G 31 0 0 0 overflow.h: Add allocation size calculation helpers
# extra tests with debug options
git bisect bad ca90800a91ba723d78ded634d037c1d2df8b54d6 # 14:45 B 0 7 20 0 test_overflow: Add memory allocation overflow tests
# extra tests on HEAD of linux-devel/devel-spot-201806260702
git bisect bad d7b9697992bd82978ca5151b5b5d4b9de02492cc # 14:45 B 0 45 61 0 0day head guard for 'devel-spot-201806260702'
# extra tests on tree/branch linus/master
git bisect bad 6f0d349d922ba44e4348a17a78ea51b7135965b1 # 14:57 B 0 2 15 0 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
# extra tests on tree/branch linux-next/master
git bisect bad deb5571a333c08f20bee8cb1324644f774b27a66 # 15:16 B 0 1 14 0 Add linux-next specific files for 20180625
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[lkp-robot] 40f987397f [ 7.195202] BUG: KASAN: null-ptr-deref in __do_fault
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Souptick-Joarder/x86-vdso-Change...
commit 40f987397fa7b7705d79648b6c10662a9c00449e
Author: Souptick Joarder <jrdr.linux(a)gmail.com>
AuthorDate: Mon Jun 25 23:27:37 2018 +0530
Commit: 0day robot <lkp(a)intel.com>
CommitDate: Tue Jun 26 02:44:16 2018 +0800
x86/vdso: Change return type to vm_fault_t for fault handlers
Use new return type vm_fault_t for both fault handler
vdso_fault() and vvar_fault(). Previously vm_insert_pfn()
returns err which has to mapped into VM_FAULT_* type.
The new function vmf_insert_pfn() will replace this
inefficiency by returning correct VM_FAULT_* type.
See the following commit:
1c8f422059ae ("mm: change return type to vm_fault_t")
b3ec9f33acb8 ("mm: change return type to vm_fault_t")
Signed-off-by: Souptick Joarder <jrdr.linux(a)gmail.com>
f2173356e2 x86/vdso: Remove unused file
40f987397f x86/vdso: Change return type to vm_fault_t for fault handlers
+------------------------------------------+------------+------------+
| | f2173356e2 | 40f987397f |
+------------------------------------------+------------+------------+
| boot_successes | 35 | 4 |
| boot_failures | 0 | 11 |
| BUG:KASAN:null-ptr-deref_in__do_fault | 0 | 11 |
| BUG:unable_to_handle_kernel | 0 | 11 |
| Oops:#[##] | 0 | 11 |
| RIP:__do_fault | 0 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 |
+------------------------------------------+------------+------------+
[ 7.015294] Freeing unused kernel memory: 2016K
[ 7.031705] Freeing unused kernel memory: 896K
[ 7.184467] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 7.185983] rodata_test: all tests were successful
[ 7.193314] ==================================================================
[ 7.195202] BUG: KASAN: null-ptr-deref in __do_fault+0x54/0x140
[ 7.196674] Read of size 8 at addr 0000000000000000 by task init/101
[ 7.198218]
[ 7.198758] CPU: 0 PID: 101 Comm: init Not tainted 4.17.0-rc3-00285-g40f98739 #1
[ 7.200614] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 7.202651] Call Trace:
[ 7.203374] dump_stack+0x71/0xab
[ 7.204354] kasan_report+0x155/0x350
[ 7.205316] ? __do_fault+0x54/0x140
[ 7.206346] __do_fault+0x54/0x140
[ 7.207239] __handle_mm_fault+0xb23/0x1190
[ 7.208388] handle_mm_fault+0xc0/0x100
[ 7.209373] __do_page_fault+0x27d/0x5f0
[ 7.210472] do_page_fault+0x4b/0xd0
[ 7.211396] ? async_page_fault+0x8/0x30
[ 7.212480] async_page_fault+0x1e/0x30
[ 7.213471] RIP: 0033:0x7ffd5bdf3a31
[ 7.214495] RSP: 002b:00007ffd5bcfe1a0 EFLAGS: 00010246
[ 7.215732] RAX: 000000005b31c98c RBX: 00007ffd5bcfe510 RCX: 00007ffd5bcfe23b
[ 7.217437] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00007ffd5bcfe1bc
[ 7.219142] RBP: 00007ffd5bcfe1e0 R08: 0000000000000001 R09: 00007ffd5bcfe23a
[ 7.220898] R10: 00007ffd5bcfdf80 R11: 00007f626e953900 R12: 0000000000000584
[ 7.222623] R13: 00007ffd5bcfe1bc R14: 000c8f8091000000 R15: 00000000004069e3
[ 7.224330] ==================================================================
[ 7.226199] Disabling lock debugging due to kernel taint
[ 7.227508] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[ 7.229521] PGD 17d96067 P4D 17d96067 PUD 17d94067 PMD 0
[ 7.230917] Oops: 0000 [#1] SMP KASAN
[ 7.231865] Modules linked in:
[ 7.232809] CPU: 0 PID: 101 Comm: init Tainted: G B 4.17.0-rc3-00285-g40f98739 #1
[ 7.234972] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 7.237024] RIP: 0010:__do_fault+0x54/0x140
[ 7.238043] RSP: 0000:ffff880019887d88 EFLAGS: 00010296
[ 7.239365] RAX: 0000000000000000 RBX: ffff880019887dd0 RCX: ffffffff81d085ed
[ 7.241030] RDX: 1ffffffff05c3e2a RSI: 0000000000000297 RDI: 0000000000000297
[ 7.242725] RBP: 0000000000000000 R08: fffffbfff05a2d0a R09: fffffbfff05a2d0a
[ 7.244401] R10: 0000000000000001 R11: fffffbfff05a2d09 R12: 0000000000000000
[ 7.245990] R13: ffff880019887e18 R14: ffff880017d8d690 R15: 000fffffffe00000
[ 7.247671] FS: 00007f626ee5d700(0000) GS:ffff88001aa00000(0000) knlGS:0000000000000000
[ 7.249694] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7.251118] CR2: 0000000000000000 CR3: 0000000017d95000 CR4: 00000000000006f0
[ 7.252819] Call Trace:
[ 7.253554] __handle_mm_fault+0xb23/0x1190
[ 7.254708] handle_mm_fault+0xc0/0x100
[ 7.255689] __do_page_fault+0x27d/0x5f0
[ 7.256773] do_page_fault+0x4b/0xd0
[ 7.257692] ? async_page_fault+0x8/0x30
[ 7.258792] async_page_fault+0x1e/0x30
[ 7.259771] RIP: 0033:0x7ffd5bdf3a31
[ 7.260810] RSP: 002b:00007ffd5bcfe1a0 EFLAGS: 00010246
[ 7.262056] RAX: 000000005b31c98c RBX: 00007ffd5bcfe510 RCX: 00007ffd5bcfe23b
[ 7.263719] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00007ffd5bcfe1bc
[ 7.265355] RBP: 00007ffd5bcfe1e0 R08: 0000000000000001 R09: 00007ffd5bcfe23a
[ 7.266900] R10: 00007ffd5bcfdf80 R11: 00007f626e953900 R12: 0000000000000584
[ 7.268539] R13: 00007ffd5bcfe1bc R14: 000c8f8091000000 R15: 00000000004069e3
[ 7.270020] Code: f3 fb 02 00 48 89 df ff 55 20 a9 73 1d 00 00 89 c5 75 3c 4c 8d 6b 48 4c 89 ef e8 d8 fb 02 00 4c 8b 63 48 4c 89 e7 e8 cc fb 02 00 <49> 8b 04 24 a9 00 00 40 00 75 22 f7 c5 00 02 00 00 89 e8 74 6b
[ 7.273936] RIP: __do_fault+0x54/0x140 RSP: ffff880019887d88
[ 7.274889] CR2: 0000000000000000
[ 7.275570] ---[ end trace b4f59e0e1c0763b1 ]---
[ 7.276348] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start d46f24ec786a3116456847d2899896b84973f6dc 7daf201d7fe8334e2d2364d4e8ed3394ec9af819 --
git bisect good 2e1419a42ec07dde9e5a8ff1958ca22d0555c4bf # 09:48 G 10 0 0 0 Merge 'arm-perf/cache' into devel-hourly-2018062601
git bisect good d13373524ef4175cc71c12c05687bb633ac29691 # 10:16 G 11 0 0 0 Merge 'linux-review/youling257/platform-x86-silead_dmi-Add-touchscreen-info-for-the-Onda-V891w-V3-tablet/20180617-184026' into devel-hourly-2018062601
git bisect good 88384ff22f3d4d411dd97f9dd299f3220447c261 # 10:36 G 10 0 0 0 Merge 'linux-review/Theodore-Ts-o/ext4-always-check-block-group-bounds-in-ext4_init_block_bitmap/20180614-130638' into devel-hourly-2018062601
git bisect good 41625ecd6aa5fcabd746498e46e34718222417c9 # 10:59 G 10 0 0 0 Merge 'linux-review/subhra-mazumdar/Improve-scheduler-scalability-for-fast-path/20180613-015158' into devel-hourly-2018062601
git bisect good ceb08dab270acb989beaf5eb82070ba4ee77f507 # 11:22 G 11 0 0 0 Merge 'linux-review/Christophe-Leroy/selftests-powerpc-add-test-for-32-bits-memcmp/20180612-171852' into devel-hourly-2018062601
git bisect good 7454dfd5c100ea4eb3f2e988255a030860dc958f # 11:43 G 10 0 0 0 Merge 'security/fixes-v4.18-rc2' into devel-hourly-2018062601
git bisect bad d271a3fed871823a6b37cb152170e2db53f64b14 # 11:54 B 0 6 20 0 Merge 'linux-review/Michael-Straube/staging-rtl8723bs-fix-comparsion-to-NULL-coding-style/20180626-022559' into devel-hourly-2018062601
git bisect good e2cee73868ce018bec2be588ae9713682158b61b # 12:15 G 10 0 0 0 Merge 'linux-review/Arnaldo-Carvalho-de-Melo/perf-urgent-fixes-for-4-18/20180626-025052' into devel-hourly-2018062601
git bisect bad 10e2c2e215036c93f4aebb5409e851a336f3573c # 12:30 B 0 1 15 0 Merge 'linux-review/Flavio-Leitner/net-preserve-sock-reference-when-scrubbing-the-skb/20180626-024056' into devel-hourly-2018062601
git bisect bad ce2810703fa7ac2aac55de37e3a6d6eecb2958dc # 12:49 B 0 1 15 0 Merge 'linux-review/Souptick-Joarder/x86-vdso-Change-return-type-to-vm_fault_t-for-fault-handlers/20180626-024413' into devel-hourly-2018062601
git bisect bad 40f987397fa7b7705d79648b6c10662a9c00449e # 13:03 B 0 3 17 0 x86/vdso: Change return type to vm_fault_t for fault handlers
# first bad commit: [40f987397fa7b7705d79648b6c10662a9c00449e] x86/vdso: Change return type to vm_fault_t for fault handlers
git bisect good f2173356e26c4da2ddecf9bf3d58a6a2ff56b11d # 13:43 G 30 0 0 0 x86/vdso: Remove unused file
# extra tests with debug options
git bisect bad 40f987397fa7b7705d79648b6c10662a9c00449e # 13:59 B 0 2 16 0 x86/vdso: Change return type to vm_fault_t for fault handlers
# extra tests on HEAD of linux-devel/devel-hourly-2018062601
git bisect bad d46f24ec786a3116456847d2899896b84973f6dc # 14:04 B 0 29 47 0 0day head guard for 'devel-hourly-2018062601'
# extra tests on tree/branch linux-review/Souptick-Joarder/x86-vdso-Change-return-type-to-vm_fault_t-for-fault-handlers/20180626-024413
git bisect bad 40f987397fa7b7705d79648b6c10662a9c00449e # 14:15 B 0 11 26 0 x86/vdso: Change return type to vm_fault_t for fault handlers
# extra tests with first bad commit reverted
git bisect good 6f5ba25498a08fd3897e6c795bcbc257df706534 # 14:46 G 10 0 0 0 Revert "x86/vdso: Change return type to vm_fault_t for fault handlers"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[lkp-robot] e726835ae8 [ 0.664636] BUG: spinlock bad magic on CPU#0, swapper/1
by Li, Philip
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Hari-Vyas/PCI-Data-corruption-ha...
commit e726835ae893c8cd11f00bec2fdb6cccce2c71db
Author: Hari Vyas <hari.vyas(a)broadcom.com>
AuthorDate: Mon Jun 25 15:40:46 2018 +0530
Commit: 0day robot <lkp(a)intel.com>
CommitDate: Mon Jun 25 18:28:49 2018 +0800
PCI: Data corruption happening due to race condition
When a pci device is detected, a variable is_added is set to
1 in pci device structure and proc, sys entries are created.
When a pci device is removed, first is_added is checked for one
and then device is detached with clearing of proc and sys
entries and at end, is_added is set to 0.
is_added and is_busmaster are bit fields in pci_dev structure
sharing same memory location.
A strange issue was observed with multiple times removal and
rescan of a pcie nvme device using sysfs commands where is_added
flag was observed as zero instead of one while removing device
and proc,sys entries are not cleared. This causes issue in
later device addition with warning message "proc_dir_entry"
already registered.
Debugging revealed a race condition between pcie core driver
enabling is_added bit(pci_bus_add_device()) and nvme driver
reset work-queue enabling is_busmaster bit (by pci_set_master()).
As both fields are not handled in atomic manner and that clears
is_added bit.
Fix protects is_added and is_busmaster bits updation by a spin
locking mechanism.
Signed-off-by: Hari Vyas <hari.vyas(a)broadcom.com>
Reviewed-by: Ray Jui <ray.jui(a)broadcom.com>
ce397d215c Linux 4.18-rc1
e726835ae8 PCI: Data corruption happening due to race condition
+-------------------------------+-----------+------------+
| | v4.18-rc1 | e726835ae8 |
+-------------------------------+-----------+------------+
| boot_successes | 39 | 0 |
| boot_failures | 1 | 13 |
| Mem-Info | 1 | |
| BUG:spinlock_bad_magic_on_CPU | 0 | 13 |
+-------------------------------+-----------+------------+
[ 0.604742] pci 0000:00:0a.0: reg 0x14: [mem 0xfebf7000-0xfebf7fff]
[ 0.630031] pci 0000:00:0a.0: reg 0x20: [mem 0xfe018000-0xfe01bfff 64bit pref]
[ 0.641193] pci 0000:00:0b.0: [8086:25ab] type 00 class 0x088000
[ 0.645444] pci 0000:00:0b.0: reg 0x10: [mem 0xfebf8000-0xfebf800f]
[ 0.663939] pci_bus 0000:00: on NUMA node 0
[ 0.664636] BUG: spinlock bad magic on CPU#0, swapper/1
[ 0.665478] lock: 0xffff88001a129ee0, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[ 0.666771] CPU: 0 PID: 1 Comm: swapper Tainted: G T 4.18.0-rc1-00001-ge726835 #1
[ 0.668157] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 0.669560] Call Trace:
[ 0.669983] ? do_raw_spin_lock+0x4d/0x158
[ 0.670000] ? _raw_spin_lock_irqsave+0x2c/0x35
[ 0.670000] ? pci_bus_add_device+0xae/0xf0
[ 0.670000] ? pci_bus_add_devices+0x6c/0x123
[ 0.670000] ? acpi_pci_root_add+0x86f/0x8b6
[ 0.670000] ? acpi_pci_osc_control_set+0x44d/0x44d
[ 0.670000] ? acpi_bus_get_status_handle+0x15/0x48
[ 0.670000] ? acpi_bus_get_status+0x12b/0x191
[ 0.670000] ? acpi_scan_match_handler+0xa3/0x11c
[ 0.670000] ? acpi_bus_attach+0x330/0x5e2
[ 0.670000] ? acpi_generic_device_attach+0x40/0x40
[ 0.670000] ? mutex_unlock+0x17/0x32
[ 0.670000] ? __device_attach+0x15f/0x18a
[ 0.670000] ? device_bind_driver+0x92/0x92
[ 0.670000] ? acpi_scan_match_handler+0xa3/0x11c
[ 0.670000] ? acpi_bus_attach+0x488/0x5e2
[ 0.670000] ? acpi_generic_device_attach+0x40/0x40
[ 0.670000] ? mutex_unlock+0x17/0x32
[ 0.670000] ? __device_attach+0x15f/0x18a
[ 0.670000] ? device_bind_driver+0x92/0x92
[ 0.670000] ? acpi_scan_match_handler+0xa3/0x11c
[ 0.670000] ? acpi_bus_attach+0x488/0x5e2
[ 0.670000] ? acpi_generic_device_attach+0x40/0x40
[ 0.670000] ? _raw_spin_lock_irqsave+0x2c/0x35
[ 0.670000] ? _raw_spin_unlock_irqrestore+0x2b/0x33
[ 0.670000] ? acpi_os_signal_semaphore+0x23/0x2c
[ 0.670000] ? acpi_ut_release_read_lock+0xcb/0xd3
[ 0.670000] ? acpi_walk_namespace+0xb1/0xc6
[ 0.670000] ? acpi_bus_scan+0x9c/0xc2
[ 0.670000] ? acpi_bus_check_add+0x375/0x375
[ 0.670000] ? acpi_get_table+0x15f/0x177
[ 0.670000] ? acpi_scan_init+0x2f7/0x811
[ 0.670000] ? pci_mmconfig_add+0xc6/0xc6
[ 0.670000] ? acpi_match_madt+0x14e/0x14e
[ 0.670000] ? sfi_acpi_table_show+0x12b/0x12b
[ 0.670000] ? acpi_init+0x83e/0x8e4
[ 0.670000] ? acpi_sleep_init+0x456/0x456
[ 0.670000] ? add_device_randomness+0x2d7/0x304
[ 0.670000] ? scan_for_dmi_ipmi+0x3eb/0x41b
[ 0.670000] ? acpi_sleep_init+0x456/0x456
[ 0.670000] ? do_one_initcall+0x110/0x28a
[ 0.670000] ? perf_trace_initcall_level+0x2d5/0x2d5
[ 0.670000] ? __wake_up_common+0x1ee/0x27c
[ 0.670000] ? register_handler_proc+0x2c4/0x2c4
[ 0.670000] ? ___might_sleep+0x67/0x26a
[ 0.670000] ? kernel_init_freeable+0x3a5/0x518
[ 0.670000] ? rest_init+0xbc/0xbc
[ 0.670000] ? kernel_init+0x7/0xfe
[ 0.670000] ? rest_init+0xbc/0xbc
[ 0.670000] ? ret_from_fork+0x3a/0x50
[ 0.671372] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.672632] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.673871] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.675228] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.676306] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 2039854110027349998d40082a1eaf01f0c5b348 7daf201d7fe8334e2d2364d4e8ed3394ec9af819 --
git bisect bad 0694df9ae9103707e3b9fd7262445530f04378ef # 06:11 B 0 1 15 0 Merge 'linux-review/Willem-de-Bruijn/ip-limit-use-of-gso_size-to-udp/20180620-025314' into devel-hourly-2018062521
git bisect bad 18b56e503527059dcc6d8e1615c3cb1a7a3ca0a6 # 06:42 B 0 2 16 0 Merge 'linux-review/Antoine-Tenart/net-mvneta-fix-the-Rx-desc-DMA-address-in-the-Rx-path/20180622-164934' into devel-hourly-2018062521
git bisect bad 313d792c984fb6d60380b6e90283831ad19b723b # 06:56 B 0 1 15 0 Merge 'linux-review/Nikolay-Borisov/btrfs-Remove-V0-extent-support/20180625-173612' into devel-hourly-2018062521
git bisect good 118457e42c0f1b48ee40fa4baa2501545178460f # 07:11 G 11 0 0 0 Merge 'linux-review/Kirill-A-Shutemov/x86-efi-Fix-efi_call_phys_epilog-with-CONFIG_X86_5LEVEL-y/20180625-201712' into devel-hourly-2018062521
git bisect good 785d7204ea4db8869344b1382da203c5fb4efdad # 07:32 G 11 0 0 0 Merge 'linux-review/Stefan-Berger/Have-IMA-find-and-use-a-tpm_chip-until-system-shutdown/20180625-185135' into devel-hourly-2018062521
git bisect bad 0d0f1d262903bd1ebeaa636eb60743e81c453d6c # 07:45 B 0 6 20 0 Merge 'linux-review/Andrea-Merello/dmaengine-xilinx_dma-in-axidma-slave_sg-and-dma_cylic-mode-align-split-descriptors/20180625-180747' into devel-hourly-2018062521
git bisect good 08c1eb706a196c8d3205dacaed23c96987b6e092 # 08:01 G 11 0 0 0 Merge 'linux-review/Waiman-Long/cpuset-Enable-cpuset-controller-in-default-hierarchy/20180624-154432' into devel-hourly-2018062521
git bisect good 399d29b3385bb42194c01d039cfe843915abf0a3 # 08:15 G 11 0 0 0 Merge 'linux-review/Jan-Beulich/ix86-entry-add-instruction-suffix/20180625-183201' into devel-hourly-2018062521
git bisect good 0d87d0a651dc67a22bdf960e7b827f6a76cccb3b # 08:31 G 11 0 0 0 Merge 'linux-review/Fabio-Estevam/net-phy-fixed-phy-Make-the-error-path-simpler/20180624-083006' into devel-hourly-2018062521
git bisect good 72a39bee4af3daa2ec2d4082ff3d05dad52e1c64 # 08:47 G 11 0 0 0 Merge 'linux-review/Andrey-Ryabinin/x86-mm-don-t-free-p4d-table-when-it-is-folded-at-runtime/20180625-183234' into devel-hourly-2018062521
git bisect bad a050c1835eed629a50a58c01e3dcf214dfed8e41 # 08:57 B 0 3 17 0 Merge 'linux-review/Hari-Vyas/PCI-Data-corruption-happening-due-to-race-condition/20180625-182845' into devel-hourly-2018062521
git bisect bad e726835ae893c8cd11f00bec2fdb6cccce2c71db # 09:14 B 0 7 21 0 PCI: Data corruption happening due to race condition
# first bad commit: [e726835ae893c8cd11f00bec2fdb6cccce2c71db] PCI: Data corruption happening due to race condition
git bisect good ce397d215ccd07b8ae3f71db689aedb85d56ab40 # 09:20 G 33 0 1 1 Linux 4.18-rc1
# extra tests with debug options
git bisect bad e726835ae893c8cd11f00bec2fdb6cccce2c71db # 09:30 B 0 1 15 0 PCI: Data corruption happening due to race condition
# extra tests on HEAD of linux-devel/devel-hourly-2018062521
git bisect bad 2039854110027349998d40082a1eaf01f0c5b348 # 09:35 B 0 35 52 0 0day head guard for 'devel-hourly-2018062521'
# extra tests on tree/branch linux-review/Hari-Vyas/PCI-Data-corruption-happening-due-to-race-condition/20180625-182845
git bisect bad e726835ae893c8cd11f00bec2fdb6cccce2c71db # 09:55 B 0 13 27 0 PCI: Data corruption happening due to race condition
# extra tests with first bad commit reverted
git bisect good 8df2465a918b5895b06683ad7fcc30226f6fdae7 # 10:11 G 11 0 0 0 Revert "PCI: Data corruption happening due to race condition"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
Re: [LKP] [lkp-robot] 173fb50cb6 [ 15.588995] WARNING: suspicious RCU usage
by Paul E. McKenney
On Tue, Jun 26, 2018 at 02:53:06PM -0700, Joel Fernandes wrote:
> On Tue, Jun 26, 2018 at 03:53:49PM +0800, kernel test robot wrote:
> >
> > Greetings,
> >
> > 0day kernel testing robot got the below dmesg and the first bad commit is
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> >
> > commit 173fb50cb6e99b86f5c67a0220a8b1a75f5c1f67
> > Author: Joel Fernandes (Google) <joel(a)joelfernandes.org>
> > AuthorDate: Sun Jun 10 16:45:44 2018 -0700
> > Commit: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
> > CommitDate: Wed Jun 20 07:44:37 2018 -0700
> >
> > rcutorture: Make boost test more robust
> > Currently, with RCU_BOOST disabled, I get no failures when forcing
> > rcutorture to test RCU boost priority inversion. The reason seems to be
> > that we don't check for failures if the callback never ran at all for
> > the duration of the boost-test loop.
> > Further, the 'rtb' and 'rtbf' counters seem to be used inconsistently.
> > 'rtb' is incremented at the start of each test and 'rtbf' is incremented
> > per-cpu on each failure of call_rcu. So its possible 'rtbf' > 'rtb'.
> > To test the boost with rcutorture, I did following on a 4-CPU x86 machine:
> > modprobe rcutorture test_boost=2
> > sleep 20
> > rmmod rcutorture
> > With patch:
> > rtbf: 8 rtb: 12
> > Without patch:
> > rtbf: 0 rtb: 2
> > In summary this patch:
> > - Increments failed and total test counters once per boost-test.
> > - Checks for failure cases correctly.
> > Signed-off-by: Joel Fernandes (Google) <joel(a)joelfernandes.org>
> > Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
>
> This -next tree seems to be missing this patch:
>
> 7e9736664ada rcu: Assign higher prio to RCU threads if rcutorture is built-in
>
> Paul's rcu/next tree already has this patch. I think this reported issue will
> go away once Paul's rcu/next tree is pulled.
Which is updated again, so hopefully this should be taken care of. ;-)
Thanx, Paul
3 years, 10 months
[lkp-robot] [bisect done] ca90800a91 [ 1.761734] WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4061 __alloc_pages_nodemask
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 ca90800a91ba723d78ded634d037c1d2df8b54d6
Author: Kees Cook <keescook(a)chromium.org>
AuthorDate: Thu May 10 16:40:03 2018 -0700
Commit: Kees Cook <keescook(a)chromium.org>
CommitDate: Tue Jun 5 12:16:51 2018 -0700
test_overflow: Add memory allocation overflow tests
Make sure that the memory allocators are behaving as expected in the face
of overflows of multiplied arguments or when using the array_size()-family
helpers.
Example output of new tests (with the expected __alloc_pages_slowpath
and vmalloc warnings about refusing giant allocations removed):
[ 93.062076] test_overflow: kmalloc detected saturation
[ 93.062988] test_overflow: kmalloc_node detected saturation
[ 93.063818] test_overflow: kzalloc detected saturation
[ 93.064539] test_overflow: kzalloc_node detected saturation
[ 93.120386] test_overflow: kvmalloc detected saturation
[ 93.143458] test_overflow: kvmalloc_node detected saturation
[ 93.166861] test_overflow: kvzalloc detected saturation
[ 93.189924] test_overflow: kvzalloc_node detected saturation
[ 93.221671] test_overflow: vmalloc detected saturation
[ 93.246326] test_overflow: vmalloc_node detected saturation
[ 93.270260] test_overflow: vzalloc detected saturation
[ 93.293824] test_overflow: vzalloc_node detected saturation
[ 93.294597] test_overflow: devm_kmalloc detected saturation
[ 93.295383] test_overflow: devm_kzalloc detected saturation
[ 93.296217] test_overflow: all tests passed
Signed-off-by: Kees Cook <keescook(a)chromium.org>
610b15c50e overflow.h: Add allocation size calculation helpers
ca90800a91 test_overflow: Add memory allocation overflow tests
35773c9381 Merge branch 'afs-proc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
4b373f94fe Add linux-next specific files for 20180615
+----------------------------------------------------+------------+------------+------------+---------------+
| | 610b15c50e | ca90800a91 | 35773c9381 | next-20180615 |
+----------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 57 | 0 | 0 | 0 |
| boot_failures | 0 | 37 | 19 | 50 |
| WARNING:at_mm/page_alloc.c:#__alloc_pages_nodemask | 0 | 37 | 19 | 50 |
| EIP:__alloc_pages_nodemask | 0 | 37 | 19 | 50 |
| Mem-Info | 0 | 37 | 19 | 50 |
+----------------------------------------------------+------------+------------+------------+---------------+
[ 1.756827] test_overflow: s8 : 19 tests
[ 1.757722] test_overflow: u16: 17 tests
[ 1.758673] test_overflow: s16: 17 tests
[ 1.759738] test_overflow: u32: 17 tests
[ 1.760677] test_overflow: s32: 17 tests
[ 1.761734] WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4061 __alloc_pages_nodemask+0x172/0xa40
[ 1.764050] Modules linked in:
[ 1.764815] CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc4-00006-gca90800 #108
[ 1.765046] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 1.765046] EIP: __alloc_pages_nodemask+0x172/0xa40
[ 1.765046] EFLAGS: 00210246 CPU: 0
[ 1.765046] EAX: 00200140 EBX: 00000000 ECX: 00000000 EDX: c0039e14
[ 1.765046] ESI: c0039e14 EDI: 00000000 EBP: c0039e5c ESP: c0039dd4
[ 1.765046] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 1.765046] CR0: 80050033 CR2: 00000000 CR3: 13ce6000 CR4: 000006b0
[ 1.765046] Call Trace:
[ 1.765046] kmalloc_order+0x13/0x30
[ 1.765046] __kmalloc+0x2f/0x140
[ 1.765046] test_module_init+0x1128/0x1ab0
[ 1.765046] ? vprintk_emit+0x3a2/0x400
[ 1.765046] ? vprintk_default+0x12/0x20
[ 1.765046] ? vprintk_func+0x55/0x60
[ 1.765046] ? printk+0xe/0x10
[ 1.765046] ? string_selftest_init+0x2a1/0x2a1
[ 1.765046] do_one_initcall+0x65/0x148
[ 1.765046] ? do_early_param+0x75/0x75
[ 1.765046] kernel_init_freeable+0xdf/0x16a
[ 1.765046] ? rest_init+0xc0/0xc0
[ 1.765046] kernel_init+0x8/0xe0
[ 1.765046] ret_from_fork+0x19/0x24
[ 1.765046] Code: 89 f6 8d bc 27 00 00 00 00 39 5d bc c6 45 cc 00 74 07 89 5d bc 8d 74 26 00 83 7d b0 0a 76 1a 81 e7 00 02 00 00 0f 85 ae 08 00 00 <0f> 0b e9 a7 08 00 00 8d b4 26 00 00 00 00 89 f8 25 00 00 48 00
[ 1.765046] ---[ end trace ed0d4aa536181e08 ]---
[ 1.792892] test_overflow: kmalloc detected saturation
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 3e592428c3e9499beb29b6d32c897cefdb78736e 29dcea88779c856c7dc92040a0c01233263101d4 --
git bisect bad 28433e0629539b932e1e92e034a52d41a99946db # 01:52 B 0 3 17 0 Merge 'linux-review/Bart-Van-Assche/btrfs-Fix-a-C-compliance-issue/20180616-064505' into devel-spot-201806170104
git bisect bad 0c165328cd075dfd6a7f3a0ebb936f6a6d4e19eb # 02:10 B 0 3 17 0 Merge 'linux-review/Nicholas-Mc-Guire/MIPS-Octeon-assign-bool-true-false-not-1-0/20180616-153047' into devel-spot-201806170104
git bisect bad 3ef1cb6222d11fa39e73582183e272bf79ce308d # 02:25 B 0 11 40 15 Merge 'rcu/rcu/dev' into devel-spot-201806170104
git bisect bad c1676433a88101f37352f4e226690ca5e40f0daf # 02:40 B 0 3 31 14 Merge 'l1k/pciehp_runpm_v2' into devel-spot-201806170104
git bisect good db5af21ace0378d0a63ae0fc047519391d25d58b # 02:50 G 11 0 0 0 0day base guard for 'devel-spot-201806170104'
git bisect bad 3d65675feaa6336996694ae20c49d54aa663237f # 02:55 B 0 1 19 4 Merge 'hch-block/kill-bio_clone_kmalloc' into devel-spot-201806170104
git bisect bad 1c8c5a9d38f607c0b6fd12c91cbe1a4418762a21 # 03:09 B 0 5 19 0 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 135c5504a600ff9b06e321694fbcac78a9530cd4 # 03:20 G 11 0 1 1 Merge tag 'drm-next-2018-06-06-1' of git://anongit.freedesktop.org/drm/drm
git bisect good ffbc9197b4721634dc6c0fefa9b31e565fa89cee # 03:26 G 11 0 11 22 wcn36xx: improve debug and error messages for SMD
git bisect good fd129f8941cf2309def29b5c8a23b62faff0c9d0 # 03:38 G 11 0 1 1 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
git bisect good d4d5a1cd298e67cb68cca8dc7dd1ea3942cce3ff # 03:48 G 11 0 0 2 Merge tag 'asoc-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
git bisect good 311da4975894aab7a4bb94aa83f38f052d7ffda4 # 03:54 G 11 0 0 0 Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
git bisect good d75ae5bdf2353e5c6a1f83da5f6f2d31582f09a3 # 04:08 G 11 0 0 1 Merge tag 'printk-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk
git bisect good 8b5c6a3a49d9ebc7dc288870b9c56c4f946035d8 # 04:14 G 11 0 0 0 Merge tag 'audit-pr-20180605' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
git bisect good 5eb6eed7e0fe880dc8de8da203cc888716bbf196 # 04:19 G 11 0 0 0 Merge tag 'trace-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
git bisect bad 285767604576148fc1be7fcd112e4a90eb0d6ad2 # 04:25 B 0 2 19 3 Merge tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect bad ca90800a91ba723d78ded634d037c1d2df8b54d6 # 04:35 B 0 3 28 11 test_overflow: Add memory allocation overflow tests
git bisect good 6d3344324b5ae49fc8cb599a2c687e5607ba6e9f # 04:44 G 11 0 0 0 test_overflow: macrofy some more, do more tests for free
git bisect good 610b15c50e86eb1e4b77274fabcaea29ac72d6a8 # 04:49 G 11 0 0 0 overflow.h: Add allocation size calculation helpers
# first bad commit: [ca90800a91ba723d78ded634d037c1d2df8b54d6] test_overflow: Add memory allocation overflow tests
git bisect good 610b15c50e86eb1e4b77274fabcaea29ac72d6a8 # 04:52 G 31 0 0 0 overflow.h: Add allocation size calculation helpers
# extra tests with debug options
git bisect bad ca90800a91ba723d78ded634d037c1d2df8b54d6 # 04:58 B 0 4 20 2 test_overflow: Add memory allocation overflow tests
# extra tests on HEAD of linux-devel/devel-spot-201806170104
git bisect bad 3e592428c3e9499beb29b6d32c897cefdb78736e # 05:03 B 0 15 32 0 0day head guard for 'devel-spot-201806170104'
# extra tests on tree/branch linus/master
git bisect bad 35773c93817c5f2df264d013978e7551056a063a # 05:12 B 0 1 15 0 Merge branch 'afs-proc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
# extra tests on tree/branch linux-next/master
git bisect bad 4b373f94fee5acf2ff4c1efbb3f702060379df1f # 05:25 B 0 4 29 11 Add linux-next specific files for 20180615
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[lkp-robot] [bisect done] ace45bec6d [ 52.056290] EIP: lock_release
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 ace45bec6d77bc061c3c3d8ad99e298ea9800c2b
Author: David Howells <dhowells(a)redhat.com>
AuthorDate: Fri Mar 30 21:04:43 2018 +0100
Commit: David Howells <dhowells(a)redhat.com>
CommitDate: Fri Mar 30 21:04:43 2018 +0100
rxrpc: Fix firewall route keepalive
Fix the firewall route keepalive part of AF_RXRPC which is currently
function incorrectly by replying to VERSION REPLY packets from the server
with VERSION REQUEST packets.
Instead, send VERSION REPLY packets to the peers of service connections to
act as keep-alives 20s after the latest packet was transmitted to that
peer.
Also, just discard VERSION REPLY packets rather than replying to them.
Signed-off-by: David Howells <dhowells(a)redhat.com>
c0b6edef0b tc-testing: Add newline when writing test case files
ace45bec6d rxrpc: Fix firewall route keepalive
+------------------------------------------------+------------+------------+
| | c0b6edef0b | ace45bec6d |
+------------------------------------------------+------------+------------+
| boot_successes | 950 | 59 |
| boot_failures | 1 | 63 |
| BUG:workqueue_lockup-pool | 1 | 2 |
| EIP:lock_acquire | 0 | 29 |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 61 |
| BUG:soft_lockup-CPU##stuck_for#s | 0 | 53 |
| EIP:_raw_spin_unlock_bh | 0 | 4 |
| EIP:rxrpc_peer_keepalive_worker | 0 | 4 |
| EIP:lock_release | 0 | 18 |
| EIP:_raw_spin_lock_bh | 0 | 2 |
| EIP:do_softirq | 0 | 1 |
| EIP:do_raw_spin_unlock | 0 | 2 |
| EIP:__local_bh_enable_ip | 0 | 1 |
+------------------------------------------------+------------+------------+
[child2:792] inotify_rm_watch (293) returned ENOSYS, marking as inactive.
[child2:792] readahead (225) returned ENOSYS, marking as inactive.
[child2:792] tee (315) returned ENOSYS, marking as inactive.
[child2:792] move_pages (317) returned ENOSYS, marking as inactive.
[child2:792] openat (295) returned ENOSYS, marking as inactive.
[ 52.053972] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 52.055347] Workqueue: krxrpcd rxrpc_peer_keepalive_worker
[ 52.056290] EIP: lock_release+0xfc/0x1a0
[ 52.057003] EFLAGS: 00000286 CPU: 0
[ 52.057632] EAX: 00000246 EBX: 8017a200 ECX: de027eed EDX: 00000000
[ 52.058707] ESI: 00000246 EDI: 8f0eb19c EBP: 00000002 ESP: 8017feac
[ 52.059755] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 52.060650] CR0: 80050033 CR2: 77db8618 CR3: 0eff0000 CR4: 00000690
[ 52.061622] DR0: 767b4000 DR1: 76bc6000 DR2: 00000000 DR3: 00000000
[ 52.062695] DR6: ffff0ff0 DR7: 00000600
[ 52.063372] Call Trace:
[ 52.063823] ? _raw_spin_unlock_bh+0x14/0x30
[ 52.064533] ? rxrpc_peer_keepalive_worker+0x3b5/0x460
[ 52.065396] ? process_one_work+0x165/0x340
[ 52.066105] ? process_one_work+0x119/0x340
[ 52.066823] ? worker_thread+0x31/0x3a0
[ 52.067481] ? kthread+0xd8/0x110
[ 52.068058] ? process_one_work+0x340/0x340
[ 52.068798] ? __kthread_bind_mask+0x30/0x30
[ 52.069705] ? ret_from_fork+0x19/0x30
[ 52.070365] Code: 00 0f 85 88 00 00 00 a1 a0 24 da 88 e8 7e db ff ff a1 a0 24 da 88 c7 80 8c 08 00 00 00 00 00 00 89 f0 50 9d 8d 74 26 00 83 c4 08 <5b> 5e 5f 5d c3 8d b4 26 00 00 00 00 e8 73 10 4b 00 85 c0 74 1f
[ 52.073529] Kernel panic - not syncing: softlockup: hung tasks
[ 52.074515] CPU: 0 PID: 16 Comm: kworker/0:1 Tainted: G S L 4.16.0-rc6-02064-gace45be #373
[ 52.076145] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 52.077552] Workqueue: krxrpcd rxrpc_peer_keepalive_worker
[ 52.078463] Call Trace:
[ 52.078896] ? panic+0x85/0x1a8
[ 52.079455] ? watchdog_timer_fn+0x1b7/0x1c0
[ 52.080205] ? watchdog+0x20/0x20
[ 52.080764] ? __hrtimer_run_queues+0xea/0x180
[ 52.081716] ? hrtimer_interrupt+0xf9/0x2b0
[ 52.082450] ? smp_apic_timer_interrupt+0x3b/0x70
[ 52.083299] ? apic_timer_interrupt+0x34/0x40
[ 52.084067] ? lock_release+0xfc/0x1a0
[ 52.084686] ? _raw_spin_unlock_bh+0x14/0x30
[ 52.085406] ? rxrpc_peer_keepalive_worker+0x3b5/0x460
[ 52.086269] ? process_one_work+0x165/0x340
[ 52.086959] ? process_one_work+0x119/0x340
[ 52.087698] ? worker_thread+0x31/0x3a0
[ 52.088385] ? kthread+0xd8/0x110
[ 52.088999] ? process_one_work+0x340/0x340
[ 52.089734] ? __kthread_bind_mask+0x30/0x30
[ 52.090567] ? ret_from_fork+0x19/0x30
[ 52.091261] Kernel Offset: 0x5e00000 from 0x81000000 (relocation range: 0x80000000-0x92fdffff)
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 32a50fabb334b2f0725de84bf248bd8c24c22b05 v4.16 --
git bisect bad 3be4aaf4e2d3eb95cce7835e8df797ae65ae5ac1 # 20:27 B 0 1 14 0 Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
git bisect bad 4a1e00524cbdd38567e36f9c54a0444deebd864a # 20:42 B 3 1 2 11 Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
git bisect bad 5b1f3dc927a2681cb339b05156f828f83bfa1b80 # 20:42 B 8 5 0 9 Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good f2d285669aae656dfeafa0bf25e86bbbc5d22329 # 22:14 G 75 0 2 2 Merge tag 'pm-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect bad 3b24b83763e72a6c1e728100104fd99aa83a7b3b # 22:14 B 7 7 0 13 Merge tag 'kbuild-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
git bisect good 77624cd2a7783fccf2c518768a6fd7a7aeccd002 # 23:13 G 75 0 2 3 Merge tag 'pinctrl-v4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect good bb2407a7219760926760f0448fddf00d625e5aec # 23:38 G 75 0 0 4 Merge tag 'docs-4.17' of git://git.lwn.net/linux
git bisect bad 4608f064532c28c0ea3c03fe26a3a5909852811a # 23:38 B 16 3 0 8 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next
git bisect bad 5bb053bef82523a8fd78d650bca81c9f114fa276 # 23:38 B 17 8 0 14 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 489b30b53f0540b9f8e391cbb2839cea48b5d1c1 # 00:14 G 75 0 0 3 net: Convert l2tp_net_ops
git bisect good 038d49baab571800e3077b9d322a004f95c8aa8f # 01:24 G 75 0 0 4 Merge branch 'Introduce-net_rwsem-to-protect-net_namespace_list'
git bisect good d162190bded8b3f635d1ba1e27e63d1b4a720ba8 # 02:55 G 75 0 1 5 Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next
git bisect bad 70ae7222c61d4f19c844c8fe75f053f8976b9552 # 02:55 B 13 7 0 7 Merge branch 'inet-frags-bring-rhashtables-to-IP-defrag'
git bisect bad e2e80c027f5adab3cc44c3d07c4484291384d278 # 02:55 B 9 6 0 12 Merge tag 'rxrpc-next-20180330' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
git bisect bad 17226f1240381812c3a4927dc9da2814fb71c8ac # 02:55 B 10 5 0 12 rxrpc: Fix leak of rxrpc_peer objects
git bisect good 6f14f49ce5eb00f533133df06c663fbaea13cd50 # 04:50 G 75 0 0 2 Merge branch 'ieee802154-for-davem-2018-03-29' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next
git bisect bad 59299aa1028fce051adbd25aaff7c387b865cd6d # 04:50 B 33 12 0 34 rxrpc: Fix resend event time calculation
git bisect bad ace45bec6d77bc061c3c3d8ad99e298ea9800c2b # 04:50 B 26 18 0 47 rxrpc: Fix firewall route keepalive
git bisect good c0b6edef0bf0e33c12eaf80c676ff09def011518 # 04:51 G 237 0 0 10 tc-testing: Add newline when writing test case files
# first bad commit: [ace45bec6d77bc061c3c3d8ad99e298ea9800c2b] rxrpc: Fix firewall route keepalive
git bisect good c0b6edef0bf0e33c12eaf80c676ff09def011518 # 04:51 G 237 0 0 10 tc-testing: Add newline when writing test case files
# extra tests on HEAD of open-channel-ssd/for-4.19/null_blkv2
git bisect bad 2082efcaf988e3500070685a4a7b94b24f98d1a1 # 04:51 B 7 3 0 4 null_blk: add zone support
# extra tests on tree/branch linus/master
# extra tests on tree/branch linux-next/master
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[lkp-robot] [bisect done] 9599f1b321 [ 242.656062] INFO: task swapper:1 blocked for more than 120 seconds.
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Thomas-Hellstrom/locking-WW-mute...
commit 9599f1b321cea599a6691756dbc4f421913df7ea
Author: Thomas Hellstrom <thellstrom(a)vmware.com>
AuthorDate: Fri Jun 15 14:08:27 2018 +0200
Commit: 0day robot <lkp(a)intel.com>
CommitDate: Fri Jun 15 20:36:05 2018 +0800
locking: Implement an algorithm choice for Wound-Wait mutexes
The current Wound-Wait mutex algorithm is actually not Wound-Wait but
Wait-Die. Implement also Wound-Wait as a per-ww-class choice. Wound-Wait
is, contrary to Wait-Die a preemptive algorithm and is known to generate
fewer backoffs. Testing reveals that this is true if the
number of simultaneous contending transactions is small.
As the number of simultaneous contending threads increases, Wait-Wound
becomes inferior to Wait-Die in terms of elapsed time.
Possibly due to the larger number of held locks of sleeping transactions.
Update documentation and callers.
Timings using git://people.freedesktop.org/~thomash/ww_mutex_test
tag patch-18-06-15
Each thread runs 100000 batches of lock / unlock 800 ww mutexes randomly
chosen out of 100000. Four core Intel x86_64:
Algorithm #threads Rollbacks time
Wound-Wait 4 ~100 ~17s.
Wait-Die 4 ~150000 ~19s.
Wound-Wait 16 ~360000 ~109s.
Wait-Die 16 ~450000 ~82s.
Cc: Ingo Molnar <mingo(a)redhat.com>
Cc: Jonathan Corbet <corbet(a)lwn.net>
Cc: Gustavo Padovan <gustavo(a)padovan.org>
Cc: Maarten Lankhorst <maarten.lankhorst(a)linux.intel.com>
Cc: Sean Paul <seanpaul(a)chromium.org>
Cc: David Airlie <airlied(a)linux.ie>
Cc: Davidlohr Bueso <dave(a)stgolabs.net>
Cc: "Paul E. McKenney" <paulmck(a)linux.vnet.ibm.com>
Cc: Josh Triplett <josh(a)joshtriplett.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Kate Stewart <kstewart(a)linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne(a)nexb.com>
Cc: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Cc: linux-doc(a)vger.kernel.org
Cc: linux-media(a)vger.kernel.org
Cc: linaro-mm-sig(a)lists.linaro.org
Co-authored-by: Peter Zijlstra <peterz(a)infradead.org>
Signed-off-by: Thomas Hellstrom <thellstrom(a)vmware.com>
6a646144fe locking: WW mutex cleanup
9599f1b321 locking: Implement an algorithm choice for Wound-Wait mutexes
+--------------------------------------------------+------------+------------+
| | 6a646144fe | 9599f1b321 |
+--------------------------------------------------+------------+------------+
| boot_successes | 35 | 0 |
| boot_failures | 0 | 15 |
| INFO:task_blocked_for_more_than#seconds | 0 | 15 |
| Kernel_panic-not_syncing:hung_task:blocked_tasks | 0 | 11 |
+--------------------------------------------------+------------+------------+
[ 1.376285] tsc: Refined TSC clocksource calibration: 2593.988 MHz
[ 1.376754] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x25640cb3a67, max_idle_ns: 440795258696 ns
[ 60.429646] Writes: Total: 40269727 Max/Min: 0/0 Fail: 0
[ 121.824142] Writes: Total: 81058271 Max/Min: 0/0 Fail: 0
[ 183.264080] Writes: Total: 121270076 Max/Min: 0/0 Fail: 0
[ 242.656062] INFO: task swapper:1 blocked for more than 120 seconds.
[ 242.657742] Not tainted 4.17.0-rc6-00258-g9599f1b #1
[ 242.658147] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 242.658750] swapper D 0 1 0 0x80000000
[ 242.659524] Call Trace:
[ 242.659742] ? __schedule+0xa80/0xb0e
[ 242.660076] ? ret_from_fork+0x1f/0x30
[ 242.660410] schedule+0x2c/0x5c
[ 242.660798] schedule_timeout+0x2a/0x26c
[ 242.661341] wait_for_common+0x113/0x206
[ 242.661778] ? do_sched_yield+0xa9/0xa9
[ 242.662170] flush_work+0x285/0x2b6
[ 242.662415] ? flush_workqueue_prep_pwqs+0x191/0x191
[ 242.662761] __test_mutex+0x341/0x373
[ 242.663023] ? torture_rwlock_read_delay+0x46/0x46
[ 242.663362] test_ww_mutex_init+0x53/0x675
[ 242.663705] ? lock_torture_init+0x27/0x27
[ 242.664022] do_one_initcall+0x88/0x1a8
[ 242.664294] kernel_init_freeable+0x1bd/0x24c
[ 242.664597] ? rest_init+0x119/0x119
[ 242.664847] kernel_init+0xa/0xeb
[ 242.665084] ret_from_fork+0x1f/0x30
[ 242.665334]
[ 242.665334] Showing all locks held in the system:
[ 242.665764] 2 locks held by khungtaskd/9:
[ 242.666046] #0: (ptrval) (rcu_read_lock){....}, at: watchdog+0x94/0x3e4
[ 242.666557] #1: (ptrval) (rcu_read_lock){....}, at: debug_show_all_locks+0x14/0xf6
[ 242.667328] 3 locks held by kworker/0:1/14:
[ 242.667778] #0: (ptrval) ((wq_completion)"events"){....}, at: process_one_work+0x239/0x4f6
[ 242.668452] #1: (ptrval) ((work_completion)(&mtx.work)){....}, at: process_one_work+0x239/0x4f6
[ 242.669111] #2: (ptrval) (ww_class_mutex){....}, at: test_mutex_work+0x64/0x7c
[ 242.669666]
[ 242.669777] =============================================
[ 242.669777]
[ 242.670291] NMI backtrace for cpu 0
[ 242.670547] CPU: 0 PID: 9 Comm: khungtaskd Not tainted 4.17.0-rc6-00258-g9599f1b #1
[ 242.671075] Call Trace:
[ 242.671252] nmi_cpu_backtrace+0x6c/0x83
[ 242.671527] ? lapic_assign_legacy_vector+0x18/0x18
[ 242.671879] nmi_trigger_cpumask_backtrace+0x3e/0x97
[ 242.672251] watchdog+0x3b8/0x3e4
[ 242.672487] ? hung_task_panic+0x12/0x12
[ 242.672761] kthread+0x148/0x150
[ 242.672993] ? __kthread_create_on_node+0x1ba/0x1ba
[ 242.673331] ret_from_fork+0x1f/0x30
[ 242.673612] Kernel panic - not syncing: hung_task: blocked tasks
[ 242.674034] CPU: 0 PID: 9 Comm: khungtaskd Not tainted 4.17.0-rc6-00258-g9599f1b #1
[ 242.674554] Call Trace:
[ 242.674730] panic+0xd0/0x207
[ 242.674943] watchdog+0x3c4/0x3e4
[ 242.675176] ? hung_task_panic+0x12/0x12
[ 242.675448] kthread+0x148/0x150
[ 242.675674] ? __kthread_create_on_node+0x1ba/0x1ba
[ 242.676051] ret_from_fork+0x1f/0x30
[ 242.676244] Kernel Offset: 0xac00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 6e7a4ffd7cdba57bde9b604723efae84a8843eda 29dcea88779c856c7dc92040a0c01233263101d4 --
git bisect bad 3f858e5cba0c8fcb4016dcf8980b8e62493cc1f1 # 04:38 B 0 11 24 0 Merge 'linux-review/Kai-Heng-Feng/r8169-Don-t-disable-ASPM-in-the-driver/20180615-133510' into devel-spot-201806152336
git bisect bad 93f51d9685b85a95eb8820ee4f59b94a193c0304 # 04:52 B 0 1 14 0 Merge 'linux-nvme/nvme-4.19' into devel-spot-201806152336
git bisect good 06124a5a5a6f600c7391ee27031c7a86808e1b3a # 05:12 G 11 0 0 0 Merge 'linux-review/Guillaume-Nault/l2tp-l2tp_ppp-must-ignore-non-PPP-sessions/20180615-220559' into devel-spot-201806152336
git bisect good a8e1450cdb1ed316cb18e21d440109f66ee46eb3 # 05:23 G 11 0 0 0 Merge 'hch-xfs/xfs-iomap-write.6' into devel-spot-201806152336
git bisect bad 85d520da4ef54a820a89b3f9f88251f1674bf70b # 05:37 B 0 11 24 0 Merge 'linux-review/Thomas-Hellstrom/locking-WW-mutex-cleanup/20180615-203604' into devel-spot-201806152336
git bisect good a8ffd648a25afebfac86e732954e4b0b05194b04 # 05:52 G 11 0 0 0 Merge 'linux-review/Nicholas-Mc-Guire/ARM-add-missing-of_node_put/20180615-204636' into devel-spot-201806152336
git bisect bad 9599f1b321cea599a6691756dbc4f421913df7ea # 06:04 B 0 11 24 0 locking: Implement an algorithm choice for Wound-Wait mutexes
git bisect good 6a646144fe353f1b94d22e6a0ba6b49762c5105e # 06:16 G 11 0 0 0 locking: WW mutex cleanup
# first bad commit: [9599f1b321cea599a6691756dbc4f421913df7ea] locking: Implement an algorithm choice for Wound-Wait mutexes
git bisect good 6a646144fe353f1b94d22e6a0ba6b49762c5105e # 06:19 G 31 0 0 0 locking: WW mutex cleanup
# extra tests with debug options
git bisect bad 9599f1b321cea599a6691756dbc4f421913df7ea # 06:31 B 0 11 24 0 locking: Implement an algorithm choice for Wound-Wait mutexes
# extra tests on HEAD of linux-devel/devel-spot-201806152336
git bisect bad 6e7a4ffd7cdba57bde9b604723efae84a8843eda # 06:31 B 0 13 29 0 0day head guard for 'devel-spot-201806152336'
# extra tests on tree/branch linux-review/Thomas-Hellstrom/locking-WW-mutex-cleanup/20180615-203604
git bisect bad 9599f1b321cea599a6691756dbc4f421913df7ea # 06:54 B 0 11 28 4 locking: Implement an algorithm choice for Wound-Wait mutexes
# extra tests with first bad commit reverted
git bisect good fe270fc65df273849552262da42db77b13e0adf9 # 07:07 G 11 0 0 0 Revert "locking: Implement an algorithm choice for Wound-Wait mutexes"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months