Re: linux-next: Tree for Dec 7 (kallsyms failure)

From: Randy Dunlap
Date: Wed Dec 07 2016 - 21:31:07 EST


On 12/07/16 15:56, Stephen Rothwell wrote:
> Hi Randy,
>
> On Wed, 7 Dec 2016 15:42:32 -0800 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>>
>> I started seeing this yesterday (2016-1206).
>> This is on x86_64.
>>
>> Anybody know about it?
>>
>> kallsyms failure: relative symbol value 0xffffffff81000000 out of range in relative mode
>
> I got a similar failure starting a few days ago on my powerpc
> allyesconfig build. I was assuming that it was PowerPC specific, but
> noone has found a cause yet.
>

It may just be an invalid randconfig. I modified scripts/kallsyms.c and
I see this message:
kallsyms failure: relative symbol value 0xffffffff81000000 [symbol: Tstartup_64] out of range in relative mode

and it makes sense that startup_64 would (or could) be at 0xffffffff81000000...
especially since CONFIG_PHYSICAL_START=0x1000000 and
(from Documentation/x86/x86_64/mm.txt)
ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0


Ard, what do you think about this?

thanks,
--
~Randy