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

    Dell Precision Tower 5820 - FlexBay MiniSAS PCIe NVMe SSD not recognized

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    9
    124
    49.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.
    • george1421G
      george1421 Moderator @Sebastian Roth
      last edited by george1421

      @sebastian-roth Just to add in a bit more, looking at the relevant dmsg lines this is what I see

      [    0.402292] pci 0000:b3:00.0: [1c5c:1527] type 00 class 0x010802
      [    0.402308] pci 0000:b3:00.0: reg 0x10: [mem 0xfb500000-0xfb503fff 64bit]
      [    0.503618] nvme nvme0: pci function 0000:b3:00.0
      [    0.716693]  nvme0n1: p1 p2 p3 p4
      [    3.638397] nvme nvme0: failed to set APST feature (-19)
      

      If I understand it correctly the kernel is seeing the nvme disk because it knows its name of nvme0n1 and it see 4 partitions on the disk.

      I wonder if the patch you found made it into the main stream code? Since FC27 is using 4.13.9 and we’re testing 4.17.13

      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
      • Tom ElliottT
        Tom Elliott
        last edited by

        I’m hoping you guys get this figured out. Sorry been distant for the last couple weeks. Just started a new position so not a lot of time right now during the day.

        Of note, Linux kernel is now in the 4.18 series. I’m going to be building a new kernel relatively shortly, just need time (probably this weekend.)

        @george1421 Would you mind building a plain jane 4.18 based on the TomElliott.config? Don’t forget to do the patches:

        https://wiki.fogproject.org/wiki/index.php?title=Build_TomElliott_Kernel#Additional_Patches

        In particular the patches for:
        mmc (The path used to be mmc/card/ is now mmc/core/) and scsi/storvsc (this is whats supposed to help with the mbr/gpt erasing issue).

        I believe the e1000 patch was already fixed in 4.17 so we shouldn’t need to do anything, but you can open the and check.

        Sorry I can’t be more useful right now.

        Either way, awesome work guys.

        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

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

          @tom-elliott said in Dell Precision Tower 5820 - FlexBay MiniSAS PCIe NVMe SSD not recognized:

          Would you mind building a plain jane 4.18 based on the TomElliott.config? Don’t forget to do the patches:

          Do you want 4.18 based on FOG standard configuration, or where I’m at with 4.17.13?

          Either way, I probably should apply the additional patches to 4.17.13. Just as a side note, I didn’t see the patch for the slow GPT disk issue you mentioned a while ago. Do you have that info too?

          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!

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

            @george1421 On the wiki page, that’s the storvsc portion of the additional patches.

            For understanding,

            If the page size is 4096, it’s supposed to do stuff. However, not all disks use a 4096 page size. This is noticed particularly when initializing/erasing mbr/gpt structures on a disk. It’s just strange, to me, that it only seems to be impacting Windows based installs. At least from what I’ve seen.

            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 1
            • george1421G
              george1421 Moderator @Sebastian Roth
              last edited by

              @sebastian-roth The kernel patch and diffs you found for 4.13 have been integrated into the mainstream code. I confirmed they were there in 4.17.13

              I’m going to rebuild with that config parameter you mentioned form that Arch post. I also integrated the patches from the FOG Wiki site. For now I think I’m going to stick with 4.17.13 for developing the kernel, I have a rule to never install a XX.0 release of anything (thank you Bill Gates).

              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 1
              • george1421G
                george1421 Moderator
                last edited by

                I did recompile the 4.17.13 kernel with the powersave setting from the Arch article, plus FOG kernel patches and then added support for Microsoft Surface network adapter (patch info found here: https://forums.fogproject.org/topic/10943/surface-pro-4-registration-issues ). This kernel is ‘M’ release. Please test it out.

                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!

                H 3 Replies Last reply Reply Quote 0
                • H
                  hlalex @george1421
                  last edited by

                  @george1421 version M logs:

                  • bzImage41713m.log
                  • bzImage41713m_lshw.log
                  1 Reply Last reply Reply Quote 1
                  • H
                    hlalex @george1421
                    last edited by hlalex

                    @george1421 FlexBay Parts:

                    414-BBBV : PCIe SSD (Front PCIe FlexBay)
                    Part Number Quantity Description
                    5G90D 1 INFORMATION, FRONT, PERIPHERAL COMPONENT INTERCONNECT EXPRESS , SOFTWARE SUPPORT DISKETTE, BOOT

                    401-ABJT : M.2 512GB PCIe NVMe Class 40 S olid State Drive
                    Part Number Quantity Description
                    XMW6J 1 SSDR, 512G, P34, 80S3, HYNIX, PC401

                    400-AVDR : Dell M.2 carrier
                    Part Number Quantity Description
                    66XHV 1 ASSEMBLY, DRIVE, BAY (DRIVE BAY), M.2, MODULE

                    1 Reply Last reply Reply Quote 0
                    • H
                      hlalex @george1421
                      last edited by

                      @george1421 Ok, got some data from windows device manager for the FlexBay drive:

                      PCI Memory Controller [ this was an uninitialized device, figured it best to include as it is a PCI device but probably not relevant ]

                      • PCI\VEN_8086&DEV_A2A1&SUBSYS_07381028&REV_00

                      Everything below l pertains to the M.2 connected to the FlexBay
                      Disk drive
                      Device instance path

                      • SCSI\DISK&VEN_NVME&PROD_PC401_NVME_SK_HY\5&1A7BC20F&0&000000

                      HW IDs

                      • SCSI\DiskNVMe____PC401_NVMe_SK_hy3E00
                      • SCSI\DiskNVMe____PC401_NVMe_SK_hy
                      • SCSI\DiskNVMe____
                      • SCSI\NVMe____PC401_NVMe_SK_hy3
                      • NVMe____PC401_NVMe_SK_hy3
                      • GenDisk

                      Status

                      • 0180200A
                      • DN_DRIVER_LOADED
                      • DN_STARTED
                      • DN_DISABLEABLE
                      • DN_NT_ENUMERATOR
                      • DN_NT_DRIVER

                      Class Guid

                      • {4d36e967-e325-11ce-bfc1-08002be10318}

                      Device stack

                      • \Driver\partmgr
                      • \Driver\Disk
                      • \Driver\EhStorClass
                      • \Driver\stornvme

                      Driver node strong name

                      • disk.inf:6d166ee9677c725c:disk_install.NT:10.0.16299.371:GenDisk

                      0_1534434310029_general.JPG
                      0_1534434324187_driver.jpg
                      0_1534434336379_events.JPG

                      1 Reply Last reply Reply Quote 0
                      • H
                        hlalex
                        last edited by

                        @george1421 version N:

                        • bzImage41713n.log
                        • bzImage41713n_lshw.log
                        1 Reply Last reply Reply Quote 1
                        • H
                          hlalex
                          last edited by

                          0_1534442445193_bzImage4139-300m.jpg

                          1 Reply Last reply Reply Quote 0
                          • H
                            hlalex
                            last edited by hlalex

                            @george1421 Success!!

                            Here are the logs:

                            • bzImage4139-300m.log
                            • bzImage4139-300m_lshw.log

                            One thing I noticed is I got some weird DHCP messages before it booted to the debug console. I will try to replicate and grab an image if possible.

                            Edit: Shot of the DHCP messages. It says it didn’t get an IP, but it actually does. After pressing [enter] it drops to the debug shell.
                            0_1534444078002_bzImage4139-300m-DHCP.jpg

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

                              @george1421 I am really keen to hear what you did with kernel -300m as this seems to make a difference… right track I suppose. Maybe this is some kind of timeout?!

                              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

                              george1421G 2 Replies Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @Sebastian Roth
                                last edited by

                                @sebastian-roth Sorry its been a long day of poking and pulling the linux kernel.
                                Today I tried the setting from the Arch document with no luck in the ‘M’ release.
                                Then I tried just removing all of the power saving code out of the kernel as well as removing all acpi code, with no success. The ‘N’ release.
                                Next I was about to give up then I got the idea since the FC27 kernel worked when FC27 live was booted I decided to take the tar file you linked below and just straight copy over the ‘M’ config file and then built the kernel. I did this to test 2 ideas. 1) Did I have the right kernel options selected from the 4.17.13 release 2) Was the FC devs able to patch the 4.13.9 kernel to make it work with the OPs hardware. Both tests were successful. That is what @hlalex posted in the bzImage4139-300m.log log file. In another thread an OP had an issue with the current FOS kernel and an Microsoft usb network adapter. I added the patch into 4.17.13 M kernel build. That network driver was then discovered by FOS, but FOS still has the delayed creation of the GPT partition. So that mystery was not solved as of now either. I was kind of hoping the updated FOS kernel would have addressed that but not as of now.

                                Back on point so… It would be ideal to understand what the FC kernel dev guys did to linux 4.13.9 to create 4.13.9-300. I assume the -300 means there was 300 patches to the stock 4.13.9 kernel (??). The only thing I can think is to do a (mega)diff between linux 4.13.9 and the FC 4.13.9-300. To see what has changed.

                                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
                                • george1421G
                                  george1421 Moderator @Sebastian Roth
                                  last edited by

                                  @sebastian-roth It appears the -100 -200 -300 numbering is based on the FC release and not to indicate a patch level.

                                  0_1534459963892_fc_numbers.png

                                  So that means I’m back to trying to figure out how to diff all of the files between FC version and linux version of 4.13.9.

                                  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
                                  • george1421G
                                    george1421 Moderator
                                    last edited by

                                    Will you give the linux 4.13.9 kernel a shot before you send the hardware back this week? This last test will tell use if the fix is in the 4.13.9 kernel or something that FC did with 4.13.9-300 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!

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      hlalex @george1421
                                      last edited by

                                      @george1421 Sure thing, I’m keeping them around as long as possible so we can get as much info as possible from them.

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        hlalex @hlalex
                                        last edited by

                                        @george1421 I have to get these drives shipped out by 3:30pm EST today. I anyone has any additional test let me know and I will get anything I can.

                                        Otherwise, Thanks for all the help!

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

                                          @hlalex Thank you for your help. Go ahead and send them back at this time. It looks like kernel changes between 4.13.x and 4.17.x has disabled these types of drives. My only option would be to see if 4.18 has fixed the issue. But at this point you have a solution and the hardware must go back. So we’ll park testing until someone else has this issue. Again thank you for all of your testing and data collection. We would not have made it this far without your help.

                                          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
                                          • B
                                            bright23
                                            last edited by

                                            I have this same issue and have several machines in stock to test with if needed. However, I’m not nearly as Linux savvy as hlalex. I appreciate the effort you two have already put into it.

                                            george1421G 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 4 / 7
                                            • First post
                                              Last post

                                            194

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project