iPXE Memory issues - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: iPXE Memory issues (/showthread.php?tid=7666) |
iPXE Memory issues - Leppunen - 2015-04-01 10:48 If i try to PXE boot MS DOS with memdisk IF ipxelinux.0 is used, i receive "Program too big to fit in memory" while trying to execute a DOS based software from the diskette image. if i use pxelinux.0 without ipxe the program executes successfully. does ipxe limit usable memory? RE: iPXE Memory issues - NiKiZe - 2015-04-17 20:41 iPXE uses more memory and that leaves less memory for the execution of other boot programs. For example it is quite common for us to not be able to boot memtest directly from ipxe. In case we get an error when trying we instead chain to pxelinux with a special config that immediately loads memtest. Code: set esc:hex 1b # ANSI escape character - "^[" Below is the part of the php script that does the real work when this happens. Code: if ($errno == "0x46038101") { // not enugh mem.. workaround and pxelinux.cfg.php only has Code: <?php the tftproot is shared over http as well since it lets us maintain all bootfiles in only one place. This might not be simple to implement, but atleast it works for us. I might come back and clean this up if time permits. RE: iPXE Memory issues - mcb30 - 2015-04-18 11:41 (2015-04-17 20:41)NiKiZe Wrote: For example it is quite common for us to not be able to boot memtest directly from ipxe. In case we get an error when trying we instead chain to pxelinux with a special config that immediately loads memtest. You might want to try the PXE-bootable version of memtest available from http://boot.ipxe.org/memtest.0 - this does not have the same restrictions on memory layout as the standard .lkrn format, and has the advantage that you can instruct it to perform a set number of passes and then return with a success/failure state to the iPXE script: Code: chain memtest.0 passes=1 && echo Memory OK || echo Memory test failed Michael RE: iPXE Memory issues - NiKiZe - 2015-04-18 11:46 (2015-04-18 11:41)mcb30 Wrote:(2015-04-17 20:41)NiKiZe Wrote: For example it is quite common for us to not be able to boot memtest directly from ipxe. In case we get an error when trying we instead chain to pxelinux with a special config that immediately loads memtest. I have that one in the menu as well, but most want version 5.01 mainly since it is "faster" (thats the unscientific reason from the users) The original problem by Leppunen however is with memdisk |