16.04无法用 NVMe M.2 SSD挂起

分享于 

4分钟阅读

ubuntu

  繁體

问题

我已经安装了Samsung Pro 960 SSD,它是NVMe M.2 Gen 3.0 x 4固态驱动器,但是在Ubuntu 16.04中,它卡死了。在Windows 10中工作正常。

lsblk信息


$ lsdrv


NAME FSTYPE LABEL MOUNTPOINT SIZE MODEL


sda 931.5G HGST HTS721010A9


├─sda4 ntfs WINRETOOLS 450M 


├─sda2 128M 


├─sda5 ntfs Image 11.4G 


├─sda3 ntfs HGST_Win10 /mnt/d 919G 


└─sda1 vfat ESP 500M 


nvme0n1 477G Samsung SSD 960 PRO 512GB 


├─nvme0n1p5 ext4 NVMe_Ubuntu_16.0 / 44.6G 


├─nvme0n1p3 16M 


├─nvme0n1p1 ntfs 450M 


├─nvme0n1p6 swap Linux Swap [SWAP] 7.9G 


├─nvme0n1p4 ntfs NVMe_Win10 /mnt/c 414.9G 


├─nvme0n1p2 vfat /boot/efi 99M 


└─nvme0n1p7 ntfs Shared_WSL+Linux /mnt/e 9G 



lspci信息


$ lspci


00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)


00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)


00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)


00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)


00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)


00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)


00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)


00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)


00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)


00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)


00:1c.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #6 (rev f1)


00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)


00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)


00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)


00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)


00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)


00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)


01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)


01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)


02:00.0 PCI bridge: Intel Corporation Device 1576


03:00.0 PCI bridge: Intel Corporation Device 1576


03:01.0 PCI bridge: Intel Corporation Device 1576


03:02.0 PCI bridge: Intel Corporation Device 1576


39:00.0 USB controller: Intel Corporation Device 15b5


3b:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)


3c:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)


3d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)


3e:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a804




答案1

NVMe SSD挂起/恢复是一个已知错误

解决方案是使用sudo权限编辑/etc/default/grub,并找到以下行:


GRUB_CMDLINE_LINUX_DEFAULT="quiet kaslr acpiphp.disable=1 pcie_aspm=off nloglevel=3 udev.log-priority=3"



在双引号之间添加选项acpihp.disable=1

重新启动,除非有其他问题,否则挂起和恢复可以使用了。


sus  暂停  NVM