[Bug 1137748] New: suspend to RAM no longer working after upgrade to Leap 15.1
http://bugzilla.suse.com/show_bug.cgi?id=1137748 Bug ID: 1137748 Summary: suspend to RAM no longer working after upgrade to Leap 15.1 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mantel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Three days ago I updated my main workstation from 42.3 to 15.1. Went surprisingly well and after using it for some time, almost everything is working nicely. Only annoyance: Suspend to RAM no longer works. I can hear the hard disk spin down, monitor goes off, but the power LED always stays lit and I still can hear the fans running. Waking up from this state is working just fine. But as I'm lazy I do not want to shut down the machine completely every day :) And it is a regression since it has been working like a charm with 42.3. I also updated a laptop from 42.3 to 15.1 and on this one suspend is working just fine. So it clearly is hardware dependent. I will attach dmesg and hwinfo of the affected system and can provide additional information on request. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c1
--- Comment #1 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c2
--- Comment #2 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c3
Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c4
Alynx Zhou
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c5
--- Comment #5 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c6
--- Comment #6 from Hubert Mantel
Looks like an acpi issue...if not right please tell me, thanks.
I'm not really sure what I should do or provide here!? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c7
--- Comment #7 from Alynx Zhou
(In reply to Alynx Zhou from comment #4)
Looks like an acpi issue...if not right please tell me, thanks.
I'm not really sure what I should do or provide here!?
Thank you, but I mean that I guess this is an acpi related issue from attachments you provided, and I assign this to acpi's bugowner. The last words I say is to bugowners that if this is not a acpi issue please tell me because I have little experience to this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c9
--- Comment #9 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c10
--- Comment #10 from Hubert Mantel
Looks like an acpi issue...if not right please tell me, thanks.
I do no longer think this is an ACPI issue. The kernel apparently can power down the system just fine because it works for hibernation. But those extreme delays when powering down or rebooting the system to me sound like an indication that we are still seeing systemd issues. This toy never worked reliably for me when it comes to exotic tasks such as powering down or rebooting the system. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
Alynx Zhou
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c11
Franck Bui
But those extreme delays when powering down or rebooting the system to me sound like an indication that we are still seeing systemd issues. This toy never worked reliably for me when it comes to exotic tasks such as powering down or rebooting the system.
sigh... So if you think that systemd is the culprit what about providing the journal logs (hint: journalctl -b -o short-monotonic) instead of the content of the kernel log buffer ? Also how do you suspend your system exactly ? (I prefer asking because you seem to be reluctant to use systemd). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c12
--- Comment #12 from Hubert Mantel
So if you think that systemd is the culprit what about providing the journal logs (hint: journalctl -b -o short-monotonic) instead of the content of the kernel log buffer ?
I think we might see multiple issues here. Shutting down taking several minutes sounds like a systemd issue to me. I know that several other people also observed this. Not powering off the system via suspend to RAM might be a kernel issue. The network being non-functional after suspend from hibernate I do not know. And even after restarting the network manually after resume leads to virtual machines no longer being reachable. So to me it boils down to not being able to use suspend at all. This is a clear regression as it has been working for years on Leap 42.3.
Also how do you suspend your system exactly ? (I prefer asking because you seem to be reluctant to use systemd).
I do not like systemd because the developers seem to have the wrong focus. More and more functionality is being put into systemd, but the basic functionality (RELIABLY! booting the system and shutting it down) always has issues since the very beginning. I'm suspending the system by simply clicking on the mini applet in the lower right corner of the task bar in KDE. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c13
--- Comment #13 from Franck Bui
I think we might see multiple issues here. Shutting down taking several minutes sounds like a systemd issue to me. I know that several other people also observed this.
Again I don't see how you came to this conclusion. In fact systemd is not involved at all when the actual suspend process starts, only the kernel is.
Not powering off the system via suspend to RAM might be a kernel issue.
The network being non-functional after suspend from hibernate I do not know. And even after restarting the network manually after resume leads to virtual machines no longer being reachable.
Unless you're using systemd-networkd, which I doubt, your network is most likely managed by either wicked or NM.
So to me it boils down to not being able to use suspend at all. This is a clear regression as it has been working for years on Leap 42.3.
Sure and I don't dispute that.
I'm suspending the system by simply clicking on the mini applet in the lower right corner of the task bar in KDE.
Can you try to suspend your system with ? # echo -n mem >/sys/power/state -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c14
--- Comment #14 from Hubert Mantel
(In reply to Hubert Mantel from comment #12)
I think we might see multiple issues here. Shutting down taking several minutes sounds like a systemd issue to me. I know that several other people also observed this.
Again I don't see how you came to this conclusion. In fact systemd is not involved at all when the actual suspend process starts, only the kernel is.
I still can press ESC and see messages "Target shutdown reached". Michael Calmer did some debugging on this and found some KDE process that would not exit. So finally after some minutes it seems this process gets killed and power-off finally works. But I admit that I'm somewhat biased when it comes to systemd :)
Not powering off the system via suspend to RAM might be a kernel issue.
The network being non-functional after suspend from hibernate I do not know. And even after restarting the network manually after resume leads to virtual machines no longer being reachable.
Unless you're using systemd-networkd, which I doubt, your network is most likely managed by either wicked or NM.
Please note that I do not know whether this is a regression! I never used hibernate before. Only after suspend-to-RAM got broken with the upgrade to 15.1 I tried it as a workaround. I added another disk (did not have a swap partition of sufficient size) and was quite happy to see that the system immediately powered off successfully! Also resume is of acceptable size, but the shutdown network makes this feature almost unusable for me :(
I'm suspending the system by simply clicking on the mini applet in the lower right corner of the task bar in KDE.
Can you try to suspend your system with ?
# echo -n mem >/sys/power/state
Ok, will give this a try in the evening. Do not want to do that remote as I could not judge whether it's successful :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c15
--- Comment #15 from Franck Bui
Please note that I do not know whether this is a regression! I never used hibernate before.
I think we should focus on your suspend to RAM issue in this bug. This one is likely to be another one which deserves another report. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c16
--- Comment #16 from Franck Bui
I still can press ESC and see messages "Target shutdown reached". Michael Calmer did some debugging on this and found some KDE process that would not exit. So finally after some minutes it seems this process gets killed and power-off finally works. But I admit that I'm somewhat biased when it comes to systemd :)
Well you know that some KDE process is preventing your system to suspend but you blame systemd for that... indeed, you're definitively biased. If you can provide the journal content as requested earlier that might be helpful. Also try to boot with the "multi-user.target" as the default one [1] (ie KDE and X is not started at all) and see if the suspend to RAM works better so we can figure out if the problem is really due to KDE or not. [1] Booting with runlevel 3 should do that as it did in the old good days. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c17
--- Comment #17 from Hubert Mantel
(In reply to Hubert Mantel from comment #14)
Please note that I do not know whether this is a regression! I never used hibernate before.
I think we should focus on your suspend to RAM issue in this bug. This one is likely to be another one which deserves another report.
Agreed. This is the most important one for me anyway. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c18
--- Comment #18 from Hubert Mantel
(In reply to Hubert Mantel from comment #14)
I still can press ESC and see messages "Target shutdown reached". Michael Calmer did some debugging on this and found some KDE process that would not exit. So finally after some minutes it seems this process gets killed and power-off finally works. But I admit that I'm somewhat biased when it comes to systemd :)
Well you know that some KDE process is preventing your system to suspend but you blame systemd for that... indeed, you're definitively biased.
No, I know that this was the case for somebody else. Might be the same for me. But even if there still is some process, I expect such a process to get KILLED in a timely manner. Similar issues also were present at sysvinit times. But the reliable sysvinit would send a signal to every process. If some process refused to terminate, it would simply get killed. Maybe systemd also is doing this, but only after very, very long timeouts. And I have the impression that such timeouts even seem to accumulate, as I have seen reboots taking many minutes.
If you can provide the journal content as requested earlier that might be helpful.
Will do in the evening. I'm in the office right now.
Also try to boot with the "multi-user.target" as the default one [1] (ie KDE and X is not started at all) and see if the suspend to RAM works better so we can figure out if the problem is really due to KDE or not.
In the weekend I initiated a suspend to RAM and let it sit in this stage for the whole night just to check if there are many timeouts that just delay the power-off. Unfortunately the next day the power LED was still on and the fans still running.
[1] Booting with runlevel 3 should do that as it did in the old good days.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c19
--- Comment #19 from Hubert Mantel
Can you try to suspend your system with ?
# echo -n mem >/sys/power/state
Terra:~ # id uid=0(root) gid=0(root) groups=0(root) Terra:~ # echo -n mem >/sys/power/state -bash: echo: write error: Device or resource busy Terra:~ # -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c20
--- Comment #20 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c21
Franck Bui
Terra:~ # echo -n mem >/sys/power/state -bash: echo: write error: Device or resource busy
Ok then it's definitively not due to systemd but something in the lower layer (kernel, ACPI, BIOS...). Kernel team, could you have look ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c22
--- Comment #22 from Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c23
Hubert Mantel
(In reply to Hubert Mantel from comment #19)
Terra:~ # echo -n mem >/sys/power/state -bash: echo: write error: Device or resource busy
Ok then it's definitively not due to systemd but something in the lower layer (kernel, ACPI, BIOS...).
Ahh, great! Btw, just tested this on my workstation in the office and there it works like a charm. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c24
--- Comment #24 from Hubert Mantel
Also the content of /sys/kernel/debug/suspend_stats might be interesting.
This is on my system at home that is failing: Terra:~ # cat /sys/kernel/debug/suspend_stats success: 0 fail: 3 failed_freeze: 0 failed_prepare: 0 failed_suspend: 0 failed_suspend_late: 0 failed_suspend_noirq: 0 failed_resume: 0 failed_resume_early: 0 failed_resume_noirq: 0 failures: last_failed_dev: last_failed_errno: -16 -16 last_failed_step: For comparison my workstation in the office: Mandelbrot:~ # cat /sys/kernel/debug/suspend_stats success: 2 fail: 0 failed_freeze: 0 failed_prepare: 0 failed_suspend: 0 failed_suspend_late: 0 failed_suspend_noirq: 0 failed_resume: 0 failed_resume_early: 0 failed_resume_noirq: 0 failures: last_failed_dev: last_failed_errno: 0 0 last_failed_step: So many new, interesting stuff in the kernel nowadays :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c25
--- Comment #25 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c26
--- Comment #26 from Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c27
--- Comment #27 from Hubert Mantel
First thing I would check would be the version of the firmware currently installed and make sure I run the latest one.
Which firmware do you mean? The board "BIOS"? I'm reluctant to update it. I did this back in 2013 and after that the system would no longer boot because the EFI entries had been cleared. And with the currently running version, there were no problems at all running Leap 42.3. So the problems got introduced by some later kernel. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c28
--- Comment #28 from Hubert Mantel
First thing I would check would be the version of the firmware currently installed and make sure I run the latest one.
Ok, just checked and I'm already running the latest one. I have installed version F22 which is the most recent one according to: https://www.gigabyte.com/de/Motherboard/GA-Z77-D3H-rev-10/support#support-dl... There is only one more recent (released only two months later) but F23b is still tagged as beta version. I'm usually always installing updates as soon as they are released, so this system has run more or less every kernel that ever was released for 42.3 and all of them have been working fine. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c29
Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c30
--- Comment #30 from Hubert Mantel
The original issue seems to be some spurious wakeup immediately after the suspend. e.g. the dmesg in comment 1 shows:
[ 813.684339] ACPI: Preparing to enter system sleep state S3 [ 813.684637] PM: Saving platform NVS memory [ 813.684645] Disabling non-boot CPUs ... ..... [ 813.718652] ACPI: Waking up from system sleep state S3 .....
But in this case the system should come up completely again, no? If I try to suspend to RAM, the system *seems* to shut down correctly. Display goes off and I can even hear the hard disk spin down. It is just that power is not switched off (board fans continue to run and power LED stays lid). Only after pressing some key the system will come up again in full. Btw, this works perfectly fine, network still is up correctly.
It's possibly a BIOS bug that surfaced on the recent system by some reason (likely ACPI code changes that take effect).
Well, unfortunately there is no newer BIOS version available.
Check /proc/acpi/wakeup contents and try to disable the unnecessary wakeup sources.
How do I identify an "unnecessary wakeup source" and how do I remove it? Sorry, I'm a mere mortal user in this respect :) mantel@Terra:~ [0]> cat /proc/acpi/wakeup Device S-state Status Sysfs node PS2K S3 *enabled pnp:00:05 PS2M S3 *disabled P0P1 S4 *disabled USB1 S3 *disabled USB2 S3 *disabled USB3 S3 *disabled USB4 S3 *disabled USB5 S3 *disabled USB6 S3 *disabled USB7 S3 *disabled RP01 S4 *disabled pci:0000:00:1c.0 PXSX S4 *disabled RP02 S4 *disabled PXSX S4 *disabled RP03 S4 *disabled PXSX S4 *disabled RP04 S4 *disabled PXSX S4 *disabled RP05 S4 *disabled PXSX S4 *disabled RP06 S4 *disabled pci:0000:00:1c.5 PXSX S4 *disabled pci:0000:02:00.0 RP07 S4 *disabled pci:0000:00:1c.6 PXSX S4 *disabled pci:0000:04:00.0 RP08 S4 *disabled pci:0000:00:1c.7 PXSX S4 *enabled pci:0000:05:00.0 PEG0 S4 *disabled PEGP S4 *disabled PEG1 S4 *disabled PEG2 S4 *disabled PEG3 S4 *disabled GLAN S4 *disabled EHC1 S4 *enabled pci:0000:00:1d.0 EHC2 S4 *enabled pci:0000:00:1a.0 XHC S4 *enabled pci:0000:00:14.0 HDEF S4 *disabled pci:0000:00:1b.0 PWRB S3 *enabled platform:PNP0C0C:00 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c31
--- Comment #31 from Takashi Iwai
(In reply to Takashi Iwai from comment #29)
The original issue seems to be some spurious wakeup immediately after the suspend. e.g. the dmesg in comment 1 shows:
[ 813.684339] ACPI: Preparing to enter system sleep state S3 [ 813.684637] PM: Saving platform NVS memory [ 813.684645] Disabling non-boot CPUs ... ..... [ 813.718652] ACPI: Waking up from system sleep state S3 .....
But in this case the system should come up completely again, no?
I guess systemd tries to freeze the system after that point. The behavior your described seems matching with that, too. But it's just a wild guess and might be wrong, though.
Check /proc/acpi/wakeup contents and try to disable the unnecessary wakeup sources.
How do I identify an "unnecessary wakeup source" and how do I remove it? Sorry, I'm a mere mortal user in this respect :)
You can simply write the ACPI PNP ID to disable. For example, echo -n 'PS2K' > /proc/acpi/wakeup will disable the first entry, supposedly the wakeup by PS2 keyboard. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c32
--- Comment #32 from Hubert Mantel
You can simply write the ACPI PNP ID to disable. For example, echo -n 'PS2K' > /proc/acpi/wakeup will disable the first entry, supposedly the wakeup by PS2 keyboard.
Unfortunately this does not help. I disabled everything I could, but behaviour is unchanged. For some reason I cannot disable it for "PXSX": Terra:~ # echo -n 'PXSX' > /proc/acpi/wakeup Terra:~ # cat /proc/acpi/wakeup Device S-state Status Sysfs node PS2K S3 *disabled pnp:00:05 PS2M S3 *disabled P0P1 S4 *disabled USB1 S3 *disabled USB2 S3 *disabled USB3 S3 *disabled USB4 S3 *disabled USB5 S3 *disabled USB6 S3 *disabled USB7 S3 *disabled RP01 S4 *disabled pci:0000:00:1c.0 PXSX S4 *disabled RP02 S4 *disabled PXSX S4 *disabled RP03 S4 *disabled PXSX S4 *disabled RP04 S4 *disabled PXSX S4 *disabled RP05 S4 *disabled PXSX S4 *disabled RP06 S4 *disabled pci:0000:00:1c.5 PXSX S4 *disabled pci:0000:02:00.0 RP07 S4 *disabled pci:0000:00:1c.6 PXSX S4 *disabled pci:0000:04:00.0 RP08 S4 *disabled pci:0000:00:1c.7 PXSX S4 *enabled pci:0000:05:00.0 PEG0 S4 *disabled PEGP S4 *disabled PEG1 S4 *disabled PEG2 S4 *disabled PEG3 S4 *disabled GLAN S4 *disabled EHC1 S4 *disabled pci:0000:00:1d.0 EHC2 S4 *disabled pci:0000:00:1a.0 XHC S4 *disabled pci:0000:00:14.0 HDEF S4 *disabled pci:0000:00:1b.0 PWRB S3 *disabled platform:PNP0C0C:00 Terra:~ # -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c33
--- Comment #33 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c34
--- Comment #34 from Hubert Mantel
Then could you give kernel messages with suspend/resume with ACPI waekup disablement? At best, boot with no_console_suspend option so that we see more details what's going on.
Ok, finally found the time to test this. There is no difference in behavior; even the monitor still goes off despite parameter "no_console_suspend". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c35
--- Comment #35 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c36
--- Comment #36 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c38
--- Comment #38 from Hubert Mantel
I have exactly the same problem here. A dual boot installation of 42.3 and 15.1, where 42.3 suspends without problems and 15.1 does not turn off the computer and fans. My BIOS is 7 years old, this is the latest BIOS.
Seems Linux has adopted the habit of fully supporting only new hardware :/
Some more info here: https://forums.opensuse.org/showthread.php/537158-Incomplete-standby
Thanks! Good to know I'm not the only one. Exactly the same behavior I'm seeing. And I agree: Fiddling with BIOS settings does not sound right to me, as it worked perfectly with exactly those settings with older kernels. But thanks for the hint regarding removal of LVM to at least speed up this stuff. Probably yet another systemd "feature". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c58
--- Comment #58 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c60
--- Comment #60 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c61
--- Comment #61 from Hubert Mantel
Suspend-to-RAM works perfectly on Mageia, but hibernate does not resume the session :-(
Did this work for you on leap 42.3? I have to admit that I never tested this. Since suspend to RAM was working perfectly for years, I never felt the need to hibernate. So would be interesting to know whether this is also a regression. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c65
--- Comment #65 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c68
--- Comment #68 from Hubert Mantel
Seems we are seeing a bug in the 4.x series of the kernel that is no longer present with 5.x. So there is some hope :)
Unfortunately there still seems to be an issue with the SUSE Kernel. For testing purposes I had a newer SUSE Kernel kernel-default-5.3.8-6.1.g98ead79.x86_64.rpm running on my VDR system where it was needed because of newer drivers. This seems to have worked fine for several days, so I finally tried it on my problematic workstation. But it is even worse: When I try to suspend to RAM, the screen will turn black and the kernel seems to panic: The keyboard LEDs are just blinking and I cannot resume the system. Needed to press the power button. I think I will try to get the Mageia kernel sources and compile them for my system as this one works perfectly for me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c71
--- Comment #71 from Hubert Mantel
I've tested Fedora 31 Live today: https://spins.fedoraproject.org/kde/download/index.html
Everything regarding Suspend-Resume seems to work on my machine with Fedora 31 (Better than Mageia, which did not reconnect WiFi after resume and other USB and audio-device related problems).
I really prefer OpenSUSE with Yast2, but I need suspend-resume.
Thanks for this information! It comes perfectly in time for me as I just ordered a new SSD so I can evaluate which distribution to use in future. Mageia (I confused it with "Ecosia" in previous comments :-) probably is too small, so I plan to evaluate Ubuntu and Fedora. First test will be with Tumbleweed as I would prefer to stay with SuSE. But if the Tumbleweed kernel also does no longer fully support my system, I will switch. It is just too annoying meanwhile. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c72
--- Comment #72 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c73
--- Comment #73 from Hubert Mantel
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c74
--- Comment #74 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c75
--- Comment #75 from Theo Luning
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c76
--- Comment #76 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c77
--- Comment #77 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c78
--- Comment #78 from Hubert Mantel
BTW, one more thing that came to my mind. There is a known issue in XHCI that can trigger spurious wakeups at suspend or shutdown, and the workaround is applied only to limited platforms. For testing that, - Disable ACPI wakeups in /proc/acpi/wakeup, and
How to do that? Or is this a typo and you mean this: XHC S0 *enabled pci:0000:00:14.0
- Boot with xhci_hcd.quirks=0x42000 option.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c79
--- Comment #79 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c80
--- Comment #80 from Theo Luning
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c81
--- Comment #81 from Ian Jones
Then please try TW kernel on your current Leap 15.1 system. If this doesn't
I think this would cause problems with my nvidia graphics drivers. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c82
--- Comment #82 from Theo Luning
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c83
--- Comment #83 from Takashi Iwai
echo mem > /sys/power/state says: Translated from german: Write error: device or resource is busy (occupied?)
Is this after once you tested S2RAM and failed? That's possible if the system went into some incomplete state after the failing suspend and its recovery. BTW, did Leap 42.3 work on your system in the past? If yes, you can install the old Leap 42.3 kernel on the new system, just for testing the suspend, too. (In reply to Theo Luning from comment #82)
xhci_hcd.quirks does not change anything here.
OK, that's not always a wonder spell :) It's known to have some effect on old Haswell or Broadwell machines for the spurious wakeups after the shutdown. BTW, now I see a spurious wakeup after S3 on an old HP laptop with Haswell, too. But this is a known BIOS issue and the ACPI wakeup disablement via /proc/acpi/wakeup helped in this case; at least it's no regression for this machine. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c84
--- Comment #84 from Theo Luning
Is this after once you tested S2RAM and failed?
No, it was directly after startup.
BTW, did Leap 42.3 work on your system in the past?
Yes, and it still does on the same machine (dual boot).
If yes, you can install the old Leap 42.3 kernel on the new system, just for testing the suspend, too.
Hmm, can i add the old 42.3 repository to 15.1 and install via Yast? Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c85
--- Comment #85 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c86
--- Comment #86 from Theo Luning
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c87
--- Comment #87 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c90
--- Comment #90 from Takashi Iwai
@Takashi Iwai
On 42.3 echo mem > /sys/power/state works perfectly.
OK, but still 42.3 kernel wakes up after S3 spuriously, right? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c95
--- Comment #95 from Theo Luning
If Leap 42.3 system worked but 42.3 kernel + 15.1 system doesn't... Yes, this is exactly the case.
.. it means either the boot option or the setup afterward influences on the suspend behavior. A possible cause is e.g. power-save setup or module configuration, too. It's still a kernel bug, though -- the system should have worked no matter which setup is done.
Well, It was a standard installation via Yast. I didn't do anyhing special. What can I change about power-save setup or module configuration and how? Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c96
--- Comment #96 from Takashi Iwai
.. it means either the boot option or the setup afterward influences on the suspend behavior. A possible cause is e.g. power-save setup or module configuration, too. It's still a kernel bug, though -- the system should have worked no matter which setup is done.
Well, It was a standard installation via Yast. I didn't do anyhing special.
What can I change about power-save setup or module configuration and how?
It's my question -- what's the difference since Leap 42.3 in the user-space side. For the power-saving, you may install powertop package, and run "powertop --auto" as root once after boot. This will automatically turn on the power-saving features in many areas. This would be the easiest test. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c97
--- Comment #97 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c98
--- Comment #98 from Theo Luning
http://bugzilla.suse.com/show_bug.cgi?id=1137748
http://bugzilla.suse.com/show_bug.cgi?id=1137748#c100
--- Comment #100 from Theo Luning
https://bugzilla.suse.com/show_bug.cgi?id=1137748
https://bugzilla.suse.com/show_bug.cgi?id=1137748#c125
--- Comment #125 from Hubert Mantel
https://bugzilla.suse.com/show_bug.cgi?id=1137748
https://bugzilla.suse.com/show_bug.cgi?id=1137748#c126
--- Comment #126 from Takashi Iwai
Already tried this, but does not help.
It is definitely a regression created by SUSE. It has been working fine up to Leap42.3. Problem started with 15.1 and still exists as of 15.2. Every other distribution is working correctly.
Hubert, we've been never so innovative, neither "created" such a regression at all. It must be some upstream change that has effect only with a certain combo of kernel config or other setup where other distros don't hit by some reason. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1137748
https://bugzilla.suse.com/show_bug.cgi?id=1137748#c127
--- Comment #127 from Frank Krüger
Already tried this, but does not help.
It is definitely a regression created by SUSE. It has been working fine up to Leap42.3. Problem started with 15.1 and still exists as of 15.2. Every other distribution is working correctly.
I presume that your using KDE. For the sake of curiosity, could you please try to suspend before you login to the KDE session (e.g. via the desktop display manager or some shortcut)? I have one machine with Leap 15.2 where this works, but after login it does not (while 'systemctl suspend' etc. works fine). -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1137748
https://bugzilla.suse.com/show_bug.cgi?id=1137748#c128
--- Comment #128 from Hubert Mantel
(In reply to Hubert Mantel from comment #125)
Already tried this, but does not help.
It is definitely a regression created by SUSE. It has been working fine up to Leap42.3. Problem started with 15.1 and still exists as of 15.2. Every other distribution is working correctly.
Hubert, we've been never so innovative, neither "created" such a regression at all. It must be some upstream change that has effect only with a certain combo of kernel config or other setup where other distros don't hit by some reason.
Sorry, maybe I used the wrong wording (I'm not native English speaker). I just wanted to say that it must be something introduced by SUSE only lately because in the past it has been working fine and every other distribution so far also does not show this issue. Unfortunately I'm completely out of ideas where to look further. Also currently I need this machine for work; maybe I can do more testing after the end of July when I do not need the machine for work any longer. But so far I could only confirm the findings of others anyway. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1137748
https://bugzilla.suse.com/show_bug.cgi?id=1137748#c129
--- Comment #129 from Hubert Mantel
I presume that your using KDE. For the sake of curiosity, could you please try to suspend before you login to the KDE session (e.g. via the desktop display manager or some shortcut)? I have one machine with Leap 15.2 where this works, but after login it does not (while 'systemctl suspend' etc. works fine).
I already tried and just confirmed it: Even when trying to suspend before logging in I still see the same behaviour: Machine seems to suspend, monitor turns black, but fans and disks keep running. Exactly the same when trying to suspend from command line via "systemctl suspend". Btw, this still is with 15.1 I also installed 15.2 into a virtual machine and it seems something is fishy here as well, because I cannot shut down the system from the respective KDE menu either. Again I could not find anything in the logs that would help... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1137748
Frank Krüger
https://bugzilla.suse.com/show_bug.cgi?id=1137748
https://bugzilla.suse.com/show_bug.cgi?id=1137748#c130
--- Comment #130 from Hubert Mantel
From my point of view, this bug can be closed as WONTFIX or WORKSFORME.
So sad... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1137748
Takashi Iwai
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com