[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140308065153.GA30311@localhost>
Date: Sat, 8 Mar 2014 14:51:53 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>
Cc: Jiri Olsa <jolsa@...hat.com>,
Stephane Eranian <eranian@...gle.com>,
Ingo Molnar <mingo@...nel.org>
Subject: [reboot] WARNING: CPU: 0 PID: 112 at kernel/events/core.c:5655
perf_swevent_add()
Hi all,
This is a very old WARNING, too old to be bisectable. The below 3 different
back traces show that it's always triggered by trinity at system reboot time.
Any ideas to quiet it? Thank you!
[ 88.611838] Unregister pv shared memory for cpu 0
[ 88.618866] sbc60xxwdt: Watchdog timer is now disabled...
[ 88.626059] ------------[ cut here ]------------
[ 88.626064] WARNING: CPU: 0 PID: 112 at kernel/events/core.c:5655 perf_swevent_add+0x104/0x194()
[ 88.626064] Modules linked in:
[ 88.626064] CPU: 0 PID: 112 Comm: trinity-main Not tainted 3.14.0-rc5-02112-g3903b5b #240
[ 88.626064] 00000000 c8d95e04 c187bedc c8d95e1c c105d6a7 c11107ac cf0b2c00 00000000
[ 88.626064] cfff3054 c8d95e2c c105d713 00000009 00000000 c8d95e3c c11107ac cf0b2c00
[ 88.626064] cf019780 c8d95e58 c110c852 b824a5a9 00000013 cf019780 cf0b2c00 c1d1c0e0
[ 88.626064] Call Trace:
[ 88.626064] [<c187bedc>] dump_stack+0x40/0x5e
[ 88.626064] [<c105d6a7>] warn_slowpath_common+0xa9/0xea
[ 88.626064] [<c11107ac>] ? perf_swevent_add+0x104/0x194
[ 88.626064] [<c105d713>] warn_slowpath_null+0x2b/0x3d
[ 88.626064] [<c11107ac>] perf_swevent_add+0x104/0x194
[ 88.626064] [<c110c852>] event_sched_in+0xed/0x26f
[ 88.626064] [<c110ca43>] group_sched_in+0x6f/0x23f
[ 88.626064] [<c110ceeb>] ctx_sched_in+0x2d8/0x33e
[ 88.626064] [<c110d920>] perf_event_sched_in+0x9f/0xb6
[ 88.626064] [<c110dc7e>] perf_event_context_sched_in+0xa9/0x100
[ 88.626064] [<c110dd19>] __perf_event_task_sched_in+0x44/0x2b9
[ 88.626064] [<c1095440>] finish_task_switch.constprop.54+0x1cd/0x210
[ 88.626064] [<c1888a0e>] __schedule+0x984/0xb7e
[ 88.626064] [<c10d5598>] ? tick_program_event+0x2c/0x3f
[ 88.626064] [<c108e022>] ? hrtimer_interrupt+0x1e8/0x348
[ 88.626064] [<c10a7dd9>] ? trace_hardirqs_off_caller+0x1c7/0x262
[ 88.626064] [<c1889191>] ? preempt_schedule_irq+0x70/0x142
[ 88.626064] [<c10ab350>] ? trace_hardirqs_on_caller+0x2be/0x41d
[ 88.626064] [<c18891d4>] preempt_schedule_irq+0xb3/0x142
[ 88.626064] [<c1890f4b>] need_resched+0x1c/0x21
[ 88.626064] [<c1899400>] ? sysenter_past_esp+0x35/0x67
[ 88.626064] ---[ end trace f67d3e8be5e62621 ]---
[ 88.726142] reboot: Restarting system
* Will now restart
[ 474.781628] Unregister pv shared memory for cpu 0
[ 474.828155] ------------[ cut here ]------------
[ 474.828298] WARNING: CPU: 0 PID: 118 at kernel/events/core.c:5640 perf_swevent_add+0x121/0x135()
[ 474.828298] CPU: 0 PID: 118 Comm: trinity-main Not tainted 3.13.0 #1
[ 474.828298] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 474.828298] 00000000 00000000 7d3cdd18 79538855 7d3cdd30 7902d2e5 7907a77c 00000000
[ 474.828298] 7ccb52c0 00000000 7d3cdd40 7902d382 00000009 00000000 7d3cdd7c 7907a77c
[ 474.828298] 00000002 7d3cdd58 7901e299 00000002 00000001 7d3cdd70 7900587b 7ccb4e10
[ 474.828298] Call Trace:
[ 474.828298] [<79538855>] dump_stack+0x16/0x18
[ 474.828298] [<7902d2e5>] warn_slowpath_common+0x50/0x67
[ 474.828298] [<7907a77c>] ? perf_swevent_add+0x121/0x135
[ 474.828298] [<7902d382>] warn_slowpath_null+0xf/0x13
[ 474.828298] [<7907a77c>] perf_swevent_add+0x121/0x135
[ 474.828298] [<7901e299>] ? kvm_clock_read+0x14/0x1d
[ 474.828298] [<7900587b>] ? arch_install_hw_breakpoint+0x83/0xb9
[ 474.828298] [<79077f74>] event_sched_in+0x7c/0x146
[ 474.828298] [<79078083>] group_sched_in+0x45/0x123
[ 474.828298] [<7907834b>] ctx_sched_in+0x1ea/0x2be
[ 474.828298] [<7907895a>] perf_event_sched_in+0x51/0x5a
[ 474.828298] [<790789b6>] perf_event_context_sched_in+0x53/0x72
[ 474.828298] [<79078a00>] __perf_event_task_sched_in+0x2b/0x153
[ 474.828298] [<79043f00>] finish_task_switch.constprop.58+0x75/0x8f
[ 474.828298] [<7953f0f3>] __schedule+0x341/0x4ae
[ 474.828298] [<790a2ef5>] ? kmem_cache_free+0x189/0x192
[ 474.828298] [<790a2ef5>] ? kmem_cache_free+0x189/0x192
[ 474.828298] [<790b1e70>] ? final_putname+0x2d/0x30
[ 474.828298] [<790b1ea2>] ? getname_flags+0x2f/0x11a
[ 474.828298] [<790b1e70>] ? final_putname+0x2d/0x30
[ 474.828298] [<790b1e70>] ? final_putname+0x2d/0x30
[ 474.828298] [<790b1fb8>] ? putname+0x1d/0x26
[ 474.828298] [<7953f364>] _cond_resched+0x1e/0x2f
[ 474.828298] [<7953fa52>] mutex_lock_nested+0x29/0x2d7
[ 474.828298] [<790db0a3>] sysfs_getattr+0x1d/0x40
[ 474.828298] [<790db086>] ? sysfs_refresh_inode+0x6d/0x6d
[ 474.828298] [<790ae6dc>] vfs_getattr_nosec+0x20/0x2e
[ 474.828298] [<790ae70a>] vfs_getattr+0x20/0x24
[ 474.828298] [<790ae79c>] vfs_fstatat+0x4e/0x81
[ 474.828298] [<790aea66>] SyS_fstatat64+0x1b/0x2f
[ 474.828298] [<7954311e>] ? sysenter_do_call+0x1e/0x33
[ 474.828298] [<79543112>] sysenter_do_call+0x12/0x33
[ 474.828298] ---[ end trace 5a98e19615ad483e ]---
[ 476.221934] reboot: Restarting system
[ 76.776846] ------------[ cut here ]------------
[ 76.777395] reboot: Restarting system
[ 76.777397] reboot: machine restart
[ 76.779244] WARNING: CPU: 1 PID: 266 at kernel/events/core.c:5640 perf_swevent_add+0x112/0x120()
[ 76.781382] CPU: 1 PID: 266 Comm: trinity-main Not tainted 3.13.0-rc7 #1
[ 76.782617] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 76.784121] 0000000000000009 ffff88000f1b3968 ffffffff81669783 0000000000000000
[ 76.785591] ffff88000f1b39a0 ffffffff81088f58 ffff88000f2c5000 ffff88000f0d2400
[ 76.786772] 00000006860bccb1 ffff88000e7d4410 ffff88000e7d4414 ffff88000f1b39b0
[ 76.786772] Call Trace:
[ 76.786772] [<ffffffff81669783>] dump_stack+0x4d/0x66
[ 76.786772] [<ffffffff81088f58>] warn_slowpath_common+0x78/0xa0
[ 76.786772] [<ffffffff8108906a>] warn_slowpath_null+0x1a/0x20
[ 76.786772] [<ffffffff81126f02>] perf_swevent_add+0x112/0x120
[ 76.786772] [<ffffffff81129e16>] event_sched_in.isra.83+0x76/0x160
[ 76.786772] [<ffffffff81129f6a>] group_sched_in+0x6a/0x1e0
[ 76.786772] [<ffffffff810ba4cd>] ? sched_clock_local+0x1d/0x80
[ 76.786772] [<ffffffff8112a1b2>] ctx_sched_in.isra.84+0xd2/0x1a0
[ 76.786772] [<ffffffff8112a2cf>] perf_event_sched_in.isra.87+0x4f/0x70
[ 76.786772] [<ffffffff8112a4c5>] perf_event_context_sched_in.isra.88+0x75/0xc0
[ 76.786772] [<ffffffff8112afa9>] __perf_event_task_sched_in+0x1a9/0x1d0
[ 76.786772] [<ffffffff810b2068>] finish_task_switch+0xa8/0x100
[ 76.786772] [<ffffffff8166c64c>] __schedule+0x38c/0x840
[ 76.786772] [<ffffffff8166cb1a>] schedule+0x1a/0x20
[ 76.786772] [<ffffffff8166bde9>] schedule_timeout+0x199/0x1f0
[ 76.786772] [<ffffffff8166d42c>] ? wait_for_completion+0xac/0x120
[ 76.786772] [<ffffffff8166d42c>] ? wait_for_completion+0xac/0x120
[ 76.786772] [<ffffffff8166d434>] wait_for_completion+0xb4/0x120
[ 76.786772] [<ffffffff810b7300>] ? wake_up_state+0x20/0x20
[ 76.786772] [<ffffffff810de630>] ? __call_rcu+0x390/0x390
[ 76.786772] [<ffffffff810dbf0a>] wait_rcu_gp+0x5a/0x70
[ 76.786772] [<ffffffff810dbd80>] ? ftrace_raw_output_rcu_utilization+0x50/0x50
[ 76.786772] [<ffffffff810c59dd>] ? complete+0x1d/0x50
[ 76.786772] [<ffffffff810e04be>] synchronize_sched+0x5e/0x70
[ 76.786772] [<ffffffff81571f45>] synchronize_net+0x35/0x50
[ 76.786772] [<ffffffff815b1347>] packet_release+0x237/0x330
[ 76.786772] [<ffffffff815572e9>] sock_release+0x19/0x70
[ 76.786772] [<ffffffff81557352>] sock_close+0x12/0x20
[ 76.786772] [<ffffffff81177a05>] __fput+0xf5/0x2b0
[ 76.786772] [<ffffffff81177c0e>] ____fput+0xe/0x10
[ 76.786772] [<ffffffff810a6764>] task_work_run+0xb4/0xe0
[ 76.786772] [<ffffffff8108b41d>] do_exit+0x27d/0xa40
[ 76.786772] [<ffffffff8123c1c6>] ? lockdep_sys_exit_thunk+0x35/0x67
[ 76.786772] [<ffffffff8108bc6c>] do_group_exit+0x4c/0xc0
[ 76.786772] [<ffffffff8108bcf4>] SyS_exit_group+0x14/0x20
[ 76.786772] [<ffffffff81672e0a>] tracesys+0xd0/0xd5
[ 76.786772] ---[ end trace d1ea2a02ef886e63 ]---
git bisect bad 3903b5b2bac33dcf80b46bc0cde1559e680b76d2 # 07:17 0- 8 0day head guard for 'devel-roam-i386-201403080639'
git bisect bad 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 # 07:45 7- 4 Linux 3.12
git bisect bad 6e4664525b1db28f8c4e1130957f70a94c19213e # 07:54 0- 1 Linux 3.11
git bisect bad 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 # 08:05 3- 3 Linux 3.10
git bisect bad c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 # 08:14 1- 4 Linux 3.9
git bisect bad 19f949f52599ba7c3f67a5897ac6be14bfcb1200 # 08:18 4- 5 Linux 3.8
git bisect bad 29594404d7fe73cd80eaa4ee8c43dcc53970c60e # 08:23 2- 2 Linux 3.7
git bisect bad a0d271cbfed1dd50278c6b06bead3d00ba0a88f9 # 08:33 13- 13 Linux 3.6
git bisect bad 28a33cbc24e4256c143dce96c7d93bf423229f92 # 08:43 31- 13 Linux 3.5
git bisect bad 76e10d158efb6d4516018846f60c2ab5501900bc # 08:48 35- 34 Linux 3.4
git bisect bad c16fa4f2ad19908a47c63d8fa436a1178438c7e7 # 08:54 7- 6 Linux 3.3
git bisect bad 805a6af8dba5dfdd35ec35dc52ec0122400b2610 # 09:11 13- 11 Linux 3.2
git bisect bad c3b92c8787367a8bb53d57d9789b558f1295cc96 # 09:14 5- 4 Linux 3.1
git bisect bad 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe # 09:29 17- 13 Linux 3.0
Thanks,
Fengguang
View attachment "dmesg-quantal-jaketown-45:20140308070010:i386-randconfig-r5-0308::" of type "text/plain" (44292 bytes)
Download attachment "i386-randconfig-r5-0308-3903b5b2bac33dcf80b46bc0cde1559e680b76d2-WARNING:---at----perf_swevent_add+-x-120202.log" of type "application/octet-stream" (52538 bytes)
View attachment "config-3.14.0-rc5-02112-g3903b5b" of type "text/plain" (84885 bytes)
Powered by blists - more mailing lists