Good day, I have the problem to pass the ?loaded? undi driver to the next bootloader. In current pxelinux ?lernel memdisk keeppxe harddisk raw initrd::parh_to_img? always unloads undi before memdisk (or other kernel) takes control. After many tries I found that the keeppxe feature is broken starting from version 6.03 pre 9. I tried to find the reason by comparing sources 6.03 pre 8 / 6.03 pre 9 but can't see any keeppxe related (obvious) changes. Unfortunately i'm not able to offer a fix but I would be happy to see it fixed. Many thanks!
Hello Pedro, My recollection from when I looked into this earlier this year is that the code has been wrong ever since the COM32 split, but in some versions up to 6.03pre9 the PXE stack was coincidentally left loaded because of random values left in registers. Please try this patch: http://www.syslinux.org/archives/2016-June/025216.html -- Adam On Mon, Nov 21, 2016 at 12:22:07AM +0100, Pedro Koschi via Syslinux wrote:> Good day, > > I have the problem to pass the ?loaded? undi driver to the next bootloader. > > In current pxelinux > > ?lernel memdisk keeppxe harddisk raw initrd::parh_to_img? > > always unloads undi before memdisk (or other kernel) takes control. > > After many tries I found that the keeppxe feature is broken starting from > version 6.03 pre 9. > I tried to find the reason by comparing sources 6.03 pre 8 / 6.03 pre 9 but > can't see any keeppxe related (obvious) changes. Unfortunately i'm not > able to offer a fix but I would be happy to see it fixed. Many thanks! > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux
The git version of syslinux won't solve your problem. It doesn't have the keeppxe patch at this time. I can't help you to get pxelinux to load ldlinux.c32. I didn't write syslinux. I've Cc'd the mailing list. Maybe someone there can help you. -- Adam On Sun, Nov 27, 2016 at 07:38:53PM +0100, Pedro Koschi wrote:> Hello Adam, > I was able to compile syslinux in mint linux (ubuntu 16.04) with minor > warnings (the compiler was unhappy with unused variables and type casts) > from current git repo. > > When this version of pxelinux starts (6.04 pre1 17 g852bd3f*), it > downloads ldlinux.c32 from tftp refusing to use it, then looks at other > locations .. and finally gives me the error : failed to load ldlinux.c32. > > If I replace ldlinux.c32 with the version from freely available pre1 > version , booting continues fine but undi driver will be still unloaded. > Does a precompiled version of the latest development version exist for > download ? > > Thank you > > > > > Am 21.11.2016 07:29 schrieb "Adam Goldman" <adamg at pobox.com>: > > > Hello Pedro, > > > > My recollection from when I looked into this earlier this year is that > > the code has been wrong ever since the COM32 split, but in some versions > > up to 6.03pre9 the PXE stack was coincidentally left loaded because of > > random values left in registers. > > > > Please try this patch: > > > > http://www.syslinux.org/archives/2016-June/025216.html > > > > -- Adam > > > > On Mon, Nov 21, 2016 at 12:22:07AM +0100, Pedro Koschi via Syslinux wrote: > > > Good day, > > > > > > I have the problem to pass the ?loaded? undi driver to the next > > bootloader. > > > > > > In current pxelinux > > > > > > ?lernel memdisk keeppxe harddisk raw initrd::parh_to_img? > > > > > > always unloads undi before memdisk (or other kernel) takes control. > > > > > > After many tries I found that the keeppxe feature is broken starting from > > > version 6.03 pre 9. > > > I tried to find the reason by comparing sources 6.03 pre 8 / 6.03 pre 9 > > but > > > can't see any keeppxe related (obvious) changes. Unfortunately i'm not > > > able to offer a fix but I would be happy to see it fixed. Many thanks! > > > _______________________________________________ > > > Syslinux mailing list > > > Submissions to Syslinux at zytor.com > > > Unsubscribe or set options at: > > > http://www.zytor.com/mailman/listinfo/syslinux > >
Pedro, Thanks for the feedback. HPA and all, Since we have confirmation that this patch fixes keeppxe (for the memdisk use case) for at least one other person, could we get it into the next syslinux release? http://www.syslinux.org/archives/2016-June/025216.html -- Adam On Sat, Dec 24, 2016 at 02:09:14PM +0100, Pedro Koschi wrote:> Hello Adam , thanx . I was successful to compile newest git version + > recommended fix. keeppxe works as expected. > > Am 29.11.2016 09:44 schrieb "Adam Goldman" <adamg at pobox.com>: > > > The git version of syslinux won't solve your problem. It doesn't have > > the keeppxe patch at this time. I can't help you to get pxelinux to load > > ldlinux.c32. I didn't write syslinux. I've Cc'd the mailing list. Maybe > > someone there can help you. > > > > -- Adam > > > > On Sun, Nov 27, 2016 at 07:38:53PM +0100, Pedro Koschi wrote: > > > Hello Adam, > > > I was able to compile syslinux in mint linux (ubuntu 16.04) with minor > > > warnings (the compiler was unhappy with unused variables and type casts) > > > from current git repo. > > > > > > When this version of pxelinux starts (6.04 pre1 17 g852bd3f*), it > > > downloads ldlinux.c32 from tftp refusing to use it, then looks at other > > > locations .. and finally gives me the error : failed to load ldlinux.c32. > > > > > > If I replace ldlinux.c32 with the version from freely available pre1 > > > version , booting continues fine but undi driver will be still unloaded. > > > Does a precompiled version of the latest development version exist for > > > download ? > > > > > > Thank you > > > > > > > > > > > > > > > Am 21.11.2016 07:29 schrieb "Adam Goldman" <adamg at pobox.com>: > > > > > > > Hello Pedro, > > > > > > > > My recollection from when I looked into this earlier this year is that > > > > the code has been wrong ever since the COM32 split, but in some > > versions > > > > up to 6.03pre9 the PXE stack was coincidentally left loaded because of > > > > random values left in registers. > > > > > > > > Please try this patch: > > > > > > > > http://www.syslinux.org/archives/2016-June/025216.html > > > > > > > > -- Adam > > > > > > > > On Mon, Nov 21, 2016 at 12:22:07AM +0100, Pedro Koschi via Syslinux > > wrote: > > > > > Good day, > > > > > > > > > > I have the problem to pass the ?loaded? undi driver to the next > > > > bootloader. > > > > > > > > > > In current pxelinux > > > > > > > > > > ?lernel memdisk keeppxe harddisk raw initrd::parh_to_img? > > > > > > > > > > always unloads undi before memdisk (or other kernel) takes control. > > > > > > > > > > After many tries I found that the keeppxe feature is broken starting > > from > > > > > version 6.03 pre 9. > > > > > I tried to find the reason by comparing sources 6.03 pre 8 / 6.03 > > pre 9 > > > > but > > > > > can't see any keeppxe related (obvious) changes. Unfortunately i'm > > not > > > > > able to offer a fix but I would be happy to see it fixed. Many > > thanks! > > > > > _______________________________________________ > > > > > Syslinux mailing list > > > > > Submissions to Syslinux at zytor.com > > > > > Unsubscribe or set options at: > > > > > http://www.zytor.com/mailman/listinfo/syslinux > > > > > >