[syslinux] [PATCH v2] fix for boot crash of syslinux-4.xx

Matt Fleming matt at console-pimps.org
Mon Jul 9 07:48:30 PDT 2012


On Mon, 2012-07-09 at 08:44 +0200, Jan Safrata wrote:
> All syslinux 4.xx versions (tested up to 4.04) seems to contain a bug, that
> causes a crash in early phase of syslinux boot from an usb stick.
> This is always possible to reproduce, but only on certain hw (atom based
> embedded board).
> Version 3.86 of syslinux always works with that hw.
> 
> When syslinux 4.xx is used to setup bootable usb stick (which works on general
> desktop pc), that usb stick does not work with embedded atom based board.
> Screen is garbaged, flickering and the system hangs, instead of loading the
> image to be booted.
> 
> Dissecting syslinux source code reveals, that the problem is within
> core/fs/cache.c
> function cache_init(), where seems to be an invalid pointer used to store an
> initial value - following patch fixes the problem by removing the
> offending line, that seems not to be needed anyway.
> 
> Signed-off-by: Jan Safrata <jsafrata at centrum.cz>
> ---
>  core/fs/cache.c |    1 -
>  1 file changed, 1 deletion(-)

Thanks Jan. I've merged this into my 'master' branch, and then merged
*that* into my 'elflink' branch (we needed the new setup_data blob code
in the 'elflink' branch anyway). This way Peter can hopefully merge both
branches when he returns and we'll have the fix everywhere we need it.

-- 
Matt Fleming, Intel Open Source Technology Center




More information about the Syslinux mailing list