Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] system not resuming from hibernate, but cold-bootin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
equaeghe
Guru
Guru


Joined: 22 Feb 2005
Posts: 466

PostPosted: Sat Mar 16, 2019 10:38 pm    Post subject: [solved] system not resuming from hibernate, but cold-bootin Reply with quote

After changing drives, my system isn't resuming from hibernate anymore. It just cold-boots as if I had never hibernated.

Hibernating itself seems to go correctly:
Code:
mrt 16 21:36:25 sysoppad org_kde_powerdevil[8904]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 2)))
mrt 16 21:36:25 sysoppad org_kde_powerdevil[8904]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint, 2)))
mrt 16 21:36:25 sysoppad org_kde_powerdevil[8904]: powerdevil: Starting Login1 suspend job
mrt 16 21:36:25 sysoppad kdeinit5[8806]: bluedevil: About to suspend
mrt 16 21:36:25 sysoppad NetworkManager[3580]: <info>  [1552768585.6736] manager: sleep: sleep requested (sleeping: no  enabled: yes)
mrt 16 21:36:25 sysoppad org_kde_powerdevil[8904]: powerdevil: Pausing all media players before suspending
mrt 16 21:36:25 sysoppad NetworkManager[3580]: <info>  [1552768585.6738] manager: NetworkManager state is now ASLEEP
mrt 16 21:36:25 sysoppad ksmserver[8823]: lock called
mrt 16 21:36:25 sysoppad ksmserver[8823]: Lock window Id:  20971527
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 20971527
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 20971529
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 104857604
mrt 16 21:36:25 sysoppad kscreenlocker_greet[20284]: Qt: Session management error: networkIdsList argument is NULL
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 104857608
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 104857613
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 104857615
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 104857617
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 104857619
mrt 16 21:36:25 sysoppad ksmserver[8823]: MapNotify: 104857617
mrt 16 21:36:25 sysoppad ksmserver[8823]: CreateNotify: 104857621
mrt 16 21:36:26 sysoppad kscreenlocker_greet[20284]: UdevQt: unable to create udev monitor connection
mrt 16 21:36:26 sysoppad ksmserver[8823]: CreateNotify: 104857624
mrt 16 21:36:26 sysoppad kscreenlocker_greet[20284]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
mrt 16 21:36:26 sysoppad ksmserver[8823]: MapNotify: 20971527
mrt 16 21:36:26 sysoppad systemd[1]: Reached target Sleep.
mrt 16 21:36:26 sysoppad systemd[1]: Starting Hibernate...
mrt 16 21:36:26 sysoppad kernel: PM: hibernation entry
mrt 16 21:36:26 sysoppad systemd-sleep[20295]: Suspending system...
mrt 16 21:36:26 sysoppad kernel: PM: Syncing filesystems ...
mrt 16 21:36:26 sysoppad ksmserver[8823]: CreateNotify: 104857628


But the next boot is a cold-boot and no resuming happens. Where in the logs should the resuming start?

If it matters: I'm using systemd-boot.


Last edited by equaeghe on Sat Mar 16, 2019 11:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Sat Mar 16, 2019 10:42 pm    Post subject: Reply with quote

Changing drives? That seems like a fairly significant system change...

Do you still have the resume= option in your kernel command line?
The 'dmesg' of a hibernation resume should start of looking like a cold boot, except it should say that it is looking for a resume image...and loads it. If there's no indication of a resume image, your command line is probably incorrect?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13509

PostPosted: Sat Mar 16, 2019 11:11 pm    Post subject: Reply with quote

I like eccerr0r's theory. To explore it, please post the output of cat /proc/cmdline ; cat /proc/swaps. Also, please tell us which hibernation method you use. If you use an initramfs to resume, please show its init script. If your initramfs is not built into the kernel, please check that your bootloader still uses it.
Back to top
View user's profile Send private message
equaeghe
Guru
Guru


Joined: 22 Feb 2005
Posts: 466

PostPosted: Sat Mar 16, 2019 11:20 pm    Post subject: Reply with quote

eccerr0r wrote:
Do you still have the resume= option in your kernel command line?

Yes, I had the swap partition's UUID there. I changed it with the PARTUUID and now it's working.

Sorry for the noise and thanks for the pointer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum