LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2013, 06:21 PM   #1
communeofloon
LQ Newbie
 
Registered: Sep 2013
Distribution: Ubuntu 12.04
Posts: 16

Rep: Reputation: 0
Ubuntu 12.04 x64 crashed on me, how to diagnose what went wrong?


Hi, all. This is my first time using these forums, so hopefully I'm posting in the right place. I'm not new to using Linux - I've been using Ubuntu for a few years now - but my level of knowledge is definitely 'newbie', thus why I'm posting here.

As the title says, my computer just crashed on me; details below. I luckily recently backed everything up, so I'm not trying to recover anything, I'd just like to know if and how there is a way to diagnose what happened so I can avoid it when I do a reformat. I've been having issues with this install from the get-go (very slow and laggy, lots of grey-screens, and rather frequent disk checks on startup), so I assume either something went wrong when I last reformatted or I have a hardware issue, neither of which I have enough knowledge to diagnose.

Details of crash:
I was attempting to install some software via the terminal, and I got an intrusive error message (didn't write it down) while typing, then the terminal froze. I quit out of terminal and reopened it. Again, typing the command, the error message came up, then stopped interrupting my typing, then the terminal was unresponsive as I attempted to add a new repository (ehoover/compholio) and install a program (netflix-desktop). Then terminal and my entire computer completely froze. I manually powered down, and upon powering back up, the initial Ubuntu loading screen came up and did not change. Again, powered down manually, got to the loading page, this time it said 'ubuntu 12.04' and was in a pixellated format. Stayed on this screen for awhile and then went through some code (including 'I/O error, dev/sda'), and then went to a full-screen terminal asking for login, but was not responsive. Again manually powered-down, again went through the same process, but this time ended on a black screen. I opened the tower up and nothing seemed overly hot.

Using recovery mode, I ran dmesg. Nothing popped out to me as an error message, but I don't know what I'd be looking for. I have a pic of the screen if need be (not seeing how to do an attachment here, though).

Thanks.
 
Old 09-01-2013, 06:54 PM   #2
communeofloon
LQ Newbie
 
Registered: Sep 2013
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
I just tried dmesg again and realized I was just looking at the very end of the output. Looking at the beginning parts, the following appear multiple times throughout, not necessarily together:

ata1.00: status {DRDY ERR }
ata1.00: error: { UNC }
ata1.00: failed command: READ FPDMA QUEUED
sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
end_request: I/O error, dev sda, sector 1342547976

As well, looking throughout the output, I found these lines that I thought might be helpful, they are not necessarily together in the output (if there is a way to export this output while in recovery mode, I'd be happy to do it):
BIOS was not able to find an aperature
ERST: Table bot found!
GHES: HEST not enabled!
EDAC amd64: DRAM ECC disabled.
EDAC amd64ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver.
(Something about ATI) taints kernel.
Disabling lock debugging due to kernel taint
[fglrx] Maximum main memory to use for locked dma buffers: 3294MBytes.
Kernel PAT support not enabled
 
Old 09-01-2013, 07:04 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
This looks like a hardware issue, in particular it seems that your harddisk is dying. I recommend to test the disk with the manufacturer's diagnosis tool.
 
Old 09-01-2013, 07:07 PM   #4
communeofloon
LQ Newbie
 
Registered: Sep 2013
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
How would I go about doing that?

Also, what information indicates to you that it might be the harddrive? (I'm not questioning the advise, just trying to learn) Thanks.
 
Old 09-01-2013, 07:19 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,333

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
You might try googling diagnostic tools for " " hard drive. Insert name of manufacturer between quotes.
 
Old 09-01-2013, 07:34 PM   #6
communeofloon
LQ Newbie
 
Registered: Sep 2013
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
Got it, will do. I should have been a bit more specific, how do I physically test the drive? I assume I need to connect it to a working computer to test this? Do I just plug it in, turn on the comp, and run the tool?
 
Old 09-01-2013, 09:03 PM   #7
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
Yes it looks like the harddrive is goosed. You could try a smartctl test from a live cd such as partedmagic if you can find a gratis download.

Fred.
 
Old 09-01-2013, 10:34 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
Quote:
Originally Posted by communeofloon View Post
How would I go about doing that?
Usually those tools come the same way as Linux distributions, as bootable CDs. Just boot from the tool's CD and test the disk, this will work in the machine where the disk is located, no need for a different computer except downloading and burning the disk.
Quote:
Also, what information indicates to you that it might be the harddrive?
From my experience these error messages indicate a bad harddisk:
Code:
ata1.00: status {DRDY ERR }
ata1.00: error: { UNC }
ata1.00: failed command: READ FPDMA QUEUED
sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
end_request: I/O error, dev sda, sector 1342547976
The disk connected to the first (S)ATA port, named sda by the kernel, seems to have bad sectors and the space for automatically replacing those sectors is already used up, which indicates that this disk will fail soon due increasing amounts of bad sectors.
 
Old 09-01-2013, 11:37 PM   #9
communeofloon
LQ Newbie
 
Registered: Sep 2013
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
Good to know. Thanks, all.
 
  


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
FFMPEG for APACHE 2.4.6 (x64), PHP 5.5 (x64), MYSQL 5.6 (x64) on WINDOWS 8 (x64) Punctual Programming 3 08-07-2013 06:20 PM
ubuntu server - how to diagnose not sending emails problem barnea10 Linux - Server 14 07-03-2013 10:57 PM
Install Ubuntu 12.04 permanently over wubiUbuntu (Windows7 crashed but Ubuntu works) THorphy Linux - Newbie 1 06-05-2012 08:40 AM
X.org crashed, files missing, unable to exactly diagnose. Stimz Ubuntu 3 07-06-2006 05:32 AM
Crashed system-Mdk moderator's wrong advice. Maintech Linux - Software 16 01-17-2004 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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