From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 3BD15B6F2B for ; Mon, 14 Sep 2009 06:26:01 +1000 (EST) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A139DDDD0B for ; Mon, 14 Sep 2009 06:26:00 +1000 (EST) Subject: Re: [FTRACE] Enabling function_graph causes OOPS From: Benjamin Herrenschmidt To: rostedt@goodmis.org In-Reply-To: <1252848060.26049.647.camel@gandalf.stny.rr.com> 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> Content-Type: text/plain Date: Mon, 14 Sep 2009 06:25:47 +1000 Message-Id: <1252873548.8375.73.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > .../... > > > > > Something is totally messed up here. > > > > Could it be that we don't handle R_PPC64_ADDR16_* relocs in > > arch/powerpc/kernel/modules/module_64.c ? > > > > Sachin, do you see a bunch of "Unknown ADD relocation" in your dmesg ? > > Ben, > > The thing is, this is kernel proper. This code is in entry_64.S not in > the module code. Argh... indeed. 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 ? Cheers, Ben.