On Tue, Mar 27, 2007 at 08:16:40PM +0100, Thiemo Seufer wrote:
> Gwenole Beauchesne wrote:
> > Hi,
> > 
> > The following patch increases max kernel size to 8 MB when qemu is invoked 
> > with -kernel and -initrd. Otherwise, x86_64 kernel panics when loading the 
> > initrd (e.g. <Cooker>/x86_64/isolinux/alt0/{vmlinuz,all.rdz}).
> 
> I would like a patch which adjusts the initrd load address dynamically,
> depending on the kernel load size, instead of hardcoding just a
> different magic number.

Note, that does not readily work - this is where we load the
compressed kernel image and initrd, but what matters is the size it
gets uncompressed to.

I don't remember any more than that so I'm sorry if it's total
garbage, which it might be.  I did write a patch to stick the initrd
right after the loaded kernel; it didn't work and I convinced myself
that was the reason.

-- 
Daniel Jacobowitz
CodeSourcery


Reply via email to