Motherboard UEFI doesn't detect M.2 SSD drive











up vote
1
down vote

favorite
1












I'm building a brand new PC with an ASUS PRIME Z370-A motherboard and a Samsung SSD 970 EVO NVMe M.2 250GB.



However, my motherboard does not seem to be able to recognize the drive as the it neither shows up in UEFI nor in the Windows 10 Installer.



I tried installing it in the two M.2 sockets that the motherboard has:




  • M.2_1 socket supports PCIe 3.0 x4 and SATA mode M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.

  • M.2_2 socket supports PCIe 3.0 x4 M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.


However, the drive is not recognize in either socket.



I also tried applying several configurations to the Compatibility Support Module and it still does not detect it.



UEFI setup photos:



UEFI Setup Photo 1



UEFI Setup Photo 2





¡UPDATE!



I had to take my pc to a technician and, from what I remember he did, put another ssd m.2 on the motherboard, he tried activating / deactivating options (the truth did not seem that he knew what each option does and it was something that I had also tried) and in some of those attempts, eureka! the disk was recognized and appeared in the UEFI configuration panel.



I wanted to know which of the options he activated was indicated for it to work. I restored the options to the factory state and the ironic thing was that ... the disc was still recognized by the mother card! It could have been that I did not fit the disc right into its socket, but I honestly made several attempts and even applied a lot of force that I feared damaging it.



An unsolved mystery. But the important thing is that it works.










share|improve this question
























  • Disable CSM, you must use UEFI to use the drive
    – Ramhound
    Aug 16 at 5:09










  • I did it. But it continues without being recognized/detected.
    – David Ferreira
    Aug 18 at 0:56















up vote
1
down vote

favorite
1












I'm building a brand new PC with an ASUS PRIME Z370-A motherboard and a Samsung SSD 970 EVO NVMe M.2 250GB.



However, my motherboard does not seem to be able to recognize the drive as the it neither shows up in UEFI nor in the Windows 10 Installer.



I tried installing it in the two M.2 sockets that the motherboard has:




  • M.2_1 socket supports PCIe 3.0 x4 and SATA mode M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.

  • M.2_2 socket supports PCIe 3.0 x4 M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.


However, the drive is not recognize in either socket.



I also tried applying several configurations to the Compatibility Support Module and it still does not detect it.



UEFI setup photos:



UEFI Setup Photo 1



UEFI Setup Photo 2





¡UPDATE!



I had to take my pc to a technician and, from what I remember he did, put another ssd m.2 on the motherboard, he tried activating / deactivating options (the truth did not seem that he knew what each option does and it was something that I had also tried) and in some of those attempts, eureka! the disk was recognized and appeared in the UEFI configuration panel.



I wanted to know which of the options he activated was indicated for it to work. I restored the options to the factory state and the ironic thing was that ... the disc was still recognized by the mother card! It could have been that I did not fit the disc right into its socket, but I honestly made several attempts and even applied a lot of force that I feared damaging it.



An unsolved mystery. But the important thing is that it works.










share|improve this question
























  • Disable CSM, you must use UEFI to use the drive
    – Ramhound
    Aug 16 at 5:09










  • I did it. But it continues without being recognized/detected.
    – David Ferreira
    Aug 18 at 0:56













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





I'm building a brand new PC with an ASUS PRIME Z370-A motherboard and a Samsung SSD 970 EVO NVMe M.2 250GB.



However, my motherboard does not seem to be able to recognize the drive as the it neither shows up in UEFI nor in the Windows 10 Installer.



I tried installing it in the two M.2 sockets that the motherboard has:




  • M.2_1 socket supports PCIe 3.0 x4 and SATA mode M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.

  • M.2_2 socket supports PCIe 3.0 x4 M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.


However, the drive is not recognize in either socket.



I also tried applying several configurations to the Compatibility Support Module and it still does not detect it.



UEFI setup photos:



UEFI Setup Photo 1



UEFI Setup Photo 2





¡UPDATE!



I had to take my pc to a technician and, from what I remember he did, put another ssd m.2 on the motherboard, he tried activating / deactivating options (the truth did not seem that he knew what each option does and it was something that I had also tried) and in some of those attempts, eureka! the disk was recognized and appeared in the UEFI configuration panel.



I wanted to know which of the options he activated was indicated for it to work. I restored the options to the factory state and the ironic thing was that ... the disc was still recognized by the mother card! It could have been that I did not fit the disc right into its socket, but I honestly made several attempts and even applied a lot of force that I feared damaging it.



An unsolved mystery. But the important thing is that it works.










share|improve this question















I'm building a brand new PC with an ASUS PRIME Z370-A motherboard and a Samsung SSD 970 EVO NVMe M.2 250GB.



However, my motherboard does not seem to be able to recognize the drive as the it neither shows up in UEFI nor in the Windows 10 Installer.



I tried installing it in the two M.2 sockets that the motherboard has:




  • M.2_1 socket supports PCIe 3.0 x4 and SATA mode M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.

  • M.2_2 socket supports PCIe 3.0 x4 M KEY design and type 2242 / 2260 /2280 PCIe and SATA storage devices.


However, the drive is not recognize in either socket.



I also tried applying several configurations to the Compatibility Support Module and it still does not detect it.



UEFI setup photos:



UEFI Setup Photo 1



UEFI Setup Photo 2





¡UPDATE!



I had to take my pc to a technician and, from what I remember he did, put another ssd m.2 on the motherboard, he tried activating / deactivating options (the truth did not seem that he knew what each option does and it was something that I had also tried) and in some of those attempts, eureka! the disk was recognized and appeared in the UEFI configuration panel.



I wanted to know which of the options he activated was indicated for it to work. I restored the options to the factory state and the ironic thing was that ... the disc was still recognized by the mother card! It could have been that I did not fit the disc right into its socket, but I honestly made several attempts and even applied a lot of force that I feared damaging it.



An unsolved mystery. But the important thing is that it works.







boot ssd motherboard pci-express m.2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 27 at 1:19

























asked Aug 16 at 4:04









David Ferreira

1064




1064












  • Disable CSM, you must use UEFI to use the drive
    – Ramhound
    Aug 16 at 5:09










  • I did it. But it continues without being recognized/detected.
    – David Ferreira
    Aug 18 at 0:56


















  • Disable CSM, you must use UEFI to use the drive
    – Ramhound
    Aug 16 at 5:09










  • I did it. But it continues without being recognized/detected.
    – David Ferreira
    Aug 18 at 0:56
















Disable CSM, you must use UEFI to use the drive
– Ramhound
Aug 16 at 5:09




Disable CSM, you must use UEFI to use the drive
– Ramhound
Aug 16 at 5:09












I did it. But it continues without being recognized/detected.
– David Ferreira
Aug 18 at 0:56




I did it. But it continues without being recognized/detected.
– David Ferreira
Aug 18 at 0:56










2 Answers
2






active

oldest

votes

















up vote
0
down vote













To see if you can make BIOS recognize your M.2. drive, you could try:
(note: I can't post more than 8 links currently, but you can see all the screenshots on this gist comment: https://gist.github.com/constantoverride/78f78da30f42ebc9a187252a1bfae127#gistcomment-2702017 )

* in the page under AdvancedOnboard Devices Configuration, you could fiddle with the settings: Hyper M.2X16, M.2_1 Configuration, M.2_2 PCIe Bandwidth Configuration: [X2][X4].

* Try messing with the setting PCIe Speed on page AdvancedPCH ConfigurationPCI Express Configuration.

* Try disabling(or enabling? nah, probably not enabling!) Aggressive LPM Support from page AdvancedPCH Storage Configuration.

* try updating your BIOS (screenshots say it's version 0616, newest is 1002) - be careful though, because after update all of your BIOS settings(even those saved in the profiles, but not those saved as files on some USB drive obviously) are lost and rest to BIOS defaults.



Other things you could try, temporarily:

* Ensure ErP Ready is Disabled. When this is Enabled, it sets/enables other settings(on AdvancedPlatform Misc Configuration page (see next screenshot), at least) which for me caused my USB keyboard/mouse to not be recognized in Linux(or memtest86; eg. any booted OS) due to something having entered low power mode (or something similar), in effect only BIOS would see them.

* Ensure all on this page(AdvancedPlatform Misc Configuration) are disabled, just to make sure your M.2. drive didn't somehow enter some state that's effectively put to sleep (although this should never happen while inside BIOS/GUI).

* You could set POST Report to Until Press ESC (it's on Advanced under BootBoot Configuration) so that you can see what POST Screen says it detected, it would usually say something about the drives.

* The Fast Boot setting probably has no effect on this, just thought I'd bring it up anyway.

* Maybe you could check the screen under AdvancedPCH Storage Configuration where SATA devices can be Disabled, just to see if there's M.2. devices that can/are Disabled.

* check AdvancedHDD/SSD SMART Information see if you can select your M.2 drive from the Device list. This helps to see if BIOS can see it.

* Maybe you could mess with the DMI Max Link Speed setting that's on page AdvancedSystem Agent (SA) ConfigurationDMI/OPI Configuration. I currently don't know what that setting is and if that's supposed to affect anything related to M.2.

* you already tried disabling CSM(Compatibility Support Module) and didn't help (as per the comments on your question)





The following might apply, but, I believe that it first has to be recognized in BIOS: (though it may be possible for Linux to still detect it even if BIOS doesn't detect it, or maybe only if BIOS has it disabled, I'm unsure)



There's a linux kernel commit (467c77d4cbefaaf65e2f44fe102d543a52fcae5b) authored and commited on 11 March 2018, that says:




nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME
Z370-A



Yet another "incompatible" Samsung NVMe SSD 960 EVO and Asus motherboard
combination. 960 EVO device disappears from PCIe bus within few minutes
after boot-up when APST is in use and never gets back. Forcing
NVME_QUIRK_NO_APST is the only way to make this drive work with this
particular motherboard. NVME_QUIRK_NO_DEEPEST_PS doesn't work, upgrading
motherboard's BIOS didn't help either.
Since this is a desktop motherboard, the only drawback of not using APST
is increased device temperature.




So I'm guessing that the same happens with your drive: Samsung SSD 970 EVO NVMe M.2 250GB.



If you feel like recompiling Linux kernel:

You could try booting any of the following kernels versions(which should contain this commit):

v4.19-rc2 v4.19-rc1 v4.18 v4.18-rc8 v4.18-rc7 v4.18-rc6 v4.18-rc5 v4.18-rc4 v4.18-rc3 v4.18-rc2 v4.18-rc1 v4.17 v4.17-rc7 v4.17-rc6 v4.17-rc5 v4.17-rc4 v4.17-rc3 v4.17-rc2 v4.17-rc1 And likely any non-rc versions too, so: 4.17, 4.18 and the not-yet released 4.19(so only -rc2 and -rc1 are available from this one).

Then see if lspci -nn shows your M.2 device by name followed by two hex numbers [vendor:device] (should start with [144d:XXXX]) then check if those numbers at the end of the line are a different value than [144d:a804] (that's the 960 EVO SSD they mention in commit), it probably means that the above commit/patch won't be in effect for your drive, but if you can recompile kernel you could add your device's [vendor:device] numbers to that if block then see if the drive works; if it does then maybe also report it to kernel bugzilla so they can add it to that if block too.






share|improve this answer






























    up vote
    0
    down vote













    Did you push it far enough into the socket?



    I had a similar problem, and the solution was just to make sure to push the drive into the socket as far as it would go.






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1349499%2fmotherboard-uefi-doesnt-detect-m-2-ssd-drive%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      To see if you can make BIOS recognize your M.2. drive, you could try:
      (note: I can't post more than 8 links currently, but you can see all the screenshots on this gist comment: https://gist.github.com/constantoverride/78f78da30f42ebc9a187252a1bfae127#gistcomment-2702017 )

      * in the page under AdvancedOnboard Devices Configuration, you could fiddle with the settings: Hyper M.2X16, M.2_1 Configuration, M.2_2 PCIe Bandwidth Configuration: [X2][X4].

      * Try messing with the setting PCIe Speed on page AdvancedPCH ConfigurationPCI Express Configuration.

      * Try disabling(or enabling? nah, probably not enabling!) Aggressive LPM Support from page AdvancedPCH Storage Configuration.

      * try updating your BIOS (screenshots say it's version 0616, newest is 1002) - be careful though, because after update all of your BIOS settings(even those saved in the profiles, but not those saved as files on some USB drive obviously) are lost and rest to BIOS defaults.



      Other things you could try, temporarily:

      * Ensure ErP Ready is Disabled. When this is Enabled, it sets/enables other settings(on AdvancedPlatform Misc Configuration page (see next screenshot), at least) which for me caused my USB keyboard/mouse to not be recognized in Linux(or memtest86; eg. any booted OS) due to something having entered low power mode (or something similar), in effect only BIOS would see them.

      * Ensure all on this page(AdvancedPlatform Misc Configuration) are disabled, just to make sure your M.2. drive didn't somehow enter some state that's effectively put to sleep (although this should never happen while inside BIOS/GUI).

      * You could set POST Report to Until Press ESC (it's on Advanced under BootBoot Configuration) so that you can see what POST Screen says it detected, it would usually say something about the drives.

      * The Fast Boot setting probably has no effect on this, just thought I'd bring it up anyway.

      * Maybe you could check the screen under AdvancedPCH Storage Configuration where SATA devices can be Disabled, just to see if there's M.2. devices that can/are Disabled.

      * check AdvancedHDD/SSD SMART Information see if you can select your M.2 drive from the Device list. This helps to see if BIOS can see it.

      * Maybe you could mess with the DMI Max Link Speed setting that's on page AdvancedSystem Agent (SA) ConfigurationDMI/OPI Configuration. I currently don't know what that setting is and if that's supposed to affect anything related to M.2.

      * you already tried disabling CSM(Compatibility Support Module) and didn't help (as per the comments on your question)





      The following might apply, but, I believe that it first has to be recognized in BIOS: (though it may be possible for Linux to still detect it even if BIOS doesn't detect it, or maybe only if BIOS has it disabled, I'm unsure)



      There's a linux kernel commit (467c77d4cbefaaf65e2f44fe102d543a52fcae5b) authored and commited on 11 March 2018, that says:




      nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME
      Z370-A



      Yet another "incompatible" Samsung NVMe SSD 960 EVO and Asus motherboard
      combination. 960 EVO device disappears from PCIe bus within few minutes
      after boot-up when APST is in use and never gets back. Forcing
      NVME_QUIRK_NO_APST is the only way to make this drive work with this
      particular motherboard. NVME_QUIRK_NO_DEEPEST_PS doesn't work, upgrading
      motherboard's BIOS didn't help either.
      Since this is a desktop motherboard, the only drawback of not using APST
      is increased device temperature.




      So I'm guessing that the same happens with your drive: Samsung SSD 970 EVO NVMe M.2 250GB.



      If you feel like recompiling Linux kernel:

      You could try booting any of the following kernels versions(which should contain this commit):

      v4.19-rc2 v4.19-rc1 v4.18 v4.18-rc8 v4.18-rc7 v4.18-rc6 v4.18-rc5 v4.18-rc4 v4.18-rc3 v4.18-rc2 v4.18-rc1 v4.17 v4.17-rc7 v4.17-rc6 v4.17-rc5 v4.17-rc4 v4.17-rc3 v4.17-rc2 v4.17-rc1 And likely any non-rc versions too, so: 4.17, 4.18 and the not-yet released 4.19(so only -rc2 and -rc1 are available from this one).

      Then see if lspci -nn shows your M.2 device by name followed by two hex numbers [vendor:device] (should start with [144d:XXXX]) then check if those numbers at the end of the line are a different value than [144d:a804] (that's the 960 EVO SSD they mention in commit), it probably means that the above commit/patch won't be in effect for your drive, but if you can recompile kernel you could add your device's [vendor:device] numbers to that if block then see if the drive works; if it does then maybe also report it to kernel bugzilla so they can add it to that if block too.






      share|improve this answer



























        up vote
        0
        down vote













        To see if you can make BIOS recognize your M.2. drive, you could try:
        (note: I can't post more than 8 links currently, but you can see all the screenshots on this gist comment: https://gist.github.com/constantoverride/78f78da30f42ebc9a187252a1bfae127#gistcomment-2702017 )

        * in the page under AdvancedOnboard Devices Configuration, you could fiddle with the settings: Hyper M.2X16, M.2_1 Configuration, M.2_2 PCIe Bandwidth Configuration: [X2][X4].

        * Try messing with the setting PCIe Speed on page AdvancedPCH ConfigurationPCI Express Configuration.

        * Try disabling(or enabling? nah, probably not enabling!) Aggressive LPM Support from page AdvancedPCH Storage Configuration.

        * try updating your BIOS (screenshots say it's version 0616, newest is 1002) - be careful though, because after update all of your BIOS settings(even those saved in the profiles, but not those saved as files on some USB drive obviously) are lost and rest to BIOS defaults.



        Other things you could try, temporarily:

        * Ensure ErP Ready is Disabled. When this is Enabled, it sets/enables other settings(on AdvancedPlatform Misc Configuration page (see next screenshot), at least) which for me caused my USB keyboard/mouse to not be recognized in Linux(or memtest86; eg. any booted OS) due to something having entered low power mode (or something similar), in effect only BIOS would see them.

        * Ensure all on this page(AdvancedPlatform Misc Configuration) are disabled, just to make sure your M.2. drive didn't somehow enter some state that's effectively put to sleep (although this should never happen while inside BIOS/GUI).

        * You could set POST Report to Until Press ESC (it's on Advanced under BootBoot Configuration) so that you can see what POST Screen says it detected, it would usually say something about the drives.

        * The Fast Boot setting probably has no effect on this, just thought I'd bring it up anyway.

        * Maybe you could check the screen under AdvancedPCH Storage Configuration where SATA devices can be Disabled, just to see if there's M.2. devices that can/are Disabled.

        * check AdvancedHDD/SSD SMART Information see if you can select your M.2 drive from the Device list. This helps to see if BIOS can see it.

        * Maybe you could mess with the DMI Max Link Speed setting that's on page AdvancedSystem Agent (SA) ConfigurationDMI/OPI Configuration. I currently don't know what that setting is and if that's supposed to affect anything related to M.2.

        * you already tried disabling CSM(Compatibility Support Module) and didn't help (as per the comments on your question)





        The following might apply, but, I believe that it first has to be recognized in BIOS: (though it may be possible for Linux to still detect it even if BIOS doesn't detect it, or maybe only if BIOS has it disabled, I'm unsure)



        There's a linux kernel commit (467c77d4cbefaaf65e2f44fe102d543a52fcae5b) authored and commited on 11 March 2018, that says:




        nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME
        Z370-A



        Yet another "incompatible" Samsung NVMe SSD 960 EVO and Asus motherboard
        combination. 960 EVO device disappears from PCIe bus within few minutes
        after boot-up when APST is in use and never gets back. Forcing
        NVME_QUIRK_NO_APST is the only way to make this drive work with this
        particular motherboard. NVME_QUIRK_NO_DEEPEST_PS doesn't work, upgrading
        motherboard's BIOS didn't help either.
        Since this is a desktop motherboard, the only drawback of not using APST
        is increased device temperature.




        So I'm guessing that the same happens with your drive: Samsung SSD 970 EVO NVMe M.2 250GB.



        If you feel like recompiling Linux kernel:

        You could try booting any of the following kernels versions(which should contain this commit):

        v4.19-rc2 v4.19-rc1 v4.18 v4.18-rc8 v4.18-rc7 v4.18-rc6 v4.18-rc5 v4.18-rc4 v4.18-rc3 v4.18-rc2 v4.18-rc1 v4.17 v4.17-rc7 v4.17-rc6 v4.17-rc5 v4.17-rc4 v4.17-rc3 v4.17-rc2 v4.17-rc1 And likely any non-rc versions too, so: 4.17, 4.18 and the not-yet released 4.19(so only -rc2 and -rc1 are available from this one).

        Then see if lspci -nn shows your M.2 device by name followed by two hex numbers [vendor:device] (should start with [144d:XXXX]) then check if those numbers at the end of the line are a different value than [144d:a804] (that's the 960 EVO SSD they mention in commit), it probably means that the above commit/patch won't be in effect for your drive, but if you can recompile kernel you could add your device's [vendor:device] numbers to that if block then see if the drive works; if it does then maybe also report it to kernel bugzilla so they can add it to that if block too.






        share|improve this answer

























          up vote
          0
          down vote










          up vote
          0
          down vote









          To see if you can make BIOS recognize your M.2. drive, you could try:
          (note: I can't post more than 8 links currently, but you can see all the screenshots on this gist comment: https://gist.github.com/constantoverride/78f78da30f42ebc9a187252a1bfae127#gistcomment-2702017 )

          * in the page under AdvancedOnboard Devices Configuration, you could fiddle with the settings: Hyper M.2X16, M.2_1 Configuration, M.2_2 PCIe Bandwidth Configuration: [X2][X4].

          * Try messing with the setting PCIe Speed on page AdvancedPCH ConfigurationPCI Express Configuration.

          * Try disabling(or enabling? nah, probably not enabling!) Aggressive LPM Support from page AdvancedPCH Storage Configuration.

          * try updating your BIOS (screenshots say it's version 0616, newest is 1002) - be careful though, because after update all of your BIOS settings(even those saved in the profiles, but not those saved as files on some USB drive obviously) are lost and rest to BIOS defaults.



          Other things you could try, temporarily:

          * Ensure ErP Ready is Disabled. When this is Enabled, it sets/enables other settings(on AdvancedPlatform Misc Configuration page (see next screenshot), at least) which for me caused my USB keyboard/mouse to not be recognized in Linux(or memtest86; eg. any booted OS) due to something having entered low power mode (or something similar), in effect only BIOS would see them.

          * Ensure all on this page(AdvancedPlatform Misc Configuration) are disabled, just to make sure your M.2. drive didn't somehow enter some state that's effectively put to sleep (although this should never happen while inside BIOS/GUI).

          * You could set POST Report to Until Press ESC (it's on Advanced under BootBoot Configuration) so that you can see what POST Screen says it detected, it would usually say something about the drives.

          * The Fast Boot setting probably has no effect on this, just thought I'd bring it up anyway.

          * Maybe you could check the screen under AdvancedPCH Storage Configuration where SATA devices can be Disabled, just to see if there's M.2. devices that can/are Disabled.

          * check AdvancedHDD/SSD SMART Information see if you can select your M.2 drive from the Device list. This helps to see if BIOS can see it.

          * Maybe you could mess with the DMI Max Link Speed setting that's on page AdvancedSystem Agent (SA) ConfigurationDMI/OPI Configuration. I currently don't know what that setting is and if that's supposed to affect anything related to M.2.

          * you already tried disabling CSM(Compatibility Support Module) and didn't help (as per the comments on your question)





          The following might apply, but, I believe that it first has to be recognized in BIOS: (though it may be possible for Linux to still detect it even if BIOS doesn't detect it, or maybe only if BIOS has it disabled, I'm unsure)



          There's a linux kernel commit (467c77d4cbefaaf65e2f44fe102d543a52fcae5b) authored and commited on 11 March 2018, that says:




          nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME
          Z370-A



          Yet another "incompatible" Samsung NVMe SSD 960 EVO and Asus motherboard
          combination. 960 EVO device disappears from PCIe bus within few minutes
          after boot-up when APST is in use and never gets back. Forcing
          NVME_QUIRK_NO_APST is the only way to make this drive work with this
          particular motherboard. NVME_QUIRK_NO_DEEPEST_PS doesn't work, upgrading
          motherboard's BIOS didn't help either.
          Since this is a desktop motherboard, the only drawback of not using APST
          is increased device temperature.




          So I'm guessing that the same happens with your drive: Samsung SSD 970 EVO NVMe M.2 250GB.



          If you feel like recompiling Linux kernel:

          You could try booting any of the following kernels versions(which should contain this commit):

          v4.19-rc2 v4.19-rc1 v4.18 v4.18-rc8 v4.18-rc7 v4.18-rc6 v4.18-rc5 v4.18-rc4 v4.18-rc3 v4.18-rc2 v4.18-rc1 v4.17 v4.17-rc7 v4.17-rc6 v4.17-rc5 v4.17-rc4 v4.17-rc3 v4.17-rc2 v4.17-rc1 And likely any non-rc versions too, so: 4.17, 4.18 and the not-yet released 4.19(so only -rc2 and -rc1 are available from this one).

          Then see if lspci -nn shows your M.2 device by name followed by two hex numbers [vendor:device] (should start with [144d:XXXX]) then check if those numbers at the end of the line are a different value than [144d:a804] (that's the 960 EVO SSD they mention in commit), it probably means that the above commit/patch won't be in effect for your drive, but if you can recompile kernel you could add your device's [vendor:device] numbers to that if block then see if the drive works; if it does then maybe also report it to kernel bugzilla so they can add it to that if block too.






          share|improve this answer














          To see if you can make BIOS recognize your M.2. drive, you could try:
          (note: I can't post more than 8 links currently, but you can see all the screenshots on this gist comment: https://gist.github.com/constantoverride/78f78da30f42ebc9a187252a1bfae127#gistcomment-2702017 )

          * in the page under AdvancedOnboard Devices Configuration, you could fiddle with the settings: Hyper M.2X16, M.2_1 Configuration, M.2_2 PCIe Bandwidth Configuration: [X2][X4].

          * Try messing with the setting PCIe Speed on page AdvancedPCH ConfigurationPCI Express Configuration.

          * Try disabling(or enabling? nah, probably not enabling!) Aggressive LPM Support from page AdvancedPCH Storage Configuration.

          * try updating your BIOS (screenshots say it's version 0616, newest is 1002) - be careful though, because after update all of your BIOS settings(even those saved in the profiles, but not those saved as files on some USB drive obviously) are lost and rest to BIOS defaults.



          Other things you could try, temporarily:

          * Ensure ErP Ready is Disabled. When this is Enabled, it sets/enables other settings(on AdvancedPlatform Misc Configuration page (see next screenshot), at least) which for me caused my USB keyboard/mouse to not be recognized in Linux(or memtest86; eg. any booted OS) due to something having entered low power mode (or something similar), in effect only BIOS would see them.

          * Ensure all on this page(AdvancedPlatform Misc Configuration) are disabled, just to make sure your M.2. drive didn't somehow enter some state that's effectively put to sleep (although this should never happen while inside BIOS/GUI).

          * You could set POST Report to Until Press ESC (it's on Advanced under BootBoot Configuration) so that you can see what POST Screen says it detected, it would usually say something about the drives.

          * The Fast Boot setting probably has no effect on this, just thought I'd bring it up anyway.

          * Maybe you could check the screen under AdvancedPCH Storage Configuration where SATA devices can be Disabled, just to see if there's M.2. devices that can/are Disabled.

          * check AdvancedHDD/SSD SMART Information see if you can select your M.2 drive from the Device list. This helps to see if BIOS can see it.

          * Maybe you could mess with the DMI Max Link Speed setting that's on page AdvancedSystem Agent (SA) ConfigurationDMI/OPI Configuration. I currently don't know what that setting is and if that's supposed to affect anything related to M.2.

          * you already tried disabling CSM(Compatibility Support Module) and didn't help (as per the comments on your question)





          The following might apply, but, I believe that it first has to be recognized in BIOS: (though it may be possible for Linux to still detect it even if BIOS doesn't detect it, or maybe only if BIOS has it disabled, I'm unsure)



          There's a linux kernel commit (467c77d4cbefaaf65e2f44fe102d543a52fcae5b) authored and commited on 11 March 2018, that says:




          nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME
          Z370-A



          Yet another "incompatible" Samsung NVMe SSD 960 EVO and Asus motherboard
          combination. 960 EVO device disappears from PCIe bus within few minutes
          after boot-up when APST is in use and never gets back. Forcing
          NVME_QUIRK_NO_APST is the only way to make this drive work with this
          particular motherboard. NVME_QUIRK_NO_DEEPEST_PS doesn't work, upgrading
          motherboard's BIOS didn't help either.
          Since this is a desktop motherboard, the only drawback of not using APST
          is increased device temperature.




          So I'm guessing that the same happens with your drive: Samsung SSD 970 EVO NVMe M.2 250GB.



          If you feel like recompiling Linux kernel:

          You could try booting any of the following kernels versions(which should contain this commit):

          v4.19-rc2 v4.19-rc1 v4.18 v4.18-rc8 v4.18-rc7 v4.18-rc6 v4.18-rc5 v4.18-rc4 v4.18-rc3 v4.18-rc2 v4.18-rc1 v4.17 v4.17-rc7 v4.17-rc6 v4.17-rc5 v4.17-rc4 v4.17-rc3 v4.17-rc2 v4.17-rc1 And likely any non-rc versions too, so: 4.17, 4.18 and the not-yet released 4.19(so only -rc2 and -rc1 are available from this one).

          Then see if lspci -nn shows your M.2 device by name followed by two hex numbers [vendor:device] (should start with [144d:XXXX]) then check if those numbers at the end of the line are a different value than [144d:a804] (that's the 960 EVO SSD they mention in commit), it probably means that the above commit/patch won't be in effect for your drive, but if you can recompile kernel you could add your device's [vendor:device] numbers to that if block then see if the drive works; if it does then maybe also report it to kernel bugzilla so they can add it to that if block too.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 9 at 21:26

























          answered Sep 9 at 21:01









          Marcus Linsner

          265




          265
























              up vote
              0
              down vote













              Did you push it far enough into the socket?



              I had a similar problem, and the solution was just to make sure to push the drive into the socket as far as it would go.






              share|improve this answer

























                up vote
                0
                down vote













                Did you push it far enough into the socket?



                I had a similar problem, and the solution was just to make sure to push the drive into the socket as far as it would go.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Did you push it far enough into the socket?



                  I had a similar problem, and the solution was just to make sure to push the drive into the socket as far as it would go.






                  share|improve this answer












                  Did you push it far enough into the socket?



                  I had a similar problem, and the solution was just to make sure to push the drive into the socket as far as it would go.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 9 at 22:39









                  elchambro

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1349499%2fmotherboard-uefi-doesnt-detect-m-2-ssd-drive%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                      Alcedinidae

                      Can an atomic nucleus contain both particles and antiparticles? [duplicate]