[FTRACE] Enabling function_graph causes OOPS

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Sep 14 18:00:27 EST 2009


On Mon, 2009-09-14 at 06:25 +1000, Benjamin Herrenschmidt wrote:
> > > .../...
> > > 
> > > > 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 ?

Ok, got access and had a quick look... seems to be a toolchain problem
to me. I'll investigate more tomorrow.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list