Ticket #3532 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

TFTP client can not handle big files

Reported by: mafmaf Owned by:
Priority: major Component: network/NAT
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: Solaris
Host type: Linux


There is a bug in the built-in tftp client used when doing pxe boots. It fails to download a file if the file is so big that it requires more than 65535 data packets. Files this big (like to OpenSolaris miniroot) will cause the block index to wrap around (since it is only 16 bits), and the code does not handle that, instead it keeps resending acks to block 65535

The fix is simple and I have attached a diff.


diff.tftp Download (572 bytes) - added by mafmaf 9 years ago.
Patch which fixes the problem
VBox.log Download (36.5 KB) - added by mafmaf 9 years ago.

Change History

Changed 9 years ago by mafmaf

Patch which fixes the problem

Changed 9 years ago by mafmaf


comment:1 Changed 9 years ago by frank

  • Component changed from other to network/NAT

comment:2 Changed 9 years ago by klaus

  • Status changed from new to closed
  • Resolution set to fixed

This affects only VirtualBox OSE, since it relies on the PXE implementation from Etherboot. Thanks for providing the required information and a patch.

It will not be mentioned in the changelog file, since the binary packages provided on contain the Intel PXE boot code. Would be rather misleading.

The public svn repository will have the fix quite soon, and whenever we release maintenance versions the OSE tarballs will have it as well.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use