Spike White
2014-Mar-11 03:00 UTC
[syslinux] syslinux.efi [PXELINUX EFI 64 boot] not properly TFTP'ing ldlinux.e64
Gene and co, Now my pxelinux efi 64 boot is properly loading syslinux.efi (via TFTP) It then issues a TFTP file request for efi.x64/pxelinux.cfg/ldlinux.e64. (All my efi x64 content is under efi.x64/pxelinux.cfg). However, I see that it fails to properly negotiate the TFTP options with my TFTP server. so it never transfers ldlinux.e64 over. In its file request packet, it asks for these TFTP options set (from TFTPd server). tsize 0 and blksize 1408. What seems to confuse it is that it gets back both acknowledgements in the same TFTP option acknowledgement packet. That is, the TFTP server's option acknowledgement packet has tsize option acknowledgement (tsize = 145744) and also blksize option acknowledgement (blksize = 1408). In reading the archives, I see Gene recommends the atftpd TFTP server. So I de-installed tftpd-hpa and installed aftpd. No difference. I verify on cmd line via tftp client that this file exists and I pull it (via TFTP). No problem. BTW, the client's EFI boot code has a similiar problem w/ a combo TFTP tsize/blksize option ack packet. But I picks up the "tsize" response, issues another read request, with only blksize option requested. then it gets back an option ack packet w/ only blksize. So then it goes on. I'm using 6.0.3-pre6. Spike
Gene Cumm
2014-Mar-11 03:59 UTC
[syslinux] syslinux.efi [PXELINUX EFI 64 boot] not properly TFTP'ing ldlinux.e64
On Mar 10, 2014 11:05 PM, "Spike White" <spikewhitetx at gmail.com> wrote:> In reading the archives, I see Gene recommends the atftpd TFTP server. So > I de-installed tftpd-hpa and installed aftpd. No difference. I verify on > cmd line via tftp client that this file exists and I pull it (via TFTP). > No problem.I never recommended it but stated it suited my needs at one time and haven't switched (though should for rewrite). --Gene
H. Peter Anvin
2014-Mar-14 15:53 UTC
[syslinux] syslinux.efi [PXELINUX EFI 64 boot] not properly TFTP'ing ldlinux.e64
On 03/10/2014 08:00 PM, Spike White wrote:> > What seems to confuse it is that it gets back both acknowledgements in the > same TFTP option acknowledgement packet. That is, the TFTP server's option > acknowledgement packet has tsize option acknowledgement (tsize = 145744) > and also blksize option acknowledgement (blksize = 1408). >That is normal... in fact the protocol only allows one OACK. You can use the -r option to tftp-hpa to specifically reject any particular option, so you can see if removing one or both of the options makes any difference. -hpa