You are not logged in.

#1 2021-09-14 04:28:14

daigennki
Member
Registered: 2020-10-23
Posts: 33

PC not completely entering suspend, probably related to NVMe

Hi. Just recently, I added an old NVMe drive to my machine as a second drive (by means of a PCIe x4 to M.2 expansion card since there's only one M.2 slot on the motherboard, if that's relevant at all). Ever since then, while I can mount the partition on the drive and reads/writes work just fine, my machine seems to be unable to completely enter suspend. When I click "suspend" in the XFCE power menu, the screen goes black and the monitor goes to sleep as expected, but the power LED on the PC case is still lit and the CPU and case fans are running as if it's not actually in suspend. It stays that way even after leaving it for more than 15 minutes, with no response to keyboard or mouse input, so I have to force a shutdown by holding the power button. It seems as if there is something preventing it from suspending, and I think it may be the NVMe drive that was added, though please do correct me if there might be something else at play here. I should note that the machine can shut down just fine, and unmounting the partition on the NVMe drive in question before suspending did not help with the suspend issue. Any ideas as to how I might be able to fix this?

Here's the journalctl output, starting at what looks like the most relevant part and ending immediately before the next boot: https://gist.github.com/daigennki/435c7 … 32095bc8a9
At the part that says nvme0 and nvme1, nvme0 is the recently added second NVMe drive, while nvme1 is the boot NVMe drive, according to lsblk.

Relevant hardware specs:
CPU: Intel Core i7-6700K
Motherboard: ASUS Z170-K
GPU: AMD Radeon RX 5700 XT
Boot SSD: KIOXIA EXCERIA PLUS NVMe 1TB
Second SSD (the seemingly problematic one here): Crucial P1 1TB

lspci output:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 (rev f1)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 (rev f1)
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Z170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
05:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
06:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
09:00.0 Non-Volatile memory controller: Micron/Crucial Technology P1 NVMe PCIe SSD (rev 03)
0a:00.0 Non-Volatile memory controller: KIOXIA Corporation Device 0008 (rev 01)

Any help is appreciated!

EDIT: Looks like it definitely has something to do with the NVMe drive. It doesn't happen anymore after removing it, and it happens again after installing it. I would also like to point out that these two lines in the log I posted:

 9月 14 12:53:25 GUNGNIR-160126L kernel: snd_hda_intel 0000:03:00.1: refused to change power state from D3hot to D0
 9月 14 12:53:25 GUNGNIR-160126L kernel: amdgpu 0000:03:00.0: refused to change power state from D3hot to D0

are NOT present when the NVMe drive in question is removed. Looks like some sort of power management issue.

Last edited by daigennki (2021-09-14 08:56:32)

Offline

Board footer

Powered by FluxBB