Re: increasing memory alloted for 'init' during kernel boot.
From: Sam Ravnborg
Date: Tue Aug 31 2010 - 08:58:35 EST
On Tue, Aug 31, 2010 at 02:51:54PM +0200, Jiri Slaby wrote:
> On 08/31/2010 10:43 AM, Prabhu Chawandi wrote:
> > Hi ,
> >
> > Thanks for the info...
> >
> > Problem I am facing is, I have two bootloaders, when I boot from one
> > loader booting happens properly.
> >
> > but when I try to load from other loader, kernel does not boot, it
> > crashes. When i saw the boot logs, I saw that I memory allocated to
> > 'init' section in case of crash is short by almost 5MB to the normal
> > boot log.
> >
> > I am using mips processor.
> >
> > Any idea, why this might be happening ?
>
> The bad loader probably loads the image wrong (incorrect data or not
> whole image).
Shmulik just posted a patch that may be related.
See: "MIPS: Calculate VMLINUZ_LOAD_ADDRESS based on the length of vmlinux.bin"
Looks like a bug I have introduced btw :-(
Sam
--
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/