Hello.
This is my first real foray into Linux. I'm running Debian 9 Stable.
A month or so ago I installed the OS, but recently I realized that the system never shut down completely unless I turned off the device by pressing the hardware power button. I've seen a couple of error messages in the shutdown sequence but I don't know how to recover them.
My impression is that this might be a firmware issue, yet I'm a bit over my head in technical terms trying to solve this issue alone, that's why I'm coming here to the Beginners. I don't even know where should I be looking inside the hood of Debian in order to give appropiate info on how to proceed.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
System hard lockup during shutdown
-
- Posts: 13
- Joined: 2019-02-21 18:53
System hard lockup during shutdown
Cronomorfo.
ESL and new Linux user, finding my bearings here. Please be patient.
ESL and new Linux user, finding my bearings here. Please be patient.
Re: System hard lockup during shutdown
Yeah, I've seen that. There's a black screen and you can hear the fan running. No clues. Linux has a soft shutdown procedure. See here. For reboot use Test it to make sure it's working on your system.
I assume you are shutting down using the provided GUI. As a test try doing in a terminalWatch for errors.
I'm thinking that when you have this problem you have left a program running and the shutdown process is having trouble closing it. A browser maybe?
Code: Select all
SysRq REISUO
Code: Select all
SysRq REISUB
I assume you are shutting down using the provided GUI. As a test try doing in a terminal
Code: Select all
shutdown -h now
I'm thinking that when you have this problem you have left a program running and the shutdown process is having trouble closing it. A browser maybe?
- sunrat
- Administrator
- Posts: 6495
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: System hard lockup during shutdown
This will be much easier to diagnose by reading journal logs.
Enable persistent journal by creating a directory as root or sudo:
Then you can read the journal after the next boot with
-b -1 means show for the previous boot
-p 3 means only show error messages with priority 3
Post the results here.
Enable persistent journal by creating a directory as root or sudo:
Code: Select all
mkdir -p /var/log/journal
Code: Select all
journalctl -b -1 -p 3
-p 3 means only show error messages with priority 3
Post the results here.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
-
- Posts: 13
- Joined: 2019-02-21 18:53
Re: System hard lockup during shutdown
Thanks for your feedback. I'm not aware of what I did but the behavior seems to have stopped. I remember unchecking a box for journal saving in the GUI settings and I guess that did the trick.
Sorry for missing that out, Head_on_a_Stick, I thought that the most reasonable path for solving this issue was actually asking for diagnostic tools/commands instead of going around mindlessly changing settings.
Sorry for missing that out, Head_on_a_Stick, I thought that the most reasonable path for solving this issue was actually asking for diagnostic tools/commands instead of going around mindlessly changing settings.
Cronomorfo.
ESL and new Linux user, finding my bearings here. Please be patient.
ESL and new Linux user, finding my bearings here. Please be patient.