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

    • Official Post

    memtest86 is in the boot menu of systemrescue.

    omv 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    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 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    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 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    Edited once, last by gderf ().

    • Official Post

    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 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    • Official Post

    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 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    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 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    • Official Post

    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 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    • Official Post

    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 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.10 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB 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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Participate now!

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