LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-25-2016, 04:29 PM   #1
oneleaf
LQ Newbie
 
Registered: Aug 2014
Posts: 12

Rep: Reputation: Disabled
Question How to tell if crash/freeze is hardware or software related?


Hello,
I have a Haswell Intel NUC that has been working well for two years, on Linux Mint Xfce 17, without any hiccups. Just the past couple of weeks, I have experienced a number of complete freezes. These are the symptoms:
-temperatures and CPU load prior to freeze is normal.
-always happens when I am doing something. Usually file browsing on Thunar or typing an email. It is on 24/7 and never crashes when left unattended. Even left unattended while doing heavy encoding with cpu at 100% for an hour has never crashed the system. Yet it might crash while I am using the computer for simple stuff.
-Crashes are hard crashes. No keyboard/mouse activity. Unresponsive to magic sysrq key. Cannot SSH into the machine from another computer. Only solution is to hold power button down and turn it off.
-Ran a complete memtest and tested hard drives for errors. Everything checks out.
-Nothing is written to any logs at the time of the crash.

Based on the symptoms, what further steps can I take to decide whether this is hardware or software related? Thanks!
 
Old 08-25-2016, 04:37 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Probably hardware, but you can test with a live distro.
 
Old 08-27-2016, 03:54 AM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,828
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Quote:
Originally Posted by oneleaf View Post
-Ran a complete memtest.
A is one. Complete is harder to define. One pass I can't consider a "complete memtest", because it tests more intensively on successive passes after the first. Overnight is a much better indicator, but even longer isn't unusually necessary to discover borderline RAM.
 
Old 08-27-2016, 11:56 PM   #4
oneleaf
LQ Newbie
 
Registered: Aug 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Yea, I meant one pass. I suppose I can run it overnight. I updated the BIOS and so far, it has been several days without a crash, so perhaps it is software related.

I am wondering if anyone has insight in some of the details of the crash, particularly in that it never crashes when under heavy CPU load, but only when I am clicking around on the desktop. I would have thought heavy CPU usage would bring about hardware-related crashes more easily.
 
Old 08-28-2016, 12:15 AM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,828
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Load level has nothing directly to do with effects of problem RAM. Error consequences are about whatever is trying to use unreliable RAM location(s).

Note that most systems with Intel gfx, your NUC probably included, only have Intel gfx, which shares RAM with the OS rather than having its own dedicated to video.

So if indeed RAM is the problem here, crashes could be related to correlating mouse pointer output (video) with the effects of the pointer simply being located where it is, or a consequence of clicking.
 
Old 08-28-2016, 02:22 AM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Emerson View Post
Probably hardware, but you can test with a live distro.
+1

It's possible that the motherboard is malfunctioning, a live distribution would be a way you could confirm this.

Regards...
 
Old 08-28-2016, 04:20 AM   #7
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
Quote:
Originally Posted by ardvark71 View Post
It's possible that the motherboard is malfunctioning, a live distribution would be a way you could confirm this.
no.
a live distro is only a way to make sure that it isn't the installed distro that is causing the issue.
if it fails on both, that still doesn't confirm a hardware failure.
 
Old 08-28-2016, 10:40 AM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by ondoho View Post
no.
a live distro is only a way to make sure that it isn't the installed distro that is causing the issue.
if it fails on both, that still doesn't confirm a hardware failure.
Hi...

What would you recommend in this case, if there's still a problem? You're right that it doesn't automatically confirm a hardware failure but it's one way to help diagnose it.

Regards...

Last edited by ardvark71; 08-28-2016 at 10:49 AM. Reason: Added wordage.
 
Old 08-28-2016, 10:45 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
Quote:
Originally Posted by ardvark71 View Post
What do you recommend in this case?
i'm not recommending anything, just saying that you are jumping to conclusions.

that said, it's always good to eliminate factors, and trying different distros - and operating systems - does that.

but saying "it fails on distro A, AND it fails on distro B, that confirms hardware failure" is wrong.
 
Old 08-28-2016, 10:55 AM   #10
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by ondoho View Post
but saying "it fails on distro A, AND it fails on distro B, that confirms hardware failure" is wrong.
Your correct as far as it doesn't automatically confirm hardware failure in and of itself. That's not what I meant to imply in my original post. I added a sentence to my post to you above to reflect that.

Regards...
 
Old 08-28-2016, 11:20 AM   #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
Quote:
Originally Posted by ardvark71 View Post
Your correct as far as it doesn't automatically confirm hardware failure in and of itself. That's not what I meant to imply in my original post. I added a sentence to my post to you above to reflect that.
ok.
but i think it's a little fishy to so significantly change a post after someone else already replied to it (and replied specifically to the part that you then changed afterwards).
 
Old 08-28-2016, 05:58 PM   #12
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by ondoho View Post
but i think it's a little fishy to so significantly change a post after someone else already replied to it (and replied specifically to the part that you then changed afterwards).
I'm not sure what you mean here. I was in the process of adding "You're right that it doesn't automatically confirm a hardware failure but it's one way to help diagnose it" to post #8 when you posted #9.

But it's cool though, I think it was just a misunderstanding and I have no ill feelings. Hope your day is going well.

Regards...
 
  


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
hardware related freeze dukeinlondon Linux - Hardware 5 05-12-2006 01:30 PM
IDE device load failure, hardware of software related? perfectblue Linux - General 2 02-08-2006 01:58 AM
Is the problem exactly hardware or software related? vmuralikrishnan Linux - Software 1 03-24-2005 03:39 AM
I'm having CD Burner problems...not sure if it's hardware or software related. TheMusicGuy Linux - Hardware 6 09-18-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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