Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73447 - [linux] [nvme] 2101: Detection error on HDD0 (Main Hdd)

Attached to Project: Arch Linux
Opened by Ali Molaei (ali_molaei) - Friday, 21 January 2022, 14:29 GMT
Last edited by Toolybird (Toolybird) - Thursday, 02 March 2023, 06:47 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After a reboot with LENSE30256GMSP34MEAT3TA NVME SSD on Lenovo Thinkpad T490, you will get the error [code]2101: Detection error on HDD0 (Main Hdd)[/code]

Additional info:
* package version(s)
linux 5.16.1.arch1-1

Steps to reproduce:
Reboot having a LENSE30256GMSP34MEAT3TA SSD, even rebooting from the live installation on arch have the same effect.

I have dug a bit into the issue, and found out that I can fix the issue by adding a kernel parameter [code]nvme_core.default_ps_max_latency_us=0[/code] to disable {? I'm not sure) the Autonomous Power State Transitions(APST)
https://unix.stackexchange.com/questions/612096/clarifying-nvme-apst-problems-for-linux

I also dug a bit in the kernel code and find this:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/nvme/host/core.c?h=v5.16#n2474

It is hardcoded in the kernel for some SSD models to use [code]NVME_QUIRK_NO_APST[/code], So I think my SSD should be added to the list as well, but I don't know how to report an issue to the kernel, reading kernel FAQ, https://www.kernel.org/category/faq.html#how-do-i-report-a-problem-with-the-kernel I decided to report it here and get some help
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 02 March 2023, 06:47 GMT
Reason for closing:  None
Additional comments about closing:  Very old/stale bug. Please request reopen if still reproducible on current kernels.

Loading...