[ipxe-devel] memtest as a PXE NBP

Michael Brown mbrown at fensystems.co.uk
Thu Jul 12 16:27:10 UTC 2012


Something that might be of interest:

I have created a modified version of memtest86+ which can be built as a PXE 
NBP.  The binary (memtest.0) can be loaded by iPXE, or by any other PXE stack.

If it's loaded via an iPXE script, then the script can report successes and 
failures of the test.  For example:

  #!ipxe

  chain memtest.0 passes=1 && goto memory_good || goto memory_bad

  :memory_good
  exit

  :memory_bad
  imgfetch http://192.168.0.1/report_failure.php?mac=${mac}&uuid=${uuid}
  exit

The modified memtest86+ code is at

  http://git.ipxe.org/people/mcb30/memtest.git/shortlog/refs/heads/pxe

and a precompiled binary is available from

  http://boot.ipxe.org/memtest.0

Michael



More information about the ipxe-devel mailing list