Operating System - HP-UX
1832935 Members
2970 Online
110048 Solutions
New Discussion

Determing device from error message

 
Randy Brown_1
Frequent Advisor

Determing device from error message

We recieved the following error messages in our syslog:

Feb 4 21:52:53 ds1-nhdr vmunix: SCSI: Request Timeout -- lbolt:
> 46931652, dev: cd030000
> Feb 4 21:52:53 ds1-nhdr vmunix: lbolt_at_timeout:
> 46871552, lbolt_at_start: 46871552
> Feb 4 21:52:53 ds1-nhdr vmunix: SCSI: Abort -- lbolt: 46931652, dev:
> cd030000, io_id: 31600b5

In looking around on our system we came up with two possible culprits. /dev/rmt/0m and /dev/dsk/c0t3d0

How can we distinguish:

ds1-nhdr:brianm:16$ ls -l /dev/rmt/0m
crw-rw-rw- 2 bin bin 205 0x030000 Feb 4 07:23 /dev/rmt/0m

from:

ds1-nhdr:root:/->#ls -l /dev/dsk/c0t3d0
brw-r----- 1 bin sys 31 0x003000 Jun 2 1998 /dev/dsk/c0t3d0

to determine which device is failing?

Thank you,

Randy Brown

5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: Determing device from error message

Hi Randy:

The first two digits of the device are the major number. Hence, device 'cd030000' would be a major number 0xcd or decimal 205. That's tape.

Regards!

...JRF...
Uday_S_Ankolekar
Honored Contributor

Re: Determing device from error message

Try lsdev -C 205 , that should give you what device is.

205 is decimal value of hex cd , from your lbolt output cd.


-USA..
Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: Determing device from error message

..oops..I mean lsdev -c 205. On my machone it looks like a tape device.


-USA..
Good Luck..
Randy Brown_1
Frequent Advisor

Re: Determing device from error message

Thank you! That's exactly what I was looking for.

Randy
Steven E. Protter
Exalted Contributor

Re: Determing device from error message

Whatever device this points to, the lbolt points to a serious problem.

If it currently works, it won't for long. Either cabling or termination, or the device will have to be replaced. Make arrangements.

Exception. If you recently did an equipment swap like a hot swap of a drive, you will get an lbolt until next boot.

Doesn't look from the earlier info thats what happened.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com