Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 1a2a6d5705cbd8100ef0f305710e42b2 > files > 12

dt-15.14-5mdv2010.0.x86_64.rpm

January 13, 1998 Robin Miller

	The following changes have been made to 'dt' Version 11.2:

     o	Support for tape Extended Error Information (EEI) and SCSI bus
	or device reset recovery has been added (to reposition the tape).
	The EEI support is enabled by default, but the reset support is
	disabled by default (to avoid breaking existing test scripts).
	The reset option can also be used w/POSIX Asynchronous I/O (AIO).
	NOTE: EEI support is Digital UNIX specific (MTIOCGET extension).
	[ Use the "enable/disable={eei,resets}" option to control these. ]

     o	The logical block data feature, "enable=lbdata" option, has been
	extended so it can be used with random I/O, "iotype=random" option.

	What is 'lbdata' option?

	'lbdata' places the block number in the 1st 4 bytes of each block,
        which gets verified during the read pass.  In the case of disks,
	the lbdata is stored in each sector, normally every 512 bytes.
	This uniqueness works well for random I/O with overwrites, but
	works equally well for any data stream (it's not device specific).

     o	Two new options were added for better range control of random I/O.

	The "ralign=value" option forces block alignment to a byte offset.
	For example, "ralign=32b" aligns each random request to 32 blocks.

	The "rlimit=value" option contols the upper random I/O data limit.
	If rlimit isn't specified, it defaults to the data limit, or to the
	entire disk if no limits are specified.

     o	Changes to cluster DLM code were merged from work by George Bittner.
	George also enhanced the random I/O code so the random number is
	taken as a block, rather than a byte offset, which provides better
	randomness for large disks or files. (Thanks George!)

     o	Other changes and/or bug fixes:
	- When specifying a runtime, ensure we break out of the passes loop
	  if we exceed the error limit.  Previously, we'd loop (possibly with
	  error) for the duration of runtime.
	- Fix incorrect record number displayed when Debug is enabled.
	- Don't exit read/write loops when processing partial records.
	- Fix problem in write function, where short write processing,
	  caused us not to write sufficent data bytes (actually, the
	  file loop in write_file() caused dtaio_write_data() to be
	  called again, and we'd actually end up writing too much!
	- When random I/O and lbdata options are both enabled, use the
	  file offset seeked to as the starting lbdata address.
	- Fix problem reporting total files processed count when we have
	  not completed a pass (exiting prematurely due to error or signal).

     o	'dt' compiles and runs on MS Windows 95/98/NT using Cygwin tools.
	Use Makefile.win32 for compiling on Windows.
	[ a.k.a. GNU-Win32, URL: http://sourceware.cygnus.com/cygwin/ ]

     o	When directing output to a log file, "log=LogFile" option, the
	command line and version string are also emitted.  Example:

Command Line:

    % dt of=/dev/rmt0h bs=64k limit=10m aios=16 files=2 enable=lbdata,resets log=resets.log 

	--> Date: January 13, 1999, Version: 11.2, Author: Robin T. Miller <--

	The latest version of 'dt' is available on our production machines
in the following account or from my web page, shown below:

		Location: wasted:~rmiller/dt.d/{dt,dt-steelos,dt-Wave4}
				or via
		URL: http://www.zk3.dec.com/~rmiller/dt.html

Cheers,
Robin
================================================================================

% dt of=/dev/rrz1b position=10b bs=32b records=3 enable=Debug,lbdata iotype=random ralign=32b
dt: Attempting to open output file '/dev/rrz1b', mode = 01...
dt: Output file '/dev/rrz1b' successfully opened, fd = 3
dt: Random data limit set to 205520896 bytes (196.000 Mbytes), 401408 blocks...
dt: Allocated buffer at address 0x140028000 of 16388 bytes, using offset 0
dt: Current file offset is 5120 (0x1400)
dt: Seeking to random block 211488 at byte position 108281856...
dt: Record #1, writing 16384 bytes from buffer at address 0x140028000...
dt: Seeking to random block 310336 at byte position 158892032...
dt: Record #2, writing 16384 bytes from buffer at address 0x140028000...
dt: Seeking to random block 346144 at byte position 177225728...
dt: Record #3, writing 16384 bytes from buffer at address 0x140028000...
Write Statistics:
     Total records processed: 3 @ 16384 bytes/record (16.000 Kbytes)
     Total bytes transferred: 49152 (48.000 Kbytes, 0.047 Mbytes)
      Average transfer rates: 2949120 bytes/sec, 2880.000 Kbytes/sec
     Number I/O's per second: 180.000
      Total passes completed: 0/1
       Total errors detected: 0/1
          Total elapsed time: 00m00.01s
           Total system time: 00m00.00s
             Total user time: 00m00.00s

dt: Closing file '/dev/rrz1b', fd = 3...
dt: Attemping to reopen file '/dev/rrz1b', mode = 00...
dt: File '/dev/rrz1b' successfully reopened, fd = 3
dt: Current file offset is 5120 (0x1400)
dt: Seeking to random block 211488 at byte position 108281856...
dt: Record #1, Reading 16384 bytes into buffer at address 0x140028000...
dt: Seeking to random block 310336 at byte position 158892032...
dt: Record #2, Reading 16384 bytes into buffer at address 0x140028000...
dt: Seeking to random block 346144 at byte position 177225728...
dt: Record #3, Reading 16384 bytes into buffer at address 0x140028000...
Read Statistics:
     Total records processed: 3 @ 16384 bytes/record (16.000 Kbytes)
     Total bytes transferred: 49152 (48.000 Kbytes, 0.047 Mbytes)
      Average transfer rates: 1474560 bytes/sec, 1440.000 Kbytes/sec
     Number I/O's per second: 90.000
      Total passes completed: 1/1
       Total errors detected: 0/1
          Total elapsed time: 00m00.03s
           Total system time: 00m00.00s
             Total user time: 00m00.00s

dt: Closing file '/dev/rrz1b', fd = 3...
Total Statistics:
     Output device/file name: /dev/rrz1b (Device: RZ28D, type=disk)
   Data pattern read/written: 0x39c39c39
     Total records processed: 6 @ 16384 bytes/record (16.000 Kbytes)
     Total bytes transferred: 98304 (96.000 Kbytes, 0.094 Mbytes)
      Average transfer rates: 1474560 bytes/sec, 1440.000 Kbytes/sec
     Number I/O's per second: 90.000
      Total passes completed: 1/1
       Total errors detected: 0/1
          Total elapsed time: 00m00.06s
           Total system time: 00m00.00s
             Total user time: 00m00.00s
               Starting time: Wed Dec 16 14:17:50 1998
                 Ending time: Wed Dec 16 14:17:50 1998

% 

================================================================================

Command Line:

    % dt of=/dev/rmt0h bs=64k limit=10m aios=16 files=2 enable=lbdata,debug,resets log=resets.log 

	--> Date: January 13, 1999, Version: 11.2, Author: Robin T. Miller <--

dt: Attempting to open output file '/dev/rmt0h', open flags = 01...
dt: Output file '/dev/rmt0h' successfully opened, fd = 3
dt: Clearing EEI data...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		72
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x6 (UNIT ATTENTION - Medium changed or target reset)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVPATH_RESET (0x6400) - Device/bus reset occured
                   EEI Valid Flags: 0x1000007 - CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error
                       SCSI Status: SCSI_STAT_CHECK_CONDITION (0x2) - Error, exception, or abnormal condition

SCSI Request Sense Information:

                        Error Code: 0x70 (Current Error)
                         Valid Bit: 0
                    Segment Number: 0
                         Sense Key: 0x6 (UNIT ATTENTION - Medium changed or target reset)
                    Illegal Length: 0
                      End Of Media: 0
                         File Mark: 0
                 Information Field: 0
           Additional Sense Length: 0xa
      Command Specific Information: 0
   Additional Sense Code/Qualifier: (0x29, 0) = Power on, reset, or bus device reset occurred
       Field Replaceable Unit Code: 0
              Sense Specific Bytes: 00 00 00 

dt: Allocated buffer at address 0x14002c000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x14003e000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140050000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140062000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140074000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140086000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140098000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x1400aa000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x1400bc000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x1400ce000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x1400e0000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x1400f2000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140104000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140116000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x140128000 of 65540 bytes, using offset 0
dt: Allocated buffer at address 0x14013a000 of 65540 bytes, using offset 0
dt: Processing reset condition (EEI_DEVBIO_FAILURE) - file 0, record 132

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		72
stat			0x20
			DEV_WRITTEN 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x20
                        Written 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            <Not Valid>
Record Cnt              <Not Valid>
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x20
			DEV_WRITTEN 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		0 
mt_blkno		132 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVBIO_FAILURE (0x2400) - Device/bus I/O error (retriable)
                   EEI Valid Flags: 0x1000001 - CAM_STATUS CAM_DATA
                        CAM Status: CAM_BDR_SENT (0x17) - A SCSI BDR msg was sent to target
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Record count sanity check failed, mt_blkno = 132, my count = 116
dt: Issuing 'rewind tape' command, count = 0 (0)

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		76
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              132
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		0 
mt_blkno		132 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_CNTBUSY_FAILURE (0x600) - HBA/Controller Busy (retriable)
                   EEI Valid Flags: 0x1000001 - CAM_STATUS CAM_DATA
                        CAM Status: CAM_BUSY (0x5) - CAM subsystem is busy
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Retry 1 after EEI_CNTBUSY_FAILURE status...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		80
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x1
                        BOM 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            <Not Valid>
Record Cnt              <Not Valid>
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVPATH_RESET (0x6400) - Device/bus reset occured
                   EEI Valid Flags: 0x1000000 - CAM_DATA
                        CAM Status: <Not Valid>
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Retry 2 after EEI_DEVPATH_RESET status...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		81
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x6 (UNIT ATTENTION - Medium changed or target reset)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVPATH_RESET (0x6400) - Device/bus reset occured
                   EEI Valid Flags: 0x1000007 - CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error
                       SCSI Status: SCSI_STAT_CHECK_CONDITION (0x2) - Error, exception, or abnormal condition

SCSI Request Sense Information:

                        Error Code: 0x70 (Current Error)
                         Valid Bit: 0
                    Segment Number: 0
                         Sense Key: 0x6 (UNIT ATTENTION - Medium changed or target reset)
                    Illegal Length: 0
                      End Of Media: 0
                         File Mark: 0
                 Information Field: 0
           Additional Sense Length: 0xa
      Command Specific Information: 0
   Additional Sense Code/Qualifier: (0x29, 0) = Power on, reset, or bus device reset occurred
       Field Replaceable Unit Code: 0
              Sense Specific Bytes: 00 00 00 

dt: Retry 3 after EEI_DEVPATH_RESET status...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		82
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVBUSY_FAILURE (0x2200) - Device is busy (retriable)
                   EEI Valid Flags: 0x1000003 - CAM_STATUS SCSI_STATUS CAM_DATA
                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error
                       SCSI Status: SCSI_STAT_BUSY (0x8) - Target is BUSY
                   SCSI Sense Data: <Not Valid>

dt: Retry 4 after EEI_DEVBUSY_FAILURE status...
dt: Closing file '/dev/rmt0h', fd = 3...
dt: Attemping to reopen file '/dev/rmt0h', open flags = 01...
dt: File '/dev/rmt0h' successfully reopened, fd = 3
dt: Clearing EEI data...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		82
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_NO_STATUS (0) - No EEI status available
                   EEI Valid Flags: 0x1000000 - CAM_DATA
                        CAM Status: <Not Valid>
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Positioning to record 116...
dt: Issuing 'forward space record' command, count = 116 (0x74)
dt: Issuing 'write file mark' command, count = 1 (0x1)
Write Statistics:
     Total records processed: 320 @ 65536 bytes/record (64.000 Kbytes)
     Total bytes transferred: 20971520 (20480.000 Kbytes, 20.000 Mbytes)
      Average transfer rates: 296907 bytes/sec, 289.948 Kbytes/sec
     Number I/O's per second: 4.530
      Total passes completed: 0/1
       Total files processed: 2/2
       Total errors detected: 0/1
          Total elapsed time: 01m10.63s
           Total system time: 00m00.03s
             Total user time: 00m00.65s

dt: Closing file '/dev/rmt0h', fd = 3...
dt: Attemping to reopen file '/dev/rmt0h', open flags = 00...
dt: File '/dev/rmt0h' successfully reopened, fd = 3
dt: Clearing EEI data...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		82
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_NO_STATUS (0) - No EEI status available
                   EEI Valid Flags: 0x1000000 - CAM_DATA
                        CAM Status: <Not Valid>
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Adjusting byte counts by 65536 bytes...
dt: End of file detected, count = 0, errno = 0
dt: Clearing EEI data...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		82
stat			0x0
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10000
                        POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            1
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x0
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		1 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_NO_STATUS (0) - No EEI status available
                   EEI Valid Flags: 0x1000007 - CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error
                       SCSI Status: SCSI_STAT_CHECK_CONDITION (0x2) - Error, exception, or abnormal condition

SCSI Request Sense Information:

                        Error Code: 0x70 (Current Error)
                         Valid Bit: 0x1 (Information field is valid)
                    Segment Number: 0
                         Sense Key: 0 (NO SENSE - No error or no sense information)
                    Illegal Length: 0
                      End Of Media: 0
                         File Mark: 0x1
                 Information Field: 0x10000 (65536)
           Additional Sense Length: 0xa
      Command Specific Information: 0
   Additional Sense Code/Qualifier: (0, 0x1) = Filemark detected
       Field Replaceable Unit Code: 0
              Sense Specific Bytes: 00 00 00 

dt: All requests completed before cancel...
dt: Issuing 'backward space file' command, count = 1 (0x1)
dt: Issuing 'forward space file' command, count = 1 (0x1)
dt: Processing reset condition (EEI_DEVBIO_FAILURE) - file 1, record 52

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		82
stat			0x0
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x0
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            <Not Valid>
Record Cnt              <Not Valid>
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x0
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		1 
mt_blkno		52 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVBIO_FAILURE (0x2400) - Device/bus I/O error (retriable)
                   EEI Valid Flags: 0x1000001 - CAM_STATUS CAM_DATA
                        CAM Status: CAM_BDR_SENT (0x17) - A SCSI BDR msg was sent to target
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Record count sanity check failed, mt_blkno = 52, my count = 36
dt: Issuing 'rewind tape' command, count = 0 (0)

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		86
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            1
Record Cnt              52
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		1 
mt_blkno		52 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_CNTBUSY_FAILURE (0x600) - HBA/Controller Busy (retriable)
                   EEI Valid Flags: 0x1000001 - CAM_STATUS CAM_DATA
                        CAM Status: CAM_BUSY (0x5) - CAM subsystem is busy
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Retry 1 after EEI_CNTBUSY_FAILURE status...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		90
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x1
                        BOM 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            <Not Valid>
Record Cnt              <Not Valid>
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVPATH_RESET (0x6400) - Device/bus reset occured
                   EEI Valid Flags: 0x1000000 - CAM_DATA
                        CAM Status: <Not Valid>
                       SCSI Status: <Not Valid>
                   SCSI Sense Data: <Not Valid>

dt: Retry 2 after EEI_DEVPATH_RESET status...
dt: Closing file '/dev/rmt0h', fd = 3...
dt: Attemping to reopen file '/dev/rmt0h', open flags = 00...
dt: File '/dev/rmt0h' successfully reopened, fd = 3
dt: Clearing EEI data...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		90
stat			0x1
			DEV_BOM 
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1
			DEV_BOM 
mt_erreg		0x6 (UNIT ATTENTION - Medium changed or target reset)
mt_resid		0
mt_fileno		0 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVPATH_RESET (0x6400) - Device/bus reset occured
                   EEI Valid Flags: 0x1000007 - CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error
                       SCSI Status: SCSI_STAT_CHECK_CONDITION (0x2) - Error, exception, or abnormal condition

SCSI Request Sense Information:

                        Error Code: 0x70 (Current Error)
                         Valid Bit: 0
                    Segment Number: 0
                         Sense Key: 0x6 (UNIT ATTENTION - Medium changed or target reset)
                    Illegal Length: 0
                      End Of Media: 0
                         File Mark: 0
                 Information Field: 0
           Additional Sense Length: 0xa
      Command Specific Information: 0
   Additional Sense Code/Qualifier: (0x29, 0) = Power on, reset, or bus device reset occurred
       Field Replaceable Unit Code: 0
              Sense Specific Bytes: 00 00 00 

dt: Positioning to file 1...
dt: Issuing 'forward space file' command, count = 1 (0x1)
dt: Positioning to record 36...
dt: Issuing 'forward space record' command, count = 36 (0x24)
dt: Adjusting byte counts by 65536 bytes...
dt: End of file detected, count = 0, errno = 0
dt: Clearing EEI data...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		90
stat			0x0
category_stat		0x20400
			DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10000
                        POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            2
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x0
mt_erreg		0x0 (NO SENSE - No error or no sense information)
mt_resid		0
mt_fileno		2 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_NO_STATUS (0) - No EEI status available
                   EEI Valid Flags: 0x1000007 - CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error
                       SCSI Status: SCSI_STAT_CHECK_CONDITION (0x2) - Error, exception, or abnormal condition

SCSI Request Sense Information:

                        Error Code: 0x70 (Current Error)
                         Valid Bit: 0x1 (Information field is valid)
                    Segment Number: 0
                         Sense Key: 0 (NO SENSE - No error or no sense information)
                    Illegal Length: 0
                      End Of Media: 0
                         File Mark: 0x1
                 Information Field: 0x10000 (65536)
           Additional Sense Length: 0xa
      Command Specific Information: 0
   Additional Sense Code/Qualifier: (0, 0x1) = Filemark detected
       Field Replaceable Unit Code: 0
              Sense Specific Bytes: 00 00 00 

dt: All requests completed before cancel...
dt: Adjusting byte counts by 65536 bytes...
dt: End of file detected, count = 0, errno = 0
dt: Clearing EEI data...

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			TLZ7
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		3
dev_name		tz
unit_num		3
soft_count		0
hard_count		90
stat			0x2
			DEV_EOM 
category_stat		0x20401
			DEV_TPMARK DEV_LOADER DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x11002
                        EOM TPmark POS_VALID 
unit_status             0x1a9
                        Ready Loader 2_FM_Close Rewind Compacting Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            17
Record Cnt              0
Class                   0 - <unspecified>

MTIOCGET ELEMENT	CONTENTS
----------------	--------
mt_type			MT_ISSCSI
mt_dsreg		0x1002
			DEV_EOM TPMARK 
mt_erreg		0x8 (BLANK CHECK - No-data condition occured)
mt_resid		65536
mt_fileno		17 
mt_blkno		0 

CAM Extended Error Information:

                       EEI Version: 0x2
                        EEI Status: EEI_DEVSTATE_FAILURE (0x3200) - Device inoperable (needs initialize)
                   EEI Valid Flags: 0x1000007 - CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error
                       SCSI Status: SCSI_STAT_CHECK_CONDITION (0x2) - Error, exception, or abnormal condition

SCSI Request Sense Information:

                        Error Code: 0x70 (Current Error)
                         Valid Bit: 0x1 (Information field is valid)
                    Segment Number: 0
                         Sense Key: 0x8 (BLANK CHECK - No-data condition occured)
                    Illegal Length: 0
                      End Of Media: 0
                         File Mark: 0
                 Information Field: 0x10000 (65536)
           Additional Sense Length: 0xa
      Command Specific Information: 0
   Additional Sense Code/Qualifier: (0, 0x5) = End-of-data detected
       Field Replaceable Unit Code: 0
              Sense Specific Bytes: 00 00 00 

dt: Issuing 'backward space file' command, count = 2 (0x2)
dt: Issuing 'forward space file' command, count = 1 (0x1)
dt: All requests completed before cancel...
Read Statistics:
     Total records processed: 320 @ 65536 bytes/record (64.000 Kbytes)
     Total bytes transferred: 20971520 (20480.000 Kbytes, 20.000 Mbytes)
      Average transfer rates: 286496 bytes/sec, 279.781 Kbytes/sec
     Number I/O's per second: 4.372
      Total passes completed: 1/1
       Total files processed: 2/2
       Total errors detected: 0/1
          Total elapsed time: 01m13.20s
           Total system time: 00m00.05s
             Total user time: 00m02.40s

dt: Exiting with status code 254...
dt: All requests completed before cancel...
dt: Closing file '/dev/rmt0h', fd = 3...
Total Statistics:
     Output device/file name: /dev/rmt0h (Device: TLZ7, type=tape)
   Data pattern read/written: 0x39c39c39
     Total records processed: 640 @ 65536 bytes/record (64.000 Kbytes)
     Total bytes transferred: 41943040 (40960.000 Kbytes, 40.000 Mbytes)
      Average transfer rates: 249983 bytes/sec, 244.124 Kbytes/sec
     Asynchronous I/O's used: 16
     Number I/O's per second: 3.814
      Total passes completed: 1/1
       Total files processed: 4/4
       Total errors detected: 0/1
          Total elapsed time: 02m47.78s
           Total system time: 00m00.08s
             Total user time: 00m03.05s
               Starting time: Wed Jan 13 19:39:49 1999
                 Ending time: Wed Jan 13 19:42:44 1999