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?
1 year, 7 months
Re: [LKP] [PATCH v2 0/4] Revert works for the mapping of cpuid <-> nodeid
by Ye Xiaolong
On 02/21, Ye Xiaolong wrote:
>On 02/20, Dou Liyang wrote:
>>Currently, We make the mapping of "cpuid <-> nodeid" fixed at the booting time.
>>It keeps consistent with the WorkQueue and avoids some bugs which may be caused
>>by the dynamic assignment.
>>As we know, It is implemented by the patches as follows: 2532fc318d, f7c28833c2,
>>8f54969dc8, 8ad893faf2, dc6db24d24, which depend on ACPI table. Simply speaking:
>>
>>Step 1. Make the "Logical CPU ID <-> Processor ID/UID" fixed Using MADT:
>>We generate the logical CPU IDs by the Local APIC/x2APIC IDs orderly and
>>get the mapping of Processor ID/UID <-> Local Apic ID directly in MADT.
>>So, we get the mapping of
>>*Processor ID/UID <-> Local Apic ID <-> Logical CPU ID*
>>
>>Step 2. Make the "Processor ID/UID <-> Node ID(_PXM)" fixed Using DSDT:
>>The maaping of "Processor ID/UID <-> Node ID(_PXM)" is ready-made in
>>each entities. we just use it directly.
>>
>>So, at last we get the maaping of *Node ID <-> Logical CPU ID* according to
>>step1 and step2:
>>*Node ID(_PXM) <-> Processor ID/UID <-> Local Apic ID <-> Logical CPU ID*
>>
>>But, The ACPI table is unreliable and it is very risky that we use the entity
>>which isn't related to a physical device at booting time. Here has already two
>>bugs we found.
>>1. Duplicated Processor IDs in DSDT.
>> It has been fixed by commit 8e089eaa19, fd74da217d.
>>2. The _PXM in DSDT is inconsistent with the one in MADT.
>> It may cause the bug, which is shown in:
>> https://lkml.org/lkml/2017/2/12/200
>>There may be more later. We shouldn't just only fix them everytime, we should
>>solve this problem from the source to avoid such problems happend again and
>>again.
>>
>>Now, a simple and easy way is found, we revert our patches. Do the Step 2
>>at hot-plug time, not at booting time where we did some useless work.
>>
>>It also can make the mapping of "cpuid <-> nodeid" fixed and avoid excessive
>>use of the ACPI table.
>>
>>We have tested them in our box: Fujitsu PQ2000 with 2 nodes for hot-plug.
>>To Xiaolong:
>> Please help me to test it in the special machine.
>
>Got it, I'll queue the tests on the previous machine and let you know the result
>once I get it.
Previous kernel panic and incomplete run issue (described in [1]) in 0day
system is gone with this series.
Tested-by: Xiaolong Ye <xiaolong.ye(a)intel.com>
Here is the comparison:
$ compare -at dc6db24d2476cd09c0ecf2b8d80313539f737a89 2e61bac54fad4c018afd23c118bce2399e504020
tests: 1
testcase/path_params/tbox_group/run: vm-scalability/300-never-never-1-1-swap-w-rand-performance/lkp-hsw-ep2
Here dc6db24d24 is previous first bad commit, 2e61bac54 is the head commit of your series
applied on top of latest tip of linus/master c945d0227d ("Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip")
dc6db24d2476cd09 2e61bac54fad4c018afd23c118
---------------- --------------------------
fail:runs %reproduction fail:runs
| | |
:12 12% 1:8 last_state.OOM
:12 12% 1:8 dmesg.page_allocation_failure:order:#,mode:#(GFP_USER|GFP_DMA32|__GFP_ZERO)
:12 12% 1:8 dmesg.Mem-Info
12:12 -100% :8 dmesg.BUG:unable_to_handle_kernel
12:12 -100% :8 dmesg.Oops
12:12 -100% :8 dmesg.RIP:get_partial_node
9:12 -75% :8 dmesg.RIP:_raw_spin_lock_irqsave
3:12 -25% :8 dmesg.general_protection_fault:#[##]SMP
3:12 -25% :8 dmesg.RIP:native_queued_spin_lock_slowpath
3:12 -25% :8 dmesg.Kernel_panic-not_syncing:Hard_LOCKUP
2:12 -17% :8 dmesg.RIP:load_balance
2:12 -17% :8 dmesg.Kernel_panic-not_syncing:Fatal_exception_in_interrupt
1:12 -8% :8 dmesg.RIP:resched_curr
1:12 -8% :8 dmesg.Kernel_panic-not_syncing:Fatal_exception
5:12 -42% :8 dmesg.WARNING:at_include/linux/uaccess.h:#__probe_kernel_read
1:12 -8% :8 dmesg.WARNING:at_lib/list_debug.c:#__list_add
[1] https://lkml.org/lkml/2017/2/12/200
Thanks,
Xiaolong
>
>Thanks,
>Xiaolong
>>
>>Change log:
>> v1 -> v2: 1. fix some comments.
>> 2. add the verification of duplicate processor id.
>>
>>Dou Liyang (4):
>> Revert"x86/acpi: Set persistent cpuid <-> nodeid mapping when booting"
>> Revert"x86/acpi: Enable MADT APIs to return disabled apicids"
>> acpi: Fix the check handle in case of declaring processors using the
>> Device operator
>> acpi: Move the verification of duplicate proc_id from booting time to
>> hot-plug time
>>
>> arch/x86/kernel/acpi/boot.c | 2 +-
>> drivers/acpi/acpi_processor.c | 50 +++++++++++-----
>> drivers/acpi/bus.c | 1 -
>> drivers/acpi/processor_core.c | 133 +++++++-----------------------------------
>> include/linux/acpi.h | 5 +-
>> 5 files changed, 59 insertions(+), 132 deletions(-)
>>
>>--
>>2.5.5
>>
>>
>>
3 years, 10 months
[mm/kasan] 80a9201a59 BUG: kernel reboot-without-warning in early-boot stage, last printk: Booting the kernel.
by Fengguang Wu
Hi Alexander,
FYI, we find an old bug that's still alive in linux-next. The attached
reproduce-* script may help debug the problem.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 80a9201a5965f4715d5c09790862e0df84ce0614
Author: Alexander Potapenko <glider(a)google.com>
AuthorDate: Thu Jul 28 15:49:07 2016 -0700
Commit: Linus Torvalds <torvalds(a)linux-foundation.org>
CommitDate: Thu Jul 28 16:07:41 2016 -0700
mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB
For KASAN builds:
- switch SLUB allocator to using stackdepot instead of storing the
allocation/deallocation stacks in the objects;
- change the freelist hook so that parts of the freelist can be put
into the quarantine.
[aryabinin(a)virtuozzo.com: fixes]
Link: http://lkml.kernel.org/r/1468601423-28676-1-git-send-email-aryabinin@virt...
Link: http://lkml.kernel.org/r/1468347165-41906-3-git-send-email-glider@google.com
Signed-off-by: Alexander Potapenko <glider(a)google.com>
Cc: Andrey Konovalov <adech.fo(a)gmail.com>
Cc: Christoph Lameter <cl(a)linux.com>
Cc: Dmitry Vyukov <dvyukov(a)google.com>
Cc: Steven Rostedt (Red Hat) <rostedt(a)goodmis.org>
Cc: Joonsoo Kim <iamjoonsoo.kim(a)lge.com>
Cc: Kostya Serebryany <kcc(a)google.com>
Cc: Andrey Ryabinin <aryabinin(a)virtuozzo.com>
Cc: Kuthonuzo Luruo <kuthonuzo.luruo(a)hpe.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds(a)linux-foundation.org>
c146a2b98e mm, kasan: account for object redzone in SLUB's nearest_obj()
80a9201a59 mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB
+--------------------------------------------------------------------------------------+------------+------------+
| | c146a2b98e | 80a9201a59 |
+--------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 740 | 48 |
| boot_failures | 0 | 142 |
| BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:Booting_the_kernel | 0 | 131 |
| BUG:kernel_in_stage | 0 | 11 |
+--------------------------------------------------------------------------------------+------------+------------+
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
git bisect start v4.8 v4.7 --
git bisect bad e6e7214fbbdab1f90254af68e0927bdb24708d22 # 20:07 0- 1 Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad ba929b6646c5b87c7bb15cd8d3e51617725c983b # 21:11 0- 2 Merge branch 'for-linus-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
git bisect good 5f22004ba9b4cf740773777ea7b74586743f6051 # 22:41 190+ 0 Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 124a3d88fa20e1869fc229d7d8c740cc81944264 # 23:01 182+ 0 Disable "frame-address" warning
git bisect bad 20d00ee829428ea6aab77fa3acca048a6f57d3bc # 23:35 0- 1 Revert "vfs: add lookup_hash() helper"
git bisect good 6039b80eb50a893476fea7d56e86ed2d19290054 # 00:20 183+ 0 Merge tag 'dmaengine-4.8-rc1' of git://git.infradead.org/users/vkoul/slave-dma
git bisect bad e55884d2c6ac3ae50e49a1f6fe38601a91181719 # 00:53 0- 3 Merge tag 'vfio-v4.8-rc1' of git://github.com/awilliam/linux-vfio
git bisect bad d94ba9e7d8d5c821d0442f13b30b0140c1109c38 # 01:46 0- 2 Merge tag 'pinctrl-v4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect bad 1c88e19b0f6a8471ee50d5062721ba30b8fd4ba9 # 01:58 0- 1 Merge branch 'akpm' (patches from Andrew)
git bisect good bca6759258dbef378bcf5b872177bcd2259ceb68 # 03:16 181+ 0 mm, vmstat: remove zone and node double accounting by approximating retries
git bisect good efdc94907977d2db84b4b00cb9bd98ca011f6819 # 08:58 190+ 0 mm: fix memcg stack accounting for sub-page stacks
git bisect good fb399b4854d2159a4d23fbfbd7daaed914fd54fa # 11:50 183+ 0 mm/memblock.c: fix index adjustment error in __next_mem_range_rev()
git bisect bad 31a6c1909f51dbe9bf08eb40dc64e3db90cf6f79 # 12:09 0- 2 mm, page_alloc: set alloc_flags only once in slowpath
git bisect good c146a2b98eb5898eb0fab15a332257a4102ecae9 # 12:51 180+ 0 mm, kasan: account for object redzone in SLUB's nearest_obj()
git bisect bad 87cc271d5e4320d705cfdf59f68d4d037b3511b2 # 13:19 0- 1 lib/stackdepot.c: use __GFP_NOWARN for stack allocations
git bisect bad 80a9201a5965f4715d5c09790862e0df84ce0614 # 13:34 0- 1 mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB
# first bad commit: [80a9201a5965f4715d5c09790862e0df84ce0614] mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB
git bisect good c146a2b98eb5898eb0fab15a332257a4102ecae9 # 15:16 550+ 0 mm, kasan: account for object redzone in SLUB's nearest_obj()
# extra tests on HEAD of linux-devel/devel-spot-201702260211
git bisect bad 494b6947f72e0d28eb229387a0dc27e95d79b605 # 15:16 0- 15 0day head guard for 'devel-spot-201702260211'
# extra tests on tree/branch linus/master
git bisect bad e5d56efc97f8240d0b5d66c03949382b6d7e5570 # 15:28 0- 1 Merge tag 'watchdog-for-linus-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
# extra tests on tree/branch linux-next/master
git bisect bad ed7b11e565c736828f0b793f596a4ca20efee747 # 15:40 0- 3 Add linux-next specific files for 20170227
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[ipv6] a088d1d73a: WARNING:at_net/mac80211/agg-tx.c:#ieee80211_start_tx_ba_cb[mac80211]
by kernel test robot
FYI, we noticed the following commit:
commit: a088d1d73a4bcfd7bc482f8d08375b9b665dc3e5 ("ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: hwsim
with following parameters:
group: hwsim-01
on test machine: 64 threads Intel(R) Xeon(R) CPU E5-4650 0 @ 2.70GHz with 64G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------------------+------------+------------+
| | 62f01db9cf | a088d1d73a |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 4 |
| boot_failures | 2 | |
| invoked_oom-killer:gfp_mask=0x | 2 | |
| Mem-Info | 2 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2 | |
+------------------------------------------------------------------+------------+------------+
kern :warn : [ 146.568070] WARNING: CPU: 12 PID: 669 at net/mac80211/agg-tx.c:770 ieee80211_start_tx_ba_cb+0x139/0x150 [mac80211]
kern :warn : [ 146.568071] Modules linked in: ccm bridge stp llc arc4 mac80211_hwsim mac80211 cfg80211 rfkill rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver sr_mod cdrom sd_mod sg intel_rapl sb_edac edac_core x86_pkg_temp_thermal intel_powerclamp coretemp mgag200 ttm kvm drm_kms_helper syscopyarea irqbypass sysfillrect crct10dif_pclmul sysimgblt fb_sys_fops crc32_pclmul crc32c_intel snd_pcm isci ghash_clmulni_intel snd_timer libsas pcbc scsi_transport_sas aesni_intel snd ahci libahci soundcore drm crypto_simd glue_helper cryptd pcspkr usb_storage libata shpchp wmi ipmi_si ipmi_devintf ipmi_msghandler ip_tables
kern :warn : [ 146.568114] CPU: 12 PID: 669 Comm: kworker/u256:1 Not tainted 4.10.0-rc6-00104-ga088d1d #1
kern :warn : [ 146.568115] Hardware name: Intel Corporation LH Pass/S4600LH...., BIOS SE5C600.86B.99.02.1047.032320122259 03/23/2012
kern :warn : [ 146.568127] Workqueue: phy0 ieee80211_iface_work [mac80211]
kern :warn : [ 146.568128] Call Trace:
kern :warn : [ 146.568141] dump_stack+0x63/0x8a
kern :warn : [ 146.568146] __warn+0xcb/0xf0
kern :warn : [ 146.568147] warn_slowpath_null+0x1d/0x20
kern :warn : [ 146.568156] ieee80211_start_tx_ba_cb+0x139/0x150 [mac80211]
kern :warn : [ 146.568166] ieee80211_iface_work+0x266/0x470 [mac80211]
kern :warn : [ 146.568180] process_one_work+0x1a3/0x480
kern :warn : [ 146.568182] worker_thread+0x4e/0x4d0
kern :warn : [ 146.568185] kthread+0x10c/0x140
kern :warn : [ 146.568187] ? process_one_work+0x480/0x480
kern :warn : [ 146.568187] ? kthread_create_on_node+0x40/0x40
kern :warn : [ 146.568195] ret_from_fork+0x2c/0x40
kern :warn : [ 146.568197] ---[ end trace 0e4afc24db5dbafa ]---
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Kernel Test Robot
3 years, 10 months
[locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff
by Fengguang Wu
Hello,
This bisect result is not satisfactory, however the bug is very
reproducible and looks still alive in mainline&linux-next. You may
try the attached reproduce-* script to debug it.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 2a0c11282881875dc44f166a20eedf0d866dd0ef
Author: Chris Wilson <chris(a)chris-wilson.co.uk>
AuthorDate: Thu Dec 1 11:47:10 2016 +0000
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Sat Jan 14 11:37:17 2017 +0100
locking/ww_mutex: Add kselftests for ww_mutex stress
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Maarten Lankhorst <dev(a)mblankhorst.nl>
Cc: Nicolai Hähnle <nhaehnle(a)gmail.com>
Cc: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Link: http://lkml.kernel.org/r/20161201114711.28697-8-chris@chris-wilson.co.uk
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
d1b42b800e locking/ww_mutex: Add kselftests for resolving ww_mutex cyclic deadlocks
2a0c112828 locking/ww_mutex: Add kselftests for ww_mutex stress
+-------------------------------------------------------------------------+------------+------------+
| | d1b42b800e | 2a0c112828 |
+-------------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 65 | 99 |
| WARNING:at_kernel/locking/mutex.c:#__ww_mutex_wakeup_for_backoff | 65 | 99 |
| WARNING:CPU:#PID:#at_kernel/locking/mutex.c:#__ww_mutex_wakeup_for_back | 0 | 1 |
| WARNING:CPU:#PID:#at_kernel/ | 0 | 1 |
| WARNING:CPU:#PID:#at/kbuild/src/r | 0 | 1 |
+-------------------------------------------------------------------------+------------+------------+
[ 1.057727] Freeing initrd memory: 3276K
[ 1.059257] The force parameter has not been set to 1. The Iris poweroff handler will not be installed.
[ 1.060266] NatSemi SCx200 Driver
[ 1.299666] random: fast init done
[ 1.568992] ------------[ cut here ]------------
[ 1.569656] WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.571194] CPU: 0 PID: 18 Comm: kworker/0:1 Not tainted 4.10.0-rc3-00155-g2a0c112 #1
[ 1.572259] Workqueue: events test_abba_work
[ 1.572833] Call Trace:
[ 1.573167] dump_stack+0x16/0x18
[ 1.573617] __warn+0xa0/0xb7
[ 1.574017] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.574705] warn_slowpath_null+0x11/0x16
[ 1.575238] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.575897] __ww_mutex_lock+0x2f3/0xb63
[ 1.576559] ? wake_up_q+0x25/0x40
[ 1.577012] ? __might_sleep+0x6c/0x73
[ 1.577518] ww_mutex_lock+0x34/0x3b
[ 1.577996] ? test_abba_work+0x109/0x182
[ 1.578535] test_abba_work+0x109/0x182
[ 1.579046] process_one_work+0x1c0/0x33a
[ 1.579585] ? process_one_work+0x168/0x33a
[ 1.580138] worker_thread+0x22f/0x315
[ 1.580643] kthread+0xed/0xf2
[ 1.581049] ? process_scheduled_works+0x24/0x24
[ 1.581666] ? __kthread_create_on_node+0x11f/0x11f
[ 1.582312] ret_from_fork+0x19/0x30
[ 1.582793] ---[ end trace ef3591d92cac5abf ]---
[ 1.584236] ------------[ cut here ]------------
[ 1.584236] ------------[ cut here ]------------
[ 1.584891] WARNING: CPU: 0 PID: 24 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.586444] CPU: 0 PID: 24 Comm: kworker/u2:1 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.587693] Workqueue: test-ww_mutex test_cycle_work
[ 1.588357] Call Trace:
[ 1.588691] dump_stack+0x16/0x18
[ 1.589133] __warn+0xa0/0xb7
[ 1.589539] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.590218] warn_slowpath_null+0x11/0x16
[ 1.590756] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.591417] __ww_mutex_lock+0x2f3/0xb63
[ 1.592070] ? wake_up_q+0x25/0x40
[ 1.592531] ? __might_sleep+0x6c/0x73
[ 1.593032] ww_mutex_lock+0x34/0x3b
[ 1.593514] ? test_cycle_work+0xf7/0x170
[ 1.594046] test_cycle_work+0xf7/0x170
[ 1.594560] process_one_work+0x1c0/0x33a
[ 1.595099] ? process_one_work+0x168/0x33a
[ 1.595659] worker_thread+0x22f/0x315
[ 1.596157] kthread+0xed/0xf2
[ 1.596572] ? process_scheduled_works+0x24/0x24
[ 1.597183] ? __kthread_create_on_node+0x11f/0x11f
[ 1.597833] ret_from_fork+0x19/0x30
[ 1.598311] ---[ end trace ef3591d92cac5ac0 ]---
[ 1.603651] ------------[ cut here ]------------
[ 1.603651] ------------[ cut here ]------------
[ 1.604299] WARNING: CPU: 0 PID: 25 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.605848] CPU: 0 PID: 25 Comm: kworker/u2:2 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.607086] Workqueue: test-ww_mutex stress_inorder_work
[ 1.607829] Call Trace:
[ 1.608161] dump_stack+0x16/0x18
[ 1.608616] __warn+0xa0/0xb7
[ 1.609013] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.609691] warn_slowpath_null+0x11/0x16
[ 1.610222] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.610882] __ww_mutex_lock+0x2f3/0xb63
[ 1.611542] ? ww_mutex_unlock+0x66/0x72
[ 1.612061] ? __might_sleep+0x6c/0x73
[ 1.612564] ww_mutex_lock+0x34/0x3b
[ 1.613038] ? stress_inorder_work+0xbf/0x218
[ 1.613619] stress_inorder_work+0xbf/0x218
[ 1.614170] process_one_work+0x1c0/0x33a
[ 1.614704] ? process_one_work+0x168/0x33a
[ 1.615254] worker_thread+0x22f/0x315
[ 1.615757] kthread+0xed/0xf2
[ 1.616165] ? process_scheduled_works+0x24/0x24
[ 1.616774] ? __kthread_create_on_node+0x11f/0x11f
[ 1.617422] ret_from_fork+0x19/0x30
[ 1.617898] ---[ end trace ef3591d92cac5ac1 ]---
[ 1.627667] ------------[ cut here ]------------
[ 1.627667] ------------[ cut here ]------------
[ 1.628328] WARNING: CPU: 0 PID: 24 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.629883] CPU: 0 PID: 24 Comm: kworker/u2:1 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.631129] Workqueue: test-ww_mutex stress_inorder_work
[ 1.631871] Call Trace:
[ 1.632205] dump_stack+0x16/0x18
[ 1.632652] __warn+0xa0/0xb7
[ 1.633048] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.633728] warn_slowpath_null+0x11/0x16
[ 1.634256] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.634915] __ww_mutex_lock+0x2f3/0xb63
[ 1.635574] ? ww_mutex_unlock+0x66/0x72
[ 1.636092] ? __might_sleep+0x6c/0x73
[ 1.636595] ww_mutex_lock+0x34/0x3b
[ 1.637070] ? stress_inorder_work+0xbf/0x218
[ 1.637651] stress_inorder_work+0xbf/0x218
[ 1.638203] process_one_work+0x1c0/0x33a
[ 1.638736] ? process_one_work+0x168/0x33a
[ 1.639294] worker_thread+0x22f/0x315
[ 1.639791] kthread+0xed/0xf2
[ 1.640198] ? process_scheduled_works+0x24/0x24
[ 1.640814] ? __kthread_create_on_node+0x11f/0x11f
[ 1.641460] ret_from_fork+0x19/0x30
[ 1.641933] ---[ end trace ef3591d92cac5ac2 ]---
[ 1.651655] ------------[ cut here ]------------
[ 1.651655] ------------[ cut here ]------------
[ 1.652181] WARNING: CPU: 0 PID: 25 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.653261] CPU: 0 PID: 25 Comm: kworker/u2:2 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.654165] Workqueue: test-ww_mutex stress_inorder_work
[ 1.654666] Call Trace:
[ 1.654938] dump_stack+0x16/0x18
[ 1.655247] __warn+0xa0/0xb7
[ 1.655534] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.656063] warn_slowpath_null+0x11/0x16
[ 1.656441] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.657092] __ww_mutex_lock+0x2f3/0xb63
[ 1.657670] ? ww_mutex_unlock+0x66/0x72
[ 1.658024] ? __might_sleep+0x6c/0x73
[ 1.658370] ww_mutex_lock+0x34/0x3b
[ 1.658694] ? stress_inorder_work+0xbf/0x218
[ 1.659123] stress_inorder_work+0xbf/0x218
[ 1.659505] process_one_work+0x1c0/0x33a
[ 1.659900] ? process_one_work+0x168/0x33a
[ 1.660289] worker_thread+0x22f/0x315
[ 1.660628] kthread+0xed/0xf2
[ 1.660906] ? process_scheduled_works+0x24/0x24
[ 1.661337] ? __kthread_create_on_node+0x11f/0x11f
[ 1.661807] ret_from_fork+0x19/0x30
[ 1.662138] ---[ end trace ef3591d92cac5ac3 ]---
[ 1.671663] ------------[ cut here ]------------
[ 1.671663] ------------[ cut here ]------------
[ 1.672440] WARNING: CPU: 0 PID: 24 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.673872] CPU: 0 PID: 24 Comm: kworker/u2:1 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.674747] Workqueue: test-ww_mutex stress_inorder_work
[ 1.675340] Call Trace:
[ 1.675628] dump_stack+0x16/0x18
[ 1.675933] __warn+0xa0/0xb7
[ 1.676205] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.676691] warn_slowpath_null+0x11/0x16
[ 1.677053] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.677511] __ww_mutex_lock+0x2f3/0xb63
[ 1.677997] ? ww_mutex_unlock+0x66/0x72
[ 1.678366] ? __might_sleep+0x6c/0x73
[ 1.678702] ww_mutex_lock+0x34/0x3b
[ 1.679074] ? stress_inorder_work+0xbf/0x218
[ 1.679471] stress_inorder_work+0xbf/0x218
[ 1.679882] process_one_work+0x1c0/0x33a
[ 1.680266] ? process_one_work+0x168/0x33a
[ 1.680655] worker_thread+0x22f/0x315
[ 1.680991] kthread+0xed/0xf2
[ 1.681270] ? process_scheduled_works+0x24/0x24
[ 1.681726] ? __kthread_create_on_node+0x11f/0x11f
[ 1.682158] ret_from_fork+0x19/0x30
[ 1.682526] ---[ end trace ef3591d92cac5ac4 ]---
[ 1.691670] ------------[ cut here ]------------
[ 1.691670] ------------[ cut here ]------------
[ 1.692169] WARNING: CPU: 0 PID: 25 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.693249] CPU: 0 PID: 25 Comm: kworker/u2:2 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.694232] Workqueue: test-ww_mutex stress_inorder_work
[ 1.694732] Call Trace:
[ 1.694969] dump_stack+0x16/0x18
[ 1.695287] __warn+0xa0/0xb7
[ 1.695625] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.696096] warn_slowpath_null+0x11/0x16
[ 1.696471] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.696914] __ww_mutex_lock+0x2f3/0xb63
[ 1.697363] ? ww_mutex_unlock+0x66/0x72
[ 1.697720] ? __might_sleep+0x6c/0x73
[ 1.698063] ww_mutex_lock+0x34/0x3b
[ 1.698393] ? stress_inorder_work+0xbf/0x218
[ 1.698790] stress_inorder_work+0xbf/0x218
[ 1.699173] process_one_work+0x1c0/0x33a
[ 1.699543] ? process_one_work+0x168/0x33a
[ 1.699964] worker_thread+0x22f/0x315
[ 1.700363] kthread+0xed/0xf2
[ 1.700643] ? process_scheduled_works+0x24/0x24
[ 1.701055] ? __kthread_create_on_node+0x11f/0x11f
[ 1.701497] ret_from_fork+0x19/0x30
[ 1.701826] ---[ end trace ef3591d92cac5ac5 ]---
[ 1.711724] ------------[ cut here ]------------
[ 1.711724] ------------[ cut here ]------------
[ 1.712468] WARNING: CPU: 0 PID: 24 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.714139] CPU: 0 PID: 24 Comm: kworker/u2:1 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.715528] Workqueue: test-ww_mutex stress_inorder_work
[ 1.716336] Call Trace:
[ 1.716712] dump_stack+0x16/0x18
[ 1.717190] __warn+0xa0/0xb7
[ 1.717618] ? __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.718330] warn_slowpath_null+0x11/0x16
[ 1.718693] __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.719169] __ww_mutex_lock+0x2f3/0xb63
[ 1.719631] ? ww_mutex_unlock+0x66/0x72
[ 1.719995] ? __might_sleep+0x6c/0x73
[ 1.720339] ww_mutex_lock+0x34/0x3b
[ 1.720659] ? stress_inorder_work+0xbf/0x218
[ 1.721046] stress_inorder_work+0xbf/0x218
[ 1.721424] process_one_work+0x1c0/0x33a
[ 1.721781] ? process_one_work+0x168/0x33a
[ 1.722156] worker_thread+0x22f/0x315
[ 1.722498] kthread+0xed/0xf2
[ 1.722772] ? process_scheduled_works+0x24/0x24
[ 1.723219] ? __kthread_create_on_node+0x11f/0x11f
[ 1.723702] ret_from_fork+0x19/0x30
[ 1.724023] ---[ end trace ef3591d92cac5ac6 ]---
[ 1.731646] ------------[ cut here ]------------
[ 1.731646] ------------[ cut here ]------------
[ 1.732125] WARNING: CPU: 0 PID: 25 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff+0x31/0x7a
[ 1.733224] CPU: 0 PID: 25 Comm: kworker/u2:2 Tainted: G W 4.10.0-rc3-00155-g2a0c112 #1
[ 1.734111] Workqueue: test-ww_mutex stress_inorder_work
[ 1.734602] Call Trace:
git bisect start 1ae7fb468b3c12e4f6c93b0e79cb494f5efd0bb3 c470abd4fde40ea6a0846a2beab642a578c0b8cd --
git bisect bad ab4b5e1e2c5bbac4536be13f47478d6d2cc3a2ed # 16:48 0- 3 Merge 'linux-review/Codrut-Grosu/ASoC-tegra-Remove-unnecessary-Block-comments-should-align-the-on-each-line-message/20170226-025607' into devel-catchup-201702260319
git bisect bad 67f64eddcbb18b0fb5880be1b573ca84bcaf2df4 # 17:30 0- 43 Merge 'linux-review/Codrut-Grosu/ASoC-tegra-Add-blank-line-after-declarations/20170226-031128' into devel-catchup-201702260319
git bisect good 588a60439eca8c4eb2d397ccc15150483f1aab74 # 17:53 20+ 0 0day base guard for 'devel-catchup-201702260319'
git bisect bad 1317f81ef9b04b37aeb74f70797adaa042829da0 # 18:09 0- 25 Merge 'linux-review/Hans-de-Goede/Allow-setting-dmi-product-name-on-the-cmdline-dmi-sdhci-quirk/20170226-012824' into devel-catchup-201702260319
git bisect bad 9c4713701c01e4cef6e2315c2818abc919ffb0de # 18:32 0- 24 bpf: Fix bpf_xdp_event_output
git bisect bad ff58d005cd10fcd372787cceac547e11cf706ff6 # 18:40 0- 25 Merge tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
git bisect bad 2bfe01eff4307409b95859e860261d0907149b61 # 18:48 0- 8 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
git bisect good 828cad8ea05d194d8a9452e0793261c2024c23a2 # 19:00 20+ 0 Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad f790bd9c8e826434ab6c326b225276ed0f73affe # 19:10 0- 12 Merge tag 'regulator-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
git bisect bad 937b5b5ddd2f685b4962ec19502e641bb5741c12 # 19:21 0- 19 Merge tag 'm68k-for-v4.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
git bisect bad 8a9365a4725a4d6265a416dd63bff937e300308e # 19:28 0- 16 Merge branch 'x86-cpufeature-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 85b36c931ff328297572a3e6136fac573795ad79 # 19:42 0- 21 jump_labels: Move header guard #endif down where it belongs
git bisect good 25f13b4040b68dfc5a2a22e7234894e718e3f4c5 # 21:11 21+ 0 locking/ww_mutex: Re-check ww->ctx in the inner optimistic spin loop
git bisect good d1b42b800e5d09dcee52812b4396aca3a3696ba9 # 21:25 21+ 43 locking/ww_mutex: Add kselftests for resolving ww_mutex cyclic deadlocks
git bisect bad bdfafc4ffdd24e491119d81f85ddc4393fa49803 # 21:32 0- 30 locking/atomic, kref: Kill kref_sub()
git bisect bad 2b0b211134a65401ed874ce0d5d48844f4f6f341 # 01:14 0- 47 locking/ww_mutex: Add ww_mutex to tools/testing/selftests
git bisect bad 2a0c11282881875dc44f166a20eedf0d866dd0ef # 08:32 0- 15 locking/ww_mutex: Add kselftests for ww_mutex stress
# first bad commit: [2a0c11282881875dc44f166a20eedf0d866dd0ef] locking/ww_mutex: Add kselftests for ww_mutex stress
git bisect good d1b42b800e5d09dcee52812b4396aca3a3696ba9 # 08:57 60+ 64 locking/ww_mutex: Add kselftests for resolving ww_mutex cyclic deadlocks
# extra tests on HEAD of linux-devel/devel-catchup-201702260319
git bisect bad 1ae7fb468b3c12e4f6c93b0e79cb494f5efd0bb3 # 09:19 0- 1 0day head guard for 'devel-catchup-201702260319'
# extra tests on tree/branch linus/master
git bisect bad e5d56efc97f8240d0b5d66c03949382b6d7e5570 # 09:19 0- 10 Merge tag 'watchdog-for-linus-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
# extra tests with first bad commit reverted
git bisect good b7a91e31244bfcf708bf26b40f191ec795c4d20b # 09:53 60+ 0 Revert "locking/ww_mutex: Add kselftests for ww_mutex stress"
# extra tests on tree/branch linux-next/master
git bisect bad 3e7350242c6f3d41d28e03418bd781cc1b7bad5f # 10:14 0- 3 Add linux-next specific files for 20170224
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 10 months
[fs, nfsd] 7f2431938f: WARNING:at_lib/refcount.c:#refcount_inc
by kernel test robot
FYI, we noticed the following commit:
commit: 7f2431938fb94c5eedb00edb16867f8c14579dd8 ("fs, nfsd: convert nfs4_stateowner.so_count from atomic_t to refcount_t")
https://github.com/ereshetova/linux-stable.git refcount_t_fs
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+------------+------------+
| | 13b2b2cc87 | 7f2431938f |
+-------------------------------------------------+------------+------------+
| boot_successes | 12 | 1 |
| boot_failures | 0 | 13 |
| WARNING:at_lib/refcount.c:#refcount_inc | 0 | 13 |
| WARNING:at_lib/refcount.c:#refcount_dec_not_one | 0 | 13 |
+-------------------------------------------------+------------+------------+
[ 86.231888] WARNING: CPU: 1 PID: 2185 at lib/refcount.c:114 refcount_inc+0x25/0x27
[ 86.236090] refcount_t: increment on 0; use-after-free.
[ 86.238408] Modules linked in: acpi_cpufreq
[ 86.243644] CPU: 1 PID: 2185 Comm: post-run Not tainted 4.10.0-next-20170228-00003-g7f24319 #1
[ 86.247614] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 86.247614] Call Trace:
[ 86.247614] dump_stack+0x86/0xc0
[ 86.247614] __warn+0xc2/0xdd
[ 86.247614] warn_slowpath_fmt+0x4b/0x53
[ 86.247614] refcount_inc+0x25/0x27
[ 86.247614] nfs4_get_state_owner+0x8a/0x390
[ 86.247614] ? generic_hash_cred+0x35/0x5b
[ 86.247614] nfs4_do_open+0x89/0x662
[ 86.247614] ? kmem_cache_alloc_trace+0x47/0x173
[ 86.247614] nfs4_atomic_open+0xe/0x1c
[ 86.247614] nfs_atomic_open+0x23c/0x4a9
[ 86.247614] path_openat+0x56e/0xc62
[ 86.247614] do_filp_open+0x4d/0xa3
[ 86.247614] ? kmem_cache_alloc+0x43/0x180
[ 86.247614] ? __might_sleep+0x77/0x7e
[ 86.247614] ? kmem_cache_alloc+0x43/0x180
[ 86.247614] ? __alloc_fd+0x96/0x155
[ 86.247614] do_sys_open+0x140/0x1cf
[ 86.247614] ? do_sys_open+0x140/0x1cf
[ 86.247614] ? filp_close+0x67/0x71
[ 86.247614] SyS_open+0x1e/0x20
[ 86.247614] entry_SYSCALL_64_fastpath+0x1f/0xbd
[ 86.247614] RIP: 0033:0x7f594e476e40
[ 86.247614] RSP: 002b:00007ffda2cdcc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
[ 86.247614] RAX: ffffffffffffffda RBX: 00007ffda2cdcb80 RCX: 00007f594e476e40
[ 86.247614] RDX: 00000000000001b6 RSI: 0000000000000241 RDI: 000055e938682418
[ 86.247614] RBP: 0000000000000001 R08: 000055e937ed2c32 R09: 0000000000000041
[ 86.247614] R10: 0000000000000002 R11: 0000000000000246 R12: 000055e93867ba78
[ 86.247614] R13: 000055e93867bb00 R14: 0000000000000001 R15: 000055e938676d60
[ 86.350502] ---[ end trace 9297aead69ddd2ac ]---
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Kernel Test Robot
3 years, 10 months
[bpf] 9d876e79df: BUG: unable to handle kernel paging request at 653a8346
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 9d876e79df6a2f364b9f2737eacd72ceb27da53a
Author: Daniel Borkmann <daniel(a)iogearbox.net>
AuthorDate: Tue Feb 21 16:09:34 2017 +0100
Commit: David S. Miller <davem(a)davemloft.net>
CommitDate: Tue Feb 21 13:30:14 2017 -0500
bpf: fix unlocking of jited image when module ronx not set
Eric and Willem reported that they recently saw random crashes when
JIT was in use and bisected this to 74451e66d516 ("bpf: make jited
programs visible in traces"). Issue was that the consolidation part
added bpf_jit_binary_unlock_ro() that would unlock previously made
read-only memory back to read-write. However, DEBUG_SET_MODULE_RONX
cannot be used for this to test for presence of set_memory_*()
functions. We need to use ARCH_HAS_SET_MEMORY instead to fix this;
also add the corresponding bpf_jit_binary_lock_ro() to filter.h.
Fixes: 74451e66d516 ("bpf: make jited programs visible in traces")
Reported-by: Eric Dumazet <edumazet(a)google.com>
Reported-by: Willem de Bruijn <willemb(a)google.com>
Bisected-by: Eric Dumazet <edumazet(a)google.com>
Signed-off-by: Daniel Borkmann <daniel(a)iogearbox.net>
Tested-by: Willem de Bruijn <willemb(a)google.com>
Signed-off-by: David S. Miller <davem(a)davemloft.net>
d2852a2240 arch: add ARCH_HAS_SET_MEMORY config
9d876e79df bpf: fix unlocking of jited image when module ronx not set
+-------------------------------------------------------+------------+------------+
| | d2852a2240 | 9d876e79df |
+-------------------------------------------------------+------------+------------+
| boot_successes | 1224 | 89 |
| boot_failures | 0 | 43 |
| BUG:unable_to_handle_kernel | 0 | 43 |
| Oops:#[##] | 0 | 43 |
| EIP:__release_sock | 0 | 3 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 40 |
| EIP:bpf_prog_free | 0 | 5 |
| EIP:filp_close | 0 | 10 |
| EIP:__wake_up_common | 0 | 3 |
| EIP:release_sock | 0 | 2 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 3 |
| EIP:unix_release_sock | 0 | 14 |
| EIP:__rcu_process_callbacks | 0 | 1 |
| EIP:__unix_find_socket_byname | 0 | 2 |
| EIP:__netlink_lookup | 0 | 1 |
| EIP:rht_bucket_nested | 0 | 1 |
+-------------------------------------------------------+------------+------------+
[ 12.906145] random: trinity: uninitialized urandom read (4 bytes read)
[ 21.667060] sock: process `trinity-main' is using obsolete setsockopt SO_BSDCOMPAT
[ 22.939767] sock: sock_set_timeout: `trinity-main' (pid 382) tries to set negative timeout
[ 22.957952] sock: sock_set_timeout: `trinity-main' (pid 382) tries to set negative timeout
[ 24.297654] VFS: Warning: trinity-c0 using old stat() call. Recompile your binary.
[ 24.312991] BUG: unable to handle kernel paging request at 653a8346
[ 24.325299] IP: __wake_up_common+0x1b/0x70
[ 24.327809] *pde = 00000000
[ 24.327811]
[ 24.338150] Oops: 0000 [#1]
[ 24.340057] CPU: 0 PID: 379 Comm: trinity-main Not tainted 4.10.0-rc8-02017-g9d876e7 #59
[ 24.346946] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 24.361096] task: d6cd17c0 task.stack: d6bb8000
[ 24.363855] EIP: __wake_up_common+0x1b/0x70
[ 24.368260] EFLAGS: 00010046 CPU: 0
[ 24.379614] EAX: 653a8346 EBX: 00000246 ECX: 00000000 EDX: 00000001
[ 24.382501] ESI: d6ccb26c EDI: d6ccb26c EBP: d6bb9e64 ESP: d6bb9e48
[ 24.385660] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 24.388636] CR0: 80050033 CR2: 653a8346 CR3: 16d57000 CR4: 00000610
[ 24.401881] DR0: 080ce000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 24.404793] DR6: ffff0ff0 DR7: 00000600
[ 24.406811] Call Trace:
[ 24.408278] __wake_up+0x48/0x80
[ 24.410052] unix_release_sock+0xed/0x2d0
[ 24.471745] unix_release+0x1b/0x30
[ 24.473621] sock_release+0x18/0x70
[ 24.484988] ? ima_file_free+0xb/0xa0
[ 24.487049] sock_close+0x10/0x20
[ 24.488838] __fput+0xd6/0x200
[ 24.490615] ____fput+0xd/0x10
[ 24.492610] task_work_run+0x57/0x80
[ 24.494621] do_exit+0x213/0x9e0
[ 24.507034] ? ___might_sleep+0xa1/0x140
[ 24.509082] do_group_exit+0x33/0x90
[ 24.511027] SyS_exit_group+0x16/0x20
[ 24.513158] do_fast_syscall_32+0x9a/0x160
[ 24.515430] entry_SYSENTER_32+0x4c/0x7b
[ 24.527175] EIP: 0xb77c5cc5
[ 24.528695] EFLAGS: 00000292 CPU: 0
[ 24.530581] EAX: ffffffda EBX: 00000000 ECX: 0000002d EDX: b77bc8ac
[ 24.533601] ESI: 00000000 EDI: 00000001 EBP: bfd1fb58 ESP: bfd1fa6c
[ 24.536691] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 007b
[ 24.550841] Code: 55 89 e5 e8 48 0e 7f 00 5d c3 66 90 66 90 66 90 55 89 e5 57 56 53 83 ec 10 e8 32 0e 7f 00 89 c7 89 45 ec 8b 00 89 55 f0 89 4d e8 <8b> 10 39 c7 8d 58 f4 8d 72 f4 75 0b eb 3b 8d b4 26 00 00 00 00
[ 24.560353] EIP: __wake_up_common+0x1b/0x70 SS:ESP: 0068:d6bb9e48
[ 24.571547] CR2: 00000000653a8346
[ 24.573551] ---[ end trace d208903f8b9ffa11 ]---
[ 24.576150] Kernel panic - not syncing: Fatal exception
git bisect start 36fd98883ef26e06ac5e1f99569930f19d59da0a 7089db84e356562f8ba737c29e472cc42d530dbc --
git bisect bad 91908381ef0f5509e823d518c3e7c97141620db3 # 11:58 17- 18 Merge 'linux-review/Codrut-Grosu/ASoC-ux500-Added-to-the-next-line/20170226-035023' into devel-catchup-201702260425
git bisect bad 0838cbbd5637d7bb585c370d073f80008760c339 # 12:25 8- 9 Merge 'linux-review/Codrut-Grosu/ASoC-ux500-Added-blank-line-after-declarations/20170226-040437' into devel-catchup-201702260425
git bisect bad b3dac24e69442026a2e46d0a770eff184bebf037 # 13:04 2- 4 Merge 'linux-review/John-Fastabend/XDP-for-ixgbe/20170226-013816' into devel-catchup-201702260425
git bisect good 200859542c312ac76fa786c31d0fbf0adfb5d5ce # 16:24 206+ 0 0day base guard for 'devel-catchup-201702260425'
git bisect good 661091093918657ab544fb8ca91a5ab172a986dc # 16:53 203+ 0 net: ipv4: remove fib_lookup.h from devinet.c include list
git bisect good dfcb7a14866b8c34b2d3a74ae31631e1d4e7f591 # 17:11 210+ 0 Merge branch 'ipvtap'
git bisect good 3b4735281f67b0aa62bf74c8a1a7758c17f7158d # 17:30 210+ 0 nfp: Use PCI_DEVICE_ID_NETRONOME_NFP* defines
git bisect good bd5ca062ba7d24bcc28f637aa90056f642a35dfa # 17:50 210+ 0 nfp: report NSP ABI version in ethtool FW version
git bisect bad 1faaa78f36cb2915ae89138ba5846f87ade85dcb # 17:58 102- 47 bnxt_en: use eth_hw_addr_random()
git bisect good daf1f1e7841138cb0e48d52c8573a5f064d8f495 # 18:28 308+ 0 bnxt_en: Fix NULL pointer dereference in a failure path during open.
git bisect good ab42676af052e6d3502b31c2dc6b07af08ff126f # 18:41 307+ 0 net: mvpp2: handle too large value in mvpp2_rx_time_coal_set()
git bisect good 0e0372816b9cbd22c82e3e7cd36e8e74c58ba641 # 21:18 310+ 0 net: mvpp2: switch to build_skb() in the RX path
git bisect good 29869d66870a715177bfb505f66a7e0e8bcc89c3 # 21:37 310+ 0 tcp: Revert "tcp: tcp_probe: use spin_lock_bh()"
git bisect good d2852a2240509e512712e25de2d0796cda435ecb # 21:57 310+ 0 arch: add ARCH_HAS_SET_MEMORY config
git bisect bad d54fef315399e0b16f8ae2b41167f34f8df12e88 # 22:25 10- 11 Merge branch 'bpf-unlocking-fix'
git bisect bad 9d876e79df6a2f364b9f2737eacd72ceb27da53a # 08:58 38- 20 bpf: fix unlocking of jited image when module ronx not set
# first bad commit: [9d876e79df6a2f364b9f2737eacd72ceb27da53a] bpf: fix unlocking of jited image when module ronx not set
git bisect good d2852a2240509e512712e25de2d0796cda435ecb # 10:01 910+ 0 arch: add ARCH_HAS_SET_MEMORY config
# extra tests on HEAD of linux-devel/devel-catchup-201702260425
git bisect bad 36fd98883ef26e06ac5e1f99569930f19d59da0a # 10:07 20- 26 0day head guard for 'devel-catchup-201702260425'
# extra tests on tree/branch linus/master
git bisect bad e5d56efc97f8240d0b5d66c03949382b6d7e5570 # 10:07 0- 4 Merge tag 'watchdog-for-linus-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
# extra tests on tree/branch linux-next/master
git bisect bad 3e7350242c6f3d41d28e03418bd781cc1b7bad5f # 10:14 5- 7 Add linux-next specific files for 20170224
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 11 months
[WARNING: A/V UNSCANNABLE][Merge tag 'media/v4.11-1' of git] ff58d005cd: BUG: unable to handle kernel NULL pointer dereference at 0000039c
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 ff58d005cd10fcd372787cceac547e11cf706ff6
Merge: 5ab3566 9eeb0ed
Author: Linus Torvalds <torvalds(a)linux-foundation.org>
AuthorDate: Tue Feb 21 16:58:32 2017 -0800
Commit: Linus Torvalds <torvalds(a)linux-foundation.org>
CommitDate: Tue Feb 21 16:58:32 2017 -0800
Merge tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media updates from Mauro Carvalho Chehab:
- new drivers:
- i.MX6 Video Data Order Adapter's (VDOA)
- Toshiba et8ek8 5MP sensor
- STM DELTA multi-format video decoder V4L2 driver
- SPI connected IR LED
- Mediatek IR remote receiver
- ZyDAS ZD1301 DVB USB interface driver
- new RC keymaps
- some very old LIRC drivers got removed from staging
- RC core gained support encoding IR scan codes
- DVB si2168 gained support for DVBv5 statistics
- lirc_sir driver ported to rc-core and promoted from staging
- other bug fixes, board additions and driver improvements
* tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (230 commits)
[media] mtk-vcodec: fix build warnings without DEBUG
[media] zd1301: fix building interface driver without demodulator
[media] usbtv: add sharpness control
[media] cxusb: Use a dma capable buffer also for reading
[media] ttpci: address stringop overflow warning
[media] dvb-usb-v2: avoid use-after-free
[media] add Hama Hybrid DVB-T Stick support
[media] et8ek8: Fix compiler / Coccinelle warnings
[media] media: fix semicolon.cocci warnings
[media] media: exynos4-is: add flags to dummy Exynos IS i2c adapter
[media] v4l: of: check for unique lanes in data-lanes and clock-lanes
[media] coda/imx-vdoa: constify structs
[media] st-delta: debug: trace stream/frame information & summary
[media] st-delta: add mjpeg support
[media] st-delta: EOS (End Of Stream) support
[media] st-delta: rpmsg ipc support
[media] st-delta: add memory allocator helper functions
[media] st-delta: STiH4xx multi-format video decoder v4l2 driver
[media] MAINTAINERS: add st-delta driver
[media] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support
...
5ab356626f Merge tag 'pinctrl-v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
9eeb0ed0f3 [media] mtk-vcodec: fix build warnings without DEBUG
ff58d005cd Merge tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
+-------------------------------------------------------+------------+------------+------------+
| | 5ab356626f | 9eeb0ed0f3 | ff58d005cd |
+-------------------------------------------------------+------------+------------+------------+
| boot_successes | 261 | 237 | 0 |
| boot_failures | 5 | 0 | 26 |
| invoked_oom-killer:gfp_mask=0x | 1 | | |
| Mem-Info | 1 | | |
| Out_of_memory:Kill_process | 1 | | |
| IP-Config:Auto-configuration_of_network_failed | 4 | | |
| BUG:unable_to_handle_kernel | 0 | 0 | 26 |
| Oops | 0 | 0 | 26 |
| EIP:serial_ir_irq_handler | 0 | 0 | 26 |
| EIP:hardware_init_port | 0 | 0 | 26 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 0 | 26 |
+-------------------------------------------------------+------------+------------+------------+
[ 4.660180] input: rc-core loopback device as /devices/virtual/rc/rc0/input5
[ 4.661186] evbug: Connected device: input5 (rc-core loopback device at rc-core/virtual)
[ 4.662435] input: MCE IR Keyboard/Mouse (rc-loopback) as /devices/virtual/input/input6
[ 4.663793] evbug: Connected device: input6 (MCE IR Keyboard/Mouse (rc-loopback) at /input0)
[ 4.664940] rc rc0: lirc_dev: driver ir-lirc-codec (rc-loopback) registered at minor = 0
[ 4.666322] BUG: unable to handle kernel NULL pointer dereference at 0000039c
[ 4.666675] IP: serial_ir_irq_handler+0x189/0x410
[ 4.666675] *pde = 00000000
[ 4.666675]
[ 4.666675] Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 4.666675] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.10.0-02434-gff58d00 #1
[ 4.666675] task: c0068040 task.stack: c0064000
[ 4.666675] EIP: serial_ir_irq_handler+0x189/0x410
[ 4.666675] EFLAGS: 00210046 CPU: 0
[ 4.666675] EAX: 00000000 EBX: 00000000 ECX: 000000b0 EDX: 00000000
[ 4.666675] ESI: 000003f8 EDI: 00000101 EBP: c008df88 ESP: c008df44
[ 4.666675] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 4.666675] CR0: 80050033 CR2: 0000039c CR3: 07ce1000 CR4: 001406d0
[ 4.666675] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 4.666675] DR6: fffe0ff0 DR7: 00000400
[ 4.666675] Call Trace:
[ 4.666675] <IRQ>
[ 4.666675] __handle_irq_event_percpu+0x57/0x100
[ 4.666675] ? handle_edge_irq+0x12/0x120
[ 4.666675] handle_irq_event_percpu+0x1d/0x50
[ 4.666675] handle_irq_event+0x32/0x60
[ 4.666675] handle_edge_irq+0xa5/0x120
[ 4.666675] ? handle_fasteoi_irq+0x150/0x150
[ 4.666675] handle_irq+0x9d/0xd0
[ 4.666675] </IRQ>
[ 4.666675] do_IRQ+0x5f/0x130
[ 4.666675] ? __this_cpu_preempt_check+0xf/0x20
[ 4.666675] common_interrupt+0x33/0x38
[ 4.666675] EIP: hardware_init_port+0x3f/0x190
[ 4.666675] EFLAGS: 00200246 CPU: 0
[ 4.666675] EAX: c718990f EBX: 00000000 ECX: 00000000 EDX: 000003f9
[ 4.666675] ESI: 000003f9 EDI: 000003f8 EBP: c0065d98 ESP: c0065d84
[ 4.666675] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 4.666675] ? serial_ir_suspend+0x6f/0x90
[ 4.666675] ? parport_pc_pci_probe+0x1ab/0x250
[ 4.666675] serial_ir_probe+0xbb/0x300
[ 4.666675] platform_drv_probe+0x48/0xb0
[ 4.666675] driver_probe_device+0x161/0x500
[ 4.666675] ? acpi_driver_match_device+0x36/0x50
[ 4.666675] __device_attach_driver+0x77/0x110
[ 4.666675] ? klist_next+0x82/0xf0
[ 4.666675] ? __driver_attach+0xf0/0xf0
[ 4.666675] bus_for_each_drv+0x47/0x80
[ 4.666675] __device_attach+0xb5/0x130
[ 4.666675] ? __driver_attach+0xf0/0xf0
[ 4.666675] device_initial_probe+0xd/0x10
[ 4.666675] bus_probe_device+0x77/0x80
[ 4.666675] device_add+0x37e/0x5f0
[ 4.666675] ? kobject_set_name_vargs+0x6b/0x90
[ 4.666675] platform_device_add+0xfc/0x270
[ 4.666675] serial_ir_init_module+0xa6/0x269
[ 4.666675] ? gpio_ir_recv_driver_init+0x11/0x11
[ 4.666675] do_one_initcall+0x7e/0x121
[ 4.666675] ? kernel_init_freeable+0xec/0x188
[ 4.666675] kernel_init_freeable+0x10f/0x188
[ 4.666675] ? rest_init+0x110/0x110
[ 4.666675] kernel_init+0xb/0x100
[ 4.666675] ? schedule_tail+0x20/0x80
[ 4.666675] ? rest_init+0x110/0x110
[ 4.666675] ret_from_fork+0x21/0x2c
[ 4.666675] Code: 89 15 e4 0b 89 c8 84 db ba 02 00 00 00 74 08 8b 0d 2c 0c 89 c8 d3 e2 01 f2 ec 24 01 84 c0 0f 84 ce fe ff ff a1 e8 0b 89 c8 31 d2 <8b> 80 9c 03 00 00 e8 bc 80 73 ff 8b 15 c0 a8 ae c7 01 c2 b8 f0
[ 4.666675] EIP: serial_ir_irq_handler+0x189/0x410 SS:ESP: 0068:c008df44
[ 4.666675] CR2: 000000000000039c
[ 4.666675] ---[ end trace a0c5674b0bbcdbb2 ]---
[ 4.666675] Kernel panic - not syncing: Fatal exception in interrupt
git bisect start 4d6e6d452fb216ac03fbd5bd2cd2ecbecaef6160 c470abd4fde40ea6a0846a2beab642a578c0b8cd --
git bisect bad b37df1eb72f0689451c40e1909e45dc10c699bd2 # 01:48 0- 4 Merge 'aaron/every-1G' into devel-catchup-201702240019
git bisect bad 875de500cd5b158290f677f7d97bcf4077aa1ae6 # 04:35 0- 9 Merge 'open-channel-ssd/pblk.latest' into devel-catchup-201702240019
git bisect good 73112164c8ee37d3b00cfe81ca31ba7834cec9a8 # 04:53 22+ 0 0day base guard for 'devel-catchup-201702240019'
git bisect bad 08eaa36283eaac37e5bfb9029bda8d5a2bf7eb9a # 11:32 0- 41 Merge 'linux-review/Matthias-Schiffer/vxlan-correctly-validate-VXLAN-ID-against-VXLAN_VID_MASK/20170223-233547' into devel-catchup-201702240019
git bisect bad ff58d005cd10fcd372787cceac547e11cf706ff6 # 11:47 0- 12 Merge tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
git bisect good 2bfe01eff4307409b95859e860261d0907149b61 # 13:00 22+ 2 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
git bisect good c9341ee0af4df0af8b727873ef851227345defed # 13:08 22+ 4 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
git bisect good 5ab356626f3cf97f00280f17a52e4b5b4a13e038 # 17:56 22+ 5 Merge tag 'pinctrl-v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect good c62d29c81736c6f3a6a9cc6ba2f5aad1cfa6afbc # 18:07 20+ 40 [media] si2168: implement ucb statistics
git bisect good 59e34ba82aebf75ea70508a114ada1ed3ca0df7c # 18:22 22+ 24 [media] tc358743: Do not read number of CSI lanes in use from chip
git bisect good 2b2d1d403343838401af029bd29b441a414beef3 # 18:37 22+ 24 [media] exynos4-is: Add missing 'of_node_put'
git bisect good 017c324242c2e9724938ef193ac6cb4ec5131778 # 19:23 22+ 91 [media] st-delta: EOS (End Of Stream) support
git bisect good bed6838f0113ba72c35f14f9027f1db713ab4188 # 20:04 22+ 26 [media] et8ek8: Fix compiler / Coccinelle warnings
git bisect good 3f190e3aec212fc8c61e202c51400afa7384d4bc # 20:20 20+ 22 [media] cxusb: Use a dma capable buffer also for reading
git bisect good 9165ba166cac5e8c9abda2012ea37cc3430c0b14 # 20:37 22+ 25 [media] usbtv: add sharpness control
git bisect good 9eeb0ed0f30938f31a3d9135a88b9502192c18dd # 20:48 22+ 0 [media] mtk-vcodec: fix build warnings without DEBUG
# first bad commit: [ff58d005cd10fcd372787cceac547e11cf706ff6] Merge tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
git bisect good 5ab356626f3cf97f00280f17a52e4b5b4a13e038 # 21:01 62+ 5 Merge tag 'pinctrl-v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect good 9eeb0ed0f30938f31a3d9135a88b9502192c18dd # 21:25 63+ 0 [media] mtk-vcodec: fix build warnings without DEBUG
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad ff58d005cd10fcd372787cceac547e11cf706ff6 # 00:01 0- 45 Merge tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
# extra tests on HEAD of linux-devel/devel-catchup-201702240019
git bisect bad 4d6e6d452fb216ac03fbd5bd2cd2ecbecaef6160 # 00:01 0- 13 0day head guard for 'devel-catchup-201702240019'
# extra tests on tree/branch linus/master
git bisect bad f1ef09fde17f9b77ca1435a5b53a28b203afb81c # 00:14 0- 49 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
# extra tests on tree/branch linux-next/master
git bisect bad 3e7350242c6f3d41d28e03418bd781cc1b7bad5f # 01:30 0- 14 Add linux-next specific files for 20170224
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 11 months
[blk_mq_register_hctx] 29dee3c03a WARNING: CPU: 0 PID: 5 at lib/refcount.c:114 refcount_inc
by Fengguang Wu
Hello,
FYI, an old blk_mq bug triggers new warnings on this commit. It's very
reproducible and you may try the attached reproduce-* script.
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 29dee3c03abce04cd527878ef5f9e5f91b7b83f4
Author: Peter Zijlstra <peterz(a)infradead.org>
AuthorDate: Fri Feb 10 16:27:52 2017 +0100
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Fri Feb 24 09:02:10 2017 +0100
locking/refcounts: Out-of-line everything
Linus asked to please make this real C code.
And since size then isn't an issue what so ever anymore, remove the
debug knob and make all WARN()s unconditional.
Suggested-by: Linus Torvalds <torvalds(a)linux-foundation.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: dwindsor(a)gmail.com
Cc: elena.reshetova(a)intel.com
Cc: gregkh(a)linuxfoundation.org
Cc: ishkamiel(a)gmail.com
Cc: keescook(a)chromium.org
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
2bfe01eff4 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
29dee3c03a locking/refcounts: Out-of-line everything
+--------------------------------------------------+------------+------------+
| | 2bfe01eff4 | 29dee3c03a |
+--------------------------------------------------+------------+------------+
| boot_successes | 7 | 0 |
| boot_failures | 65 | 22 |
| Kernel_panic-not_syncing:Fatal_exception | 65 | 21 |
| WARNING:at_lib/kobject.c:#kobject_add_internal | 4 | 3 |
| WARNING:at_lib/refcount.c:#refcount_inc | 0 | 19 |
| WARNING:at_lib/refcount.c:#refcount_sub_and_test | 0 | 21 |
+--------------------------------------------------+------------+------------+
[ 4.372151] sd 0:0:0:0: [sda] Write Protect is off
[ 4.373531] sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
[ 4.434620] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 4.447772] kobject (ffff88001c041f10): tried to init an initialized object, something is seriously wrong.
[ 4.453395] CPU: 0 PID: 5 Comm: kworker/u2:0 Not tainted 4.10.0-01216-g29dee3c #2
[ 4.455534] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 4.458252] Workqueue: events_unbound async_run_entry_fn
[ 4.459708] Call Trace:
[ 4.460611] dump_stack+0x19/0x27
[ 4.461652] kobject_init+0xda/0xf0
[ 4.462731] blk_mq_register_dev+0x31/0x150
[ 4.463990] blk_register_queue+0x205/0x250
[ 4.465217] device_add_disk+0x1ab/0x710
[ 4.466384] sd_probe_async+0x11c/0x1e0
[ 4.467544] async_run_entry_fn+0xbd/0x220
[ 4.468760] process_one_work+0x4a7/0x990
[ 4.469938] ? process_one_work+0x348/0x990
[ 4.471168] worker_thread+0x342/0x8a0
[ 4.472300] ? process_one_work+0x990/0x990
[ 4.473540] kthread+0x188/0x190
[ 4.474557] ? kthread_create_on_node+0x40/0x40
[ 4.475850] ret_from_fork+0x31/0x40
[ 4.476978] kobject (ffff88001fcc02f0): tried to init an initialized object, something is seriously wrong.
[ 4.479543] CPU: 0 PID: 5 Comm: kworker/u2:0 Not tainted 4.10.0-01216-g29dee3c #2
[ 4.481747] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 4.484356] Workqueue: events_unbound async_run_entry_fn
[ 4.485755] Call Trace:
[ 4.486580] dump_stack+0x19/0x27
[ 4.487585] kobject_init+0xda/0xf0
[ 4.488619] blk_mq_register_dev+0x4b/0x150
[ 4.489795] blk_register_queue+0x205/0x250
[ 4.490996] device_add_disk+0x1ab/0x710
[ 4.492123] sd_probe_async+0x11c/0x1e0
[ 4.493220] async_run_entry_fn+0xbd/0x220
[ 4.507429] process_one_work+0x4a7/0x990
[ 4.508581] ? process_one_work+0x348/0x990
[ 4.509752] worker_thread+0x342/0x8a0
[ 4.510852] ? process_one_work+0x990/0x990
[ 4.512038] kthread+0x188/0x190
[ 4.513009] ? kthread_create_on_node+0x40/0x40
[ 4.514283] ret_from_fork+0x31/0x40
[ 4.515422] ------------[ cut here ]------------
[ 4.516711] WARNING: CPU: 0 PID: 5 at lib/refcount.c:114 refcount_inc+0x65/0x70
[ 4.519092] refcount_t: increment on 0; use-after-free.
[ 4.533534] Modules linked in:
[ 4.534491] CPU: 0 PID: 5 Comm: kworker/u2:0 Not tainted 4.10.0-01216-g29dee3c #2
[ 4.536516] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 4.539115] Workqueue: events_unbound async_run_entry_fn
[ 4.540523] Call Trace:
[ 4.541349] dump_stack+0x19/0x27
[ 4.542347] __warn+0x150/0x170
[ 4.543312] warn_slowpath_fmt+0x4f/0x60
[ 4.544446] refcount_inc+0x65/0x70
[ 4.545486] kobject_get+0x4f/0x80
[ 4.559552] kobject_add_internal+0x6b/0x610
[ 4.560758] ? kfree_const+0x32/0x40
[ 4.561797] kobject_add_varg+0x45/0x60
[ 4.562897] kobject_add+0x77/0xa0
[ 4.563939] ? kobject_add+0x77/0xa0
[ 4.564986] blk_mq_register_hctx+0xc2/0xf0
[ 4.566170] blk_mq_register_dev+0xd8/0x150
[ 4.567362] blk_register_queue+0x205/0x250
[ 4.568526] device_add_disk+0x1ab/0x710
[ 4.569674] sd_probe_async+0x11c/0x1e0
[ 4.570849] async_run_entry_fn+0xbd/0x220
[ 4.572054] process_one_work+0x4a7/0x990
[ 4.573232] ? process_one_work+0x348/0x990
[ 4.574466] worker_thread+0x342/0x8a0
[ 4.575603] ? process_one_work+0x990/0x990
[ 4.576834] kthread+0x188/0x190
[ 4.577853] ? kthread_create_on_node+0x40/0x40
[ 4.579161] ret_from_fork+0x31/0x40
[ 4.580283] ---[ end trace 0433d9822ada324f ]---
[ 4.608948] sd 0:0:0:0: [sda] Attached SCSI disk
git bisect start 0ac0099811fe1f36bf658b5f22f6cc3765c4563f c470abd4fde40ea6a0846a2beab642a578c0b8cd --
git bisect bad ea07c4bdbbbbf5ca77b3708123b3d1a9fb779c5d # 12:53 0- 2 Merge 'linux-platform-drivers-x86/testing' into devel-spot-201702260153
git bisect good c7db7d7086d06a6e7c4023c3e872b3a74191c96a # 02:09 24+ 26 Merge 'linux-review/Calin-Cruceru/ASoC-samsung-Remove-extra-blank-lines/20170225-201202' into devel-spot-201702260153
git bisect good cab29724c612cf5a5cf57fa00a420ef38836c17e # 02:27 24+ 25 Merge 'linux-review/Mihai-Burduselu/soc-blackfin-remove-out-of-memory-message/20170225-190702' into devel-spot-201702260153
git bisect good 94f0b014f854b8b4f80ce80e5fb2d15d5d8f337b # 15:38 24+ 25 Merge 'linux-review/Codrut-Grosu/ASoC-txx9-Added-requiered-spaces/20170225-181829' into devel-spot-201702260153
git bisect bad e46a787651fd8c9e24ce9a32f1a173b30682a73d # 15:57 0- 1 Merge 'tip/master' into devel-spot-201702260153
git bisect good 09c386ed86cb224159ccb9f738d1d6a5c73aafce # 16:59 23+ 23 Merge 'linux-review/Alexandru-Jercaianu/Staging-bcm2835-audio-Removed-redundant-check/20170225-182640' into devel-spot-201702260153
git bisect bad cc57e44c9e069da993cd18914e644983dc627188 # 17:18 0- 5 Merge branch 'locking/urgent'
git bisect good 1db159781cc7df093085ccaddc022beaaa9dd990 # 17:36 22+ 25 Merge branch 'core/urgent'
git bisect bad 318b1dedcd39012624f466d281627553e9fa2570 # 17:50 0- 9 locking/refcounts: Add missing kernel.h header to have UINT_MAX defined
git bisect bad 29dee3c03abce04cd527878ef5f9e5f91b7b83f4 # 18:11 0- 5 locking/refcounts: Out-of-line everything
# first bad commit: [29dee3c03abce04cd527878ef5f9e5f91b7b83f4] locking/refcounts: Out-of-line everything
git bisect good 2bfe01eff4307409b95859e860261d0907149b61 # 18:53 67+ 65 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 29dee3c03abce04cd527878ef5f9e5f91b7b83f4 # 19:23 0- 5 locking/refcounts: Out-of-line everything
# extra tests on HEAD of linux-devel/devel-spot-201702260153
git bisect bad 0ac0099811fe1f36bf658b5f22f6cc3765c4563f # 19:23 0- 25 0day head guard for 'devel-spot-201702260153'
# extra tests on tree/branch linux-next/master
git bisect bad ed7b11e565c736828f0b793f596a4ca20efee747 # 19:40 0- 9 Add linux-next specific files for 20170227
# extra tests with first bad commit reverted
git bisect good a7801a101e4d5c1e03c0ad46efb78fc8ab3e6779 # 22:12 66+ 62 Revert "locking/refcounts: Out-of-line everything"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 11 months
[lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression
by kernel test robot
Greeting,
FYI, we noticed a 149% regression of ftq.noise.50% due to commit:
commit: 4e5160766fcc9f41bbd38bac11f92dce993644aa ("sched/fair: Propagate asynchrous detach")
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
in testcase: ftq
on test machine: 8 threads Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz with 8G memory
with following parameters:
nr_task: 100%
samples: 6000ss
test: cache
freq: 20
cpufreq_governor: powersave
test-description: The FTQ benchmarks measure hardware and software interference or 'noise' on a node from the applications perspective.
test-url: https://github.com/rminnich/ftq
In addition to that, the commit also has significant impact on the following tests:
+------------------+--------------------------------------------------------------------------------+
| testcase: change | unixbench: unixbench.score 2.7% improvement |
| test machine | 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 4G memory |
| test parameters | cpufreq_governor=performance |
| | nr_task=100% |
| | runtime=300s |
| | test=execl |
+------------------+--------------------------------------------------------------------------------+
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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: ftq/100%-6000ss-cache-20-powersave/lkp-hsw-d01
09a43ace1f986b00 4e5160766fcc9f41bbd38bac11
---------------- --------------------------
%stddev change %stddev
\ | \
305 ± 30% 260% 1100 ± 14% ftq.noise.75%
1386 ± 19% 149% 3457 ± 7% ftq.noise.50%
2148 ± 11% 98% 4257 ± 4% ftq.noise.25%
3963589 3898578 ftq.time.involuntary_context_switches
ftq.noise.50_
4000 ++------------O------------------------------------------------------+
| O O |
3500 ++ O O O O O O O
| O O O O O O O O O O O O O O |
O O O O O |
3000 ++ O |
| O |
2500 ++ |
| |
2000 ++ |
| * .* |
| + : * * * + |
1500 ++ + : + + + + : + .* |
|.* *. + * *.. : * + |
1000 *+-------*-----------*----------*------------------------------------+
[*] 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,
Ying Huang
3 years, 11 months