LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-05-2006, 02:50 AM   #1
kate
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
Question hardware problem


guys, besides the /var/log/messages are there any where else we can get a description on a certain part of hardware failure in the system from the OS?
 
Old 12-05-2006, 06:06 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Depends on the type of hardware. For hards drives there's smartctl if the drive is S.M.A.R.T. capable. You might be able to run stress tests (e.g. Prime95) to determine if a component is bad. In general, however, the kernel doesn't have any ways of determining hardware health, it just sees the symptoms when things go wrong.
 
Old 12-05-2006, 06:51 PM   #3
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Most distributions also have /var/log/dmesg, and if not, just use the `dmesg` command from console or terminal.
 
Old 12-05-2006, 07:01 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
There are some utility programs for this:
lshw, lspci spring to mind.
 
Old 12-07-2006, 09:56 PM   #5
kate
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks guys, but my system doesn't have the smartctl command, plus, i already looked into the dmesg, it doesn't show anything wrong...
Funny thing is the problem looks like an I/O error. which is tied to a particular disk section.. but the dmesg has no errors at all on this.
 
Old 12-07-2006, 10:27 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Try booting into single user mode (or off a Knoppix disk, which is the safest way) and run badblocks on your hard drive. if there is a bad sector, it should detect it. Don't run badblocks while your system is fully booted up and file systems are mounted read/write.

You should also fsck the partition in question (fsck /dev/whatever) after finishing the badblocks scan,
 
Old 12-11-2006, 11:50 PM   #7
kate
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks BT! appreciate it!
 
  


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
Keyboard Lockup problem either SuSe problem, or hardware???? Help!!!!! MainMethod22 Linux - Newbie 4 03-10-2006 10:42 PM
internet hardware causing problem with sound hardware anindyanuri Linux - Networking 0 02-07-2006 08:50 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Internet and LAN access is unstable-is this a hardware problem or a software problem? soren625 Linux - Networking 1 06-07-2004 06:43 AM
Not as much of a Solaris problem rether hardware Ultra 10 problem (video card) neo77777 Solaris / OpenSolaris 7 06-24-2003 08:36 PM

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

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