[syslinux] Re: syslinux-3.09 PXE boot regression...

Geert Stappers stappers at stappers.nl
Tue Aug 16 06:07:24 PDT 2005


On Tue, Aug 16, 2005 at 10:01:46AM +0100, Daniel J Blueman wrote:
> On 8/15/05, H. Peter Anvin <hpa at zytor.com> wrote:
 <snip/>
> > Please try the prepatches between 3.08 and 3.09.
> 
> The change which breaks this was introduced in 3.09-pre2. The PXE boot
> ROM is Intel-Broadcom code, and it hangs up after the message
> "PXE-M0F: Exiting Broadcom PXE ROM".
> 
> I can confirm that reverting this change in syslinux-3.09 fixes it:

Reverting the change:

 That means it works with 1023 ?

> 
> --- syslinux-3.09-pre1/config.inc       Sun May  8 22:47:03 2005
> +++ syslinux-3.09-pre2/config.inc       Thu Jun 16 06:52:44 2005
> @@ -20,7 +20,7 @@
>  %ifndef _CONFIG_INC
>  %define _CONFIG_INC
> 
> -max_cmd_len    equ 1023                ; Must be odd; 255 is the kernel limit
> +max_cmd_len    equ 511                 ; Must be &3; 255 is the kernel limit
> 

I remember "max_cmd_len" as being defined in two places, they probably didn't match.
Matching them again does prevent hanging. But a kernel command line
buffer of 1023 bytes did cause other problems IIRC.


Cheers
Geert Stappers




More information about the Syslinux mailing list