Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753102Ab3JBORD (ORCPT ); Wed, 2 Oct 2013 10:17:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3845 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752781Ab3JBORA (ORCPT ); Wed, 2 Oct 2013 10:17:00 -0400 Date: Wed, 2 Oct 2013 10:16:50 -0400 From: Dave Jones To: Steven Rostedt Cc: Linux Kernel Subject: Re: FTRACE_WARN_ON((rec->flags & ~FTRACE_FL_MASK) == 0)) Message-ID: <20131002141650.GA11305@redhat.com> Mail-Followup-To: Dave Jones , Steven Rostedt , Linux Kernel References: <20130828095408.37c3dd83@gandalf.local.home> <20130828095833.103ccdf0@gandalf.local.home> <20130828111746.35369b84@gandalf.local.home> <20130828182710.GA14103@redhat.com> <20130828182902.GB14103@redhat.com> <20130828152745.18a73c4e@gandalf.local.home> <20130930171201.GA10474@redhat.com> <1380599766.16752.6.camel@pippen.local.home> <20131001042025.GA7038@redhat.com> <1380630531.16752.9.camel@pippen.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380630531.16752.9.camel@pippen.local.home> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2610 Lines: 51 On Tue, Oct 01, 2013 at 08:28:51AM -0400, Steven Rostedt wrote: > On Tue, 2013-10-01 at 00:20 -0400, Dave Jones wrote: > > > It seems like trace-cmd needs to be run as root. all hell will break loose if trinity gets root privs. > > Then run this: > > trace-cmd record -e syscalls -B trinity su davej -c 'trinity ' I feel like I'm peeling an onion. I keep hititng that other ftrace bug instead: WARNING: CPU: 2 PID: 15596 at kernel/trace/ftrace.c:1701 ftrace_bug+0x206/0x270() Modules linked in: snd_seq_dummy(+) rfcomm hidp bnep nfnetlink scsi_transport_iscsi nfc caif_socket caif af_802154 phonet af_rxrpc can_raw can_bcm bluetooth rfkill can llc2 pppoe ppp ox ppp_generic slhc irda crc_ccitt rds ipt_ULOG af_key rose x25 atm netrom appletalk ipx p8023 psnap p8022 llc ax25 coretemp hwmon x86_pkg_temp_thermal kvm_intel xfs kvm libcrc32c snd_hda_codec_hdm i snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq crct10dif_pclmul snd_seq_device crc32c_intel ghash_clmulni_intel snd_pcm e1000e microcode serio_raw pcspkr snd_page_alloc shpch p usb_debug snd_timer ptp snd pps_core soundcore CPU: 2 PID: 15596 Comm: modprobe Not tainted 3.12.0-rc3+ #92 ffffffff81a2a214 ffff880236abfc30 ffffffff8172a363 0000000000000000 ffff880236abfc68 ffffffff8105523d 0000000000000000 ffffffffa034a000 ffff880239d5b0e0 0000000000000000 ffff880234edb000 ffff880236abfc78 Call Trace: [] dump_stack+0x4e/0x82 [] warn_slowpath_common+0x7d/0xa0 [] ? 0xffffffffa0349fff [] warn_slowpath_null+0x1a/0x20 [] ftrace_bug+0x206/0x270 [] ? 0xffffffffa0349fff [] ftrace_process_locs+0x30c/0x640 [] ftrace_module_notify_enter+0x3e/0x50 [] notifier_call_chain+0x66/0x150 [] __blocking_notifier_call_chain+0x67/0xc0 [] blocking_notifier_call_chain+0x16/0x20 [] load_module+0x1f7d/0x26a0 [] ? store_uevent+0x40/0x40 [] SyS_finit_module+0x86/0xb0 [] tracesys+0xdd/0xe2 ---[ end trace d2b5caf2401c5667 ]--- ftrace faulted on writing [] dummy_free+0x0/0x10 [snd_seq_dummy] This locks up hard, and then I end up with 0 byte log files when I reboot :-/ Dave -- 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/