Petry Roman, SHS-S IT-TS
2013-Oct-26 08:08 UTC
[syslinux] lpxelinux.0 - 6.02 - failed to load ldlinux.c32
Hello Geert Thanks for replying.. But i think i can?t use it, as i don?t reach the point where the debug module will be available.. it just pulls the lpxelinux.0 and tries to get the next download-- the ldlinux.c32 and it fails...and freezes. And the next step would be other modules i think.. if i?m wrong.. excuse me 8-).. yesterday i managed to get ipxelinux working from ipxe.org.. so the nic should work. I used the undionly.kpxe on all models and it worked.. so i think it should be possible to fix this with lpxelinux.0.. Ipxe was just a test, but what i really want is lpxelinux as my menus and te system behind are syslinux based 8-).. the ipxe guys had the ability to put more debug output to the normal screen by compiling the bin file with a DEBUG Parameter. Lpxelinux doesn?t have such a thing, i guess ? Perhaps someone else has another tip. Bye roman -----Urspr?ngliche Nachricht----- Von: Syslinux [mailto:syslinux-bounces at zytor.com] Im Auftrag von Geert Stappers Gesendet: Samstag, 26. Oktober 2013 07:15 An: syslinux at zytor.com Betreff: Re: [syslinux] lpxelinux.0 - 6.02 - failed to load ldlinux.c32 Op 2013-10-23 om 20:55 schreef Petry Roman, SHS-S IT-TS: <snip/>> > As i don?t have a serial console on Model2 and 3, is there a way to > try to debug those things. Perhaps a way to display some UNDI Flags to > the screen or some more Debug Infos also tot he screen ? Would a > usb2Serial Converter help as a debug port? >http://www.syslinux.org/wiki/index.php/Development/Debugging#Syslinux_Dynamic_Debugger> Any hints are welcome .I hope that my terse hint did help.> Bye > > and thanks > > romanGroeten Geert Stappers -- Leven en laten leven _______________________________________________ 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.
Ferenc Wagner
2013-Oct-26 11:29 UTC
[syslinux] lpxelinux.0 - 6.02 - failed to load ldlinux.c32
"Petry Roman, SHS-S IT-TS" <Roman.Petry at shsservices.org> writes:> the ipxe guys had the ability to put more debug output to the normal > screen by compiling the bin file with a DEBUG Parameter. Lpxelinux > doesn?t have such a thing, i guess?See mk/devel.mk and com32/include/dprintf.h. Basically, try defining CORE_DEBUG=2 and DEBUG_STDIO. I didn't try it now, but its predecessor used to work. -- Good luck, Feri.
Gene Cumm
2013-Oct-26 11:39 UTC
[syslinux] lpxelinux.0 - 6.02 - failed to load ldlinux.c32
On Sat, Oct 26, 2013 at 4:08 AM, Petry Roman, SHS-S IT-TS <Roman.Petry at shsservices.org> wrote:> Hello Geert > Thanks for replying.. But i think i can?t use it, as i don?t reach the point where the debug module will be available.. it just pulls the lpxelinux.0 and tries to get the next download-- the ldlinux.c32 and it fails...and freezes.You're right. Since you can't grab ldlinux.c32, dynamic debugging is useless.> And the next step would be other modules i think.. if i?m wrong.. excuse me 8-).. yesterday i managed to get ipxelinux working from ipxe.org.. so the nic should work. I used the undionly.kpxe on all models and it worked.. so i think it should be possible to fix this with lpxelinux.0..My guess is that either lwIP thinks the packets are malformed or your system says interrupts are OK when they don't actually work (hence asking for the flags value).> Ipxe was just a test, but what i really want is lpxelinux as my menus and te system behind are syslinux based 8-).. the ipxe guys had the ability to put more debug output to the normal screen by compiling the bin file with a DEBUG Parameter. Lpxelinux doesn?t have such a thing, i guess ? > > Perhaps someone else has another tip.A workaround for now is telling iPXE to grab pxelinux.0 or lpxelinux.0 (the former should be safer but the latter should also work). With printf() living in ldlllinux.c32, I'm not sure what can be done at this time. Using the following likely won't work as a result: GCCWARN += -DUNDIIF_ID_DEBUG=0x80U -DLWIP_DEBUG -DDEBUG_STDIO -- -Gene A: Because it messes up the order in which people normally read text, especially the archives of mailing lists. Q: Why is Top-posting such a bad thing?> -----Urspr?ngliche Nachricht----- > Von: Syslinux [mailto:syslinux-bounces at zytor.com] Im Auftrag von Geert Stappers > Gesendet: Samstag, 26. Oktober 2013 07:15 > An: syslinux at zytor.com > Betreff: Re: [syslinux] lpxelinux.0 - 6.02 - failed to load ldlinux.c32 > > Op 2013-10-23 om 20:55 schreef Petry Roman, SHS-S IT-TS: > <snip/> >> >> As i don?t have a serial console on Model2 and 3, is there a way to >> try to debug those things. Perhaps a way to display some UNDI Flags to >> the screen or some more Debug Infos also tot he screen ? Would a >> usb2Serial Converter help as a debug port? >> > > http://www.syslinux.org/wiki/index.php/Development/Debugging#Syslinux_Dynamic_Debugger > >> Any hints are welcome . > > I hope that my terse hint did help.
Gene Cumm
2013-Oct-26 12:25 UTC
[syslinux] lpxelinux.0 - 6.02 - failed to load ldlinux.c32
On Sat, Oct 26, 2013 at 7:39 AM, Gene Cumm <gene.cumm at gmail.com> wrote:> On Sat, Oct 26, 2013 at 4:08 AM, Petry Roman, SHS-S IT-TS > <Roman.Petry at shsservices.org> wrote: >> Hello Geert >> Thanks for replying.. But i think i can?t use it, as i don?t reach the point where the debug module will be available.. it just pulls the lpxelinux.0 and tries to get the next download-- the ldlinux.c32 and it fails...and freezes. > > You're right. Since you can't grab ldlinux.c32, dynamic debugging is useless. > >> And the next step would be other modules i think.. if i?m wrong.. excuse me 8-).. yesterday i managed to get ipxelinux working from ipxe.org.. so the nic should work. I used the undionly.kpxe on all models and it worked.. so i think it should be possible to fix this with lpxelinux.0.. > > My guess is that either lwIP thinks the packets are malformed or your > system says interrupts are OK when they don't actually work (hence > asking for the flags value). > >> Ipxe was just a test, but what i really want is lpxelinux as my menus and te system behind are syslinux based 8-).. the ipxe guys had the ability to put more debug output to the normal screen by compiling the bin file with a DEBUG Parameter. Lpxelinux doesn?t have such a thing, i guess ? >> >> Perhaps someone else has another tip. > > A workaround for now is telling iPXE to grab pxelinux.0 or lpxelinux.0 > (the former should be safer but the latter should also work). > > With printf() living in ldlllinux.c32, I'm not sure what can be done > at this time. Using the following likely won't work as a result: > > GCCWARN += -DUNDIIF_ID_DEBUG=0x80U -DLWIP_DEBUG -DDEBUG_STDIOSyslinux-4.10-pre14 and later print the flags value. Could you try Syslinux-4.10-pre22 core/pxelinux.0 (yes, it's essentially what became lpxelinux.0 in 5.10-pre1) and report the UNDI flags value and the first 3 octets of the MAC address (ie "00:00:00")? -- -Gene