I was trying out the INCLUDE command within menu.c32 (via pxelinux, actually gpxelinux) and noticed that it's broken. The symptom is that the text is included, as expected, but the subsequent text from the including file is wrong. In some cases it actually pulls from above the INCLUDE leading to the INCLUDE being reprocessed (an infinite recursion). (The recursion seems to stop after 20-30 pulls, so I guess there's some sort of depth limit.) I was able to proceed by using a subordinate call to menu, so this isn't a problem for me now, but thought you might want to know. Mike
Mike, Could you include a sample config file that would cause the symptom your seeing? - John 'Warthog9' Hawley On 03/24/2010 02:54 PM, Mike Coleman wrote:> I was trying out the INCLUDE command within menu.c32 (via pxelinux, > actually gpxelinux) and noticed that it's broken. The symptom is that > the text is included, as expected, but the subsequent text from the > including file is wrong. In some cases it actually pulls from above > the INCLUDE leading to the INCLUDE being reprocessed (an infinite > recursion). (The recursion seems to stop after 20-30 pulls, so I > guess there's some sort of depth limit.) > > I was able to proceed by using a subordinate call to menu, so this > isn't a problem for me now, but thought you might want to know. > > Mike > > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic.
H. Peter Anvin
2010-Mar-29 18:19 UTC
[syslinux] INCLUDE is broken in pxelinux/menu.c32 3.85
On 03/24/2010 02:54 PM, Mike Coleman wrote:> I was trying out the INCLUDE command within menu.c32 (via pxelinux, > actually gpxelinux) and noticed that it's broken. The symptom is that > the text is included, as expected, but the subsequent text from the > including file is wrong. In some cases it actually pulls from above > the INCLUDE leading to the INCLUDE being reprocessed (an infinite > recursion). (The recursion seems to stop after 20-30 pulls, so I > guess there's some sort of depth limit.) > > I was able to proceed by using a subordinate call to menu, so this > isn't a problem for me now, but thought you might want to know. >Could you give me more details of your setup, and especially if it works in a previous version (e.g. 3.84)? -hpa