Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-31 Thread Paul Brook
> Like this? I can't reliably test that it fixes the problem - for some > bizarre reason, I can now load kernels without this patch. But it > looks right and I can load kernels with it, too. Turns out there's a problem. qemu puts ACPI tables at the top of ram. We have to be careful to avoid sto

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-31 Thread Daniel Jacobowitz
On Wed, Mar 28, 2007 at 03:00:08PM +0100, Paul Brook wrote: > On Wednesday 28 March 2007 03:21, Daniel Jacobowitz wrote: > > On Wed, Mar 28, 2007 at 12:35:18AM +0100, Thiemo Seufer wrote: > > > Right, a piggyback-style loader would likely fail in that case. > > > > Which is exactly the interesting

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-28 Thread Paul Brook
On Wednesday 28 March 2007 03:21, Daniel Jacobowitz wrote: > On Wed, Mar 28, 2007 at 12:35:18AM +0100, Thiemo Seufer wrote: > > Right, a piggyback-style loader would likely fail in that case. > > Which is exactly the interesting case for x86_64. So, since Paul's > verified that grub and lilo just

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Daniel Jacobowitz
On Wed, Mar 28, 2007 at 12:35:18AM +0100, Thiemo Seufer wrote: > Right, a piggyback-style loader would likely fail in that case. Which is exactly the interesting case for x86_64. So, since Paul's verified that grub and lilo just put them far apart, maybe bumping up the size is the right thing to

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Thiemo Seufer
Paul Brook wrote: > > > 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 think what matters is the space taken by (uncompressed and loaded) > > kernel ALLOC segments. Everythi

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Paul Brook
> > 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 think what matters is the space taken by (uncompressed and loaded) > kernel ALLOC segments. Everything above that should be ok to

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Thiemo Seufer
Daniel Jacobowitz wrote: > 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 load

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Daniel Jacobowitz
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. /x86_64/isolinux/a

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Thiemo Seufer
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. /x86_64/isolinux/alt0/{vmlinuz,all.rdz}). I would like a patch which adjusts the initrd load

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Daniel Jacobowitz
On Tue, Mar 27, 2007 at 06:14:22PM +0200, 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. /x86_64/isolinux/alt0/{vmlinuz,all.rdz}). When I t

[Qemu-devel] [PATCH] Increase max -kernel size

2007-03-27 Thread Gwenole Beauchesne
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. /x86_64/isolinux/alt0/{vmlinuz,all.rdz}). Thanks, Gwenole. 2007-03-27 Gwenole Beauchesne <[EMAIL PROTECTED]> * hw/pc