LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 06:23 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,534

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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, 06:31 PM   #2
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 702

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

Original Poster
Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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, 10:40 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,037

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

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
@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-28-2018, 11:48 PM   #6
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
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, 07:44 AM   #7
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 487

Rep: Reputation: 226Reputation: 226Reputation: 226
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, 07:47 AM   #8
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
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 07:53 AM.
 
Old 09-30-2018, 05: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, 10:55 AM   #10
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: Slackware
Posts: 174

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

Rep: Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804Reputation: 4804
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 09-30-2018, 11:13 PM   #12
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 162

Rep: Reputation: 59
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, 04:13 AM   #13
Lysander666
Member
 
Registered: Apr 2017
Location: London
Distribution: Slackware 14.2 + Xfce
Posts: 685
Blog Entries: 1

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
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, 07:29 AM   #14
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
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.
 
Old 10-01-2018, 07:39 AM   #15
Lysander666
Member
 
Registered: Apr 2017
Location: London
Distribution: Slackware 14.2 + Xfce
Posts: 685
Blog Entries: 1

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

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

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