Bugzilla – Bug 1213617
kernel 6.4.x power management issues on kaby lake CPU
Last modified: 2023-10-24 13:54:07 UTC
Hi, After upgrading to kernel 6.4.x I experienced these problems: 1. When notebook has disconnected power, it boot only to console (no X) 2. When power is disconnected, notebook does not suspend to RAM. dmesg log when I disconnect power is: >> [Ne júl 23 11:35:28 2023] ata2: SATA link down (SStatus 4 SControl 300) >> [Ne júl 23 11:35:30 2023] pci 0000:01:00.0: not ready 1023ms after resume; waiting >> [Ne júl 23 11:35:31 2023] pci 0000:01:00.0: not ready 2047ms after resume; waiting >> [Ne júl 23 11:35:33 2023] pci 0000:01:00.0: not ready 4095ms after resume; waiting >> [Ne júl 23 11:35:38 2023] pci 0000:01:00.0: not ready 8191ms after resume; waiting >> [Ne júl 23 11:35:46 2023] pci 0000:01:00.0: not ready 16383ms after resume; waiting >> [Ne júl 23 11:36:03 2023] pci 0000:01:00.0: not ready 32767ms after resume; waiting >> [Ne júl 23 11:36:38 2023] pci 0000:01:00.0: not ready 65535ms after resume; giving up >> [Ne júl 23 11:36:38 2023] pci 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible >> [Ne júl 23 11:36:38 2023] pci 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible >> lspci >> 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) Then I found same problem described here: https://bbs.archlinux.org/viewtopic.php?id=286976 And as workaround I disabled bumblebee service and now it works.
Could you report it to the upstream? e.g. bugzilla.kernel.org at start. Although bbswitch is a downstream stuff, this kind of regression shouldn't happen.
And, it's a regression of 6.4.x, i.e. when you boot 6.3.x, everything still works as is?
Hi Takashi, thanks for reply. Is there any easy way how to reproduce this on 6.3.x kernel on Tumbleweed? thanks
Just boot 6.3.x kernel :) I guess 6.3.x is still available in OBS TW history repo http://download.opensuse.org/history/ If not, you can find my OBS archive repos, e.g. OBS home:tiwai:kernel:6.3. But if you need a KMP, it can be problematic. You need to build KMP locally.
Thanks Takashi for the history repos link. I didn't know they existed. installed packages: sudo zypper in --oldpackage kernel-default-6.3.9-1.1 bbswitch-kmp-default-0.8_k6.3.9_1-13.31 bbswitch-0.8-13.31 cat /proc/acpi/bbswitch OFF KDE plasma started when I booted to 6.3.9 with a disconnected power adapter. Only the text console started when I booted to 6.4.6 with a disconnected power adapter. So I think I can confirm that the 6.3.x kernel works as expected.
Thanks, it's clearer now. Have you already reported it to the upstream? You can use bugzilla.kernel.org, for example.
Yes, upstream bug is https://bugzilla.kernel.org/show_bug.cgi?id=217705
This seems to be an issue of rtsx ASPM stuff. The upstream contained the fix.