Messages in this thread | | | From | (Eric W. Biederman) | Date | Sun, 01 Jul 2012 10:09:27 -0700 | Subject | Re: [PATCH 2/2] x86, boot: Optimize the elf header handling. |
| |
"H. Peter Anvin" <hpa@zytor.com> writes:
> On 07/01/2012 09:26 AM, Eric W. Biederman wrote: >> >> Fair enough. It looks like somehow SMP got unset in my test >> configuration and enabling SMP certainly kills the boot for >> me. So it looks like I can reproduce this. >> >> So I am guess I just missed something. Ugh. >> >> Digging deeper... >> > > Could there be a VMA/LMA confusion? The VMA for the .data..percpu > section is zero.
I am suspecting something similar. At the moment I am trying to remember how to get early printk working in misc.c so I can poke around a bit more.
The theory that I was working on, that used to be true, and seems to be true of everything except the percpu section is that objcopy just does the right thing when creating vmlinux.bin. vmlinux.bin being what we compress.
I don't see anything obviously wrong with the headers of vmlinux.bin although we still unnecessarily have section headers in that file.
Eric
| |