• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FOG 1.6.1 – Memtest86+ 8.10 incorrectly classified as Linux kernel

    Scheduled Pinned Locked Moved Solved Bug Reports
    2 Posts 2 Posters 7 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wbg
      last edited by

      Hi everyone,

      After upgrading from FOG 1.5.10 to 1.6.1, I noticed a warning in the FOG Settings for FOG_MEMTEST_KERNEL.

      The configured value is mt86plus_x86_64, but the web interface displays:

      “This name is not a recognized file in the boot directory.”

      The file exists in /var/www/html/fog/service/ipxe/, has correct permissions and is accessible via HTTP (200 OK).

      After investigating the source code, I believe I found the cause in _looksLikeKernel() in src/Base/FOGPage.php.

      The file headers are:

      • list itembzImage: HdrS, boot protocol 0x020f
      • list itemmt86plus_x86_64: HdrS, boot protocol 0x020c

      Since the kernel detection accepts boot protocol versions greater than or equal to 0x020c, Memtest86+ 8.10 is classified as a kernel rather than a boot payload.
      However, FOG_MEMTEST_KERNEL expects a file with the payload role.

      Thank you again for your great work on FOG 1.6.1!

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @wbg
        last edited by

        @wbg You are right, and thank you for the header details. They made this quick to confirm.

        Memtest86+ 6.0 and later is built to boot like a Linux kernel: it has a PE header, HdrS, and boot protocol 0x020c. FOG’s boot file check therefore classified mt86plus_x86_64 as a FOS kernel. FOG_MEMTEST_KERNEL lists boot payloads only, so the default value that FOG ships showed the warning.

        The fix reads the version text in the file header. Memtest86+ reports Memtest86+ v8.10, and a Linux kernel reports a release number. The server re-checks the file on the next page load, so the warning clears with no other action.

        • Issue: https://github.com/FOGProject/fogproject/issues/2241
        • Fix: https://github.com/FOGProject/fogproject/pull/2242

        The warning comes from the settings page only. The boot menu uses the value as it is, so “Run Memtest86+” still loads mt86plus_x86_64. You do not need to change anything until the fix reaches your channel.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT Tom Elliott has marked this topic as solved
        • 1 / 1
        • First post
          Last post

        47

        Online

        12.8k

        Users

        17.7k

        Topics

        157.6k

        Posts
        Copyright © 2012-2026 FOG Project