Results 1 to 4 of 4

Thread: Memory test?

  1. #1
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    722
    Distro
    Ubuntu Development Release

    Memory test?

    In the GRUB menu I see 2 lines I don't understand:
    Memory test (memtest86+x64.efi)
    Memory test (memtest86+x64.efi, serial console)
    If at boot I select one of these lines nothing happen.
    what are they for? what should they do?
    Thanks.

  2. #2
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Memory test?

    The memory test is there so that you can test the memory in your machine.

    This is not something I have ever done myself, it is only useful if you are having some problems with your computer and want to try to find the cause.

    Memtest86 and Memtest86+ are not part of the Grub bootloader, they are separate hardware diagnostic tools. They are included in Ubuntu's default boot menus for convenience.

    They cannot be run under Linux (or Windows); they must be booted into like an operating system so that they can access the entirety of a machine's physical memory for testing.

    If you don't want them in Ubuntu, you can remove the memtest86+ package through the Apt package manager.

    I wonder though if UEFI is in play with the tool, I remember a long while back it did not work well with UEFI systems.

    EDIT: to show what it does:
    Code:
    sudo memtester 1G 1
    memtester version 4.6.0 (64-bit)
    Copyright (C) 2001-2020 Charles Cazabon.
    Licensed under the GNU General Public License version 2 (only).
    
    pagesize is 4096
    pagesizemask is 0xfffffffffffff000
    want 1024MB (1073741824 bytes)
    got  1024MB (1073741824 bytes), trying mlock ...locked.
    Loop 1/1:
      Stuck Address       : ok         
      Random Value        : ok
      Compare XOR         : ok
      Compare SUB         : ok
      Compare MUL         : ok
      Compare DIV         : ok
      Compare OR          : ok
      Compare AND         : ok
      Sequential Increment: ok
      Solid Bits          : ok         
      Block Sequential    : ok         
      Checkerboard        : ok         
      Bit Spread          : ok         
      Bit Flip            : ok         
      Walking Ones        : ok         
      Walking Zeroes      : ok         
      8-bit Writes        : ok
      16-bit Writes       : ok
    
    Done.
    I ran a very short run with only 1Gig checked with no stress
    Last edited by 1fallen; November 1st, 2024 at 07:01 PM.
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

  3. #3
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,583
    Distro
    Ubuntu Development Release

    Re: Memory test?

    I no longer have memtest86 as a boot option with Ubuntu. I now use a specific bootable memory stick with memtest installed.
    Whenever I build a new computer, I will run memtest for at least a couple of days.

    It has been a few years since I made the mem stick, but the label says "MEMTEST UEFI Bootable", so I assume it is fine with UEFI.
    Last edited by Doug S; November 1st, 2024 at 09:22 PM.
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  4. #4
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Memory test?

    Quote Originally Posted by Doug S View Post
    I made the mem stick, but the label says "MEMTEST UEFI Bootable", so I assume it is fine with UEFI.
    +1 Yep that's the one
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •