4

In light of memtest86+ not working with UEFI, is there an open source alternative or something I can use from grub to test memory?

  • You might use memory stressers that work inside an OS (e.g. inside Linux, as a userland program & process) – Basile Starynkevitch Apr 24 '18 at 8:26
  • BTW, ten years ago I had a (MSI S270 Turion) laptop with faulty memory: memtest did not detect anything, but kernel compilation failed very often. Replacing the memory modules fixed the issue – Basile Starynkevitch Apr 24 '18 at 8:29
  • 2
    Is this a statement of principle ("must be open source") or a statement of financial necessity ("must be free")? – roaima Apr 24 '18 at 9:00
  • 1
    @roaima the closed-source memtest86 is available for gratis (mentioned in the linked AU post), so I'd say it's a statement of principle (or other necessity such as validating source code) – muru Apr 24 '18 at 15:01
  • It's a fair request for clarification, but yes libre. – Evan Carroll Apr 24 '18 at 15:08
3

Yes, there is, in the Linux kernel itself: the memtest option will run a memory check with up to 16 patterns (currently). If you add memtest to your kernel boot parameters, it will run all tests at boot, and reserve any failing addresses so that they’re not used. If you want fewer tests, you can specify the number of patterns (memtest=8 for example).

This isn’t as extensive as Memtest86+’s tests, but it still gives pretty good results.

  • 1
    Every time I see your name, I know I am getting gold. Thanks Stephen. You got them skillz. – Evan Carroll Apr 24 '18 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.