NVMe devices fail to probe due to ACPI power state change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Medium
|
Heitor Alves de Siqueira | ||
linux-oem-5.14 (Ubuntu) |
Invalid
|
Medium
|
Heitor Alves de Siqueira | ||
Focal |
Fix Released
|
Medium
|
Heitor Alves de Siqueira | ||
Impish |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Specific NVMe devices fail to probe and become unusable after boot
* Caused by an ACPI regression that doesn't correctly handle power states
* Upstream regression commit:
7e4fdeafa61f ACPI: power: Turn off unused power resources unconditionally
* Regression window for Ubuntu kernels includes 5.13 and 5.14
[Test Plan]
* Boot affected kernel and validate whether NVMe device is usable
* Check kernel logs for failed probe message:
"can't change power state from D3Cold to D0 (config space inaccessible)"
[Fix]
* Fixed by not turning off power resources in unknown state
* Fix was introduced by commit:
bc2836859643 ACPI: PM: Do not turn off power resources in unknown state
* Kernels starting with 5.15 (e.g. Jammy) not affected, as they already contain the fix above
[Regression Potential]
* NVMe devices continue failing to probe
* Other devices become unusable after power state changes
* Further regressions would affect power state of devices, possibly after boot
--
[Original Description]
NVME "can't change power state from D3Cold to D0 (config space inaccessible)"
Bug with kernels after version 5.11.0-18 on Lenovo Ideapad 330-15ICH. The NVME drive with my root partition cannot be mounted at boot with an error "can't change power state from D3Cold to D0 (config space inaccessible)". I'm willing to help find a root cause if I don't need to spent too many hours. All Ubuntu kernels after 5.11.0-18 exhibit this bug, but I could boot properly with the official linux kernel 5.13.0. Thanks a lot for your help
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.11.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: chris 7503 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 3 18:46:35 2021
InstallationDate: Installed on 2019-07-17 (779 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 5986:210e Acer, Inc EasyCamera
Bus 001 Device 004: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 007: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 81FK
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.197.3
SourcePackage: linux
UpgradeStatus: Upgraded to hirsute on 2021-06-03 (92 days ago)
dmi.bios.date: 10/24/2018
dmi.bios.release: 1.29
dmi.bios.vendor: LENOVO
dmi.bios.version: 7ZCN29WW
dmi.board.
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ideapad 330-15ICH
dmi.product.name: 81FK
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
CVE References
description: | updated |
tags: | added: impish |
Changed in linux-oem-5.14 (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu Impish): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
Changed in linux (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux-oem-5.14 (Ubuntu Impish): | |
status: | New → Invalid |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in linux-oem-5.14 (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in linux-oem-5.14 (Ubuntu): | |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
tags: | added: sts |
Changed in linux (Ubuntu Impish): | |
status: | Confirmed → In Progress |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | Confirmed → In Progress |
Changed in linux-oem-5.14 (Ubuntu): | |
status: | Confirmed → In Progress |
summary: |
- NVME "can't change power state from D3Cold to D0 (config space - inaccessible)" + NVMe devices fail to probe due to ACPI power state change |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Impish): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.14 (Ubuntu): | |
status: | In Progress → Invalid |
tags: | added: oem-priority originate-from-1969446 pygmy-possum |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in hwe-next: | |
status: | New → Fix Released |
Pictures of the error messages - Couldn't find a way to get the errors from any log, sorry !