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

    m.2 PCIe SSD not recognised in FOG

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    9
    54
    41.9k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Toby777 Thanks for testing and reporting. Have you tried non-resizable (Multiple Partitions - Single Disk) yet?

      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

      T 1 Reply Last reply Reply Quote 1
      • T
        Toby777 @Sebastian Roth
        last edited by

        @Sebastian-Roth No I haven’t as yet sorry. I went to try that today but the notebook will no longer boot up lol. Won’t even POST.

        So have contacted DELL to organise a replacement. Will let you know how it goes after that.

        1 Reply Last reply Reply Quote 0
        • JJ FullmerJ
          JJ Fullmer Testers
          last edited by

          @Tom-Elliott is on top of this problem
          Check out this forum post https://forums.fogproject.org/topic/6315/hp-z640-nvme-pci-e-drive/37
          I’m posting my results of testing on the /dev/nvme0n1 type drives with his current inits found here

          32 bit Init: https://mastacontrola.com/init_32.xz
          64 bit Init: https://mastacontrola.com/init.xz

          To use them do the following

          cd /var/www/fog/service/ipxe
          sudo mv init.xz init.bck
          sudo mv init_32.xz init_32.bck
          wget https://mastacontrola.com/init.xz --no-check-certificate && wget https://mastacontrola.com/init_32.xz --no-check-certificate
          sudo chmod -R 775 ./
          

          Granted by the time dell gets you a replacement it might already be tested enough and the fix will just be in the latest trunk. But that’s what to do in case anyone else is looking.

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          T 1 Reply Last reply Reply Quote 1
          • T
            Toby777 @JJ Fullmer
            last edited by

            @Arrowhead-IT Thanks for letting me know.
            Dell haven’t yet fixed up the notebook as yet. Still waiting on parts.
            Have updated to those inits. Will test as soon as the notebook is fixed and report back.

            1 Reply Last reply Reply Quote 1
            • T
              Toby777
              last edited by

              Hi all,
              Apparently there’s a delay with the replacement motherboard for the new XPS 13.
              So you guys can most likely close this case for now as I noticed that @Arrowhead-IT has confirmed that it’s resolved in the latest trunk.
              Cheers

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

                @Toby777 i don’t want to solve a cased until I’m sure your issue is fixed. Hopefully that is understandable. When you can please just let us know if this can be solved for sure. Thanks.

                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

                T 1 Reply Last reply Reply Quote 1
                • T
                  Toby777 @Tom Elliott
                  last edited by

                  @Tom-Elliott Ok no dramas. Will test as soon as the notebook is repaired by Dell. Cheers

                  1 Reply Last reply Reply Quote 1
                  • T
                    Toby777
                    last edited by Toby777

                    Hi Tom,

                    Got the Dell tech to replace the motherboard today.

                    Latest Fog trunk now recognises the nvme SSD.

                    When the Image is set to Single Disk - Resizable, it hangs at…

                    * Saving original patition table......................
                    

                    When Image is set to Multiple Partition Image - Single Disk (Not Resizable), it hangs at…

                    * Now FOG will attempt to upload the image using Partclone
                    * Processing Hard Disk: /dev/nvme0n1
                    

                    When Image is set to Raw Image, it starts the upload…
                    0_1452663982495_FullSizeRender.jpg

                    I’m fine with using Raw Image if that’s what works. 🙂

                    Tom ElliottT O 2 Replies Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Toby777
                      last edited by

                      @Toby777 Was this indefinitely hung, or did you wait a minute and then retry?

                      I’ve been seeing some “hanging” but it does continue to run, though I’m not 100% if this is truly the same case with the nvme drives.

                      At least I now know the raw capture still works 🙂

                      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

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Toby777 @Tom Elliott
                        last edited by

                        @Tom-Elliott I did leave it running for 5 mins but it still had not progressed on either one except Raw.

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

                          @Toby777 Could you please run a debug session on this device (WebGUI -> Host -> Basic tasks -> Debug) and run lsblk. What do you get?

                          Are you sure it said /dev/nvme0n1 when trying single disk resizable?? Asking because this would be the whole disk instead of the first partition. In RAW mode nvme0n1 is fine.

                          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

                          T Wayne WorkmanW 2 Replies Last reply Reply Quote 2
                          • T
                            Toby777 @Sebastian Roth
                            last edited by

                            @Sebastian-Roth Here’s the results of the Debug…
                            0_1452815469214_IMG_7302.JPG

                            Here is the upload attempt when the Image is set to Multiple Partition Image - Single Disk (Not Resizable)
                            1_1452815469214_IMG_7304.JPG

                            Damn that screen on the XPS 13 is shiny 😎

                            JJ FullmerJ 1 Reply Last reply Reply Quote 2
                            • JJ FullmerJ
                              JJ Fullmer Testers @Toby777
                              last edited by

                              @Toby777 Are you on the latest trunk?
                              Download and upload of all image formats is working for me on nvme on the latest.

                              Have you tried the FogApi powershell module? It's pretty cool IMHO
                              https://github.com/darksidemilk/FogApi
                              https://fogapi.readthedocs.io/en/latest/
                              https://www.powershellgallery.com/packages/FogApi
                              https://forums.fogproject.org/topic/12026/powershell-api-module

                              T 1 Reply Last reply Reply Quote 1
                              • T
                                Toby777 @JJ Fullmer
                                last edited by

                                @Arrowhead-IT Yup - updated to 5964 this morning on the test server.

                                1 Reply Last reply Reply Quote 1
                                • Wayne WorkmanW
                                  Wayne Workman @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth @Tom-Elliott this might be helpful? https://communities.intel.com/community/itpeernetwork/blog/2014/10/03/upgrade-a-nvme-capable-linux-kernel

                                  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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

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

                                    @Wayne-Workman Thanks for the link but I don’t think we need this as we have a 4.x kernel already running. It seams to recognize the disk and partitions as we see in the lsblk output!

                                    @Toby777 Would you mind another debug session? Please run the following three commands and see if this hangs:

                                    udevadm settle
                                    blockdev --rereadpt /dev/nvme0n1
                                    sfdisk -l /dev/nvme0n1
                                    

                                    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 @Toby777
                                      last edited by

                                      @Toby777 I believe I found the hang accidentally. I too was seeing a hang on my side but I don’t know what was causing it. I edited more of the files and retested things and it looks like all is working if you’d be willing to test again. The suggestion I’d make is to schedule the tasking as debug (choose capture like normal and check the schedule as debug) first. That way you can get the info Sebastian is requesting. To perform the tasking at the cmd prompt just type fog. This should make you step through almost every phase so if things hang you can break out. It helps me a little as well as I can more clearly find out what is hanging.

                                      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

                                      T 2 Replies Last reply Reply Quote 0
                                      • T
                                        Toby777 @Tom Elliott
                                        last edited by

                                        @Tom-Elliott Thanks Tom. I’m currently interstate for this week so once I’m back at our main office next week, I will perform the testing.
                                        Thanks

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Toby777 @Tom Elliott
                                          last edited by

                                          @Tom-Elliott Hi Tom, I updated to trunk 6084 and did the debug testing as you requested. Screen shots below…

                                          Image set to Single Disk - Resizable
                                          0_1453683916941_IMG_7382.JPG

                                          Image set to Multiple Partition Image - Single Disk (Not Resizable)
                                          0_1453683979277_IMG_7383.JPG

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

                                            @Toby777 from debug what’s the output of:

                                            sgdisk -b "/tmp/d1.mbr" /dev/nvme0n1

                                            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

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            208

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project