Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* I/O Error
@ 1999-07-22  4:00 ivan.lopes
  1999-07-22  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1999-07-22  4:00 ` Eric Bennett
  0 siblings, 2 replies; 3+ messages in thread
From: ivan.lopes @ 1999-07-22  4:00 UTC (permalink / raw)


Hi,


We are getting some error messages in uerf and syslog.dated but
I can't tell for sure what they mean.

Please help.

Thanks,

Ivan

uerf...


----- EVENT INFORMATION -----

EVENT CLASS                             ERROR EVENT
OS EVENT TYPE                  199.     CAM SCSI
SEQUENCE NUMBER                398.
OPERATING SYSTEM                        DEC OSF/1
OCCURRED/LOGGED ON                      Thu Jul 22 08:22:55 1999
OCCURRED ON SYSTEM                      slriox01
SYSTEM ID                 x00060011
SYSTYPE                   x00000000

----- UNIT INFORMATION -----

CLASS                         x0000     DISK
SUBSYSTEM                     x0000     DISK
BUS #                         x0001
                                        TARGET x0

----- CAM STRING -----

ROUTINE NAME                            cdisk_complete

----- CAM STRING -----

                                        Retries Exhausted

----- CAM STRING -----

ERROR TYPE                              Hard Error Detected

----- CAM STRING -----

DEVICE NAME                             DEC     HSZ40           V31Z

----- CAM STRING -----

                                        Active CCB at time of
error
----- CAM STRING -----

                                        Target selection timeout

ERROR - os_std, os_type = 11, std_type = 10


----- 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

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I/O Error
  1999-07-22  4:00 I/O Error ivan.lopes
  1999-07-22  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1999-07-22  4:00 ` Eric Bennett
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Bennett @ 1999-07-22  4:00 UTC (permalink / raw)


ivan.lopes@rio.rsl.com.br wrote:
> 
> Hi,
> 
> We are getting some error messages in uerf and syslog.dated but
> I can't tell for sure what they mean.
> 
> Please help.
> 
> Thanks,
> 
> Ivan
> 
> uerf...
> 
> ----- EVENT INFORMATION -----
> 
> EVENT CLASS                             ERROR EVENT
> OS EVENT TYPE                  199.     CAM SCSI
> SEQUENCE NUMBER                398.
> OPERATING SYSTEM                        DEC OSF/1
> OCCURRED/LOGGED ON                      Thu Jul 22 08:22:55 1999
> OCCURRED ON SYSTEM                      slriox01
> SYSTEM ID                 x00060011
> SYSTYPE                   x00000000
> 
> ----- UNIT INFORMATION -----
> 
> CLASS                         x0000     DISK
> SUBSYSTEM                     x0000     DISK
> BUS #                         x0001
>                                         TARGET x0
> ----- CAM STRING -----
> 
>                                         Retries Exhausted
> 
> ----- CAM STRING -----
> 
> ERROR TYPE                              Hard Error Detected
> 
> ----- CAM STRING -----
> 
> DEVICE NAME                             DEC     HSZ40           V31Z

[snip]

> 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



Looks like a bad SCSI hard disk.  Although I'm not really familiar with
CAM terminology (so I'm not *sure* how you'd convert this info into the
appropriate device name), I assume that the "TARGET x0" means that the
affect disk has SCSI ID 0... probably your boot disk.  You can scan your
disks for bad blocks using the "scu" program.  For example, as root...

scu -f /dev/rrz0a

...will let you run tests on, and manipulate, the hard disk associated
with /dev/rrz0a.  Once you're inside scu just enter "help" at the "scu>"
prompt and you can look at the available options.  Verifying goes
something like "verify media starting 0 length 100000" if you want to
verify 100,000 blocks starting at block 0.

You could try reseating the cables, but most likely you would either
need to back up the disk and do a low-level format with scu, or throw
the disk away and get a new one.

-- 
Eric Bennett ( ericb@pobox.com ; http://www.pobox.com/~ericb )
Field of Biochemistry, Cornell University



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I/O Error
  1999-07-22  4:00 I/O Error ivan.lopes
@ 1999-07-22  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1999-07-22  4:00 ` Eric Bennett
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1999-07-22  4:00 UTC (permalink / raw)



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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-07-22  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-22  4:00 I/O Error ivan.lopes
1999-07-22  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-07-22  4:00 ` Eric Bennett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox