Laptop "reboots" instead of powering off. Cannot shut it down.

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
User avatar
Mr_Furry_Tail
Level 1
Level 1
Posts: 9
Joined: Thu Sep 07, 2017 7:13 pm

Laptop "reboots" instead of powering off. Cannot shut it down.

Postby Mr_Furry_Tail » Sun Oct 22, 2017 8:52 pm

Hi Everyone!
I am running Linux Mint 18.2 Sonya and 4.10.0-32-generic kernel.
My problem is that sometimes, when I want to turn off my laptop, it goes dark as usual, but than immediately turns back on to the login screen. It does not matter how I do it, from the menu or doing "poweroff". Poweroff command gives no result, but error message that reads something like "cannot ...do-not-remember-what... operation is destructive" It happens randomly, maybe once a week or two. One I catch that glitch the only way I can power off the machine is holding the power button. After hard power off, the glitch disappears.
I looked into the log and see lines like that:

Code: Select all

Oct 16 22:24:24 Nitro-G kernel: [  828.503993] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)

But google says it is harmless warning and has nothing to do with my problem.
I have attached pieces of my /var/log/syslog that might have some clues, please help me figure out what causes such behaviour and how to stop it.
Feel free to ask any additional details / log files.
Thanks.

syslog syslog1

deepakdeshp
Level 8
Level 8
Posts: 2370
Joined: Sun Aug 09, 2015 10:00 am

Re: Laptop "reboots" instead of powering off. Cannot shut it down.

Postby deepakdeshp » Tue Oct 24, 2017 5:59 am

Please give following commands before you switch off .

Code: Select all

sync;sync
As an emergency mode , you can keep the on off switch pressed till it powers off. If it doesnt power off with this method, you may have an on off switch problem.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 18 Cinnamon 64 bit with AMD processor .

User avatar
Mr_Furry_Tail
Level 1
Level 1
Posts: 9
Joined: Thu Sep 07, 2017 7:13 pm

Re: Laptop "reboots" instead of powering off. Cannot shut it down.

Postby Mr_Furry_Tail » Tue Oct 24, 2017 7:30 am

deepakdeshp wrote:Please give following commands before you switch off .

Code: Select all

sync;sync
As an emergency mode , you can keep the on off switch pressed till it powers off. If it doesnt power off with this method, you may have an on off switch problem.


Thanks! I'll try doing that and see if it still happens.
The on off switch always worked so far.

User avatar
BG405
Level 5
Level 5
Posts: 827
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Laptop "reboots" instead of powering off. Cannot shut it down.

Postby BG405 » Tue Oct 24, 2017 9:26 pm

Try holding CTRL + ALT & then pressing SysRQ then, leaving a few seconds between each keypress, R E I S U O & see if that powers the machine off successfully. There are apparently a few variants (which I will research) if this doesn't work.

This is a temporary measure; will need to look into a proper fix. :wink:
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - LM17.3 KDE 32
Toshiba NB305 - LM17.3 Xfce 32--------------------K7S5A Athlon 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 -----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

User avatar
Mr_Furry_Tail
Level 1
Level 1
Posts: 9
Joined: Thu Sep 07, 2017 7:13 pm

Re: Laptop "reboots" instead of powering off. Cannot shut it down.

Postby Mr_Furry_Tail » Fri Nov 03, 2017 8:59 am

BG405 wrote:Try holding CTRL + ALT & then pressing SysRQ then, leaving a few seconds between each keypress, R E I S U O & see if that powers the machine off successfully. There are apparently a few variants (which I will research) if this doesn't work. ...


Thank you very much for your response, I'll try your temporary solution next time!

Actually I had another episode of this today.
It happened after closing the lid and opening it back several times, and executing "sync" command as suggested in previous reply did not help. I'll post the logs after lunch.

I am starting to think that I might screw the OS installation in a some way and this is a consequence. As I remember, I tried to do full disc encryption installation and it did not work in some way, and than re installed OS with just home folder encrypted. Now, when I power on the machine, first it asks me for a password to decrypt some partition (crypt something, I believe it is swap), and then I see actual login screen and need to enter my password once again. But even if I enter invalid password for the first time, everything seems to work fine. And it also asks for a password during installation of some updates (like new kennels).

UPD:

Code: Select all

goog@Nitro-G ~ $ sync
goog@Nitro-G ~ $ poweroff
Failed to power off system via logind: Transaction is destructive.
Failed to start poweroff.target: Interactive authentication required.
See system logs and 'systemctl status poweroff.target' for details.
Failed to open /dev/initctl: Permission denied
Failed to talk to init daemon.
goog@Nitro-G ~ $ sync;sync
goog@Nitro-G ~ $ poweroff
Failed to power off system via logind: Transaction is destructive.
Failed to start poweroff.target: Interactive authentication required.
See system logs and 'systemctl status poweroff.target' for details.
Failed to open /dev/initctl: Permission denied
Failed to talk to init daemon.
goog@Nitro-G ~ $ ssudo poweroff
No command 'ssudo' found, did you mean:
 Command 'sudo' from package 'sudo-ldap' (universe)
 Command 'sudo' from package 'sudo' (main)
ssudo: command not found
goog@Nitro-G ~ $ sudo poweroff
[sudo] password for goog:
Failed to start poweroff.target: Transaction is destructive.
See system logs and 'systemctl status poweroff.target' for details.
goog@Nitro-G ~ $


Log for today Tried to power off about 8 am.


Return to “Other topics”

Who is online

Users browsing this forum: No registered users and 17 guests