lkml.org 
[lkml]   [2012]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] x86, boot: Optimize the elf header handling.
"H. Peter Anvin" <hpa@zytor.com> writes:

> On 07/01/2012 08:04 AM, H. Peter Anvin wrote:
>>
>> Sadly, this patch breaks the boot with of of my standard configurations
>> (attached)... it goes into an infinite reboot loop. This was the first
>> config I tested, so it might very well break more.
>>
>
> Some more investigation: the boot crashes because the .data..percpu
> segment is all zero -- since this includes the GDT, we die quickly and
> dramatically only a handful of instructions into head_64.S.
>
> I'm dropping this patchset for now.

Fair enough. But ugh.

Can you point me at your config?
Can you tell me your linker version?

I tested this originally on both x86_64 and i386, and it
worked both places for me.

I want to stair at that failure mode. I am wondering what happened
in your configuration that is different from mine. Perhaps a linker
bug? A subtle conflict with something else? The patch didn't do
anything that should have affectected per cpu sections...

Eric



\
 
 \ /
  Last update: 2012-07-01 18:42    [W:0.065 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site