memtest in system rescue

  • Hi


    i got an hardware update to my nas (Acer H 341 to H342 with a D510 instead of D410 intel processor and 4GB Ram instead of 2GB).


    I just put my old system HD into the new system and it booted well to H342..


    But now the issues started:


    1. I wanted to copy my internal data drives via MC to my external USB Backup drives for backup. But after some hours the systems hangs or reboots sometimes. Not always. .


    2. so i thought about issues with the network, which i could resolve already.


    3. Now ithink, it could be the ram.


    4. I entered "system resuce" from grub, but i am unable to find xmem86 in the x window.


    any help how to run memtest86 would be highly appreciated.


    regards


    gkhar

  • memtest86 is in the boot menu of systemrescue.

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I guess it doesn't have it anymore. I will see about adding a memtest iso option that you can boot from (if it works).

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Actually Debian made this pretty easy. Just install the memtest86 or memtest86+ package. I think I will make memtest86+ a dependency of the kernel plugin so it gets installed automatically when the plugin does. Both packages add an entry to grub.

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thanks for the workaround tip.


    I installed the memtest86+ package. First time I tried booting to it I got no output in my ipmi console. Looking into it I saw that ttyS0 was specified for the serial console in the grub entry. I changed that to the required for my use case ttyS1 and tried again. This time I got output but when the memtest started it got 34% into test #1 and hung. I could not escape out of it. I tried a few more times but it failed the same way.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

    Edited once, last by gderf ().

  • But how can i start it?


    When i do ./Memtest86.bin

    I get permission denied.

    You have to boot into memtest. You can't run it with a full OS running.


    I installed the memtest86+ package. First time I tried booting to it I got no output in my ipmi console. Looking into it I saw that ttyS0 was specified for the serial console in the grub entry. I changed that to the required for my use case ttyS1 and tried again. This time I got output but when the memtest started it got 34% into test #1 and hung. I could not escape out of it. I tried a few more times but it failed the same way.

    I've never seen memtest hang and I have been using it for 15+ years. Are you sure memtest is hanging and not your console? You could install memtest86 and see if it doesn't have the issue.

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Not sure what is hanging. But the console works perfectly until I try this.


    I tried installing memtest86 but it didn't configure grub for a serial console. So I tried patching that in by hand but it didn't work; no output on the console.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

  • I tried installing memtest86 but it didn't configure grub for a serial console. So I tried patching that in by hand but it didn't work; no output on the console.

    What about memtest86 over ipmi?

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • That's what I have been trying. The machine is headless.

    I thought you tried memtest86+ over ipmi and serial console and memtest86 over serial console? I was suggesting memtest86 over ipmi. I have used memtest86 over ipmi many times.

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I tried both memtest86 and memtest86+ over ipmi. I don't use the physical serial port on the machine, it's serial over LAN (SOL) configured in BIOS to use ttyS1 (COMM2).


    As I said, the ipmi console works fine until I try to boot memtest86+ over ipmi where it hangs at exactly 34% into the first test every time.


    What does your memtest86 over ipmi grub.cfg entry look like?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

  • What does your memtest86 over ipmi grub.cfg entry look like?

    Whatever is on the older systemrescue ISOs. And it is on a Supermicro X10SL7-F. But I have also used it many times on my AsrockRack board and many, many HP DL380 G8 or Gen9 ILO adapters.

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Whatever is on the older systemrescue ISOs. And it is on a Supermicro X10SL7-F. But I have also used it many times on my AsrockRack board and many, many HP DL380 G8 or Gen9 ILO adapters.

    Here's what installing memtest86 drops into grub.cfg:


    Code
    ### BEGIN /etc/grub.d/20_memtest86 ###
    menuentry "Memory test (memtest86)" {
            linux16 /boot/memtest86.bin
    }
    ### END /etc/grub.d/20_memtest86 ###


    I have tried modifying it to make it look like what is there for memtest86+ by appending the console stuff, but I get no output.

    Code
    ### BEGIN /etc/grub.d/20_memtest86 ###
    menuentry "Memory test (memtest86)" {
            linux16 /boot/memtest86.bin console=ttyS1,115200n8
    }
    ### END /etc/grub.d/20_memtest86 ###

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

  • I have tried modifying it to make it look like what is there for memtest86+ by appending the console stuff, but I get no output.

    That would assume the image supports that argument. Not much you can do if it doesn't.

    omv 6.0.40-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Obviously it doesn't support it.


    My RAM is OK so I'm not worried.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

  • Hi,


    just wanted to let you know, how i got it installed and what´s the result (which is bad i guess...)


    First in grub i selected system recovery of the current kernel.


    when the recovery had started up i installed the memtest86+ via


    Code
    sudo apt-get update
    sudo apt-get -y install memtest86+


    That worked well. Now i can select memtest in grub.


    But now the bad result:


    this is the outcome after 3hrs running memtest86+.



    i guess, i have a memory issue. Trying at the moment, to verify if it is a memory or a mainboard issue by exchange of the defective ram to a different ram, which i know worked in my old mainboard.


    fingers crossed.

  • If you install memtest86+ in OMV instead of in the running systemrescue, you will get the grub entry in OMV's grub menu.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!