From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by ozlabs.org (Postfix) with ESMTP id 60F8FB7BCF for ; Tue, 6 Oct 2009 07:37:55 +1100 (EST) Subject: Re: [FTRACE] Enabling function_graph causes OOPS From: Steven Rostedt To: Benjamin Herrenschmidt In-Reply-To: <1254774039.7122.35.camel@pasglop> References: <4A5C5D65.3030906@in.ibm.com> <4A76BE81.4080707@in.ibm.com> <1252458303.20985.10.camel@gandalf.stny.rr.com> <4AA74AE2.5090001@in.ibm.com> <1252814877.26049.93.camel@gandalf.stny.rr.com> <1252816650.8375.70.camel@pasglop> <1252848060.26049.647.camel@gandalf.stny.rr.com> <1252873548.8375.73.camel@pasglop> <1252915227.8375.118.camel@pasglop> <1254749155.13160.6.camel@gandalf.stny.rr.com> <1254774039.7122.35.camel@pasglop> Content-Type: text/plain Date: Mon, 05 Oct 2009 16:37:53 -0400 Message-Id: <1254775073.13160.13.camel@gandalf.stny.rr.com> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org Reply-To: rostedt@goodmis.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2009-10-06 at 07:20 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2009-10-05 at 09:25 -0400, Steven Rostedt wrote: > > > > Sachin, can you give me more details on how you built that kernel ? (or > > > > give them again in case I missed them the first time around :-), ie, > > > > what toolchain, options, etc... or even better, give me remote access to > > > > the build host ? > > > > > > Ok, got access and had a quick look... seems to be a toolchain problem > > > to me. I'll investigate more tomorrow. > > > > Hi Ben, > > > > Any more word on this issue? > > Didn't you fix it using a TOC access ? > > Unless I'm confusing things, I think the problem is the usage > of LOAD_REG_IMMEDIATE which generates relocs that we don't support > when CONFIG_RELOCATABLE is set. > > I've merged a patch that post-processes the kernel now, to check > for such relocs so at least you should be warned at build time. I thought we had two issues. One was the use of the relocs that did cause issues. But then there was still crashes reported after that. IIRC. I'm still suffering jetlag, so my memory is not that fresh about this. -- Steve