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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 29, 2006 at 07:13:46PM -0600, Eric W. Biederman wrote:
> Neil Horman <[email protected]> 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 [email protected]
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux