[syslinux] pxelinux implementation questions

Alexander Sack aps at holmeister.net
Fri Jun 20 15:43:12 PDT 2003


> > These three sentences seem contradictory.  I guess I will look again.
> > The tftp block number is 2 bytes or 16-bits.  That allows me to address
> > up to 32MB of a single file.  If my initrd is 33MB, I don't see how you
> > can address the last 1MB.  There must be some magic I'm missing.
> > 
> 
> As long as you don't multicast, there is no harm in the block numbers
> wrapping around:
> 
> FFFD, FFFE, FFFF, 0000, 0001, 0002, ...
> 
> ... because you can't get that far into the sequence without being
> reasonably in sync with the source.
> 
> This breaks, fatally, with multicasting, however.  This is one of the
> big problems with multicasting TFTP.

Hmmm.  Does the tftp daemon that runs on the boot server have to deal
with wrap around issues at all? 

Basically you would just keep on ACKing until you hit a payload of under
512 bytes meaning your done, right?  I just got confused because I
didn't see any code regarding wrap around issues!

The other issue that I'm looking at is using PXE to download an
arbitraty block of a file.  In other words I want to download one sector
at 33MB of a 34MB file.  I was looking at searchdir() just to get some
ideas if this can even be done!

Yes, I definitely feel your pain when it comes to mtftp pxelinux!

Thanks again!

-aps

-- 
"On second thought, let's not go to Camelot, it is a silly place!"
-Monty Python



More information about the Syslinux mailing list