commands hanging when querying hardware


 
Thread Tools Search this Thread
Operating Systems Solaris commands hanging when querying hardware
# 1  
Old 04-24-2009
commands hanging when querying hardware

Hi all

Got another strange one. If I try to enquire about the hardware, the command hangs implying Ive got a hardware issue. So, if I execute :-

iostat -en
sysdef - ( stops at the devices part )
format
cfgadm -al

Anything that searches the devices, then the command hangs.

The server has two se3310 arrays attached via dual bus configuration. A disk had failed on there, so I thought this was causing the issue. This was replaced, but still thesre commands dont work, i.e. device issue

I init 0, reset-all, probe-scsi-all to see if devices were visible, and they were, all , poweroff / poweron, probe-scsi-all, boot -s but still something is causing these issues on the device bus.

Probe-scsi-all :-

{1} ok probe-scsi-all
This command may hang the system if a Stop-A or halt command
has been executed. Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) y
/pci@1f,700000/scsi@2,1

/pci@1f,700000/scsi@2
Volume 0
Unit 0 Disk LSILOGIC1030 IM IM1000 143374706 Blocks, 70007 MB
Target 2
Unit 0 Disk SEAGATE ST373307LSUN72G 0707 143374738 Blocks, 70007 MB
Target 3
Unit 0 Disk SEAGATE ST373307LSUN72G 0707 143374738 Blocks, 70007 MB

/pci@1d,700000/pci@2/scsi@5

/pci@1d,700000/pci@2/scsi@4
Target 0
Unit 0 Device type d SUN StorEdge 3310 0325
Unit 1 Disk SUN StorEdge 3310 0325 <------------ disks
Unit 2 Disk SUN StorEdge 3310 0325
Unit 3 Disk SUN StorEdge 3310 0325
Unit 4 Disk SUN StorEdge 3310 0325
Target 1
Unit 0 Device type d SUN StorEdge 3310 0325 - SBK
??????????????????????? <------------ no disks mentioned although this array is a mirror of the above
???????????????????????
???????????????????? ??

/pci@1c,600000/pci@1/scsi@5

/pci@1c,600000/pci@1/scsi@4
Target 0
Unit 0 Device type d SUN StorEdge 3310 0325
Target 1
Unit 0 Device type d SUN StorEdge 3310 0325


Look at the line with SBK next to it. I reckon I should see addtional lines underneath referring to the disks in that array, but I dont. So, Im assuming Ive got issues eith that array. ?? What do u guys reckon ?

Any ideas what I can look for ? use to find the offending device ?

SBK

Last edited by sbk1972; 04-24-2009 at 08:43 AM..
# 2  
Old 04-25-2009
you should not type yes "y" when it prompts that it'll that it'll hang
{1} ok probe-scsi-all
This command may hang the system if a Stop-A or halt command
has been executed. Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) n
{1} ok
{1} ok reset-all
{1} ok probe-scsi-all
This command may hang the system if a Stop-A or halt command
has been executed. Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) y

You must ask SUN engineer on which devices path it hanged, probably you have to change the system board or reset the NVRAM

Last edited by DukeNuke2; 04-25-2009 at 06:45 AM..
# 3  
Old 04-25-2009
sbk1972 - this might be something i've seen before. if you run say prtconf or really anything that queries the hardware, the system drops or crashes. can you get us some details about the system like `uname -a`. it might be a patch upgrade.
# 4  
Old 04-26-2009
pupp might be right.. for my answer, I suspected there was some power outage issue that was cusing the "hang", so I provided that ...
# 5  
Old 04-27-2009
Morning gents, hope you all had a good weekend.

Thanks for your replies.

Incredible. The probe-scsi-all command, I did this after setting auto-boot? to false, and doing a reset-all, etc etc etc. I missed a few of the commands out when I cut/ pasted. I know about the probe-scsi, when you havent done the reset-all senario, so always do that first.

pupp - you could be on to something regarding the patchlevel :- XXXXXXXXXX 5.9 Generic_122300-29 sun4u sparc SUNW,Sun-Fire-V440

If I did a cfgadm -al / sysdef -i / prtconf it would hang, suggesting that a device isnt respongding, infact the monitoring script I cron off every hour, was also waiting, so if you did a ps -ef | more, you would see tons of iostat / metastat / etc etc, as none of these commands were running, and were sleeping.

I did a reboot, didnt work, so did the ok promp checks. Not sure, but will go visit the server today and find out.

Looking in the /var/adm/messages file I see :-

Apr 27 07:42:14 XXXXXXXXXXX SUNWscsdMonitor[541]: [ID 610721 daemon.error] [SUNWscsd 0x02060B01:0x00000000 Warning] <rctrl5000> Unable to open I/O transport layer (dev = eth 172.XX.XX.XX,58632,65537,8F3644134C9999452B7E29FEF8452B7E29FEF8452B7E29FEF8452B7E29FEF8452B7E29FEF84 52B7E29FEF8452B7E29FEF8452B7E29FEF8452B7E29FEF8452B7E). {Unique ID#: 08288e}



SBK

Last edited by sbk1972; 04-27-2009 at 04:11 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Querying v$session table

Hi All, I'm using below code entry_data_control=`sqlplus ${sysuser}/${syspwd} << data_control whenever sqlerror exit sql.sqlcode; whenever oserror exit failure; INSERT INTO LSHADMIN.STUDY_LEVEL_TABLE(SESSION_SID,SESSION_SERIAL_NO,FILE_NAME) ... (3 Replies)
Discussion started by: Pratiksha Mehra
3 Replies

2. Hardware

Useful Hardware commands

Are there any other useful hardware commands to get information about your hardware? Is there any information that can't be found with these commands? cat /proc/cpuinfo cat /proc/meminfo dmesg lspci sudo dmidecode cpuid | more lspci -v | grep VGA sudo lspci -v -s 00:02.0 sudo lspci -vvv... (12 Replies)
Discussion started by: cokedude
12 Replies

3. Shell Programming and Scripting

Generic script for Querying a DB

I have a few databases that i need to get some basic output from... so I'll be returning 1 or 2 records from a variety of different databases and the input queries will always differ. What im looking for is a generic script that I can use across of the databases. Theory being i have: ... (2 Replies)
Discussion started by: atelford
2 Replies

4. Red Hat

Error in querying file information

Hi, We have one application running where there is Linux Machine. For some some process I found the following message came, error 5.8/116455-02/116455-02.zip Error in querying file information: Permission denied :confused: If anybody has any idea for this please let me... (2 Replies)
Discussion started by: sptr
2 Replies

5. HP-UX

Querying HP VA array

Hello, all... I've got an older HP-UX 11i machine hooked up to an HP VA array. I've never worked with VA arrays, so I was wondering if anyone could point me in the direction of some documentation on querying and manipulating VAs (HP VAs for Dummies or something). I'm used to EMC arrays, so... (2 Replies)
Discussion started by: kknigga
2 Replies

6. Shell Programming and Scripting

Querying database from unix

Hi, I have a shell script to query the database to get the statistics of tables like sum,max,min,etc of all numeric columns,max and min of date columns and length of varchar columns for each and every table. There are nearly 1600 tables. My script queries few tables like about 100 tables and... (3 Replies)
Discussion started by: ragavhere
3 Replies

7. UNIX for Dummies Questions & Answers

Hanging commands

Hello, I just tried to run this command: /usr/lib/sendmail -d0.1 -bt < /dev/null | grep -i version Its doing what I want: writing out the sendmail version. But on some machines it writing the version and then exit to the prompt but on others its writing the version but then hangs, I need to... (0 Replies)
Discussion started by: jOOc
0 Replies

8. AIX

AIX Hardware commands

Hi All, Needed commands to find Monitor , chassis & keyboard related information on AIX. Please please please help. Thanks VK (2 Replies)
Discussion started by: Veenak15
2 Replies

9. HP-UX

HPUX Hardware commands.

HI ALL, I am new tp HPUX and i am looking for command that will retive me the following information on HPUX: Chassis Name & Serial Number: Monitor Name BIOS Name EthernetPort Name IPEndpoint Name PointingDevice Name Keyboard NetworkPrinter Name LocalPrinter (5 Replies)
Discussion started by: Veenak15
5 Replies

10. AIX

AIX and SUN unix commands for hardware monitoring

Hello again, I would like to know if the following commands: diag, errpt, lscfg, lspv, lsvg, lsps, lslv for AIX and prtdiag, psrinfo, sysdef for SUN are native to these systems or if they are in fact scripts that are added after the unix installation. Thank you in advance. Have a nice day (4 Replies)
Discussion started by: VeroL
4 Replies
Login or Register to Ask a Question