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

Notices


Reply
  Search this Thread
Old 03-11-2021, 01:23 PM   #1
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
Hardened 5.10.18 crashing every few days, can't find cause


I've been dealing with my hardened install, which I use as an Unbound/DNSCrypt server for the home office network, crashing every few days with no discernible core dump - even after it's already been set up and should be logging to /var/crash - or log entries. Journald always stops logging a few minutes before crash. This ALWAYS happens when I'm out of the room so I can't see anything happening on screen either. And the craziest part??

If I try to induce a crash dump through the SysRq keys, and possibly in the process figure out what in God's name is keeping this system from writing to /var/crash, the hard drive will automatically go to sleep once I press S or U. Call me crazy, but I thought the correct operations for that were "sync" and "unmount" rather than "sleep."

Sometimes I'll end up being booted to recovery mode with errors on the partition used for /var/log. I really want to know what's causing this now, because I'm all out of answers on my end.
 
Old 03-11-2021, 01:42 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Could it possible be a hardware issue like a corroded capacitor? A common issue on older boards that is only detected by physical examination of the capacitors for leaks or bulging.
 
Old 03-18-2021, 02:44 PM   #3
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Original Poster
Rep: Reputation: Disabled
I would hope it's not that, being one of those bubble-sealed laptops that it's next to impossible to get open I'm SOL should that turn out to be the cause.

But on the slightly better side of things, I managed to see it happen this time. Had a couple of things happening, one of them being an AUR compilation job to update my selinux packages. My USB drive was in, kernel.deny_new_usb was set to 0, and the light on the USB was blinking every second. I thought the system couldn't sense my USB drive, but had other things to fix at the time. Right before the crash, as both of these things were still going on, the caps lock light ALSO started blinking fast.

That was it. Boom, down like a drunk sorority girl in New Orleans.

Booted into a Kali Live USB I keep around for work purposes to (hopefully) repair partitions and fix things. Still no core dump.
 
Old 03-18-2021, 03:26 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
May I suggest a way forward?

When it crashes out, power off, and reboot with anything but your hardened system. Presuming you boot a live system, mount the hardened slackware root and examine /var/log/dmesg on the hardened system. If the hardened system is mounted on /mnt, you want /mnt/var/log/dmesg - the end of it, which might show interesting stuff. Post anything interesting.
 
  


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
[SOLVED] samba 3.1 get down every few days in centos 6.2 khak.pa Linux - Newbie 1 01-18-2012 02:56 AM
[SOLVED] Nagios server crashing every 3 days.... chrisgti Linux - Server 1 11-28-2011 06:44 AM
Apache stops responding to HTTP requests every few days GrdLock Linux - Server 3 12-29-2010 05:47 PM
Why does my internet stop every few days? SentralOrigin Linux - Networking 7 08-08-2007 09:21 PM
hardened linux from scratch glibc build hardened-specs.sh problem behmjoe Linux From Scratch 2 09-04-2005 02:06 PM

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

All times are GMT -5. The time now is 09:02 PM.

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