FS#76918 - [linux] resume from suspend broken after PCI/PTM changes in kernel 6.1

Attached to Project: Arch Linux
Opened by Andrej (derfehler) - Friday, 23 December 2022, 11:51 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 15 February 2023, 01:18 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When using the latest version of the kernel 6.1.1-zen1-1-zen (also without zen patches), after exiting suspend-to-ram, a kernel lock occurs, sysrq keys does not work and you have to do a hard reboot. The previous 6.0 kernel worked fine. I found an entry about Bug 216782 on the kernel bugtracker, there is some progress in identifying problematic patches. My device is an Lenovo IdeaPad S340 with an amd 3700u processor.

Additional info:
* linux-zen 6.1.1.zen1-1
* link to upstream bug report - https://bugzilla.kernel.org/show_bug.cgi?id=216782

Steps to reproduce:

* install the linux kernel-zen 6.1.1.zen1-1 (and most likely the linux kernel 6.1.1 without zen patches)
* give the command to enter the suspend-to-ram mode
* resume from suspend
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 15 February 2023, 01:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  Reporter says "the problem is solved in the latest mainline 6.2-rc8"
Comment by Andrej (derfehler) - Friday, 13 January 2023, 16:18 GMT
I stopped using the main kernel for a while and used the LTS version. Today I decided to try again, updated it to 6.1.5, now when the power adapter is connected, suspend and waking up occur without problems. But if I suspend the computer when the power adapter is turned off, when running on battery power, when I wake up (it makes no difference whether the power supply is connected or not at this moment), the kernel is blocked, and nothing helps except to force shutdown.
Comment by Andrej (derfehler) - Friday, 13 January 2023, 18:28 GMT
I don't know how to get logs or at least some information, because after the kernel is locked, absolutely no records remain. I would be very grateful if someone suggested where to look to get useful data.
Comment by Andrej (derfehler) - Monday, 13 February 2023, 15:12 GMT
ok, my poorly described problem is solved in the fresh mainline 6.2-rc8. Thank you for your hard work, comrades!
Comment by loqs (loqs) - Monday, 13 February 2023, 16:11 GMT

Loading...