You are not logged in.

#1 2016-04-04 16:18:14

Trashlord
Member
Registered: 2008-12-08
Posts: 11

System freezes on resume from suspend when opening lid

Hey guys. I have a Lenovo G50-70 with all packages fully updated.
In the last 2 days I've had the system freeze on me, on 3 occasions, when opening the lid to resume from suspend.
I then have to forcefully power off the machine by removing the battery.

This never happened before, and I've had Arch installed on this laptop for almost 4 weeks now.
I suspect a package might have been updated that could cause this, but I'm not sure which.

Any ideas where to look?

Last edited by Trashlord (2016-04-04 16:19:05)

Offline

#2 2016-04-16 04:48:40

dikhvo
Member
Registered: 2016-04-16
Posts: 3

Re: System freezes on resume from suspend when opening lid

Hi. I have a similar issue on my Acer Aspire ES1-111M. It freezes when I try to resume it from suspend mode. It doesn't matter if I suspend it manually (e.g. from GUI) or close the lid. I've also noticed that the power-on led on laptop is not blinking anymore (it used to change the color to orange and was blinking when laptop was suspended).

I have to poweroff the machine by pressing power button for several seconds and power-up it again.

I haven't seen any errors in the logs, the moment when the system is being suspended is pretty clear. The one weird thing I see is a -- Reboot -- message, although laptop was powered off, not rebooted.

# journalctl --system
...
Apr 16 11:22:12 sammybook systemd-logind[289]: Lid closed.
Apr 16 11:22:16 sammybook systemd[1]: Reached target Sleep.
Apr 16 11:22:16 sammybook systemd[1]: Starting Suspend...
Apr 16 11:22:16 sammybook systemd-sleep[4034]: Suspending system...
-- Reboot --
Apr 16 11:36:43 sammybook systemd-journald[162]: Runtime journal (/run/log/journal/) is 8.0M, max 393.5M, 385.5M free.
Apr 16 11:36:43 sammybook kernel: Linux version 4.5.0-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Tue Mar 15 09:41:03 CET 2016

I upgrade the system on daily basis and I suspect that these issues somehow related to the kernel upgrade which happened recently:

$ sudo journalctl --system | grep "Linux version" | less
...
Apr 14 20:17:53 sammybook kernel: Linux version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016
Apr 15 07:05:21 sammybook kernel: Linux version 4.5.0-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Tue Mar 15 09:41:03 CET 2016

Is anybody else experiencing similar issues? Could you suggest where else I can have a look?

Thanks

Offline

#3 2016-04-16 11:45:04

dikhvo
Member
Registered: 2016-04-16
Posts: 3

Re: System freezes on resume from suspend when opening lid

Issue got fixed after I've installed the LTS kernel, however the root cause of problems with suspend is still unclear...

Apr 16 19:40:49 sammybook kernel: Linux version 4.4.7-1-lts (builduser@andyrtr) (gcc version 5.3.0 (GCC) ) #1 SMP Thu Apr 14 17:26:39 CEST 2016

Offline

#4 2016-04-16 16:41:41

TCBear
Member
Registered: 2016-01-22
Posts: 34

Re: System freezes on resume from suspend when opening lid

It was asked if anyone else is having the issue. I can report the same issue with suspend on a Dell Inspiron 1300 laptop. This includes  the "reboot" in the journal right after the sleep, though the laptop had to be powered off by holding the power button down. This happens at the console and also when I suspend from Mate. I update this computer each day as a test system and was considering downgrading the kernel, but still looking through everything and have done nothing yet.

I can't comment on any of the keyboard or computer lights, I'm blind, but the fan is more active in the frozen state and the computer does not beep if I tab or arrow down at the console. The hard drive makes no sounds other than spinning.

My Dell Optiplex 780 tower has no suspend issues and the main differences  are 64 bit vx 32 and not a laptop; just in case that has any relevance. Edit: the Optiplex 780's journal does not have the "reboot" after the systemd sleep. Like I said, I'm still looking through wikis and man pages...

Last edited by TCBear (2016-04-16 17:05:49)

Offline

#5 2016-04-16 19:35:33

poseidon
Member
Registered: 2012-06-07
Posts: 66

Re: System freezes on resume from suspend when opening lid

Same here: hp zbook.

This seems to happen every 1 or 2 years to archlinux. Last time it was a kernel issue. Very annoying...

Cheers
Paul

Offline

#6 2016-04-16 19:56:02

TCBear
Member
Registered: 2016-01-22
Posts: 34

Re: System freezes on resume from suspend when opening lid

Thanks for letting us know, poseidon.

For what it's worth, I looked up the last successful suspend in the journal and all the events were missing and only replaced with the "reboot" after the systemd-sleep on the  failed suspends. (Lots of differences in the successful and failed suspend parts of the journal is what I mean.)

Last edited by TCBear (2016-04-16 21:09:00)

Offline

#7 2016-04-16 23:39:21

dikhvo
Member
Registered: 2016-04-16
Posts: 3

Re: System freezes on resume from suspend when opening lid

TCBear wrote:

For what it's worth, I looked up the last successful suspend in the journal and all the events were missing and only replaced with the "reboot" after the systemd-sleep on the  failed suspends. (Lots of differences in the successful and failed suspend parts of the journal is what I mean.)

Same for me, successful suspends have a lot more information in the journal:

Mar 25 18:19:40 sammybook systemd-logind[275]: Lid closed.
Mar 25 18:19:40 sammybook systemd[1]: Reached target Sleep.
Mar 25 18:19:40 sammybook systemd[1]: Starting Suspend...
Mar 25 18:19:40 sammybook systemd-sleep[4549]: Suspending system...
Mar 25 19:03:52 sammybook kernel: PM: Syncing filesystems ... done. <==== This and further messages are absent in case of freeze
Mar 25 19:03:52 sammybook kernel: PM: Preparing system for sleep (mem)
Mar 25 19:03:52 sammybook kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Mar 25 19:03:52 sammybook kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Mar 25 19:03:52 sammybook kernel: PM: Suspending system (mem)
Mar 25 19:03:52 sammybook kernel: Suspending console(s) (use no_console_suspend to debug)

Offline

#8 2016-04-17 18:36:25

poseidon
Member
Registered: 2012-06-07
Posts: 66

Re: System freezes on resume from suspend when opening lid

Have downgraded the kernel today, as last time it took 1 whole month until the kernel was okay again. Everything's working now again.

Offline

#9 2016-04-18 00:46:54

TCBear
Member
Registered: 2016-01-22
Posts: 34

Re: System freezes on resume from suspend when opening lid

Well.. I was going to wait it out, but that sounds a little long.

I decided to install the LTS kernel. Then I forgot to update grub... LOL

It's doing fine on the suspends now.

Offline

#10 2016-04-27 10:05:42

johntramp
Member
Registered: 2006-03-02
Posts: 21

Re: System freezes on resume from suspend when opening lid

Switching from linux 4.5.1 to 4.4.8-1-lts fixed the problem for me too on a Dell Inspiron.

Offline

#11 2016-05-09 19:48:23

poseidon
Member
Registered: 2012-06-07
Posts: 66

Re: System freezes on resume from suspend when opening lid

Has anyone tried already the new 4.5.2-1 kernel?

Offline

#12 2016-05-11 08:57:46

poseidon
Member
Registered: 2012-06-07
Posts: 66

Re: System freezes on resume from suspend when opening lid

poseidon wrote:

Has anyone tried already the new 4.5.2-1 kernel?

4.5.3-1 worx again.

Offline

#13 2016-05-12 02:55:12

TCBear
Member
Registered: 2016-01-22
Posts: 34

Re: System freezes on resume from suspend when opening lid

Thanks for testing it out and letting us know, poseidon. They fixed a whole bunch of gnome-related bugs over the last couple of weeks, too, and it seems like it was all handles pretty quickly. Very happy with Arch.

Offline

#14 2016-05-16 20:23:10

klingt.net
Member
Registered: 2014-03-10
Posts: 25

Re: System freezes on resume from suspend when opening lid

I've a similar issue except that my laptop freezes when I want to suspend or hibernate. It's a hp elitebook 8460p and I'm running the linux-ck kernel:

4.5.4-1-ck

There is nothing

Last edited by klingt.net (2016-05-16 20:24:18)

Offline

#15 2017-08-06 09:35:38

kahlil88
Member
From: Mendocino, CA
Registered: 2010-08-10
Posts: 138
Website

Re: System freezes on resume from suspend when opening lid

Does your laptop have dual GPU? I was having this problem with my HP ZBook until I disabled the Intel video in the BIOS.


There is no system but GNU and Linux is one of its kernels.

Offline

#16 2017-08-06 10:46:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: System freezes on resume from suspend when opening lid

Please don't necrobump a year old topic.

Closing.

Offline

Board footer

Powered by FluxBB