iPXE Memory issues
|
2015-04-01, 10:48
Post: #1
|
|||
|
|||
iPXE Memory issues
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? |
|||
2015-04-17, 20:41
Post: #2
|
|||
|
|||
RE: iPXE Memory issues
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. Use GitHub Discussions VRAM bin |
|||
2015-04-18, 11:41
Post: #3
|
|||
|
|||
RE: iPXE Memory issues
(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 |
|||
2015-04-18, 11:46
Post: #4
|
|||
|
|||
RE: iPXE Memory issues
(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 Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)