From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d0ca804bbba7fe99 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: I/O Error Date: 1999/07/22 Message-ID: <7n8558$vnk$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 504183256 Distribution: world References: <7n7pq5$2tf$1@nnrp1.deja.com> Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 In article <7n7pq5$2tf$1@nnrp1.deja.com>, ivan.lopes@rio.rsl.com.br writes: >We are getting some error messages in uerf and syslog.dated but >I can't tell for sure what they mean. > It would be useful to know what version you're running, since I'd expect modern versions to include the logical number of the device with the error. >CLASS x0000 DISK >SUBSYSTEM x0000 DISK >BUS # x0001 > TARGET x0 The logical unit on bus 1, SCSI ID 0 has the error. >----- CAM STRING ----- > >ROUTINE NAME cdisk_complete The error was noticed and reported by the routine cdisk_complete. Presumably a completion routine for the CAM disk driver. >----- CAM STRING ----- > > Retries Exhausted It retried the I/O request some unknown number of times, but finally gave up. >----- CAM STRING ----- > >ERROR TYPE Hard Error Detected A bit of a catch-all for many error types. > >----- CAM STRING ----- > >DEVICE NAME DEC HSZ40 V31Z The logical unit is being presented to the host by an HSZ40 running V3.1 of the HSZ firmware. A bit dated, but not too old. > >----- CAM STRING ----- > > Active CCB at time of error >----- CAM STRING ----- > > Target selection timeout The "Active CCB" is attempting to report the CAM driver's internal data structure that was used for the I/O request. The target selection timeout, a SCSI protocol problem and is a bit surprising in this context. > >ERROR - os_std, os_type = 11, std_type = 10 I believe this is Uerf's error because it couldn't translate some part of the error packet. >----- ENT_CCB_SCSIIO ----- > >*MY ADDR x0EDCF100 >CCB LENGTH x00C0 >FUNC CODE x01 >CAM_STATUS x000A CAM_SEL_TIMEOUT >PATH ID 1. >TARGET ID 0. >TARGET LUN 0. >CAM FLAGS x00000482 > CAM_QUEUE_ENABLE > CAM_DIR_OUT > CAM_SIM_QFRZDIS > >*PDRV_PTR x0EDCEDA8 >*NEXT_CCB x00000000 >*REQ_MAP x0632F2C0 >VOID (*CAM_CBFCNP)() x0056AAC0 >*DATA_PTR x45BE6800 >DXFER_LEN x00000800 >*SENSE_PTR x0EDCEDD0 >SENSE_LEN xA0 >CDB_LEN x06 >SGLIST_CNT x0000 >CAM_SCSI_STATUS x0000 SCSI_STAT_GOOD >SENSE_RESID x00 >RESID x00000000 >CAM_CDB_IO x00000000000000042404000A >CAM_TIMEOUT x0000003C >MSGB_LEN x0000 >VU_FLAGS x4000 >TAG_ACTION x20 This is the SCSI CAM CCB structure associated with the I/O request. Much of the information is only of interest to those maintaining the CAM driver, but some bits of information that we gleam from it are that it was a six byte SCSI command (CDB_LEN), that this particular SCSI command completed with a "Good" status (CAM_SCSI_STATUS) and the transfer size seems to have been 2048 bytes (0x800 in DXFER_LEN). Now, I'll go out on a bit of limb and guess that it was a six byte write command (the 0A at the end of the CAM_CDB_IO). Considering that LSM says it is write error, this is a pretty safe guess. So, if the "Target selection timeout" is any clue, the operating system sent a write request with 2048 bytes of data, but the device didn't respond appropriately within the timeout period. > >syslog.dated... > >Jul 22 08:22:55 slriox01 vmunix: io/vol.c(volerror): Uncorrectable >write error o >n volume vol01, plex vol01-01, block 1044 > > > >Sent via Deja.com http://www.deja.com/ >Share what you know. Learn what you don't. > -- Alan Rollow alan@nabeth.cxo.dec.com