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

    M.2 not recognised during deploying stage

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    28
    4.2k
    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
      Will @Fog_Newb
      last edited by

      @fog_newb Sorry for the confusion. I mean the Gigabyte B550M Gaming motherboard and Lexar NM700 256GB M.2 SSD for the “2 modules”.

      The Lexar M.2 is having the same “can not find disk on system” issue with Asus Prime B550M-A motherboard.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @will said in M.2 not recognised during deploying stage:

        The Lexar M.2 is having the same “can not find disk on system” issue with Asus Prime B550M-A motherboard.

        Have you tried installing plain Windows on the Lexar M.2 in combination with those mainboards yet? Just want to rule out general hardware incompatibility…

        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

        W 1 Reply Last reply Reply Quote 0
        • W
          Will @Sebastian Roth
          last edited by

          @sebastian-roth Yes. There is no issue when using USB Windows 10 Installation media.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @Will Searching the web I might have found out why it doesn’t work - thanks to the messages.txt and lspci output you posted earlier.

            There are some special flags needed in the Linux kernel to work around an issue with that particular M.2 drive. There is an interesting discussion on this: https://bugs.mageia.org/show_bug.cgi?id=28417

            This was reported to the NVMe Linux kernel mailing list as well - so there is hope this is being added at some point: http://lists.infradead.org/pipermail/linux-nvme/2021-February/023121.html

            To make sure this patch would actually work in your case as well I build a one off kernel binary for you to test: https://fogproject.org/kernels/bzImage-5.10.19-Lexar_M.2

            Please let us know if it works using that kernel!

            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

            W 1 Reply Last reply Reply Quote 0
            • W
              Will @Sebastian Roth
              last edited by

              @sebastian-roth Thanks. I will do the test later.

              Can you confirm that does this special kernel “bzImage-5.10.19-Lexar_M.2” include NIC driver for Realtek 8125B and Intel I225-V?

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @will said in M.2 not recognised during deploying stage:

                Can you confirm that does this special kernel “bzImage-5.10.19-Lexar_M.2” include NIC driver for Realtek 8125B and Intel I225-V?

                Looks like Realtek 8125B is supported since Linux kernel 5.9.x and we also added the firmware blobs needed. As well the IGC kernel driver (discussed here) is also included in bzImage-5.10.19-Lexar_M.2. So I would say both should work. Let is know if it doesn’t.

                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
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Will Please let us know if this patched kernel fixed the issue.

                  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

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    Will @Sebastian Roth
                    last edited by

                    @sebastian-roth Hi, Sebastian I can confirm this special kernel fixed the Lexar M.2 non detecting issue. Thank you.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @Will Thanks for the update. Just found that the patch was actually accepted upstream in kernel 5.10.23. As we will update to newer kernel version as we go this will be in the official FOG kernels as well. No extra patching needed.

                      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

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Dinesh @Sebastian Roth
                        last edited by Dinesh

                        @sebastian-roth i have the same issue when registering the system having the M.2 SSD. How can i upgrade the kernel 5.10.23. can you please help me to register and deploy the windows 10

                        FYI - I using the latest version of the fog itself 1.5.9.63 and kernel version is ( 5.10.19)

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @Dinesh
                          last edited by

                          @dinesh said in M.2 not recognised during deploying stage:

                          How can i upgrade the kernel 5.10.23

                          The devs have not posted that public yet.

                          FWIW I see the official linux kernels are now at 5.10.28.

                          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!

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @Dinesh Right, we have not released a newer kernel version yet but you can still download and use the kernel including the patch until we release a new kernel.

                            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

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              Dinesh @Sebastian Roth
                              last edited by

                              @sebastian-roth Can you send me the steps to install the patch(kernels/bzImage-5.10.19-Lexar_M.2)

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @dinesh said in M.2 not recognised during deploying stage:

                                Can you send me the steps to install the patch(kernels/bzImage-5.10.19-Lexar_M.2)

                                sudo -i
                                cd /var/www/fog/service/ipxe/
                                wget https://fogproject.org/kernels/bzImage-5.10.19-Lexar_M.2
                                chown www-data:www-data bzImage-5.10.19-Lexar_M.2
                                

                                If you use a RedHat/CentOS Linux then you need to use apache instead of www-data with the last command above.

                                Now you have the kernel available and just need to set this as default kernel (FOG Configuration -> FOG Settings -> TFTP Server -> TFTP PXE KERNEL change from bzImage to bzImage-5.10.19-Lexar_M.2)

                                Note that down so you can switch back to bzImage when the next kernel is officially released and you want to use the default again.

                                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

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  Dinesh @Sebastian Roth
                                  last edited by

                                  @sebastian-roth Is kernels/bzImage-5.10.19-Lexar_M.2 supports both HDD’s and M.2 variants?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    @Dinesh said:

                                    Is kernels/bzImage-5.10.19-Lexar_M.2 supports both HDD’s and M.2 variants?

                                    Yes, it’s the standard kernel we use fog HDD, SSD and M.2. I simply added the patch to support the “Lexar NM700 256GB M.2 SSD” drive mentioned in this topic. Nothing more or less.

                                    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

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      Dinesh @Sebastian Roth
                                      last edited by

                                      @sebastian-roth But few systems having the Samsung 512 M.2 and 1000 Gb Toshiba HDD having in few more systems. is this Kernel support for that variant?

                                      Q 1 Reply Last reply Reply Quote 0
                                      • Q
                                        Quazz Moderator @Dinesh
                                        last edited by

                                        @dinesh This patch only added additional support, it didn’t remove anything that was working previously.

                                        If you encounter other devices that don’t work you can mention them here of course so we can investigate.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by

                                          @dinesh said in M.2 not recognised during deploying stage:

                                          But few systems having the Samsung 512 M.2 and 1000 Gb Toshiba HDD having in few more systems. is this Kernel support for that variant?

                                          I have no idea. As I said, this kernel is very close to the standard 5.10.19 kernel we officially provide - except that it has a patch included that will make the “Lexar NM700 256GB M.2 SSD” work that had an issue on the plain 5.10.19 kernel.

                                          I am not going to answer any more questions about what disk is supported or not. Just try it out or leave it.

                                          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

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Dinesh @Sebastian Roth
                                            last edited by

                                            @sebastian-roth Thanks for your valuable reply…

                                            Q 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            277

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project