Messages in this thread | | | From | (Eric W. Biederman) | Date | Sun, 01 Jul 2012 09:08:01 -0700 | Subject | Re: [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
| |