LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-28-2018, 07:23 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,542

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
First ever unexplained hardlock with Slackware in almost 20 years.


So I have had lockups in the past but it was because of something I did or hardware issues. A few hours ago I plugged in a 2.5 hard drive witha SATA to USB adapter. I use this drive to store music, after I transferred the files I safely ejected the drive and went out side for about 15 minutes. When I came back my computer was completely frozen and I had to reset. This is not that big of deal, but I was just wondering if there are any logs I should be looking at to see what caused this. Again this is not a problem, just my own curiosity.
 
Old 09-28-2018, 07:31 PM   #2
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 732

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
The usual: messages debug syslog in /var/log/
 
Old 09-28-2018, 09:55 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,542

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Yeah I've combed through, didn't see anything. but I didn't look that hard. I just find this situation an amazing testament to Linux and Slackware stability
 
Old 09-28-2018, 11:40 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,100

Rep: Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473
I'd see stuff like that when my power supply was starting to fail.
 
2 members found this post helpful.
Old 09-29-2018, 12:42 AM   #5
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 732

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
@Daedra
Sh... happens and when it's a HW failure (or power issue as Richard Cranium suggested) you might not get anything logged
You could still focus on the log files and look after the first entries during the reboot, just after the hardlook, that's if you can remember the approximate time when you did it. If you find those entries, check if you got something before the reboot.
You should start to worry if these hardlocks are getting repetitive.
 
Old 09-29-2018, 12:48 AM   #6
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,298

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
I had some unexplained hardlocks recently with one machine. There was never anything written to the logs, but it seems to be the kernel's fault, because it only happens with some kernel versions. Thankfully, I haven't experienced them at all again since the 4.14 series. Others with the same hardware haven't experienced it either as far as I know, so it's a real mystery.
 
Old 09-29-2018, 08:44 AM   #7
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 489

Rep: Reputation: 229Reputation: 229Reputation: 229
Static Charge

A static charge buildup in your body can discharge through a USB port when plugging/unplugging USB devices. I have this happen occasionally when I'm not not careful. Usually the computer locks up.

Zapping a computer with a static discharge, like having a full disk drive, can result in a variety of unpredictable failures.

One can argue that the computer hardware must be defective for not properly handling the static discharge, but nonetheless the discharge may "break" the running computer.
 
1 members found this post helpful.
Old 09-29-2018, 08:47 AM   #8
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by Daedra View Post
Yeah I've combed through, didn't see anything. but I didn't look that hard. I just find this situation an amazing testament to Linux and Slackware stability
The Linux (in general) is not as stable as you think.

Yeah, it is much more stable than a particular and well known OS made in Redmond, but even more stable are the BSD flavors and the champion is Solaris.

Anyways, depends much on the particular hardware and the particular software versions. As in: depends very much.

Last edited by Darth Vader; 09-29-2018 at 08:53 AM.
 
Old 09-30-2018, 06:10 AM   #9
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 69
I found the linux kernel to behave badly when it runs out of memory.

For a long time I had no swap device, and when the system got into memory pressure, it would become gradually unresponsive, processes slowing down to a halt, with load average going through the roof (30, 50, ...) UNTIL finally the OOM killer set in and killed a memory hog, after which the system returned to normal.

Then I falsely thought things would work better with a swap device. So i added an old 40 GB SSD drive I had lying around. I use it in toto as a block device, through the kernel encryption layer because otherwise sensitive data might be persisted on the swap device.

The result is that now, when the system gets into memory pressure, it freezes completely for multiple minutes. ZERO RESPONSE. after a few minutes it comes back and I find anything from 5 to 15 GB having been swapped out to the swap device.

It would have never crossed my mind that the linux kernel could perform even worse than windows in this respect, but it clearly manages to do so.
 
Old 09-30-2018, 11:55 AM   #10
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: Slackware
Posts: 175

Rep: Reputation: 47
Check the memory. Unexplained crashes are often due to marginal memory.
Ed
 
1 members found this post helpful.
Old 09-30-2018, 04:40 PM   #11
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,612

Rep: Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917Reputation: 4917
Quote:
Originally Posted by Darth Vader View Post
The Linux (in general) is not as stable as you think.

Yeah, it is much more stable than a particular and well known OS made in Redmond, but even more stable are the BSD flavors and the champion is Solaris.
What's the source of this "data"?

Code:
13:39:19 up 646 days,  1:28, 16 users,  load average: 0.30, 0.24, 0.18
Pentium III, 128MB, heavily used machine running public Internet services.
 
14 members found this post helpful.
Old 10-01-2018, 12:13 AM   #12
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 177

Rep: Reputation: 62
It happens. I've had it happen a few times when running modded minecraft and run out of RAM. Also most recently it happened while playing No Man's Sky. I forgot I had chrome running, as well, and chrome will suck up as much RAM as it can. Two hogs of RAM on a computer that's long in the tooth is asking for trouble.

Also, in my experience random hard locks can be video card related. If it keeps happening, swap out the video card?
 
1 members found this post helpful.
Old 10-01-2018, 05:13 AM   #13
Lysander666
Member
 
Registered: Apr 2017
Location: London
Distribution: Slackware 14.2 + Xfce
Posts: 930
Blog Entries: 2

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
Quote:
Originally Posted by garpu View Post

Also, in my experience random hard locks can be video card related. If it keeps happening, swap out the video card?
Interesting, I had one yesterday when trying to launch a video through VLC. I just killed all the processes and logged back into the desktop [should have enabled a terminal shortcut for xkill which I've done now]. It happens occasionally, and from memory, mostly when trying to launch a video. I don't consider it a big issue.
 
Old 10-01-2018, 08:29 AM   #14
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,298

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Quote:
Originally Posted by Lysander666 View Post
Interesting, I had one yesterday when trying to launch a video through VLC. I just killed all the processes and logged back into the desktop [should have enabled a terminal shortcut for xkill which I've done now]. It happens occasionally, and from memory, mostly when trying to launch a video. I don't consider it a big issue.
If you can kill all the processes and log back in, that wouldn't be classified as a "hardlock" in the way the OP was using it.
 
1 members found this post helpful.
Old 10-01-2018, 08:39 AM   #15
Lysander666
Member
 
Registered: Apr 2017
Location: London
Distribution: Slackware 14.2 + Xfce
Posts: 930
Blog Entries: 2

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
Quote:
Originally Posted by montagdude View Post
If you can kill all the processes and log back in, that wouldn't be classified as a "hardlock" in the way the OP was using it.
Hmm indeed. Thanks for the clarification. In that case I don't think I've experienced a complete hardlock in Slackware. The rarity of what the OP describes shows the strength of this OS.
 
  


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
Slackware current 64 hardlock GreenFireFly Slackware 7 12-20-2015 03:19 PM
Slackware is 21 Years Old jeremy Linux - News 1 07-19-2014 12:33 AM
Quasi-random system failure/hardlock/freeze with compiz-fusion and Intel video kopatops Linux - Software 0 01-07-2011 04:40 AM
dvb-utils' scan causes hardlock (hauppauge nova-t usb2 stick) neocookie Linux - General 3 01-30-2007 04:08 PM
Trying Slackware after years away Agent69 Slackware 5 06-04-2002 07:30 AM

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

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