Could not probe Samsung P44 30S3 PM9C1a SSD correctly: nvme nvme0: Device not ready: aborting installation, CSTS=0x0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
New
|
Undecided
|
Unassigned | ||
OEM Priority Project |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Won't Fix
|
High
|
You-Sheng Yang | ||
Mantic |
Fix Released
|
High
|
You-Sheng Yang | ||
linux-oem-6.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned | ||
Mantic |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-6.5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
You-Sheng Yang | ||
Lunar |
Invalid
|
Undecided
|
Unassigned | ||
Mantic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
BugLink: https:/
[Impact]
NVME module left unready, therefore not recognized by the installation process, and/or after installation with following error messages:
```
kernel: [ 1.754585] nvme nvme0: pci function 10000:e1:00.0
kernel: [ 1.754595] pcieport 10000:e0:06.0: can't derive routing for PCI INT A
kernel: [ 1.754599] nvme 10000:e1:00.0: PCI INT A: no GSI
kernel: [ 1.756743] nvme nvme0: Device not ready; aborting initialisation, CSTS=0x0
```
[Fix]
Proposed fix in https:/
[Test Case]
Apply to kernel and boot with the nvme module installed. Now the device should be probed with success.
```
kernel: [ 1.731760] nvme nvme0: pci function 10000:e1:00.0
kernel: [ 1.731778] pcieport 10000:e0:06.0: can't derive routing for PCI INT A
kernel: [ 1.731780] nvme 10000:e1:00.0: PCI INT A: no GSI
kernel: [ 1.731919] nvme nvme0: bad crto:0 cap:800203028033fff
kernel: [ 1.735550] nvme nvme0: Shutdown timeout set to 10 seconds
kernel: [ 1.753865] nvme nvme0: allocated 64 MiB host memory buffer.
kernel: [ 1.794966] nvme nvme0: 16/0/0 default/read/poll queues
kernel: [ 2.136735] nvme0n1: p1 p2 p3
```
[Where problems could occur]
This patch tries to set an appropriate CRTO (Controller Ready Timeouts) that may be reported incorrectly by some devices. There should be little (a bit longer CRTO) to no effect on devices performing normally before hands.
[Other Info]
While this has been in Linus' tree, Mantic/
========== original bug report ==========
NVME module left unready, therefore not recognized by the installation process, and/or after installation with following error messages:
kernel: [ 1.754585] nvme nvme0: pci function 10000:e1:00.0
kernel: [ 1.754595] pcieport 10000:e0:06.0: can't derive routing for PCI INT A
kernel: [ 1.754599] nvme 10000:e1:00.0: PCI INT A: no GSI
kernel: [ 1.756743] nvme nvme0: Device not ready; aborting initialisation, CSTS=0x0
description: | updated |
Changed in linux (Ubuntu Mantic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Mantic): | |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
status: | Triaged → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-oem-6.5 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux (Ubuntu Lunar): | |
assignee: | nobody → You-Sheng Yang (vicamo) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Mantic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-jammy-linux-oem-6.5 removed: verification-needed-jammy-linux-oem-6.5 |
tags: | added: originate-from-2046325 sutton |
tags: |
added: verification-done-lunar-linux verification-done-mantic-linux removed: verification-needed-lunar-linux verification-needed-mantic-linux |
Proposed fix in https:/ /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ drivers/ nvme/host/ core.c? h=v6.5& id=6cc834ba6299 8c65c42d0c63499 bdd35067151ec "nvme: avoid bogus CRTO values", in Linus' tree already.