Bug 197955 - Laptop no longer enters suspend correctly - ThinkPad S1 Yoga
Summary: Laptop no longer enters suspend correctly - ThinkPad S1 Yoga
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 22:58 UTC by Tristan Partin
Modified: 2018-03-12 06:54 UTC (History)
4 users (show)

See Also:
Kernel Version: 4.13.15-34
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
output of lspci -vvv (9.51 KB, text/plain)
2017-11-21 22:58 UTC, Tristan Partin
Details
full dmesg (66.31 KB, text/plain)
2017-12-11 06:05 UTC, Tristan Partin
Details
grepped error messages (3.38 KB, text/plain)
2017-12-11 06:05 UTC, Tristan Partin
Details
ouput of grep sys power 4.14 (495 bytes, text/plain)
2017-12-11 09:01 UTC, Tristan Partin
Details

Description Tristan Partin 2017-11-21 22:58:39 UTC
Created attachment 260777 [details]
output of lspci -vvv

This bug was introduced in my jump from the 4.9 kernel to the 4.12 kernel. What seems to happen is that it will enter the correct CPU state initially, but then seems to enter a slightly higher CPU state after a few seconds. The laptop stays warm, instead of cooling down during the suspend state like it used to. I have attached the contents of `lspci -vvv`. If more information is required. I would be more than happy to help. Just give me the commands to run and I am on it. General specs of laptop:

OS: Solus x86_64
Host: 20C0S19700 ThinkPad S1 Yoga
Kernel: 4.13.15-34.current
CPU: Intel i7-4600U (4) @ 3.300GHz
GPU: Intel Integrated Graphics
Comment 1 Chen Yu 2017-11-27 02:22:52 UTC
Please provide the full dmesg across the suspend/resume, with no_console_suspend appended in the grub command line, both under 4.9 and the failing one. BTW, are you using suspend to mem or suspend to idle?
Comment 2 Zhang Rui 2017-12-11 05:29:03 UTC
ping
Comment 3 Tristan Partin 2017-12-11 06:04:05 UTC
I believe I am using suspend to idle, but I am not completely sure. I am sorry for the lack of communication. Been focused on school work recently. I am including a text file of things I saw in dmesg. I grepped for suspend, resume, and sleep. Along with those I have also included any red error messages from when my computer first booted up. Interesting point to note is that when I put my laptop to suspend the Bluetooth comes on regardless of the setting I am using pre-resume. I have also included relevant lines for that. Let me know if you are missing something or would like a full log. These are the 4.14 logs. I went ahead and included the full dmesg as well. I will work on getting the 4.9 logs.
Comment 4 Tristan Partin 2017-12-11 06:05:01 UTC
Created attachment 261099 [details]
full dmesg
Comment 5 Tristan Partin 2017-12-11 06:05:32 UTC
Created attachment 261101 [details]
grepped error messages
Comment 6 Chen Yu 2017-12-11 08:28:50 UTC
(In reply to Tristan Partin from comment #4)
> Created attachment 261099 [details]
> full dmesg

It resumed from S3 normally according to the log:
[10625.489887] ACPI: Waking up from system sleep state S3

Please describe a little more about:
"it will enter the correct CPU state initially, but then seems to enter a slightly higher CPU state after a few seconds."
Does  "enter higher CPU state" mean "wake up from suspend to mem"?
How about unloading the wifi/bluetooth driver
Comment 7 Tristan Partin 2017-12-11 08:42:45 UTC
Ok so, its hard to explain, but I'll try. My laptop is a ThinkPad. On the lid of my ThinkPad, there is a light. Up until my upgrade to 4.12, when I put my laptop to suspend, this light would pulsate very slowly on and off. Now that light just stays on forever while in suspend. The CPU no longer goes to the state it used to go to. My laptop will feel like it never went to suspend because it is still warm, while in the 4.9 days my CPU temperature would cool down to almost room temp. Any ideas? The Bluetooth issue has been going on for as long as I have had this laptop. Just thought I would include it anyway, so I know that is not the issue.
Comment 8 Zhang Rui 2017-12-11 08:50:16 UTC
(In reply to Tristan Partin from comment #7)
> Ok so, its hard to explain, but I'll try. My laptop is a ThinkPad. On the
> lid of my ThinkPad, there is a light. Up until my upgrade to 4.12, when I
> put my laptop to suspend, this light would pulsate very slowly on and off.

this sounds like ACPI S3.

> Now that light just stays on forever while in suspend.

and this sounds like ACPI S0.

so please attach the output of
"grep . /sys/power/*"
in both kernels.
Comment 9 Tristan Partin 2017-12-11 09:01:12 UTC
Created attachment 261105 [details]
ouput of grep sys power 4.14
Comment 10 Tristan Partin 2017-12-11 09:02:29 UTC
Added an attachment. I am currently in talks with my distribution maintainers on how I can best proceed with booting the 4.9 kernel. I'll need a little time to receive feedback, but I should be able to get those to you soon.
Comment 11 Zhang Rui 2017-12-18 08:39:51 UTC
(In reply to Tristan Partin from comment #10)
> Added an attachment. I am currently in talks with my distribution
> maintainers on how I can best proceed with booting the 4.9 kernel.

I'm confused, I think everything works well on 4.9, and you got suspend failure in 4.12.

please try
echo {core, processors, platform, devices, freezer} > /sys/power/pm_test
and wait for like 5 seconds, and see if the system resumes back properly,
Comment 12 Tristan Partin 2018-01-09 02:35:37 UTC
Getting a write error. Invalid argument. I don't know what to tell you. 4.9 used to suspend properly except for the bluetooth issue.
Comment 13 Zhang Rui 2018-01-09 02:47:56 UTC
(In reply to Zhang Rui from comment #11)
> (In reply to Tristan Partin from comment #10)
> > Added an attachment. I am currently in talks with my distribution
> > maintainers on how I can best proceed with booting the 4.9 kernel.
> 
> I'm confused, I think everything works well on 4.9, and you got suspend
> failure in 4.12.
> 
> please try
> echo {core, processors, platform, devices, freezer} > /sys/power/pm_test
you need to run
echo core > /sys/power/pm_test
and see if the system resumes automatically afte around 10 seconds, if no, please try
echo processors > /sys/power/pm_test
if still fails, try
echo platform > /sys/power/pm_test
if still fails, try
echo devices > /sys/power/pm_test
if still fails, try
echo freezer > /sys/power/pm_test
Comment 14 Tristan Partin 2018-01-09 03:26:40 UTC
None of these provided any significant changes. core made the light blink for 10 seconds then go solid. processors made the light solid for about 10 seconds then it started blinking for a bit.
Comment 15 Zhang Rui 2018-01-22 07:24:46 UTC
(In reply to Tristan Partin from comment #14)
> None of these provided any significant changes. core made the light blink
> for 10 seconds then go solid.

what does "go solid" mean?
does the machine resume successfully or not, when you say the light go solid?

? processors made the light solid for about 10
> seconds then it started blinking for a bit.

then does the system resume successfully?
Comment 16 Chen Yu 2018-01-22 08:13:05 UTC
And please attached the dmesg after each run.
Comment 17 Zhang Rui 2018-01-29 07:06:15 UTC
ping ...
Comment 18 Zhang Rui 2018-03-12 06:54:28 UTC
Bug closed as there is no response from the bug reporter.
Please feel free to reopen it if you can provide the information requested in comment #15 and #16.

Note You need to log in before you can comment on or make changes to this bug.