[syslinux] SOLVED: failed to create ldlinux.sys

H. Peter Anvin hpa at zytor.com
Thu Dec 13 08:27:36 PST 2007


maf at appgate.com wrote:
> I have been having problems with syslinux not working on one system. The
> error message was "failed to create ldlinux.sys". I checked and mcopy
> was installed. But upon further investigation I finally found the
> problem. I were starting syslinux for python (2.4) and in the python
> code I made it ignore SIGNCHLD. It turns out that this signal state was
> inherited by syslinux and it made waitpid() in syslinux.c fail which
> caused the error message. That is syslinux thought mcopy had failed when
> it had not.
> 
> The solution is to reset the SIGNCHLD handler to the default behavior
> when starting syslinux. This patch does that:

If you invoke random programs (like syslinux) with SIGCHLD set to 
SIG_IGN, you will have failures all over the place.  I suspect the right 
thing for you is to fix your Python code.

	-hpa




More information about the Syslinux mailing list