LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2020, 06:27 PM   #1
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 60

Rep: Reputation: 1
Debian 10 Buster reboots a PC for no apparent reason


Today I have it seen twice that an Acer Aspire T180 PC has rebooted out of nothing after about an hour or two out of use.

The screen saver was on the screen and dmesg doesn't show any failure at all. All those ACPI messages seem to be alright.
 
Old 06-25-2020, 07:01 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,794

Rep: Reputation: 1427Reputation: 1427Reputation: 1427Reputation: 1427Reputation: 1427Reputation: 1427Reputation: 1427Reputation: 1427Reputation: 1427Reputation: 1427
dmesg reports messages from RAM. Since RAM is reinitialized whenever the system boots, messages that might help you understand what caused the unexpected reboot have been wiped out.

You may have messages in /var/log/syslog; not sure. Since Debian uses the journal, ensure that it is persistent (the easiest way to make it persistent is mkdir /var/log/journal). Then wait until the PC reboots again and use journalctl to see the messages; I believe that journalctl -b -0 -k filters for kernel messages from the previous boot. Check the manual page to be sure.
 
1 members found this post helpful.
Old 06-26-2020, 01:16 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 19.2 MATE, MX-19, antiX, Manjaro
Posts: 2,973
Blog Entries: 17

Rep: Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097
dilbert_uk,

The usual suspects are PSU, RAM, hard drive or overheating.

That is a pretty old PC, so at a wild guess I would go for the PSU issuing incorrect voltages as it heats up over a period of time.
 
1 members found this post helpful.
Old 06-26-2020, 02:41 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,653

Rep: Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764
you might need to clean it (remove dust from inside).
 
1 members found this post helpful.
Old 06-26-2020, 03:40 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,962

Rep: Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131Reputation: 3131
I kind of doubt it is doing a graceful shutdown reboot. I suspect it is a crash.

If a crash then it might report to /var logs if it can. Usually it can't as it doesn't have time to write. Best to at least check.

As above, any number of issues from poor connections to heat to failing parts to voltages off or even bios settings.

Can't hurt to peek in bios to see if it has any error reports. Set bios to failsafe or default if you have some performance settings set.
 
1 members found this post helpful.
Old 06-30-2020, 08:35 PM   #6
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 60

Original Poster
Rep: Reputation: 1
It looked actually that it would have been a software shutdown. This output is from the syslog file that I have saved:

Quote:
acer-pc:~$ cat Escritorio/syslog.txt | grep Shutdown
Jun 25 05:41:39 localhost systemd[1]: Starting Update UTMP about System Boot/Shutdown...
Jun 25 05:41:39 localhost systemd[1]: Started Update UTMP about System Boot/Shutdown.
Jun 25 07:57:26 localhost systemd[702]: Reached target Shutdown.
Jun 25 08:41:45 localhost systemd[1328]: Reached target Shutdown.
Jun 25 09:27:11 localhost systemd[1573]: Reached target Shutdown.
acer-pc:~$
At least, at those hours in the morning, I myself haven't shut down the PC for sure.

Also, this PC had the motherboard replaced about a month ago. The power supply I have replaced myself about ten years ago. And this PC was out of use for the last 5 years. After having the motherboard replaced, I had for a week or so still the old lubuntu 12.04 on that PC, and later then I installed Debian 10.4.

I have seen that Debian 10.4 behaved inconsistently with the power management. The same thing I still see with Debian 10.4 on my laptop. But as the PC could have different tasks in the future than the laptop with regards to running a program over a long time, I simply decided to install xubuntu 20.04 on that PC to see if the behaviour could be different. And since four days, there is still strange behaviour with the power management, but in the opposite direction.

Whereas Debian 10.4 was eager to place the screen saver and to block the screen, xubuntu 20.04 doesn't do anything despite the power management settings in xfce.

My guess is that it is a more complex issue and at the moment, I am happier than before. I don't need all that power management and neither do I need to block the screen and things like that.
 
1 members found this post helpful.
Old 06-30-2020, 11:02 PM   #7
tinfoil3d
Member
 
Registered: Apr 2020
Location: Japan/RJCC
Distribution: debian, lfs, whatever else i need in qemu
Posts: 195

Rep: Reputation: Disabled
I guess this needs deeper syslog inspection, but you're on the right track, just make sure power management isn't playing tricks on you. Also run deb 10 on multiple servers one with gui they never have issues like that.
 
1 members found this post helpful.
Old 07-01-2020, 06:06 AM   #8
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,653

Rep: Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764
probably you will find something interesting before the shutdown line (in syslog). A strange thing which triggered that shutdown.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] After having a successful installation of Debian Buster, Lenovo computer refuses to boot into Debian Buster 10.2 PicardDefendingData Debian 4 12-21-2019 07:51 PM
Sudden network problems on Debian with no apparent reason? Anyone else? flipjarg Linux - Networking 2 04-07-2011 10:12 PM
Fedora Core II locking for no apparent reason k41184 Linux - Software 1 09-11-2004 11:47 AM
xorg hanging for no apparent reason Covel Linux - Software 6 06-06-2004 03:59 AM
X drops back to 640x480 for no apparent reason Griffon26 Linux - Software 2 06-24-2002 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration