LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-24-2021, 08:44 AM   #1
dark_avenger
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Rep: Reputation: Disabled
Fedora 33 - Phantom Shutdowns


Hi, linux newbie and relatively fresh install of fedora 33. What should be my first trouble shooting steps? Laptop is a Lemur Pro from system76.

Otherwise, Fedora is working ok although not so sure about Kwin...may end up with Sway.

Thanks
 
Old 01-24-2021, 08:53 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Do you mean shutdown or freeze?

Phantom Shutdowns can come from the processor getting too hot, bad power supply, bad RAM, something running systemctl poweroff

Freezes can be graphic module, kernel bug,...etc.

Is Fedora using systemd? If so does the journal give you any answers?
Code:
man journalctl
 
Old 01-24-2021, 09:19 AM   #3
dark_avenger
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Do you mean shutdown or freeze?

Phantom Shutdowns can come from the processor getting too hot, bad power supply, bad RAM, something running systemctl poweroff

Freezes can be graphic module, kernel bug,...etc.

Is Fedora using systemd? If so does the journal give you any answers?
Code:
man journalctl
Thanks, appears to be a complete shut down rather than freeze as the screen is black.

Yes, using systemd. I know I can use journalctl --since "2020-01-24 12:30:00" --until "2020-01-24 14:30:00" to restrict the output size. How do I redirect this to a file though so I can post a section of it on here?

Cheers
 
Old 01-24-2021, 09:59 AM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Example:
Code:
journalctl -n20 > file.txt
 
Old 01-24-2021, 11:01 AM   #5
dark_avenger
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Example:
Code:
journalctl -n20 > file.txt
Thanks for your patience. I tried the following and was left with an empty text file. What did I do wrong? The journal is from empty.

systemctl --lines="all" --since "2020-01-24 12:30:00" --until "2020-01-24 14:30:00" > log_systemd.txt

The output is:-

"-- Logs begin at Fri 2021-01-15 10:26:34 GMT, end at Sun 2021-01-24 16:53:41 GMT. --
-- No entries --"
 
Old 01-28-2021, 02:24 PM   #6
dark_avenger
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Can anyone help?
 
Old 01-28-2021, 04:53 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
See if you can monitor cpu temps actively.
Run command line top and see if some process goes wild. Look for zombies.
Monitor power/battery issues. Use either battery or ac.

Do a complete install again after you run memtest for a few days.

Can try different distro. Double check md5/shal downloads.

If a system has a chance it might report to some file. /var is a typical location for that information. There is a way to make that more verbose but I forget how.
 
Old 02-06-2021, 04:35 PM   #8
dark_avenger
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
The problem has resolved so I suspect it was a fedora kernal issue.
 
Old 02-07-2021, 01:56 AM   #9
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
^ Good. Please mark your thread SOLVED now (see my signature). Others will benefit.
Quote:
Originally Posted by dark_avenger View Post
Thanks for your patience. I tried the following and was left with an empty text file. What did I do wrong? The journal is from empty.

systemctl --lines="all" --since "2020-01-24 12:30:00" --until "2020-01-24 14:30:00" > log_systemd.txt

The output is:-

"-- Logs begin at Fri 2021-01-15 10:26:34 GMT, end at Sun 2021-01-24 16:53:41 GMT. --
-- No entries --"
For future reference:
Are you sure you formatted the date correctly? Does a simple "journalctl -b -1" give anything? Or just "journalctl"?
It is possible that persistent journaling isn't switched on.
Please show us
Code:
cat /etc/systemd/journald.conf
 
1 members found this post helpful.
Old 02-07-2021, 03:46 AM   #10
dark_avenger
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
^ Good. Please mark your thread SOLVED now (see my signature). Others will benefit.


For future reference:
Are you sure you formatted the date correctly? Does a simple "journalctl -b -1" give anything? Or just "journalctl"?
It is possible that persistent journaling isn't switched on.
Please show us
Code:
cat /etc/systemd/journald.conf
I get output from both journalctl -b -1 & journalctl.

cat /etc/systemd/journald.conf : -

[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
#RateLimitBurst=10000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMaxFiles=100
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#RuntimeMaxFiles=100
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=no
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K
#ReadKMsg=yes
#Audit=yes

Last edited by dark_avenger; 02-07-2021 at 03:47 AM.
 
Old 02-09-2021, 12:47 PM   #11
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
Code:
[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
#RateLimitBurst=10000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMaxFiles=100
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#RuntimeMaxFiles=100
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=no
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K
#ReadKMsg=yes
#Audit=yes
Please use CODE tags instead of Quote tags (see my signature).
Everything in this file is commented out.
What's the default for "Storage" on your system? Maybe "man journald.conf" has answers, or the Fedora wiki.
 
  


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
Possible to set up scheduled computer shutdowns in Fedora 19? Cabroncito Linux - Newbie 1 09-23-2013 02:59 AM
Fedora 19 random shutdowns mongrel2013 Fedora 2 07-23-2013 03:34 PM
fedora 10 shutdowns automatically vinnie_vinodh Fedora 3 10-07-2009 09:15 AM
Why Fedora 9 freezes or shutdowns? sandeepvreddy Linux - Newbie 1 10-29-2008 08:31 AM
phantom disk problem reading floppy wsimmons Linux - General 3 10-19-2001 08:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:07 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