Operating System - HP-UX
1833694 Members
3718 Online
110062 Solutions
New Discussion

ioscan causes system crash

 
SOLVED
Go to solution
Anthony Hill
Occasional Advisor

ioscan causes system crash

What can I begin checking to find out why ioscan would cause my system to crash?
Blood is thicker than water... and it tastes better too!
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: ioscan causes system crash

Hi:

"Crash"? Please define that further. Also, exactly what command syntax are you using?

In the meantime, have a look at '/var/adm/syslog/syslog.log'.

Regards!

...JRF...
Santosh Nair_1
Honored Contributor
Solution

Re: ioscan causes system crash

Since ioscan touches all the hardware on the system, I would look to see if you have some faulty device. Check /var/adm/syslog/syslog.log to see if there are any errors, specifically relating to hardware problems. Also, if the system paniced, you should have a system dump in /var/adm/crash. You can do a Q4 analysis (see the following URL for details):
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x2dc6cf38d6bdd5118ff10090279cd0f9,00.html

on the crash dump and look for HPMC errors...this again would indicate hardware problems. Finally, check the tombstones (for HPUX 11.0 and above) in /var/tombstones. The latest one is called ts99 in this directory.

Was there any recent hardware changes to this machine?

-Santosh
Life is what's happening while you're busy making other plans
Rita C Workman
Honored Contributor

Re: ioscan causes system crash

You can try the following:
1. Check /var/adm/syslog/OLDsyslog.log
...look for any messages
2. Check
/etc/shutdownlog
...look for panic message and some reason

I have had ioscan go 'flippy' on me because I had forgotten to load a patch PHSS_18742 or 43 depending on O/S.

Without some further info...like messages, your system config, etc...it's hard to say. Also, does your system come back up ok?? Are there any messages on your LED panel on the box?...could it be a flacky power supply or controller?....

Just some thoughts & ??'s that come to mind,
Rit
James R. Ferguson
Acclaimed Contributor

Re: ioscan causes system crash

Hi (again):

It might also be informative to limit the 'ioscan' to only the kernel's view and/or usable devices. For instance, if 'ioscan -fn' fails, does 'ioscan -kfn' or 'ioscan -ufn' fail too? [ The -k or -u options suppress scanning actual hardware ].

Regards!

...JRF...
Roger Baptiste
Honored Contributor

Re: ioscan causes system crash

Anthony,

Are you sure it was IOscan
which crashed the system??
""Normally"", Ioscan command
hangs if it can''t find out
a hardware which is listed
in the kernel.
Check whether there were
any changes done to /etc/ioconfig and
/stand/ioconfig files, by
looking at their timestamps.

#run ioscan with -k option
which reads the kernel
rather than scanning
the hardware.
ioscan -nkf >/tmp/ios.out
go through the file and
make sure you see everything
out there.

#Make sure the system is patched.

#Analyse the crash dump (q4)

#have a look at the syslog
and shutdown.log file.

-raj
Take it easy.
Bill McNAMARA_1
Honored Contributor

Re: ioscan causes system crash

ioscan -fnk
should not crash

You should have errors after startup in /etc/rc.log
and dmesg

This may give you the clue.

If you have fibre channel you may have a duplicated loop id.

Remove fibre links or analyse which one is wrong.

Does bdf crash? If it does, then you probably have some scsi problem not fibre.

Later,
Bill
It works for me (tm)
Anthony Hill
Occasional Advisor

Re: ioscan causes system crash

Thank you all. A hardware call has been logged and I hope to have this resolved soon.

Regards,
Anthony.
Blood is thicker than water... and it tastes better too!