Starting a new thread for the moment and BCCing the two reporters of the issue. Looking over the code, I think I finally see why we get junk data from the PXE base. If we tell the PXE base that a buffer is 0 bytes long, we should expect junk/null data. I'm hoping to have a patch for testing over the weekend. If either of you would rather start a bug on the bugzilla, feel free. -- -Gene
On Sat, Jun 20, 2015 at 5:09 PM, Gene Cumm <gene.cumm at gmail.com> wrote:> Starting a new thread for the moment and BCCing the two reporters of the issue. > > Looking over the code, I think I finally see why we get junk data from > the PXE base. If we tell the PXE base that a buffer is 0 bytes long, > we should expect junk/null data. > > I'm hoping to have a patch for testing over the weekend. If either of > you would rather start a bug on the bugzilla, feel free.Attached are a patch and a limited set of test binaries. Patch is relative to 38e861eb. This should give more indication to the EFI PXE "My IP is 0.0.0.0" issue. -- -Gene -------------- next part -------------- A non-text attachment was scrubbed... Name: 150621-efi-pxebc-handle.patch Type: text/x-patch Size: 2619 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20150621/8fbf10c8/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 150621-efi-pxebc-handle.tgz Type: application/x-gzip Size: 160527 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20150621/8fbf10c8/attachment-0003.bin>
Hello Gene, thanks a lot for your patch! It doesn't work yet, but I have some more information. Before the patch, the boot sequence ended with the following: NBP file download successfully. Getting cached packet My IP is 0.0.0.0 After the patch it ended with the following (note that the IP is the same as the Station IP address): NBP file download successfully. LibLocateHandle returned nr 8 Handle [0] gave -3 00000000 Handle [1] gave -3 00000000 Handle [2] gave 0 0ad402a7 Getting cached packet My IP is 10.212.2.167 Greetings, Sebastian On Sun, Jun 21, 2015 at 8:48 PM, Gene Cumm via Syslinux <syslinux at zytor.com> wrote:> On Sat, Jun 20, 2015 at 5:09 PM, Gene Cumm <gene.cumm at gmail.com> wrote: > > Starting a new thread for the moment and BCCing the two reporters of the > issue. > > > > Looking over the code, I think I finally see why we get junk data from > > the PXE base. If we tell the PXE base that a buffer is 0 bytes long, > > we should expect junk/null data. > > > > I'm hoping to have a patch for testing over the weekend. If either of > > you would rather start a bug on the bugzilla, feel free. > > Attached are a patch and a limited set of test binaries. Patch is > relative to 38e861eb. This should give more indication to the EFI PXE > "My IP is 0.0.0.0" issue. > > -- > -Gene > > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux >