LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-09-2019, 11:57 AM   #1
fthiella
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Rep: Reputation: Disabled
Suspension issue: hard shutdown


Hello, I've recently installed on my Acer Swift 1 new laptop a distro linux, now I'm on Manjaro but I noted the same issue on Ubuntu 19.04 and 18.04 LTS and on Debian 10.
Few days after a fresh installation of each of these Linux distro the suspension breaks by itself: closing the lid or running systemctl suspend causes a hard shutdown of my system. Sometimes the system freezes and can be shut down only by unplugging the battery pressing the emergency button on the rear of my laptop.
Here's a log of journal
Code:
ott 08 13:37:51 federico-swift1 systemd-logind[515]: Lid closed.
ott 08 13:37:51 federico-swift1 systemd-logind[515]: Suspending...
ott 08 13:37:51 federico-swift1 NetworkManager[510]: <info>  [1570534671.5846] manager: sleep: sleep requested (sleeping: no  enabled: yes)
ott 08 13:37:51 federico-swift1 NetworkManager[510]: <info>  [1570534671.5847] device (p2p-dev-wlp0s12f0): state change: disconnected -> unmanaged (reason 'sleeping', sys-i>
ott 08 13:37:51 federico-swift1 NetworkManager[510]: <info>  [1570534671.5857] manager: NetworkManager state is now ASLEEP
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
                                                   _disconnect@resource:///org/gnome/gjs/modules/signals.js:78:11
                                                   _onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:284:13
                                                   callParent@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/utils.js line 74 > eval:1:180
                                                   _onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:325:13
                                                   _disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:355:9
                                                   destroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:368:13
                                                   _disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:163:5
                                                   disable/<@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:39
                                                   disable@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:5
                                                   disableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:79:9
                                                   disableAllExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:350:13
                                                   disableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:349:9
                                                   _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:367:9
                                                   _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                   _sync@resource:///org/gnome/shell/ui/sessionMode.js:202:9
                                                   pushMode@resource:///org/gnome/shell/ui/sessionMode.js:164:9
                                                   activate@resource:///org/gnome/shell/ui/screenShield.js:1269:17
                                                   lock@resource:///org/gnome/shell/ui/screenShield.js:1318:9
                                                   _prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:729:17
                                                   _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                   _prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:174:9
                                                   _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                   _convertToNativeSignal@resource:///org/gnome/gjs/modules/overrides/Gio.js:169:5
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
                                                   _disconnect@resource:///org/gnome/gjs/modules/signals.js:78:11
                                                   _onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:284:13
                                                   callParent@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/utils.js line 74 > eval:1:180
                                                   _onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:325:13
                                                   _disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:355:9
                                                   destroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:368:13
                                                   _disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:163:5
                                                   disable/<@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:39
                                                   disable@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:5
                                                   disableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:79:9
                                                   disableAllExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:350:13
                                                   disableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:349:9
                                                   _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:367:9
                                                   _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                   _sync@resource:///org/gnome/shell/ui/sessionMode.js:202:9
                                                   pushMode@resource:///org/gnome/shell/ui/sessionMode.js:164:9
                                                   activate@resource:///org/gnome/shell/ui/screenShield.js:1269:17
                                                   lock@resource:///org/gnome/shell/ui/screenShield.js:1318:9
                                                   _prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:729:17
                                                   _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                   _prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:174:9
                                                   _emit@resource:///org/gnome/gjs/modules/signals.js:142:27
                                                   _convertToNativeSignal@resource:///org/gnome/gjs/modules/overrides/Gio.js:169:5
ott 08 13:37:53 federico-swift1 systemd[1]: Starting TLP suspend/resume...
ott 08 13:37:54 federico-swift1 systemd[1]: Started TLP suspend/resume.
ott 08 13:37:54 federico-swift1 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd>
ott 08 13:37:54 federico-swift1 systemd[1]: Reached target Sleep.
ott 08 13:37:54 federico-swift1 kernel: audit: type=1130 audit(1570534674.453:64): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=tlp-sleep comm="sys>
ott 08 13:37:54 federico-swift1 systemd[1]: Starting Suspend...
ott 08 13:37:54 federico-swift1 systemd-sleep[2299]: Suspending system...
ott 08 13:37:54 federico-swift1 kernel: PM: suspend entry (deep)
And here's my system:
Code:
System:    Host: federico-swift1 Kernel: 5.2.11-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: Gnome 3.32.2 
           wm: gnome-shell dm: GDM 3.32.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Acer product: Swift SF114-32 v: V1.09 serial: <filter> 
           Mobo: GLK model: Sapporo_GL v: V1.09 serial: <filter> UEFI: Insyde v: 1.09 date: 04/03/2019 
Battery:   ID-1: BAT0 charge: 36.0 Wh condition: 56.0/54.2 Wh (103%) volts: 11.8/11.6 model: PANASONIC AP15O5L type: Li-ion 
           serial: <filter> status: Discharging 
CPU:       Topology: Quad Core model: Intel Pentium Silver N5000 bits: 64 type: MCP arch: Goldmont Plus rev: 1 
           L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8756 
           Speed: 796 MHz min/max: 800/2700 MHz Core speeds (MHz): 1: 796 2: 797 3: 796 4: 796 
Graphics:  Device-1: Intel UHD Graphics 605 vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:3184 
           Display: x11 server: X.Org 1.20.5 driver: intel compositor: gnome-shell resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 605 (Geminilake) v: 4.5 Mesa 19.1.5 compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus ID: 00:0e.0 chip ID: 8086:3198 
           Sound Server: ALSA v: k5.2.11-1-MANJARO 
Network:   Device-1: Intel driver: iwlwifi v: kernel port: 1000 bus ID: 00:0c.0 chip ID: 8086:31dc 
           IF: wlp0s12f0 state: up mac: <filter> 
Drives:    Local Storage: total: 119.24 GiB used: 15.42 GiB (12.9%) 
           ID-1: /dev/sda vendor: Kingston model: RBUSNS8180DS3128GJ size: 119.24 GiB speed: 6.0 Gb/s serial: <filter> 
           rev: 61E1 scheme: GPT 
Partition: ID-1: / size: 108.65 GiB used: 15.42 GiB (14.2%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 8.06 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 39.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 193 Uptime: 33m Memory: 3.66 GiB used: 1.25 GiB (34.2%) Init: systemd v: 242 Compilers: gcc: 9.1.0 
           Shell: bash v: 5.0.9 running in: gnome-terminal inxi: 3.0.36
Thank you for your help, I can give you any further information you need.

Last edited by fthiella; 10-09-2019 at 11:59 AM.
 
Old 10-12-2019, 12:49 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I grepped your log section for the word Error, and got this
Code:
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
It appears on the basis of your log that it recovered from both those errors and entered into a sleep. No sign of a shutdown. Yet, I presume, that's what it did.

I'm puzzled that suspend works on several distros, and then stops working after a few days. It seems to clear the software involved. What happens after a few days?

Have a look in /var/log - the end of the big files. Also, isolate the biggest file in /var/log; Usually /var/log/syslog or /var/log/messages. Back it up if you want it, & zero it, e.g.
Code:
> /var/log/messages
. Then suspend. The resulting file after you reboot will have a shutdown & start up. That might reveal something.
 
Old 10-13-2019, 02:31 AM   #3
fthiella
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for responding.
Since I installed Manjaro those errors from gnome-session show up in my log, even when suspension was working, so I suppose that is not the cause of my problem.
syslog-ng is not installed by default in Manjaro, I tried to configure it but in /var/log there's nothing similar to a log from the system, however even if it seems very strange, the system effectively shuts down or "crashes" if you prefer, but it's clear it isn't in sleep mode because in this case the status led would blink.
I dont know what breaks the suspension, when i tried Debian the suspension resulted broken after few hours, even with any program installation.
I wrote in this forum since I think I have a kernel issue with my hardware, with 4.14 LTS the system seems to suspend correctly and consistently, but I can't test it for a long time since that version does not have drivers for my touchpad.
Any ideas about this hypothesis?
 
Old 10-14-2019, 04:23 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Even without syslog, you should get dmesg, which afaik is a kernel based thing. Does 'sudo dmesg' show anything?
 
Old 10-15-2019, 02:26 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Supposing that gnome-shell is NOT the issue here (though it could well be):
https://wiki.archlinux.org/index.php/Suspend
 
Old 10-15-2019, 03:37 PM   #6
fthiella
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yesterday Manjaro pushed out a big set of upgrades, including an update of the kernel package, since then the system SEEMS (cross fingers) to suspend correctly angain, I'm doing some tests right now.
I don't know which of 232 package updates fixed the problem, I don't even know if the problem is definetely fixed indeed.
If this update does not solve the problem by long-term I'll have to search for the fix somewhere else, but before posting here I read a lot about the suspension in Linux and how it's handled by the system, I know very well that Arch-wiki page, nothing useful for me...
However thank you all for your support
 
Old 10-16-2019, 04:15 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by fthiella View Post
Yesterday Manjaro pushed out a big set of upgrades, including an update of the kernel package, since then the system SEEMS (cross fingers) to suspend correctly angain, I'm doing some tests right now.
I don't know which of 232 package updates fixed the problem, I don't even know if the problem is definetely fixed indeed.
If this update does not solve the problem by long-term I'll have to search for the fix somewhere else, but before posting here I read a lot about the suspension in Linux and how it's handled by the system, I know very well that Arch-wiki page, nothing useful for me...
However thank you all for your support
I hate that with these update-continually distros. You can mark this one solved.
 
Old 10-17-2019, 01:30 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I still remember when my then-new intel CPU (and integrated GPU) got continuously better with every upgrade. I loved every moment of it.
By now it's so old I might as well use Debian stable.
 
Old 10-17-2019, 12:46 PM   #9
fthiella
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'm new to Linux world, at the very beginning I imposed myself to learn at least a bit of it, now, I love it, maybe because I've been using Windows for almost 15 years (I'm 21) and I needed to try something different; it's a sort of fresh-air blow in my daily routine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resuming from suspension fails- lenovo s10-3 TimmyTurner Linux - Laptop and Netbook 3 06-07-2011 12:00 AM
avoiding system suspension during mplayer playback danix85 Slackware 2 04-25-2010 02:29 PM
Suspension to ram only works for short periods cyberfishee Linux - Hardware 2 08-14-2008 07:35 AM
Monitor suspension g4j31a5 Linux - General 5 01-12-2007 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration