Bug 215997

Summary: Failure to resume
Product: ACPI Reporter: Christoph Stich (christoph.n.stich)
Component: Power-Sleep-WakeAssignee: acpi_power-sleep-wake
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Hardware: AMD   
OS: Linux   
Kernel Version: 5.10.115 Subsystem:
Regression: Yes Bisected commit-id:

Description Christoph Stich 2022-05-18 20:56:11 UTC
First, this is my first kernel bug report, so I apologize in advance if I get anything wrong.


Second, on kernel version 5.10.113 and 5.10.115 my PC fails to properly wake up when suspended to RAM. I essentially get a black screen, however I can switch exactly once to TTY1 by using Alt+Ctrl+F1. Then it displays a couple of status messages but fails to do anything else. After that even REISUB fails to restart the PC and I need to manually turn the power off.


The issue first arises with version 5.10.113. The bug still persists in 5.10.115.


When using PM_TRACE I get the following debug message from "dmesg", so I am somewhat confident it is bug related to the ACPI module.

> [    0.735634] PM:   Magic number: 0:356:296
> [    0.735635] PM:   hash matches drivers/base/power/main.c:904
> [    0.735686] tty tty29: hash matches
> [    0.735696] pci 0000:44:00.0: hash matches
> [    0.735713] acpi STK0003A:00: hash matches


I am on NixOS 21.11. My motherboard is a ASRock TRX40 Creator and my CPU is a         AMD Ryzen Threadripper 3960X.
Comment 1 Artem S. Tashkinov 2022-05-19 09:25:19 UTC
It's unlikely anyone will be able to help you unless you help yourself by performing `git bisect`.
Comment 2 Artem S. Tashkinov 2022-05-19 09:26:15 UTC
Also, it makes sense to test the latest stable kernel, 5.17.9.
Comment 3 Christoph Stich 2022-05-19 22:39:49 UTC
I used `git bisect` and found the commit with the regression. Relevant discussion here:
https://bugzilla.kernel.org/show_bug.cgi?id=215798

Also my bug report is a duplicate of:
https://bugzilla.kernel.org/show_bug.cgi?id=215949

*** This bug has been marked as a duplicate of bug 215949 ***