[syslinux] [PATCH] Fix for crash with certain EFIs

Jur van der Burg jur at digiater.nl
Tue Oct 18 11:58:55 PDT 2016


Thank you very much for this, I have been running into this issue a number
of times but could never get a firm grip on it.

Especially HP Gen9 proliants seem to suffer from it by sometimes throwing a
stack dump very early in the boot. In the past we worked around it by
forcing bios boot.

 

After rebuilding it with -mno-red-zone the problem appears to be fixed, at
least after a couple of hours of testing I have not seen it anymore.

 

One comment:

 

--- syslinux-6.03-orig/mk/efi.mk

+++ syslinux-6.03/mk/efi.mk

@@ -17,6 +17,9 @@

endif

ifeq ($(ARCH),x86_64)

        ARCHOPT = -m64 -march=x86-64

+ifdef EFI_BUILD

+       ARCHOPT = -mno-red-zone

+endif

 

I would do this (add a plus):

 

       ARCHOPT += -mno-red-zone

 

Thanks,

 

Jur van der Burg.

 



More information about the Syslinux mailing list