[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141112102706.GF1705@yliu-dev.sh.intel.com>
Date: Wed, 12 Nov 2014 18:27:06 +0800
From: lkp@...org
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Steven Rostedt <rostedt@...dmis.org>,
LKML <linux-kernel@...r.kernel.org>, lkp@...org,
Yuanhan Liu <yuanhan.liu@...ux.intel.com>
Subject: [LKP] [ftrace/x86] WARNING: CPU: 0 PID: 1795 at
kernel/trace/ftrace.c:2033 ftrace_get_addr_new+0x6e/0xb6()
FYI, we noticed the below changes on
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 12cce594fa8f12e002e7eb5d10141853c1e6a112 ("ftrace/x86: Allow !CONFIG_PREEMPT dynamic ops to use allocated trampolines")
+--------------------------------------------------------+------------+------------+
| | 15d5b02cc5 | 12cce594fa |
+--------------------------------------------------------+------------+------------+
| boot_successes | 42 | 17 |
| boot_failures | 4 | 4 |
| BUG:kernel_test_crashed | 4 | 1 |
| WARNING:at_kernel/trace/ftrace.c:ftrace_get_addr_new() | 0 | 3 |
| backtrace:perf_tp_event_init | 0 | 3 |
| backtrace:perf_init_event | 0 | 3 |
| backtrace:perf_event_alloc | 0 | 3 |
| backtrace:SyS_perf_event_open | 0 | 3 |
| backtrace:perf_ftrace_event_register | 0 | 3 |
| backtrace:perf_trace_init | 0 | 3 |
| backtrace:tipc_disc_init_msg | 0 | 1 |
| backtrace:tipc_msg_init | 0 | 1 |
| backtrace:tipc_nametbl_init | 0 | 1 |
| backtrace:tipc_sk_ref_table_init | 0 | 1 |
| backtrace:tipc_socket_init | 0 | 1 |
| backtrace:sysctl_net_init | 0 | 1 |
| backtrace:init_memory_mapping | 0 | 1 |
| backtrace:profile_init | 0 | 1 |
| backtrace:zone_wait_table_init | 0 | 1 |
| backtrace:pcrypt_init_padata | 0 | 1 |
| backtrace:run_init_process | 0 | 2 |
| backtrace:try_to_run_init_process | 0 | 2 |
| backtrace:init_linuxrc | 0 | 2 |
| backtrace:kvm_vcpu_init | 0 | 2 |
| backtrace:kvm_init | 0 | 2 |
| backtrace:kvm_gfn_to_hva_cache_init | 0 | 2 |
| backtrace:kvm_ioapic_init | 0 | 2 |
| backtrace:kvm_coalesced_mmio_init | 0 | 2 |
| backtrace:kvm_eventfd_init | 0 | 2 |
| backtrace:kvm_irqfd_init | 0 | 2 |
| backtrace:kvm_vfio_ops_init | 0 | 2 |
| backtrace:kvm_async_pf_init | 0 | 2 |
| backtrace:kvm_async_pf_vcpu_init | 0 | 2 |
| backtrace:init_emulate_ctxt | 0 | 2 |
| backtrace:kvm_timer_init | 0 | 2 |
| backtrace:fx_init | 0 | 2 |
| backtrace:kvm_arch_init | 0 | 2 |
| backtrace:kvm_arch_vcpu_init | 0 | 2 |
| backtrace:kvm_arch_init_vm | 0 | 2 |
| backtrace:shadow_walk_init | 0 | 2 |
+--------------------------------------------------------+------------+------------+
[ 5.251562] random: trinity urandom read with 7 bits of entropy available
[ 15.332185] sock: process `trinity-main' is using obsolete setsockopt SO_BSDCOMPAT
[ 16.288125] ------------[ cut here ]------------
[ 16.290326] WARNING: CPU: 0 PID: 1795 at kernel/trace/ftrace.c:2033 ftrace_get_addr_new+0x6e/0xb6()
[ 16.294978] Modules linked in:
[ 16.296969] CPU: 0 PID: 1795 Comm: trinity-main Not tainted 3.18.0-rc4-wl-g55fe5ef #1
[ 16.300668] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 16.303231] 0000000000000009 ffff88001025fbe8 ffffffff819ef520 00000000000033e2
[ 16.307863] 0000000000000000 ffff88001025fc28 ffffffff810e6d54 0000000000000000
[ 16.312524] ffffffff81164804 ffffffff8205e000 ffff880013700000 ffffffff810001c8
[ 16.317320] Call Trace:
[ 16.318874] [<ffffffff819ef520>] dump_stack+0x4e/0x68
[ 16.321334] [<ffffffff810e6d54>] warn_slowpath_common+0x81/0x9b
[ 16.324410] [<ffffffff81164804>] ? ftrace_get_addr_new+0x6e/0xb6
[ 16.326934] [<ffffffff810001c8>] ? 0xffffffff810001c8
[ 16.329336] [<ffffffff810e6e11>] warn_slowpath_null+0x1a/0x1c
[ 16.331850] [<ffffffff81164804>] ftrace_get_addr_new+0x6e/0xb6
[ 16.334488] [<ffffffff81064ec9>] ftrace_replace_code+0xda/0x330
[ 16.337164] [<ffffffff8116520a>] ftrace_modify_all_code+0x44/0xcf
[ 16.339768] [<ffffffff8106512f>] arch_ftrace_update_code+0x10/0x19
[ 16.342442] [<ffffffff81165695>] ftrace_run_update_code+0x21/0x42
[ 16.345128] [<ffffffff811656e8>] ftrace_startup_enable+0x32/0x34
[ 16.347724] [<ffffffff8116583d>] ftrace_startup+0x153/0x166
[ 16.350306] [<ffffffff8116589f>] register_ftrace_function+0x4f/0x68
[ 16.352935] [<ffffffff8117e28c>] perf_ftrace_event_register+0x3e/0xf2
[ 16.355626] [<ffffffff8117e10a>] perf_trace_init+0x256/0x28a
[ 16.358275] [<ffffffff8118bf49>] perf_tp_event_init+0x27/0x3a
[ 16.360813] [<ffffffff811923b5>] perf_init_event+0xc6/0xfd
[ 16.363320] [<ffffffff81192699>] perf_event_alloc+0x2ad/0x336
[ 16.365990] [<ffffffff81192e5b>] SyS_perf_event_open+0x42b/0x97d
[ 16.368650] [<ffffffff811c5a00>] ? do_brk+0x175/0x267
[ 16.370981] [<ffffffff819f8b89>] ia32_do_call+0x13/0x13
[ 16.373447] ---[ end trace 15858d6d5a0d0548 ]---
[ 16.375508] Bad trampoline accounting at: ffffffff810001c8 (run_init_process+0x0/0x2d) (10000001)
View attachment ".dmesg" of type "text/plain" (36264 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists