Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752756Ab2EUGIP (ORCPT ); Mon, 21 May 2012 02:08:15 -0400 Received: from LGEMRELSE1Q.lge.com ([156.147.1.111]:62946 "EHLO LGEMRELSE1Q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751063Ab2EUGIO (ORCPT ); Mon, 21 May 2012 02:08:14 -0400 X-AuditID: 9c93016f-b7c3cae000001954-39-4fb9dbcbdf7f From: Namhyung Kim To: David Ahern Cc: Peter Zijlstra , Arnaldo Carvalho de Melo , Linus Torvalds , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: Perf events warning.. References: <1337034048.27020.137.camel@laptop> <1337078996.27694.26.camel@twins> <4FB2755F.9020606@gmail.com> <1337095700.27694.76.camel@twins> <4FB27841.9040301@gmail.com> <87aa18ewh2.fsf@sejong.aot.lge.com> Date: Mon, 21 May 2012 15:06:05 +0900 In-Reply-To: <87aa18ewh2.fsf@sejong.aot.lge.com> (Namhyung Kim's message of "Wed, 16 May 2012 10:38:33 +0900") Message-ID: <87ipfq2hma.fsf@sejong.aot.lge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3919 Lines: 86 Hi, On Wed, 16 May 2012 10:38:33 +0900, Namhyung Kim wrote: > On Tue, 15 May 2012 09:37:37 -0600, David Ahern wrote: >> :-) Right, KVM and the vPMU added in 3.3. That said, it is recognized >> as a Nehalem and perf walks the Nehalem events path. >> >> So if VM based WARNING is not to your liking, here's a baremetal version: >> >> [ 84.388495] ------------[ cut here ]------------ >> [ 84.388554] WARNING: at >> /opt/sw/ahern/kernels/kernel-2.6.git/arch/x86/kernel/cpu/perf_event.c:1054 >> x86_pmu_start+0xdc/0x110() >> [ 84.388613] Hardware name: ProLiant DL380 G6 >> [ 84.388663] Modules linked in: nfs fscache bridge stp llc >> ipt_MASQUERADE iptable_nat nf_nat xt_physdev nf_conntrack_ipv4 >> nf_defrag_ipv4 xt_state nf_conntrack xt_multiport nfsd lockd nfs_acl >> auth_rpcgss sunrpc coretemp ipmi_si ipmi_msghandler bnx2 i7core_edac >> edac_core hpilo hpwdt acpi_power_meter crc32c_intel microcode iTCO_wdt >> iTCO_vendor_support vhost_net pcspkr macvtap macvlan tun virtio_net >> kvm_intel kvm usb_storage hpsa radeon ttm drm_kms_helper drm >> i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan] >> [ 84.390624] Pid: 1806, comm: find Not tainted 3.4.0-rc7+ #1 >> [ 84.390671] Call Trace: >> [ 84.390719] [] warn_slowpath_common+0x7f/0xc0 >> [ 84.390769] [] warn_slowpath_null+0x1a/0x20 >> [ 84.390831] [] x86_pmu_start+0xdc/0x110 >> [ 84.390880] [] x86_pmu_enable+0x212/0x270 >> [ 84.390996] [] perf_event_context_sched_in+0xe6/0x100 >> [ 84.391113] [] perf_event_comm+0x103/0x2b0 >> [ 84.391232] [] set_task_comm+0x72/0xe0 >> [ 84.391361] [] setup_new_exec+0x8b/0x240 >> [ 84.391480] [] load_elf_binary+0x3e7/0x19a0 >> [ 84.391600] [] ? get_user_pages+0x52/0x60 >> [ 84.391716] [] ? get_user_arg_ptr+0x38/0x80 >> [ 84.391833] [] search_binary_handler+0xee/0x340 >> [ 84.391963] [] ? load_elf_library+0x230/0x230 >> [ 84.392080] [] do_execve_common+0x36f/0x410 >> [ 84.392196] [] do_execve+0x3a/0x40 >> [ 84.392328] [] sys_execve+0x47/0x70 >> [ 84.392445] [] stub_execve+0x6c/0xc0 >> [ 84.392558] ---[ end trace 78e50a201158fd5d ]--- >> >> >> Though this one is an HP server with the lovely: >> >> [ 0.143910] Performance Events: PEBS fmt1+, 16-deep LBR, Nehalem >> events, Broken BIOS detected, complain to your hardware vendor. >> [ 0.144351] [Firmware Bug]: the BIOS has corrupted hw-PMU resources >> (MSR 38d is 330) >> [ 0.144627] Intel PMU driver. >> [ 0.144777] CPU erratum AAJ80 worked around >> >> David > > I got a similar warning on my SNB (i7-3930K) desktop. > The git bisect told me (sigh): a34668f6beb4ab01e07683276d6a24bab6c175e0 is the first bad commit commit a34668f6beb4ab01e07683276d6a24bab6c175e0 Author: Youquan Song Date: Tue Aug 2 14:01:35 2011 +0800 perf, x86: Add model 45 SandyBridge support Add support to Romely-EP SandyBridge. Signed-off-by: Youquan Song Signed-off-by: Anhua Xu Signed-off-by: Lin Ming Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1312264895-2010-1-git-send-email-youquan.song@intel.com Signed-off-by: Ingo Molnar :040000 040000 c8302c68b80d3657cfd6afa5eb51300c0996baf1 ba78ebeb8ad6cce92fba8f643b4c5b1007d0e336 March Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/