Bug 22804 - Hibernation/resume fail on Acer Aspire7
Summary: Hibernation/resume fail on Acer Aspire7
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-19 16:01 CET by Morgan Leijström
Modified: 2024-01-28 12:49 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
lspci -v (11.96 KB, text/plain)
2018-03-19 16:01 CET, Morgan Leijström
Details

Description Morgan Leijström 2018-03-19 16:01:12 CET
___Description of problem:
Before login screen go black and it seem crashed

___Version-Release number of selected component (if applicable):
kernel 4.14.25 and .20  - Did not have this laptop earlier.
Using Plasma 5.12 and related plus some more from updates testing

___How reproducible: always.
 *Suspend*-resume do work flawlessly.

___Steps to Reproduce:
1. Configure it to hibernate on lid close
2. close lid
 -> "on" led switched from blue(on) to orange(suspend) to off.
3. open lid and press power button 
 -> boots to grub menu, let it continue;
 -> it asks for encryption password, give it;
 -> the cauldron logo comes up bubbleing, but:
 -> suddenly screen go black. This happens in less than half time it usually takes to get to the SDDM login screen.
 ...let it sit for minutes, still nothing, indicator led is blue saying it is active...
 -> there is no output on HDMI either
4. Ctrl-Alt-F2
 -> still black
5. typing "root", enter, root passwd, enter "reboot" enter
 -> no reaction
6. Hold power button 3 seconds
 -> no reaction

There i cut power by pressing power > 4 s,
rebooted and grabbed log of the shutdown:

mar 19 14:38:02 aspire7-kajsa systemd-logind[1175]: Lid closed.
mar 19 14:38:02 aspire7-kajsa org_kde_powerdevil[4212]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 2)))
mar 19 14:38:02 aspire7-kajsa org_kde_powerdevil[4212]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint, 2)))
mar 19 14:38:02 aspire7-kajsa org_kde_powerdevil[4212]: powerdevil: Starting Login1 suspend job
mar 19 14:38:02 aspire7-kajsa kdeinit5[4120]: bluedevil: About to suspend
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: lock called
mar 19 14:38:02 aspire7-kajsa org_kde_powerdevil[4212]: powerdevil: Pausing all media players before suspending
mar 19 14:38:02 aspire7-kajsa org_kde_powerdevil[4212]: powerdevil: Pausing media player with service name "org.mpris.MediaPlayer2.clementine"
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: Lock window Id:  27263086
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 27263086
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 83886083
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 83886087
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 83886089
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 83886091
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 83886096
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 83886098
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: MapNotify: 83886096
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/mga/backgrounds/"
mar 19 14:38:02 aspire7-kajsa ksmserver[4137]: CreateNotify: 83886100
mar 19 14:38:02 aspire7-kajsa kscreenlocker_greet[21572]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
mar 19 14:38:03 aspire7-kajsa kscreenlocker_greet[21572]: file:///usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/components/VirtualKeyboard.qml:20:1: module "QtQuick.VirtualKeyboard" is not installed
mar 19 14:38:03 aspire7-kajsa ksmserver[4137]: MapNotify: 27263086
mar 19 14:38:03 aspire7-kajsa systemd[1]: Reached target Sleep.
mar 19 14:38:03 aspire7-kajsa systemd[1]: Starting Hibernate...
mar 19 14:38:03 aspire7-kajsa systemd-sleep[21581]: Suspending system...
mar 19 14:38:03 aspire7-kajsa kernel: PM: hibernation entry
mar 19 14:38:03 aspire7-kajsa kernel: PM: Syncing filesystems ... 

Yes that is the last line.
Actually i fetched it using journalctl -b-1
-There is no log from the failed boot!?


Details of this Laptop: Acer Aspire 7 A717-71G:
Intel i5, Nvidia and Intel GPU:s but only intel is configured, as per default in Mageia installer. Disk: nVME SSD, EFI boot, separate /boot, then rest of system in LVM lv:s in a LUKS encrypted pv.
Comment 1 Morgan Leijström 2018-03-19 16:01:59 CET
Created attachment 10061 [details]
lspci -v
Comment 2 Morgan Leijström 2018-03-19 17:01:20 CET
I removed splash quiet from kernel boot line parameters, and now see that after I enter LUKS password the image loads, and then sceen go black immediately.
Comment 3 Marja Van Waes 2018-03-20 13:06:33 CET
So it's not hibernating that fails, but resuming.

Guessing that's a kernel issue, assigning accordingly.

Assignee: bugsquad => kernel
CC: (none) => marja11

Comment 4 Morgan Leijström 2018-05-29 10:21:33 CEST
Still valid kernel 4.14.44-2
Comment 5 Aurelien Oudelet 2020-08-16 17:19:22 CEST
Is it still valid in Mageia 7? Cauldron?

Ever confirmed: 1 => 0
Status: NEW => UNCONFIRMED
CC: (none) => ouaurelien

Comment 6 Morgan Leijström 2020-08-16 22:19:48 CEST
Problem still there on mga7 a couple months ago.
(i sometimes test while testing new kernel)

Version: 6 => 7

Comment 7 Morgan Leijström 2020-08-17 08:19:54 CEST
@Developers:

There have through years been problems like this reported.

It would help to get debug output early in resume somehow... dumped to screen, serial port, USB...

Is that possible to arrange?
Aurelien Oudelet 2020-08-20 11:14:14 CEST

Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1

Comment 8 Morgan Leijström 2021-04-11 22:12:33 CEST
Still valid.
Upgraded this system to mga8.
Upgrade went fine.
After correcting the hibernation issue per
 https://wiki.mageia.org/en/Mageia_8_Errata#Hibernation
, rebooting, 
and in grub menu remove "splash quiet",
after entering luks key and some normal boot messages roll by,
I see it restore 100%,
then immediately screen blackens and nothing more happens.

No response on anything but depressing power button four seconds.

After reboot i see nothing at all from that boot was saved to journal.
Comment 9 Mika Laitio 2021-04-16 12:20:44 CEST
Which GPU you have? At least I had problem with one MGA7 system where I swapped the existing MGA7 harddrive to newer the AMD B450 motherboard with rx 5700 GPU.
That system failed to show UI over HDMI. (I think the problem was that the llvm version on MGA7 was too old to build some amd related component during the boot time) I managed to ssh to that system but urpmi/rpm update to mga8 seemed always hang during the glibc rpm install. (Console just showed updating glibc rpm for hours)

In the end I gave up and just did the fresh MGA8 install to another harddrive and that worked well for me.

CC: (none) => lamikr

Comment 10 Aurelien Oudelet 2021-07-06 13:16:46 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 11 Marja Van Waes 2021-09-07 14:11:00 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 12 Morgan Leijström 2021-09-07 17:12:45 CEST
Still valid, forgot to update mga rel in c#8

Version: 7 => 8
Status: RESOLVED => REOPENED
Resolution: OLD => (none)

Comment 13 Thomas Andrews 2022-01-31 15:20:32 CET
I started seeing this on my HP Probook 6550b several months ago after doing a hibernation one morning. 

At first, it only happened on the first (resume) boot after sending the laptop into hibernation. The symptoms were as described. I had to press the power button, at which point the system would shut down. Starting the machine again went to a cold boot.

But that was only at first. Days later, it happened again, even though I had shut down normally. It happened again a few days later, then more frequently, sometimes needing several tries before the cold boot would complete. No hibernation at all through all this. Removing "splash quiet" from the kernel options seemed to reduce the frequency, but did not eliminate the problem.

This is my main laptop, and the production install on that laptop. The situation persisted through several kernel updates, was annoying, then unbearable. 

I eventually "cured" the problem by doing a clean install (retaining /home) using the netinstall iso. That was 2-3 months ago, and it hasn't happened again. 

BUT, I have religiously avoided putting this install into hibernation in that time, so I have simply avoided the trigger. And, I have no intention of trying hibernation again on this install until this is known to be fixed. It's just too annoying.

CC: (none) => andrewsfarm

Comment 14 Morgan Leijström 2022-01-31 15:30:42 CET
Yes tiresome.

Tested yesterday anyway on that machine; Still valid current kernel 5.15.18-2
On resuming from hibernation it hangs early with black screen.
Nothing in log - naturally, as it did not even get to the LUKS key dialogue.

Interesting a fresh install cured it in your case :)

On my Dell Precision M6300 i see it instead fail saving when resuming, so naturally it boots fresh.  That is a fresh install. I may get log and open a report on it.

And I may try a fresh test install on a stick for this Acer.  Time is the limit.
Comment 15 Thomas Andrews 2022-01-31 16:20:23 CET
(In reply to Morgan Leijström from comment #14)
> 
> Interesting a fresh install cured it in your case :)
> 
Well, I had decided my / partition was a bit too cramped, so I took advantage of the situation to use Gparted to make some adjustments before that new install.

Forgot to mention this is an MGA8-64 Plasma install. The Probook has a first-generation i3, 8GB of RAM, and on-board Intel graphics. /, swap, and /home are on the primary ssd drive, while most of my data is on a secondary rust drive, with links to the data folders on the ssd. I normally use auto-login.
Comment 16 Morgan Leijström 2024-01-28 12:49:34 CET
I got tired of trying, did not even try after upgrading to mga9, should have.

But now testing with kernel-desktop-6.6.14-1.mga9:
hibernation-resume works :)   Using default entry in GRUB and LUKS asks for password. Quick it is also both to hibernate and resume.

(And also suspend-resume works - as usual)

Status in mga8 unknown, but resolved in mga9

If anyone hits this in mga8 try latest backport kernel, maybe linus.
- or better upgrade to mga9, it is about time :)
- per comment 15 maybe fresh install.

CC: (none) => ghibomgx
Resolution: (none) => FIXED
Status: REOPENED => RESOLVED


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