LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 06-19-2002, 01:31 PM   #1
sanglih
LQ Newbie
 
Registered: Jun 2002
Posts: 12

Rep: Reputation: 0
How to check hardware failure?


Hi, I want to know how to check any hardware failure after RedHat loaded. Like DVD-Rom, ethernet card, and so on.
Any ideas?
 
Old 06-19-2002, 01:37 PM   #2
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
I am not too sure, you might want to check your /var/log/boot.log
 
Old 06-19-2002, 01:43 PM   #3
sanglih
LQ Newbie
 
Registered: Jun 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Well, as far as I know.. I thought somehow using I/O to check them whether they are well or not.
I just don't understand what that means.
 
Old 06-19-2002, 01:57 PM   #4
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
Quote:
Originally posted by sanglih
somehow using I/O to check them whether they are well or not.
I just don't understand what that means.
Could these be:

ping (input) the network, if u get a reply(output) which means your Ethernet device is good.

insert(input) a DVD or a VCD to play the disc, if the screen shows(output) the film, which mean the DVD drive is working fine.
 
Old 06-19-2002, 04:01 PM   #5
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
dvd and cdrom seek read errors will appear in "dmesg" as well as a lot of the common network cards failures (which aren't all that common). In the case of the drives, unless there are A LOT of seek errors, I wouldn't worry much about it.

Cheers,

Finegan
 
Old 06-20-2002, 11:30 AM   #6
sanglih
LQ Newbie
 
Registered: Jun 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for all replies.
Maybe I should be more descriptive.
I am building this machine that doesn't have any monitor or keyboard. I just want to output when something happen to any hardware I am using.
Seems like really hard task to do this.
I think I am gonna output to printer(only if something happen).

I could write a small program to write to the printer when any hardware failure detected.
I just don't know how to check these failures.. I guess I will buy a book and read(sigh).

Thanks.

-Young
 
Old 06-20-2002, 05:43 PM   #7
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Offhand about every PC BIOS I know won't let the machine boot without a keyboard attached. You can boot the machine, yank the keyboard, and go from there, but its a quirk to a lot of BIOSes.

If this thing is going to be networked, the easiest way to have error reports is have a script called from cron that checks through the various logs: /var/log/messages for instance, for certain errors, like the word "error" and then mails someone about it.

Just a thought,

Cheers,

Finegan
 
Old 06-22-2002, 12:47 PM   #8
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
At the moment my good old pentium 133 is running smoothwall
and its booting without keyboard and i use the
webinterface to shut it down. Just had to turn it of
in the bios.
When i recall it was: halt on all errors, except keyboard
 
Old 06-24-2002, 12:43 PM   #9
sanglih
LQ Newbie
 
Registered: Jun 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Keyboard&BIOS

OK.. booting without keyboard is no problem since I am going to build it from picking up the board.
I am just wondering is there any (like windows) signal from hardwares when something goes wrong.
I see some program like GKRELLM that I could adapt.
GKRELLM has UI and I don't have any monitor.
I want my machine to be as simple as possible.
I can look at GKRELLM and change it to no graphic??
I don't know. ..
 
Old 06-24-2002, 12:47 PM   #10
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
you can have a remote logging machine so all the logs from this machine will be sent to a logging machine, it is a matter of syslogd configuration
 
Old 06-24-2002, 02:24 PM   #11
sanglih
LQ Newbie
 
Registered: Jun 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks everyone.
What I want to know is.. I think. If something happen to any hardware, it'll log to /var/log/messages. That means it knows before log the error..
How does it know? There must be something like "watchdog" for hardware in order to log the error. I think I can catch the signal before logging.
 
  


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
Media Check Failure much1nko Fedora - Installation 4 03-28-2004 07:43 PM
Install failure - Partition Check Wapocalypse Linux - Newbie 34 06-13-2003 09:34 AM
hardware failure? Smerk Linux - Hardware 2 03-10-2003 08:12 AM
File system check failure Buttercups Linux - Newbie 8 07-06-2002 12:11 AM
File system check failure pergesu Linux - Software 4 11-18-2001 05:24 AM


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