Operating System - HP-UX
1753735 Members
4353 Online
108799 Solutions
New Discussion юеВ

Resetting SCSI syslog messages-what is this?

 
SOLVED
Go to solution
Lonny Balderston
Frequent Advisor

Resetting SCSI syslog messages-what is this?

Can someone tell me what's going on here? We had a va7100 controller failure on our RP5450 running UP-UX 11.11, controller replaced, then tape drive problems. But this is now ongoing, messages from /var/adm/syslog/syslog.log:

Jun 29 11:14:38 icgstx1 vmunix: SCSI: Resetting SCSI -- lbolt: 437922830, bus: 0
Jun 29 11:14:38 icgstx1 vmunix: SCSI: Reset detected -- lbolt: 437922830, bus: 0
Jun 29 11:14:43 icgstx1 vmunix: SCSI: Unhandled interrupt -- lbolt: 437923331, dev: cb001002
Jun 29 11:14:43 icgstx1 vmunix: lbp->state: 6060
Jun 29 11:14:43 icgstx1 vmunix: lbp->offset: ffffffff
Jun 29 11:14:43 icgstx1 vmunix: lbp->uPhysScript: f87be000
Jun 29 11:14:43 icgstx1 vmunix: From most recent interrupt:
Jun 29 11:14:43 icgstx1 vmunix: ISTAT: 0a, SIST0: c1, SIST1: 00, DSTAT: 80, DSPS: 00928800
Jun 29 11:14:43 icgstx1 vmunix: lsp: 0000000068712500
Jun 29 11:14:43 icgstx1 vmunix: bp->b_dev: cb001002
Jun 29 11:14:43 icgstx1 vmunix: scb->io_id: 1e5762
Jun 29 11:14:43 icgstx1 vmunix: scb->cdb: 12 00 00 00 80 00
Jun 29 11:14:43 icgstx1 vmunix: lbolt_at_timeout: 0, lbolt_at_start: 0
Jun 29 11:14:43 icgstx1 vmunix: lsp->state: 5
Jun 29 11:14:43 icgstx1 vmunix: lbp->owner: 0000000000000000
Jun 29 11:14:44 icgstx1 vmunix: scratch_lsp: 0000000068712500
Jun 29 11:14:44 icgstx1 vmunix: Script dump [000000005f659000]:
Jun 29 11:14:44 icgstx1 vmunix: 09000080 00928800 e25c0004 f87be7f8
Jun 29 11:14:44 icgstx1 vmunix: 80080000 f87be090 80080000 f87be090

Hundreds of the above messages. Thank you.
3 REPLIES 3
Sandman!
Honored Contributor

Re: Resetting SCSI syslog messages-what is this?

The major/minor number of the device cb001002 points to the SCSI controller attached to /dev/dsk/c0t1d0s2. The device name is odd for a PA-RISC system since only IPF devices follow that nomenclature. Would help if you could post the output of:

# lssf /dev/dsk/c0t1d0s2
# ioscan -f /dev/dsk/c0t1d0s2
Lonny Balderston
Frequent Advisor

Re: Resetting SCSI syslog messages-what is this?

# lssf /dev/dsk/c0t1d0s2
lssf: /dev/dsk/c0t1d0s2: No such file or directory
# ioscan -f /dev/dsk/c0t1d0s2
ioscan: Can't open /dev/dsk/c0t1d0s2: No such file or directory
### there is not even a /dev/dsk/c0t1d0
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Resetting SCSI syslog messages-what is this?

This isn't a disk device.

cb001002

CB identifies the major device number.
00 -- controller instance
1 -- SCSI ID (target)
0 -- LUN
02 -- device dependent

do an lsdev CB hex = 203 decimal and 203 probably is sctl (scsi pass-thru).

Do a man scsi_ctl to further explain the bits in the minor number.

Now to find the actual device (which may well be some tape library robotics) do this:

find /dev -type c -exec ls -l {} \+ | awk '{if ($5 == "203") {print $0}}'

and look for anything listed that has a minor device number equal to 0x001002

You could add that condition to the above awk matching $6.
If it ain't broke, I can fix that.