Bug 1190357 - OS freezes while going into sleep or hibernate mode
Summary: OS freezes while going into sleep or hibernate mode
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-09 20:45 UTC by Lukasz Wieczorek
Modified: 2021-09-14 07:20 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
dmesg (73.66 KB, text/plain)
2021-09-10 06:22 UTC, Lukasz Wieczorek
Details
hwinfo dump (1.28 MB, text/plain)
2021-09-10 06:23 UTC, Lukasz Wieczorek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Wieczorek 2021-09-09 20:45:34 UTC
Hello,

with the latest update (kernel 5.14.0-1-default) my HP EliteBook 840 G1 started freezing when i put it into the Sleep or Hibernate mode. It seems some of this procedure is done, ie. screen is completely off, yet it does not finish with success which is normally indicated by slowly pulsing power button LED (it is on and WiFi LED is amber, while it should be off). While i try to start it, nothing happens and hard reset must be applied giving a fresh start for the system.

In logs nothing fancy can be found:


2021-09-09T22:07:50.999884+02:00 susiak kernel: [   46.735367][ T2368] PM: hibernation: hibernation entry
2021-09-09T22:07:51.000008+02:00 susiak systemd-sleep[2368]: Entering sleep state 'hibernate'...

The problem must be specific for this laptop, cause the same kernel on ancient Lenovo works just fine.

Please let me know what info/info I should provide to debug it deeper.

Thank you.

luk
Comment 1 Takashi Iwai 2021-09-10 06:03:59 UTC
Could you give hwinfo output and dmesg output from the machine?
Also, check whether any trace of crash at the previous kernel logs in /var/log/messages or whatever.

And, please try the latest kernel in OBS Kernel:stable repo, which is slightly newer than 5.14.0.
Last but not least, if the problem persists with the latest kernel, please boot with no_console_suspend, and check whether it shows anything interesting.
Comment 2 Lukasz Wieczorek 2021-09-10 06:22:14 UTC
Created attachment 852420 [details]
dmesg
Comment 3 Lukasz Wieczorek 2021-09-10 06:23:15 UTC
Created attachment 852421 [details]
hwinfo dump
Comment 4 Lukasz Wieczorek 2021-09-10 06:27:40 UTC
Hello,
I'd love to test a later kernel but I am getting http 404 error while trying to download (what i presume) repo info:
https://download.opensuse.org/repositories/Kernel:/stable/QA

Correct me if i do smth wrongly.

luk
Comment 5 Takashi Iwai 2021-09-10 06:59:43 UTC
Download kernel-default.rpm from
  http://download.opensuse.org/repositories/Kernel:/stable/standard/
instead.

Note that it's an unofficial build, hence it won't boot with Secure Boot.
Comment 6 Lukasz Wieczorek 2021-09-10 09:21:16 UTC
I used:
kernel-default-base-5.12.9-1.1.gf17eb01.66.1.x86_64

sleep/wake up procedure works fine again.
Comment 7 Takashi Iwai 2021-09-10 10:34:26 UTC
Err, no, please don't use kernel-default-base.  It's a stale package.
Install kernel-default-5.14.*.rpm instead.
Comment 8 Lukasz Wieczorek 2021-09-11 23:58:16 UTC
Hello, 

it was copy/paste error, the kernel i am using is:

5.14.1-3.gef7e6e7-default

Luk
Comment 9 Lukasz Wieczorek 2021-09-13 18:52:14 UTC
Hello,

could you tell me what next steps if any?
Comment 10 Takashi Iwai 2021-09-14 05:31:19 UTC
(In reply to Lukasz Wieczorek from comment #8)
> Hello, 
> 
> it was copy/paste error, the kernel i am using is:
> 
> 5.14.1-3.gef7e6e7-default

And *this* kernel works for you?  If yes, just keep it until TW kernel gets updated to this or newer version.
Comment 11 Lukasz Wieczorek 2021-09-14 07:17:15 UTC
Yes, this kernel works for me. I am not sure if OpenSuSE is using vanilla kernel?  Perhaps it would be good to track down which settings or patch causes problems?
Comment 12 Takashi Iwai 2021-09-14 07:20:25 UTC
OK, then it's likely the dup of bug 1190093, and already addressed in the upstream kernel.  Let's close now.