2023-08-20 12:04:22

by Bagas Sanjaya

[permalink] [raw]
Subject: Re: Possible nvme regression in 6.4.11

On Wed, Aug 16, 2023 at 04:39:34PM -0400, Genes Lists wrote:
>
> Also reported to bugzilla [1]
>
> Failure happens on 1 laptop with samsung ssd.
>
> Boot log manually transcribed:
>
> kernel: nvme nvme0: controller is down; will reset: CSTS:0xffffffff,
> PCI_STATUS=0xffff
> kernel: nvme nvme0: Does your device have a faulty power saving mode
> enabled?
> kernel: nvme nvme0: try "nvme_core.default_ps_max_latency_us=0
> pcie_aspm=off" and report a bug
> kernel: nvme 0000:04:00.0: Unable to change power state from D3cold to D0,
> device inaccessible
> kernel: nvme nvme0: Disabling device after reset failure: -19
> mount[353]: mount /sysroot: can't read suprtblock on /dev/nvme0n1p5.
> mount[353]: dmesg(1) may have more information after failed moutn
> system call.
> kernel: nvme0m1: detected capacity change from 2000409264 to 0
> kernel: EXT4-fs (nvme0n1p5): unable to read superblock
> systemd([1]: sysroot.mount: Mount process exited, code=exited, status=32/n/a
> ...
>
> All kernels are upstream, untainted and compiled on Arch using:
>
> gcc version 13.2.1
>
> Kernels Tested:
> - 6.4.10 - works fine
> - 6.4.11 - fails
> - 6.5-rc6 - fails
> - 6.4.11 + nvme_core.default_ps_max_latency_us=0 pcie_aspm=off - fails
> - 6.4.11 with 1 revert below - fails
>
> Revert "nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and
> 512G"
> This reverts commit 061fbf64825fb47367bbb6e0a528611f08119473.
>
> Hardware:
> model name : Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
> stepping : 9
> microcode : 0xf4
>
> nvme:
> 04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD
> Controller SM961/PM961/SM963
> Subsystem: Samsung Electronics Co Ltd SM963 2.5" NVMe PCIe SSD
> Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
> Memory at edb00000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
> Capabilities: [70] Express Endpoint, MSI 00
> Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
> Kernel driver in use: nvme
>

Thanks for the regression report. I'm adding it to regzbot:

#regzbot ^introduced: 101bd907b4244a
#regzbot title: can't change Samsung SSD power state due to ASPM mode checking
#regzbot monitor: https://bugzilla.kernel.org/show_bug.cgi?id=217802

--
An old man doll... just what I always wanted! - Clara


Attachments:
(No filename) (2.49 kB)
signature.asc (235.00 B)
Download all attachments

2023-09-29 11:55:26

by Thorsten Leemhuis

[permalink] [raw]
Subject: Re: Possible nvme regression in 6.4.11

On 17.08.23 05:00, Bagas Sanjaya wrote:
> On Wed, Aug 16, 2023 at 04:39:34PM -0400, Genes Lists wrote:

> Thanks for the regression report. I'm adding it to regzbot:
>
> #regzbot ^introduced: 101bd907b4244a
> #regzbot title: can't change Samsung SSD power state due to ASPM mode checking
> #regzbot monitor: https://bugzilla.kernel.org/show_bug.cgi?id=217802

Fix is in Gregs tree and hopefully soon in mainline:

#regzbot fix: 0e4cac557531a4
#regzbot ignore-activity

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.