Author Topic: Whole system freezes on wake up from suspend.  (Read 2608 times)

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Whole system freezes on wake up from suspend.
« on: April 04, 2016, 03:55:28 pm »
Hi all, my whole system freezes on wake up from suspend.  To be more specific, the freeze only occurs when the laptop is suspended either from the logout screen or from suspending via the MATE Power Manager functions.  This function is suspending when the lid is closed.    Suspending by using pm-suspend as root in the terminal, doesn't cause the system to freeze on wake up.

On wake up, the system appear to be working normally.  Then after a few minutes everything just stops.  There is no warning or trigger that's apparent.  Even the R E I S U B trick does nothing.  I can't drop to a console, nothing works.   A hard shutdown is required to reboot the system.

I've tried installing the Xfce4 Power Manager.  This presents a whole new set of issues that make it not viable as a solution.  Please see my signature for system specs.  Any thoughts are much appreciated  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4013
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Whole system freezes on wake up from suspend.
« Reply #1 on: April 11, 2016, 12:21:48 pm »
It's been a week, Andy.  REISUB doesn't do the trick, and I suspect that you don't think upgrading to newer kernel will help; what have you come up with?  :-\
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Whole system freezes on wake up from suspend.
« Reply #2 on: April 11, 2016, 01:08:29 pm »
Is it possible to change the menu and the lid to use pm-suspend instead of whatever it is they do instead?

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Whole system freezes on wake up from suspend.
« Reply #3 on: April 11, 2016, 01:27:01 pm »
Hi perknh, sorry I forgot to answer you.  I've a gazillion things going on here with visiting family being at the top of the long to do list  :).  Since the last kernel upgrade, the freezing seems to have stopped.  Whether this is permanent, or its just on a hiatus, is yet to be determined  ;D.  It was really strange when things locked up, I mean nothing worked.  No mouse, no keyboard, absolutely zilch  :-\.  The REISUB trick did nothing.  The only remedy, was a hard shutdown, reboot and keep fingers crossed the file system didn't get corrupted.  I've been very lucky on that score.  I've run fsck a few times to play safe and it has all come back as being kosher.  I'm just waiting a few more days to absolutely sure it has cleared up.  I'll keep this thread open, just in case it rears its ugly head again  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Whole system freezes on wake up from suspend.
« Reply #4 on: April 11, 2016, 01:33:08 pm »
Is it possible to change the menu and the lid to use pm-suspend instead of whatever it is they do instead?
Yeah, pm-suspend and pm-hibernate worked just fine.  There was no issues with freezing using these methods.  The freezing only happen when using the suspend function from the power manager and from the logout screen.  I haven't reactivated the GUI Hibernate Feature  ;).  As I said in my previous post, it all seems to have cleared up since the last kernel update  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Whole system freezes on wake up from suspend.
« Reply #5 on: April 11, 2016, 01:41:34 pm »
That's good news, Andy. Any idea what I could edit to make the logout menu use pm-hibernate though?

My only other suggestion if it ever is freezing is to try nomodeset as a boot parameter.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Whole system freezes on wake up from suspend.
« Reply #6 on: April 11, 2016, 02:35:14 pm »
That's good news, Andy. Any idea what I could edit to make the logout menu use pm-hibernate though?

My only other suggestion if it ever is freezing is to try nomodeset as a boot parameter.
No, I've no idea how to edit the logout menu.  I have an idea it's been left out deliberately because of the increased use of SSDs.  Mark will know how to get to that if you want to give it a shot.  Yeah, if it start up again, I'll try nomodeset.  I didn't even think of that - cheers  ;).
« Last Edit: April 11, 2016, 02:37:16 pm by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Whole system freezes on wake up from suspend.
« Reply #7 on: April 11, 2016, 02:54:53 pm »
The menu has an option for both suspend AND hibernate, so I'm a little confused by the question?

for the lid switch, what happens if you run:
Code: [Select]
sudo gedit /etc/systemd/logind.confand change the line:
Code: [Select]
#HandleLidSwitch=suspendto
Code: [Select]
HandleLidSwitch=hibernateSAVE the file, then restart systemd-logind by running:
Code: [Select]
sudo restart systemd-logindor just rebooting.

then test the lid
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Whole system freezes on wake up from suspend.
« Reply #8 on: April 11, 2016, 02:58:57 pm »
Sorry if I'm confusing someone else's issue. For me on the ****ing HDMI stick, menu can't hibernate but sudo pm-hibernate can, so I'd like to do it through the menu somehow.

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4013
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Whole system freezes on wake up from suspend.
« Reply #9 on: April 11, 2016, 03:26:21 pm »
Since the last kernel upgrade, the freezing seems to have stopped.  Whether this is permanent, or its just on a hiatus, is yet to be determined  ;D.  It was really strange when things locked up, I mean nothing worked.  No mouse, no keyboard, absolutely zilch  :-\.  The REISUB trick did nothing.  The only remedy, was a hard shutdown, reboot and keep fingers crossed the file system didn't get corrupted.  I've been very lucky on that score.  I've run fsck a few times to play safe and it has all come back as being kosher.  I'm just waiting a few more days to absolutely sure it has cleared up.  I'll keep this thread open, just in case it rears its ugly head again  ;).

Hard shutdowns are the worst.  Andy, it was the suspense that was killing me.  It will be great if the upgraded kernel does the trick for you.  Fingers are crossed!  ;)
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Whole system freezes on wake up from suspend.
« Reply #10 on: April 13, 2016, 02:35:35 pm »
I thought it would be too good to be true  :(.  My machine just locked up again coming out of suspend.  REISUB again didn't work, indicating there is no input working.  I had to perform a hard shutdown and reboot to clear the issue.  Not exactly an ideal thing to do.  I would like some help setting a nomodeset boot parameter.  Hopefully that'll clear it up  ;).
« Last Edit: April 13, 2016, 02:55:45 pm by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Whole system freezes on wake up from suspend.
« Reply #11 on: April 13, 2016, 04:09:11 pm »
Sorry to hear that.

Code: [Select]
sudo gedit /etc/default/grub
Find the line:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"Replace quiet splash with nomodeset
Save.

Code: [Select]
sudo update-grub

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Whole system freezes on wake up from suspend.
« Reply #12 on: April 13, 2016, 05:01:00 pm »
Sorry to hear that.

Code: [Select]
sudo gedit /etc/default/grub
Find the line:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"Replace quiet splash with nomodeset
Save.

Code: [Select]
sudo update-grub
Thanks for that, fingers crossed it fixes it.  It's really weird.  It doesn't happen if I use pm-suspend.  Any other method of suspending is really hit or miss though.  I'll know better tomorrow, when I wake the laptop up  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Whole system freezes on wake up from suspend.
« Reply #13 on: April 14, 2016, 07:34:49 am »
has it always done this, or only recently ?

if recently, does it do it if you boot an earlier kernel ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Whole system freezes on wake up from suspend.
« Reply #14 on: April 14, 2016, 01:45:44 pm »
I'm not too sure.  I usually suspend with the pm-suspend command.  I've only just started to use the, suspend when the lid is closed when on battery power and from the logout screen.  Sorry, any sort of timeline is going to be really sketchy.  I tried the nomodeset.  All that produced was a black screen coming out of suspend.  Thankfully Ctrl+Alt+del still brings up the logout screen, albeit unseen.  The default setting is Shutdown.   Hitting enter still does a conventional shutdown.  Today, I've had no issues.  I can't seem to be able to pinpoint the trigger  :-\.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.