UPDATE: I/O errors on DAT

From: Greg Siekas <siekas_at_mailhost.tcs.tulane.edu>
Date: Wed, 23 Aug 1995 12:02:15 -0500 (CDT)

On Wed, 23 Aug 1995, Greg Siekas wrote:

> Once again, we are experiencing errors with our DAT drive. We've got one
> drive in the shop and now the other one is giving errors. There are both
> HP C1533A DDS-2 tape drives.
>
> Logged the following error when performing
> > /sbin/vdump -0Cuvf /dev/nrmt0h /u > /var/adm/backup/vdump_u.log
>
> > tail -f /var/adm/backup/vdump_u.log
> vdump: Status at Wed Aug 23 06:46:29 1995
> vdump: Dumped 139707280 of 1379327637 bytes; 10.1% completed
> vdump: Dumped 23 of 208 directories; 11.1% completed
> vdump: Dumped 153 of 4328 files; 3.5% completed
> bf ./marta/dir_vax/c6files.tar, 3311104
>
> vdump: unable to write to device </dev/nrmt0h>; [5] I/O error
> vdump: unable to prompt input for retry on device; [25] Not a typewriter

Providing more useful information on the I/O errors I did the following.

> uerf -R -o full

********************************* ENTRY 1.
*********************************

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

EVENT CLASS ERROR EVENT
OS EVENT TYPE 199. CAM SCSI
SEQUENCE NUMBER 3.
OPERATING SYSTEM DEC OSF/1
OCCURRED/LOGGED ON Wed Aug 23 10:18:56 1995
OCCURRED ON SYSTEM nautilus
SYSTEM ID x00000009 CPU TYPE: DEC 2100
SYSTYPE x00000000
PROCESSOR COUNT 2.
PROCESSOR WHO LOGGED x00000000

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

CLASS x0001 TAPE
SUBSYSTEM x0000 DISK
BUS # x0000
                              x0028 LUN x0
                                        TARGET x5

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

ROUTINE NAME ctape_wfm

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

ERROR TYPE Hard Error Detected

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

DEVICE NAME UNKNOWN

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

                                        Active CCB at time of error

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

                                        CCB request completed with an
error
ERROR - os_std, os_type = 11, std_type = 10


----- ENT_CCB_SCSIIO -----

*MY ADDR x81234328
CCB LENGTH x00C0
FUNC CODE x01
CAM_STATUS x0084 CAM_REQ_CMP_ERR
                                        AUTOSNS_VALID
PATH ID 0.
TARGET ID 5.
TARGET LUN 0.
CAM FLAGS x000000C0
                                        CAM_DIR_NONE
*PDRV_PTR x81234028
*NEXT_CCB x00000000
*REQ_MAP x00000000
VOID (*CAM_CBFCNP)() x0050DB10
*DATA_PTR x00000000
DXFER_LEN x00000000
*SENSE_PTR x81234050
SENSE_LEN x40
CDB_LEN x06
SGLIST_CNT x0000
CAM_SCSI_STATUS x0002 SCSI_STAT_CHECK_CONDITION
SENSE_RESID x2A
RESID x00000000
CAM_CDB_IO x000000000000000200000010
CAM_TIMEOUT x0000012E
MSGB_LEN x0000
VU_FLAGS x0000
TAG_ACTION x00

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

                                        Error, exception, or abnormal
                                         _condition

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

                                        MEDIUM ERROR - Nonrecoverable
medium
                                         _error

----- ENT_SENSE_DATA -----

ERROR CODE x0070 CODE x70
SEGMENT x00
SENSE KEY x0003 MEDIUM ERR
INFO BYTE 3 x00
INFO BYTE 2 x00
INFO BYTE 1 x00
INFO BYTE 0 x04
ADDITION LEN x0E
CMD SPECIFIC 3 x00
CMD SPECIFIC 2 x00
CMD SPECIFI5C 1 x00
CMD SPECIFIC 0 x00
ASC x0C
ASQ x00
FRU x00
SENSE SPECIFIC x840000
ADDITIONAL SENSE
0000: 08000000 00000000 00000000 00000000 *................*
0010: 00000000 00000000 00000000 00000000 *................*
0020: 00000000 00000000 00000000 00000000 *................*
0030: 7E250000 00005E3C 00000000 00000000 *..%~<^..........*

This isn't english to me, so perhaps someone can help.

I am currently working on adding this entry into the
/usr/sys/data/cam_data.c and rebuilding the kernel. I am hoping this is
the right direction to take to solve the problem.

/*HP C1533A DDS-2 DAT DRIVE */
{"HP C1533A", 16, DEV_TZRDAT,
   (ALL_DTYPE_SEQUENTIAL << DTYPE_SHFT) | SZ_RDAT_CLASS,
   (struct pt_info *)ccmn_null_sizes, SZ_NO_BLK, (DEC_MAX_REC-1),
   &tlz06_dens, NO_MODE_TAB, SZ_NO_FLAGS,
   NO_OPT_CMDS, SZ_READY_DEF,
   SZ_NO_QUE, DD_REQSNS_VAL | DD_INQ_VAL,
   43,64
},

thanks,
Greg

                                  Greg Siekas
                      Department of Biomedical Engineering
                               Tulane University
                     email: siekas_at_mailhost.tcs.tulane.edu
Received on Wed Aug 23 1995 - 19:30:08 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT