2023-10-27 06:11:05 |
You-Sheng Yang |
bug |
|
|
added bug |
2023-10-27 06:11:05 |
You-Sheng Yang |
attachment added |
|
nvme nvme0: Device not ready: aborting installation, CSTS=0x0 https://bugs.launchpad.net/bugs/2041495/+attachment/5713643/+files/Picture2.jpeg |
|
2023-10-27 06:13:04 |
You-Sheng Yang |
bug |
|
|
added subscriber Canonical Hardware Enablement |
2023-10-27 06:13:29 |
You-Sheng Yang |
bug task added |
|
linux (Ubuntu) |
|
2023-10-27 06:13:31 |
You-Sheng Yang |
tags |
|
oem-priority originate-from-2040981 white-whale |
|
2023-10-27 06:13:37 |
You-Sheng Yang |
tags |
oem-priority originate-from-2040981 white-whale |
oem-priority originate-from-2040981 originate-from-2041487 white-whale |
|
2023-10-27 06:13:43 |
You-Sheng Yang |
nominated for series |
|
Ubuntu Mantic |
|
2023-10-27 06:13:43 |
You-Sheng Yang |
bug task added |
|
linux (Ubuntu Mantic) |
|
2023-10-27 06:13:43 |
You-Sheng Yang |
bug task added |
|
linux-oem-6.5 (Ubuntu Mantic) |
|
2023-10-27 06:13:43 |
You-Sheng Yang |
nominated for series |
|
Ubuntu Jammy |
|
2023-10-27 06:13:43 |
You-Sheng Yang |
bug task added |
|
linux (Ubuntu Jammy) |
|
2023-10-27 06:13:43 |
You-Sheng Yang |
bug task added |
|
linux-oem-6.5 (Ubuntu Jammy) |
|
2023-10-27 06:16:13 |
You-Sheng Yang |
linux (Ubuntu Jammy): status |
New |
Invalid |
|
2023-10-27 06:16:17 |
You-Sheng Yang |
linux (Ubuntu): status |
New |
Fix Released |
|
2023-10-27 06:16:29 |
You-Sheng Yang |
linux-oem-6.5 (Ubuntu): status |
New |
Invalid |
|
2023-10-27 06:16:33 |
You-Sheng Yang |
linux-oem-6.5 (Ubuntu Jammy): status |
New |
Triaged |
|
2023-10-27 06:16:39 |
You-Sheng Yang |
linux-oem-6.5 (Ubuntu Mantic): status |
New |
Invalid |
|
2023-11-07 07:41:02 |
You-Sheng Yang |
description |
TBD. |
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 |
|
2023-11-07 07:41:15 |
You-Sheng Yang |
linux (Ubuntu Mantic): status |
New |
In Progress |
|
2023-11-07 07:48:34 |
You-Sheng Yang |
linux (Ubuntu Mantic): importance |
Undecided |
High |
|
2023-11-07 07:48:36 |
You-Sheng Yang |
linux (Ubuntu Mantic): assignee |
|
You-Sheng Yang (vicamo) |
|
2023-11-07 07:48:39 |
You-Sheng Yang |
linux-oem-6.5 (Ubuntu Jammy): status |
Triaged |
In Progress |
|
2023-11-07 07:48:42 |
You-Sheng Yang |
linux-oem-6.5 (Ubuntu Jammy): importance |
Undecided |
High |
|
2023-11-07 07:48:45 |
You-Sheng Yang |
linux-oem-6.5 (Ubuntu Jammy): assignee |
|
You-Sheng Yang (vicamo) |
|
2023-11-07 08:16:12 |
You-Sheng Yang |
description |
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 |
[SRU Justification]
BugLink: https://bugs.launchpad.net/bugs/2041495
[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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/nvme/host/core.c?h=v6.5&id=6cc834ba62998c65c42d0c63499bdd35067151ec "nvme: avoid bogus CRTO values", in Linus' tree v6.6 already, as well as stable kernels v6.1.55 and v6.5.5.
[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/Lunar/oem-6.5 and oem-6.1 will be nominated.
========== 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 |
|
2023-11-07 08:17:21 |
You-Sheng Yang |
bug task added |
|
linux-oem-6.1 (Ubuntu) |
|
2023-11-07 08:18:00 |
You-Sheng Yang |
linux-oem-6.1 (Ubuntu Jammy): status |
New |
Fix Released |
|
2023-11-07 08:18:12 |
You-Sheng Yang |
linux-oem-6.1 (Ubuntu Mantic): status |
New |
Invalid |
|
2023-11-07 08:18:22 |
You-Sheng Yang |
linux-oem-6.1 (Ubuntu): status |
New |
Invalid |
|
2023-11-07 08:56:52 |
You-Sheng Yang |
nominated for series |
|
Ubuntu Lunar |
|
2023-11-07 08:56:52 |
You-Sheng Yang |
bug task added |
|
linux (Ubuntu Lunar) |
|
2023-11-07 08:56:52 |
You-Sheng Yang |
bug task added |
|
linux-oem-6.1 (Ubuntu Lunar) |
|
2023-11-07 08:56:52 |
You-Sheng Yang |
bug task added |
|
linux-oem-6.5 (Ubuntu Lunar) |
|
2023-11-07 08:57:01 |
You-Sheng Yang |
linux-oem-6.5 (Ubuntu Lunar): status |
New |
Invalid |
|
2023-11-07 08:57:13 |
You-Sheng Yang |
linux-oem-6.1 (Ubuntu Lunar): status |
New |
Invalid |
|
2023-11-07 08:57:50 |
You-Sheng Yang |
linux (Ubuntu Lunar): importance |
Undecided |
High |
|
2023-11-07 08:57:50 |
You-Sheng Yang |
linux (Ubuntu Lunar): status |
New |
In Progress |
|
2023-11-07 08:57:50 |
You-Sheng Yang |
linux (Ubuntu Lunar): assignee |
|
You-Sheng Yang (vicamo) |
|