[syslinux] [PATCH 1/3] Fix loading of *.lkrn images from gPXE

H. Peter Anvin hpa at zytor.com
Tue Jul 22 06:15:13 PDT 2008


Sergey Vlasov wrote:
> Attempts to load *.lkrn images were failing with "Not enough memory
> to load specified image".  These images have the su_ramdisk_max
> header field set to zero, and the code in core/runkernel.inc was
> limiting MyHighMemSize too early (before the load_high call used to
> load the main part of the kernel).

Hm.  I don't know what *.lkrn images you're referring to (the newer gPXE 
images?) but that would be a bug in those images.  If they don't have 
any intention of using an initrd it should be set to -1.

Doesn't mean it wouldn't be worthwhile to work around this issue, but 
it's still wrong.

	-hpa




More information about the Syslinux mailing list