You are not logged in.

#1 2014-07-28 23:39:16

vinipsmaker
Member
Registered: 2011-04-15
Posts: 34
Website

[SOLVED] Shutdown reason

How can I find what was the the reason for the last shutdown event?

My migrated system (from old laptop to new laptop, then from 32bit to 64bit) keep shutting down on high load scenarios (compiling large projects, dota 2, ...), but weirdly it halts cleanly (I can see the systemd messages about umount filesystems and etc).

I suspect it's related to watchdog, but I need to figure out the shutdown reason first. Any tips, anybody?

Last edited by vinipsmaker (2014-07-29 01:21:01)


Sorry for my bad english

Offline

#2 2014-07-28 23:42:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Shutdown reason


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-07-29 01:20:46

vinipsmaker
Member
Registered: 2011-04-15
Posts: 34
Website

Re: [SOLVED] Shutdown reason

Thanks.

After digging through the output for some time, I found:

Jul 28 21:11:29 vinipsmaker-netbook kernel: thermal thermal_zone0: critical temperature reached(100 C),shutting down

Now I'll sketch a plan to solve this problem.

-.-"

EDIT:

For anyone facing also wanting to know the shutdown reason, the command which helped me was:

# journalctl -b -1

Last edited by vinipsmaker (2014-07-29 20:37:06)


Sorry for my bad english

Offline

#4 2021-08-11 02:31:31

simonmysun
Member
Registered: 2018-10-16
Posts: 5

Re: [SOLVED] Shutdown reason

Hi, in my case the journalctl seems not able to save the log before shutting down. What I see from `journalctl -b 1` are only logs from several hours ago. Any other way to know the shutting down reason?

I'm using Archlinux on my own laptop and recently it shuts down for no reason immediately, quite often.

Offline

#5 2021-08-11 06:54:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,310

Re: [SOLVED] Shutdown reason

The command is

journalctl -b -1

for the previous boot but depending on how hard you crash there's a chance there's nothing flushed. Try rebooting with the SysRq method

In any case, please don't try to piggy back on a 7 year old solved thread. Open a new thread, describe the symptoms of your issue, what you are doing when it crashes, the specs of your laptop, the actual output of the journalctl command etc.

https://wiki.archlinux.org/title/Genera … bumping%22
https://bbs.archlinux.org/viewtopic.php?id=57855

Closing.

Last edited by V1del (2021-08-11 06:55:52)

Offline

Board footer

Powered by FluxBB