You are not logged in.

#1 2022-09-30 15:09:18

Bestiapeluda
Member
From: Buenos Aires, Argentina
Registered: 2007-10-16
Posts: 181

Issue with NVME controller from kernel 5.18 onwards

I'm having trouble with my Asus laptop (Zenbook Duo) whenever it resumes from sleep.

This dmesg snippet I gathered from an installer medium, since on my real installation it all freezes (root partition dissapears) and I can't save any logs

[   73.137437] nvme nvme0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0xffff
[   73.137452] nvme nvme0: Does your device have a faulty power saving mode enabled?
[   73.137456] nvme nvme0: Try "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" and report a bug
[   73.194082] nvme 0000:04:00.0: Unable to change power state from D3cold to D0, device inaccessible
[   73.194483] nvme nvme0: Removing after probe failure status: -19

I tried adding "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" as kernel parameters with no avail. I also tested "iommu=soft" and the result is the same.

Downgrading to an LTS kernel solves the issue.

I need some guidance to where to post this bug, since it not only happens on archlinux.

Offline

#2 2023-04-19 10:29:32

OggyP
Member
Registered: 2023-04-19
Posts: 1
Website

Re: Issue with NVME controller from kernel 5.18 onwards

Hi Bestiapeluda, I also have this issue. I also have a Asus Zenbook Duo and am having to run an LTS kernel.

I was wondering if you managed to get anywhere with this issue, I was testing some other distros to see if they were also affected and came to the same conclusion as you, all had the same message (dmesg | grep 'nvme'):

Arch Linux running 6.2.8-arch1-1

[    5.451483] nvme nvme0: pci function 0000:04:00.0
[    5.459899] nvme nvme0: 8/0/0 default/read/poll queues
[    5.462781]  nvme0n1: p1 p2 p4
[  530.755521] nvme nvme0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0xffff
[  530.755532] nvme nvme0: Does your device have a faulty power saving mode enabled?
[  530.755536] nvme nvme0: Try "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" and report a bug
[  530.825745] nvme 0000:04:00.0: Unable to change power state from D3cold to D0, device inaccessible
[  530.826126] nvme nvme0: Disabling device after reset failure: -19
[  530.842408] nvme0n1: detected capacity change from 1000215216 to 0
[  530.853460] Buffer I/O error on dev nvme0n1p4, logical block 1048560, async page read
[  530.853752] Buffer I/O error on dev nvme0n1p2, logical block 123846384, async page read
[  530.854137] Buffer I/O error on dev nvme0n1p1, logical block 131056, async page read
[  531.050089] Buffer I/O error on dev nvme0n1p2, logical block 123846384, async page read
[  531.050091] Buffer I/O error on dev nvme0n1p4, logical block 1048560, async page read
[  531.050314] Buffer I/O error on dev nvme0n1p1, logical block 131056, async page read
[  531.064708] Buffer I/O error on dev nvme0n1p2, logical block 123846384, async page read
[  531.064756] Buffer I/O error on dev nvme0n1p1, logical block 131056, async page read

My SSD is a `WDC PC SN520 SDAPNUW-512G-1002` according to smartctl.

Many thanks smile

Offline

Board footer

Powered by FluxBB