Leandro Becker
2013-Feb-04 10:44 UTC
[syslinux] Version 5.01 not passing kernel command line args to memtest86+as it can understand
Hello, I'm trying to pass the serial port options to memtest86+ using Syslinux 5.01 but is not working. Debugging the memtest86+, the check at main.cpp function static void parse_command_line(void) if (*OLD_CL_MAGIC_ADDR != OLD_CL_MAGIC) return; Is being evaluated to true. What should I do? There is a way to instruct memtest to use the "old way" to pass parameters to memtest or shoud I try to patch memtest? This is my menu label: label Memtest linux /boot/memtest.bin console=ttyS1,115200 Thank you.
Gert Hulselmans
2013-Feb-04 12:35 UTC
[syslinux] Version 5.01 not passing kernel command line args to memtest86+as it can understand
Hi, First try to use the correct Syslinux syntax and see if that fixes the problem: label Memtest linux /boot/memtest.bin append console=ttyS1,115200 - Gert 2013/2/4 Leandro Becker <Lbecker at positivo.com.br>:> Hello, > > I'm trying to pass the serial port options to memtest86+ using > Syslinux 5.01 but is not working. Debugging the memtest86+, > the check at main.cpp function static void parse_command_line(void) > > if (*OLD_CL_MAGIC_ADDR != OLD_CL_MAGIC) > return; > > Is being evaluated to true. What should I do? There is a way to > instruct memtest to use the "old way" to pass parameters to memtest or > shoud I try to patch memtest? > > This is my menu label: > > label Memtest > linux /boot/memtest.bin console=ttyS1,115200 > > Thank you. > _______________________________________________ > 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
2013-Feb-04 19:13 UTC
[syslinux] Version 5.01 not passing kernel command line args to memtest86+as it can understand
On 02/04/2013 02:44 AM, Leandro Becker wrote:> Hello, > > I'm trying to pass the serial port options to memtest86+ using > Syslinux 5.01 but is not working. Debugging the memtest86+, > the check at main.cpp function static void parse_command_line(void) > > if (*OLD_CL_MAGIC_ADDR != OLD_CL_MAGIC) > return; > > Is being evaluated to true. What should I do? There is a way to > instruct memtest to use the "old way" to pass parameters to memtest or > shoud I try to patch memtest? > > This is my menu label: > > label Memtest > linux /boot/memtest.bin console=ttyS1,115200 >I see the problem. Will push a patch shortly. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.