[SOLVED] PC starts fresh from hibernation

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] PC starts fresh from hibernation

Postby maluethy » Aug 11th, '22, 14:00

On a desktop computer I have installed Mageia 8 with Plasma. I can put the computer into hibernation mode. When I want to start the computer from hibernation, it restarts completely instead of starting from hibernation. Accordingly, the programs and windows that are open in hibernation are no longer active. - The Standby function works fine (set to standby and restart from standby).

How can the hibernation problem be narrowed down?

The following information about the computer

Thanks in advance

inxi -F
Code: Select all
System:
 Host: localhost Kernel: 5.15.58-desktop-2.mga8 x86_64 bits: 64  
 Desktop: KDE Plasma 5.20.4 Distro: Mageia 8 mga8  
Machine:
 Type: Desktop Mobo: Micro-Star model: B450M MORTAR MAX (MS-7B89)  
 v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC.  
 v: 2.E0 date: 01/13/2022  
CPU:
 Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP  
 L2 cache: 3 MiB  
 Speed: 2057 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 2057  
 2: 2055 3: 2280 4: 2197 5: 3601 6: 2199 7: 2199 8: 2200 9: 2056  
 10: 2056 11: 3599 12: 2201  
Graphics:
 Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]  
 driver: amdgpu v: kernel  
 Display: x11 server: Mageia X.org 1.20.14 driver: amdgpu,v4l  
 resolution: 3840x2160~60Hz  
 OpenGL: renderer: AMD Radeon RX 5500 XT (NAVI14 DRM 3.42.0  
 5.15.58-desktop-2.mga8 LLVM 11.0.1)  
 v: 4.6 Mesa 21.3.8  
Audio:
 Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel  
 Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel  
 Sound Server: ALSA v: k5.15.58-desktop-2.mga8  
Network:
 Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet  
 driver: r8169  
 IF: enp34s0 state: up speed: 1000 Mbps duplex: full  
 mac: 00:d8:61:fc:c0:81  
Drives:
 Local Storage: total: 961.04 GiB used: 8.75 GiB (0.9%)  
 ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB  
 size: 931.51 GiB  
 ID-2: /dev/sda type: USB vendor: Generic model: N/A size: 29.53 GiB  
Partition:
 ID-1: / size: 49.2 GiB used: 5.51 GiB (11.2%) fs: ext4  
 dev: /dev/nvme0n1p5  
 ID-2: /home size: 862.09 GiB used: 461.3 MiB (0.1%) fs: ext4  
 dev: /dev/nvme0n1p7  
Swap:
 ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%)  
 dev: /dev/nvme0n1p6  
Sensors:
 Message: No sensors data was found. Is sensors configured?  
Info:
 Processes: 272 Uptime: 13m Memory: 31.28 GiB used: 1.61 GiB (5.2%)  
Last edited by maluethy on Aug 17th, '22, 20:41, edited 1 time in total.
maluethy
 
Posts: 83
Joined: Apr 17th, '20, 17:01

Re: PC starts fresh from hibernation

Postby sturmvogel » Aug 11th, '22, 16:07

sturmvogel
 
Posts: 740
Joined: Jul 30th, '12, 00:39

Re: PC starts fresh from hibernation

Postby maluethy » Aug 17th, '22, 17:24

Thank you for the hint and the link.

Will this be fixed so that the hibernation mode works automatically again and if so, when?
maluethy
 
Posts: 83
Joined: Apr 17th, '20, 17:01

Re: PC starts fresh from hibernation

Postby sturmvogel » Aug 17th, '22, 17:27

As mentioned in the bug and in the errata, this is an UPSTREAM bug. That means Mageia have to wait until the developers have fixed this. Nothing what could be done on Mageia side. See the link to the developers: https://github.com/dracutdevs/dracut/issues/924


https://en.wikipedia.org/wiki/Upstream_(software_development)
sturmvogel
 
Posts: 740
Joined: Jul 30th, '12, 00:39

Re: PC starts fresh from hibernation

Postby maluethy » Aug 17th, '22, 17:49

Thanks for the feedback and the links.

On Bugzilla, Fedora is mentioned at the beginning. What does that have to do with Mageia? I can't put it together.
maluethy
 
Posts: 83
Joined: Apr 17th, '20, 17:01

Re: PC starts fresh from hibernation

Postby doktor5000 » Aug 17th, '22, 18:18

Because someone reported that using Fedora as Fedora got the dracut updates first. But dracut is used by basically all distros, so all are affected if there's no workaround applied.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: PC starts fresh from hibernation

Postby maluethy » Aug 17th, '22, 20:40

Thank you for the explanation.
maluethy
 
Posts: 83
Joined: Apr 17th, '20, 17:01

Re: [SOLVED] PC starts fresh from hibernation

Postby maluethy » Aug 19th, '22, 12:26

I would like to do the manual fix for mga#28528. I have read this, looked around again on the subject, but I cannot implement it. How do I proceed?

Step 1): Do I type in the console: "cat /etc/dracut.conf.d/51-mageia-resume.conf" and then check that the output does not contain "add_dracutmodules"?

Step 2): Do I type in the console: "echo 'add_dracutmodules+=" resume "' >> /etc/dracut.conf.d/51-mageia-resume.conf"

Step 3): Do I enter in the console?: dracut -fv

Thanks in advance
maluethy
 
Posts: 83
Joined: Apr 17th, '20, 17:01

Re: [SOLVED] PC starts fresh from hibernation

Postby sturmvogel » Aug 19th, '22, 14:28

Yes.
sturmvogel
 
Posts: 740
Joined: Jul 30th, '12, 00:39

Re: [SOLVED] PC starts fresh from hibernation

Postby maluethy » Aug 19th, '22, 15:04

Thank you for the feedback.

Step 1): I enter the command and don't understand the output I get and what to do with it:

Code: Select all
[luethypc@localhost ~]$ cat /etc/dracut.conf.d/51-mageia-resume.conf
add_device+=" UUID=0d550460-2c41-47ea-8015-5de61342c65e "


added code tags ~Germ
maluethy
 
Posts: 83
Joined: Apr 17th, '20, 17:01

Re: [SOLVED] PC starts fresh from hibernation

Postby sturmvogel » Aug 19th, '22, 16:25

First step is satisfied. 51-mageia-resume.conf does not contain add_dracutmodules
sturmvogel
 
Posts: 740
Joined: Jul 30th, '12, 00:39

Re: [SOLVED] PC starts fresh from hibernation

Postby doktor5000 » Aug 19th, '22, 17:20

maluethy wrote:
Code: Select all
add_device+=" UUID=0d550460-2c41-47ea-8015-5de61342c65e "

That means dracut will add this device (which is usually your swap partition) to enable this during early boot in the initrd, this is required for resume in some configurations.

Here's the description from the man page of dracut.conf:

Code: Select all
       add_device+=" <device> "
           Bring up <device> in initramfs, <device> should be the device
           name. This can be useful in hostonly mode for resume support
           when your swap is on LVM an encrypted partition.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] PC starts fresh from hibernation

Postby maluethy » Aug 23rd, '22, 16:06

Thank you for the further information.
Now I was able to carry out the instructions from the manual fix and now the hibernation mode works. I am very happy, thank you for the support.
maluethy
 
Posts: 83
Joined: Apr 17th, '20, 17:01


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron