Operating System - HP-UX
1819803 Members
3212 Online
109607 Solutions
New Discussion юеВ

How to check Hardware Error Log ?

 
Steve Tang
Occasional Advisor

How to check Hardware Error Log ?

How to check Hardware Error log by command like Harddisk, RAM, NIC , etc....

Thanks
5 REPLIES 5
S.K. Chan
Honored Contributor

Re: How to check Hardware Error Log ?

Sometimes these hardware error do get captured into regular system log files like /var/adm/syslog/syslog.log and may show up in the output of /etc/dmesg. The tool that you use would depends on what component of the system you're after. For instance if you want to examine any errror related to RAM the tool I use is STM (eg: cstm command).
# cstm
cstm> map
cstm> sel dev
cstm> info
cstm> infolog
Look for "Memory Error Log Summary". Another way can be done with the "runutil" tool in cstm.
cstm> ru logtool
Logtool Utility> vd
The "vd" command is used to view the entire memory log file.
With the cstm prompt enter "he" to get the online help for more details. The same tool can be used to diagnose harddisk problem.

Bill Hassell
Honored Contributor

Re: How to check Hardware Error Log ?

As mentioned, cstm can obtain a lot of information about hardware errors. However, the online diagnostics must be installed and /usr/sbin should be in root's PATH when you run cstm. The online diagnostics are stored on your SupportPlus CDROM. Or if you do not have software support, you can download the diagnostics (and the rest of the SupportPlus CDROM) from the ITRC.


Bill Hassell, sysadmin
Michael Steele_2
Honored Contributor

Re: How to check Hardware Error Log ?

In addition to the above two replys, which are very accurate, diagnostics and STM are closely dependent upon the PDC firmware version. For this you'll need to know your server model, enter the command "...model..." and your PDC version.

grep -i pdc /var/tombstone/ts99
Support Fatherhood - Stop Family Law
KCS_1
Respected Contributor

Re: How to check Hardware Error Log ?

In addition,

h/w logs :

# dmesg

# /var/adm/syslog/syslog.log

# /var/opt/resmon/log/event.log ( if, installed Onlinediag)

# mstm or cstm
( if, installed Onlinediag)


# ioscan -funCdisk

# lanscan



good luck!
Easy going at all.
Eugeny Brychkov
Honored Contributor

Re: How to check Hardware Error Log ?

All replies above concern about OS logs. I would add the following:
PDC 'logs': at the PDC prompt run 'warn' command to see POST warnings;
GSP logs: if your machine has GSP (Guardian service processor) it has its hardware log, which can be viewed by getting into GSP (control-b keys combination) and issuing commands like 'SS', 'PS, and SL. When using SL command select error log and no filter. To return from GSP to console type 'CO'
Eugeny