Re: [PATCH] x86: update vmlinux.lds.S to place .data section on a page boundary

From: Neil Horman
Date: Sun Oct 01 2006 - 17:52:51 EST


On Fri, Sep 29, 2006 at 07:13:46PM -0600, Eric W. Biederman wrote:
> Neil Horman <nhorman@xxxxxxxxxxxxx> writes:
>
> > Sorry, Replying to myself. I forgot to mention in my last note why specifically
> > I was calling for this change, and why it was necessecary. In addition to being
> > the standard in the script for executable sections, kexec also appears to rely
> > on PT_LOAD sections being on page boundaries. With vmlinux.ld.s as it is, that
> > isn't the case, and so we can't load any kernels with kexec at the moment. I've
> > seen this on the most recent fedora kernels (which have the latest version of
> > this linker script), and this patch corrects that.
> >
> > Please look at the file in its entirety, and if you still feel that modifying
> > the script so all the ALIGN(4096) directives to be ALIGN(PAGE_SIZE) instead is
> > the direction to go, I'll implement the change and test it out.
>
> Is there a reason you don't want to kexec the bzImage?
>
Not so much that I don't want to, but I don't think you should have to. There
isn't any reason that we shouldn't be able to boot uncompressed kernels, is
there?
Regards
Neil

> Eric
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
/***************************************************
*Neil Horman
*Software Engineer
*gpg keyid: 1024D / 0x92A74FA1 - http://pgp.mit.edu
***************************************************/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/