home *** CD-ROM | disk | FTP | other *** search
/ OneVision 3.03 / OneVision3.03.iso / NEXTSTEP / ToolsForDOS / aspi-id.txt < prev    next >
Encoding:
Text File  |  1995-05-26  |  79.1 KB  |  2,008 lines

  1. July 7, 1994
  2.    _ _ _
  3.   / / (_)
  4.  _\ \ \
  5. (_)_/_/  ASPI-ID v1.0 -
  6.  
  7. Displays SCSI Mode Sense and Inquiry information via the ASPI device
  8. driver.
  9.  
  10. Copyright 1994, Seagate Technology, Inc. All rights reserved.
  11.  
  12. Seagate Technology, Inc.
  13. B-5 Technical Support
  14. 920 Disc Drive
  15. Scotts Valley, CA 95066
  16.  
  17.  
  18. ===============================================================
  19.  
  20. Usage: ASPI-ID [SCSI ID] [optional: R or D]  or....
  21.        ASPI-ID /filename.ASP
  22.  
  23. switches:
  24.   SCSI ID        - A valid SCSI ID in the range 0 to 6
  25.  
  26. The optional R and D switches will only work if the SCSI ID
  27. switch is also set on the command line.  ex: ASPI-ID 0 D
  28.  
  29.  
  30.   R            - allow command line Redirection; this feature is
  31.                  useful for redirecting the output to a printer or a
  32.                  file.
  33.  
  34.   D            - Dump the SCSI Mode Sense and Inquiry binary data to
  35.                  <filename>.ASP; this allows a copy to be saved that
  36.                  can be studied at a later time. A "collection" of
  37.                  various drive files might be useful for reference
  38.                  purposes.
  39.  
  40.  /filename.ASP - load a previously saved ASPI data dump.  The ASPI
  41.                  device driver is not required in memory for this
  42.                  feature. Therefore, non-SCSI systems can be used to
  43.                  load and display a saved file.
  44.  
  45. (no switches)  - prompt for SCSI ID info
  46.  
  47.  
  48. ASPI-ID is designed for the support of users with Seagate disc drives and
  49. has been tested with Adaptec, Acculogic, Always, DPT and Ultrastor
  50. SCSI host adapters with their associated ASPI device drivers.  
  51. (These represent the HA's we had laying around in Tech Support, other
  52. HA's with ASPI drivers should also work.)
  53.  
  54. ===============================================================
  55.  
  56. A little background:
  57.  
  58. "ASPI" stands for Advanced SCSI Programming Interface.  It is an
  59. Adaptec-developed interface specification for sending commands to SCSI
  60. host adapters.  The interface provides an abstraction layer that
  61. insulates the programmer from considerations of the particular host
  62. adapter used.  The ASPI manager accepts ASPI commands and performs the
  63. steps necessary to send the SCSI command to the target.  For example,
  64. although the Adaptec AHA-152x and AHA-274x host adapters have very
  65. different hardware, the ASPI interface to these boards is the same.
  66.  
  67. Unlike AT bus based disc drive interfaces, which tend to have common
  68. well definded register level instructions, SCSI controllers are not
  69. nearly so constrained.  In other words, it is up to the host adapter
  70. manufacturer to supply the link between the actual hardware
  71. controlling the SCSI bus, and the service calling software, usually
  72. the operating system.  Although this increases flexibility for changes
  73. to the host adapter, it precludes direct universal hardware port
  74. calls.
  75.  
  76. The "linking" software has to be supplied by the host adapter
  77. manufacturer either in the form of a BIOS, or equivalent software
  78. module in the form of a device driver.  Because each host adapter
  79. manufacturer uses different SCSI support hardware, it is impossible
  80. for a drive manufacturer to supply software support for all SCSI host
  81. adapters.
  82.  
  83. Fortunately, thanks to the ASPI, a common ground is established that
  84. allows a software program to communicate directly with the SCSI
  85. device.  The only requirement is that the user must install an ASPI
  86. device driver (usually in CONFIG.SYS) that was written by the host
  87. adapter OEM. DOS ASPI device drivers are usually supplied with the
  88. host adapter or are freely available via support BBS's because of
  89. their common usage with SCSI CD-ROMs and tape backup systems.
  90.  
  91. The ASPI command codes utilized in ASPI-ID are:
  92.  
  93. Host Adapter Inquiry -
  94.         ID ofHost Adapter
  95.         SCSI Manager ID (the name given to the ASPI driver by the host
  96.                          adapter manufacturer)
  97.         Host Adapter ID (the name of the host adapter)
  98.  
  99. Get Device Type -
  100.         Peripheral Device Type of target
  101.  
  102. Execute SCSI I/O Command -
  103.         SCSI Inquiry (12h) (returns information about the drive. see
  104.                             Appendix D for detailed information)
  105.  
  106.         SCSI Mode Sense (1Ah) (returns many pages of detailed
  107.                                information about the drive. see
  108.                                Appendix C for detailed information)
  109.  
  110.         SCSI Read Capacity (25h) (returns the number of the last
  111.                                   logical block and the block size)
  112.  
  113. Get Disk Drive Information -
  114.         INT13 drive numnber
  115.         Preferred Head Translation
  116.         Preferred Sector Translation
  117.  
  118.  
  119.  
  120. ===============================================================
  121. The follow SCSI command and mode page definitions are taken from
  122. a Seagate SCSI drive product manual.  The purpose for including
  123. it in this doc file is to help clarify the information returned
  124. by the ASPI-ID program.  It is not intended to be a complete
  125. SCSI reference.
  126.  
  127.  
  128. 3.4.13    Mode Sense command (1AH)
  129. ===============================================================
  130. When the initiator sends this command to the drive, it returns
  131. mode-page parameters to the initiator. This command is used in
  132. conjunction with the Mode Select command.
  133.  
  134. Bits    7       6       5       4       3       2       1       0
  135. Bytes
  136. 0       0       0       0       1       1       0       1       0
  137. 1       LUN                     0       0       0       0       0
  138. 2       PCF             Page code
  139. 3       0       0       0       0       0       0       0       0
  140. 4       Allocation length
  141. 5       0       0       0       0       0       0       Flag    Link
  142.  
  143. Byte 2    The page control field (PCF) determines the content of Mode
  144.           Parameter bytes. Regardless of the value of the PCF, the
  145.           block descriptor always contains the current values.
  146.  
  147. PCF bit 7       PCF bit 6       Effect
  148. 0               0               Return current values.
  149. 0               1               Return changeable values.
  150. 1               0               Return default values.
  151. 1               1               Return saved values.
  152.  
  153. The page code is the designator that is unique to each page.
  154.  
  155. The page codes are listed in Section 3.4.13.1.
  156.  
  157. Byte 4    The allocation length specifies the number of bytes that the
  158.           initiator has allocated for returned Mode Sense data. An
  159.           allocation length of 0 means that no Mode Sense data is to
  160.           be transferred. This condition is not considered an error.
  161.           Any other value represents the number of bytes to be
  162.           transferred. For a description of the allocation length, see
  163.           Section 3.4.13.1.
  164.  
  165.  
  166. 3.4.13.1  Page code and allocation length
  167.  
  168. The Mode Sense command descriptor block contains a page code (byte 2,
  169. bits 5--0) and an allocation length (byte 4). These parameters are
  170. described in the following table. You can transfer mode pages to the
  171. initiator either of two ways:
  172.  
  173. - Transfer all mode pages at once by using page code 3FH, as de-
  174.   scribed in the last row of this table, or
  175.  
  176. - Transfer one mode page at a time by using the page code and
  177.   allocation length of the mode page.
  178.  
  179. Page    Allocation      Mode Sense data returned
  180. code    length
  181. 01H     18H             4   bytes of Mode Sense header
  182.                         8   bytes of block descriptor
  183.                         2   bytes of mode-page header
  184.                         10 bytes of Error Recovery parameters
  185.  
  186. 02H     18H             4   bytes of Mode Sense header
  187.                         8   bytes of block descriptor
  188.                         2   bytes of mode-page header
  189.                         12 bytes of Disconnect/Reconnect parameters
  190.  
  191. 03H     24H             4   bytes of Mode Sense header
  192.                         8   bytes of block descriptor
  193.                         2   bytes of mode-page header
  194.                         24 bytes of Format Device parameters
  195.  
  196. 04H     20H             4   bytes of Mode Sense header
  197.                         8   bytes of block descriptor
  198.                         2   bytes of mode-page header
  199.                         20 bytes of Rigid Disc Geometry parameters
  200.  
  201. 08H     20H             4   bytes of Mode Sense header
  202.                         8   bytes of block descriptor
  203.                         2   bytes of mode-page header
  204.                         20 bytes of Caching parameters
  205.  
  206. 0CH     24H             4   bytes of Mode Sense header
  207.                         8   bytes of block descriptor
  208.                         2   bytes of mode-page header
  209.                         24 bytes of Notch and Partition parameters
  210.  
  211. 0DH     18H             4    bytes of Mode Sense header
  212.                         8    bytes of block descriptor
  213.                         2    bytes of mode-page header
  214.                         12  bytes of Power Condition parameters
  215.  
  216. 38H     1CH             4    bytes of Mode Sense header
  217.                         8    bytes of block descriptor
  218.                         2    bytes of mode-page header
  219.                         16  bytes of Cache Control parameters
  220.  
  221. 3CH     0FH             4    bytes of Mode Sense header
  222.                         8    bytes of block descriptor
  223.                         2    bytes of mode-page header
  224.                         3    bytes of Soft ID parameters
  225.  
  226. 00H     10H             4    bytes of Mode Sense header
  227.                         8    bytes of block descriptor
  228.                         2    bytes of mode-page header
  229.                         4    bytes of Operating parameters
  230.  
  231. 3FH     143 or 144      4    bytes of Mode Sense header
  232.                         8    bytes of block descriptor
  233.                         2    bytes of mode-page header
  234.                         143 or 144 bytes of mode parameters,
  235.                              including all mode pages
  236.  
  237. * The allocation length depends on whether the Operating page has 2 or
  238. 3 bytes. The Operating page is described in Appendix C.10.
  239.  
  240.  
  241. 3.4.13.2  Mode Sense data
  242.  
  243. The Mode Sense parameter list contains a 4-byte header followed by an
  244. 8-byte block descriptor (if any), followed by the mode pages. The
  245. header and block descriptor are shown below. The mode pages are
  246. described in Appendix C.
  247.  
  248. Bits    7       6       5       4       3       2       1       0
  249. Bytes
  250. 0                  Mode Sense data length
  251. 1 (default)        Medium type (00H)
  252. 2       WP=0       Reserved
  253. 3 (default)        Block descriptor length (08H)
  254. Block descriptor
  255. 4 (default)        Density code (00H)
  256. 5--7               Number of blocks
  257. 8 (default)        Reserved (00H)
  258. 9--11              Block length
  259. Mode pages
  260. 12--n              Mode pages
  261.  
  262. Byte 0  The Mode Sense data length specifies the number of
  263. bytes minus 1 of the Mode Sense data to be transferred
  264. to the initiator.
  265.  
  266. Byte 1  The medium type is always 0.
  267.  
  268. Byte 2  The WP (write protect) bit is always 0, which means the media
  269.         is write-enabled.
  270.  
  271. Byte 3  The block descriptor length is the number of bytes in the
  272.         block descriptor. This value does not include the page headers
  273.         and mode pages that follow the block descriptor, if any.
  274.  
  275. Byte 4  The density code is not supported.
  276.  
  277. Bytes 5--7      The number of blocks field contains the total number
  278.         of blocks available to the user, which is specified on page 1.
  279.  
  280. Byte 8  Reserved
  281.  
  282. Bytes 9--11     The block length specifies the number of bytes
  283.         contained in each logical block described by the block
  284.         descriptor.
  285.  
  286.  
  287.  
  288.  
  289.  
  290. Appendix B. Sense data
  291. ===============================================================
  292.  
  293. The appendix contains the descriptions for sense data returned by the
  294. Request Sense command. For more information on the Request Sense
  295. command, see the Seagate SCSI-2 Interface Manual, publication number
  296. 77738479.
  297.  
  298. B.1  Additional sense data
  299. ===============================================================
  300.  
  301. When the initiator issues a Request Sense command, the drive returns
  302. the following additional sense data.
  303.  
  304. Bit            7       6       5       4       3       2       1       0
  305. Bytes
  306. 0              Valid   Error code
  307.                        1       1       1       0       0       0       X
  308. 1              Segment number (00H)
  309. 2              0       0       ILI     0       Sense key
  310. 3--6           Information bytes
  311. 7              Additional sense length
  312. 8--11          Command specific data
  313. 12             Additional sense code
  314. 13             Additional sense code qualifier
  315. 14             FRU code
  316. 15             SKSV
  317. 16--17         Sense key specific
  318. 18--22         Product-unique sense data (00H)
  319.  
  320. Byte 0    If the valid bit is one, the information bytes (bytes 3
  321.           through 6) are valid. If the valid bit is zero, the
  322.           information bytes are not valid.
  323.  
  324.           If the error code contains a value of 70H, the error
  325.           occurred on the command that is currently pending. If the
  326.           error code contains a value of 71H, the error occurred
  327.           during the execution of a previous command for which a good
  328.           status has already been returned.
  329.  
  330. Byte 1    The segment number is always zero.
  331.  
  332.  
  333. Byte 2    If the incorrect length indicator (ILI) bit is zero, the re-
  334.           quested block of data from the previous command did not
  335.           match the logical block length of the data on the disc. If
  336.           the ILI bit is one, the requested block of data from the
  337.           previous command matched the logical block length of the
  338.           data on the disc.
  339.  
  340.           The sense key indicates one of nine general error cate-
  341.           gories. These error categories are listed in Appendix B.2.
  342.  
  343. Bytes 3--6     When the valid bit is 1, the information bytes contain
  344.           the logical block address of the current logical block
  345.           associated with the sense key. For example, if the sense
  346.           key is media error, the information bytes contain the
  347.           logical block address of the offending block.
  348.  
  349. Byte 7    The additional sense length is limited to a maximum of 0EH
  350.           additional bytes. If the allocation length of the command
  351.           descriptor block is too small to accommodate all of the
  352.           additional sense bytes, the additional sense length is not
  353.           adjusted to reflect the truncation.
  354.  
  355. Bytes 8--11    These bytes contain command-specific data.
  356.  
  357. Bytes 12--13   The additional sense code and additional sense code
  358.           qualifier provide additional details about errors. See Ap-
  359.           pendix B.3.
  360.  
  361. Byte 14   The field replaceable unit (FRU) code is used by field
  362.           service personnel only.
  363.  
  364. Bytes 15--22   These bytes are not used and are always zero.
  365.  
  366. B.2  Sense key
  367. ===============================================================
  368.  
  369. The sense keys in the lower-order bits of byte 2 of the sense data
  370. returned by the Request Sense command are described in the following
  371. table. You can find a more detailed description of the error by
  372. checking the additional sense code and the additional sense code
  373. qualifier in Section B.3.
  374.  
  375. Sense key Description
  376. 0H        No Sense. In the case of a successful command, no specific
  377.           sense key information needs to be reported for the drive.
  378.  
  379. 1H        Recovered error. The drive completed the last command
  380.           successfully with some recovery action. When many recovered
  381.           errors occur during one command, the drive determines which
  382.           error it will report.
  383.  
  384. 2H        Not ready. The addressed logical unit cannot be accessed.
  385.           Operator intervention may be required to correct this
  386.           condition.
  387.  
  388. 3H        Medium error. The command was terminated with a
  389.           nonrecoverable error condition, probably caused by a flaw in
  390.           the media or an error in the recorded data.
  391.  
  392. 4H        Hardware error. The drive detected a nonrecoverable hardware
  393.           failure while performing the command or during a self-test.
  394.           This includes, for example, SCSI interface parity errors,
  395.           controller failures and device failures.
  396.  
  397. 5H        Illegal request. An illegal parameter in the command
  398.           descriptor block or in the additional parameters supplied as
  399.           data for some commands (for example, the Format Unit
  400.           command, the Mode Select command and others). If the drive
  401.           detects an invalid parameter in the CDB, it terminates the
  402.           command without altering the media. If the drive detects an
  403.           invalid parameter in the additional parameters supplied as
  404.           data, the drive may have already altered the media.
  405.  
  406. 6H        Unit attention. The drive may have been reset. See the
  407.           Seagate SCSI-2 Interface Manual for more details about the
  408.           Unit Attention condition.
  409.  
  410. BH        Aborted command. The drive aborted the command. The
  411.           initiator may be able to recover by retrying.
  412.  
  413. EH        Miscompare. The source data did not match the data read from
  414.           the media.
  415.  
  416. B.3  Additional sense code and additional sense code qualifier
  417. ===============================================================
  418.  
  419. The additional sense code and additional sense code qualifiers
  420. returned in byte 12 and byte 13, respectively, of the Sense Data
  421. Format of the Request Sense command are listed in the following table.
  422.  
  423.  
  424. Error code (hex)  Description
  425. Byte 12 Byte 13
  426.  
  427. 00      00      No additional information is supplied.
  428.  
  429. 01      00      There is no index/sector signal.
  430.  
  431. 02      00      There is no seek complete signal.
  432.  
  433. 03      00      A write fault occurred.
  434.  
  435. 04      00      The drive is not ready and the cause is not
  436.                 reportable.
  437.  
  438. 04      01      The drive is not ready, but it is in the process of
  439.                 becoming ready.
  440.  
  441. 04      02      The drive is not ready; it is waiting for the
  442.                 initializing command.
  443.  
  444. 04      03      The drive is not ready; human intervention is
  445.                 required.
  446.  
  447. 04      04      The drive is not ready; the format routine is in
  448.                 process.
  449.  
  450. 05      00      The drive does not respond when it is selected.
  451.  
  452. 06      00      Track 0 was not found.
  453.  
  454. 07      00      More than one drive is selected at a time.
  455.  
  456. 08      00      There was a drive communication failure.
  457.  
  458. 08      01      A drive communication time-out occurred.
  459.  
  460. 08      02      A drive communication parity error occurred.
  461.  
  462. 09      00      A track following error occurred.
  463.  
  464. 0A      00      An error log overflow occurred.
  465.  
  466. 0C      01      A write error occurred, but the error was recovered
  467.                 using auto-reallocation.
  468.  
  469. 0C      02      A write error occurred. Auto-reallocation was
  470.                 attempted, but it failed.
  471.  
  472. 10      00      An ID CRC or ECC error occurred.
  473.  
  474. 11      00      An unrecovered read error occurred.
  475.  
  476. 11      01      The read retries were exhausted.
  477.  
  478. 11      02      The error was too long to correct.
  479.  
  480. 11      03      There were multiple read errors.
  481.  
  482. 11      04      A read error occurred. Auto-reallocation was
  483.                 attempted, but it failed.
  484.  
  485. 12      00      The address mark was not found in the ID field.
  486.  
  487. 13      00      The address mark was not found in the data field.
  488.  
  489. 14      00      No record was found.
  490.  
  491. 14      01      No record was found.
  492.  
  493. 15      00      A seek positioning error occurred.
  494.  
  495. 15      01      A mechanical positioning error occurred.
  496.  
  497. 15      02      A positioning error was detected by reading the media.
  498.  
  499. 16      00      A data synchronization mark error occurred.
  500.  
  501. 17      00      The data was recovered without applying error
  502.                 correction or retrying.
  503.  
  504. 17      01      The data was recovered with retries.
  505.  
  506. 17      02      The data was recovered with positive head offset.
  507.  
  508. 17      03      The data was recovered with negative head offset.
  509.  
  510. 17      05      The data was recovered using the previous sector ID.
  511.  
  512. 17      06      The data was recovered without ECC. The drive uses
  513.                 data auto-reallocation.
  514.  
  515. 18      00      The data was recovered with ECC.
  516.  
  517. 18      01      The data was recovered with ECC and retries.
  518.  
  519. 18      02      The data was recovered with ECC, retries, and
  520.                 auto-reallocation.
  521.  
  522. 19      00      There is an error in the defect list.
  523.  
  524. 19      01      The defect list is not available.
  525.  
  526. 19      02      There is an error in the primary defect list.
  527.  
  528. 19      03      There is an error in the grown defect list.
  529.  
  530. 1A      00      A parameter overrun occurred.
  531.  
  532. 1B      00      A synchronous transfer error occurred.
  533.  
  534. 1C      00      The defect list could not be found.
  535.  
  536. 1C      01      The primary defect list could not be found.
  537.  
  538. 1C      02      The grown defect list could not be found.
  539.  
  540. 1D      00      During a verify operation, a compare error occurred:
  541.                 the source data did not match the data read from the
  542.                 media.
  543.  
  544. 1E      00      An ID error was recovered.
  545.  
  546. 20      00      The drive received an invalid command operation code.
  547.  
  548. 21      00      The logical block address was not within the
  549.                 acceptable range.
  550.  
  551. 22      00      The drive received a CDB that contains an invalid bit.
  552.                 (This error code applies to direct-access devices.)
  553.  
  554. 24      00      The drive received a CDB that contains an invalid bit.
  555.                 (This error code applies to all SCSI devices.)
  556.  
  557. 25      00      The drive received a CDB that contains an invalid LUN.
  558.  
  559. 26      00      The drive received a CDB that contains an invalid
  560.                 field.
  561.  
  562. 26      01      The drive received a CDB containing a parameter that
  563.                 is not supported.
  564.  
  565. 26      02      The drive received a CDB containing an invalid
  566.                 parameter.
  567.  
  568. 26      03      The drive received a CDB containing a threshold
  569.                 parameter that is not supported.
  570.  
  571. 29      00      A power-on reset or a bus device reset occurred.
  572.  
  573. 2A      00      Some parameters were changed by another initiator.
  574.  
  575. 2A      01      The Mode Select parameters were changed by another
  576.                 initiator.
  577.  
  578. 2B      00      The microcode was downloaded.
  579.  
  580. 2F      00      The tagged commands were cleared by another initiator.
  581.  
  582. 30      01      The media cannot be read because the format is not
  583.                 recognized.
  584.  
  585. 30      02      The media cannot be read because the format is
  586.                 incompatible with certain parameters.
  587.  
  588. 31      00      The media format is corrupted.
  589.  
  590. 31      01      The format command failed.
  591.  
  592. 32      00      There are no spare defect locations available.
  593.  
  594. 32      01      An error occurred when the defect list was being
  595.                 updated.
  596.  
  597. 37      00      A rounded parameter caused an error.
  598.  
  599. 3D      00      The identify message contains invalid bits.
  600.  
  601. 3F      00      The target operation command was changed.
  602.  
  603. 3F      01      The microcode was changed.
  604.  
  605. 3F      02      The drive was operating as a SCSI drive and is now
  606.                 operating as a SCSI-2 drive, or vice versa.
  607.  
  608. 3F      03      The inquiry data was changed.
  609.  
  610. 40      00      The RAM failed.
  611.  
  612. 40      8x      A correctable ECC error occurred; x equals the length
  613.                 of the error.
  614.  
  615. 40      90      A configuration error occurred.
  616.  
  617. 40      A0      The self-test routine discovered an error in a ROM.
  618.  
  619. 40      A1      The self-test routine discovered an error in the
  620.                 processor RAM.
  621.  
  622. 40      A2      The self-test routine discovered an error in the
  623.                 buffer RAM.
  624.  
  625. 40      A3      The self-test routine discovered a SCSI protocol
  626.                 error.
  627.  
  628. 40      A4      The self-test routine discovered a DMA error.
  629.  
  630. 40      A5      The self-test routine discovered an error in the disc
  631.                 sequencer.
  632.  
  633. 40      A6      The self-test routine discovered an error in the disc
  634.                 sequencer RAM.
  635.  
  636. 40      A7      A self-test error occurred.
  637.  
  638. 40      A8      The flash memory cannot be read or written.
  639.  
  640. 40      A9      The flash memory directory cannot be read, or it is
  641.                 corrupted.
  642.  
  643. 40      AA      The flash memory contains an incompatible version
  644.                 number.
  645.  
  646. 40      AB      The flash memory contains an incompatible revision
  647.                 number.
  648.  
  649. 40      AC      A flash memory checksum error occurred.
  650.  
  651. 40      AD      The flash memory contains invalid parameters.
  652.  
  653. 40      AE      The flash memory is incompatible with the HDA and the
  654.                 circuit board. The flash memory must be reconfigured.
  655.  
  656. 40      B0      The servo command timed out.
  657.  
  658. 40      B1      The servo command failed.
  659.  
  660. 40      B2      The servo command was rejected.
  661.  
  662. 40      B3      The servo interface does not work.
  663.  
  664. 40      B4      The servo either failed to lock on track during spinup
  665.                 or has wandered off track.
  666.  
  667. 40      B5      An internal servo error occurred.
  668.  
  669. 40      B6      During spinup, a servo error occurred.
  670.  
  671. 40      B7      The servo pattern is inconsistent.
  672.  
  673. 40      B8      A seek recovery error occurred.
  674.  
  675. 40      B9      The actuator did not achieve high-speed calibration.
  676.  
  677. 40      C0      The defect list is full.
  678.  
  679. 40      C1      A failure occurred while the grown defect list was
  680.                 being written.
  681.  
  682. 40      C2      The write life-cycle of the flash memory has been
  683.                 exceeded.
  684.  
  685. 40      C3      There was an attempt to add an illegal entry to the
  686.                 grown defect list.
  687.  
  688. 40      C4      There was an attempt to add a duplicate entry to the
  689.                 grown defect list.
  690.  
  691. 41      00      A data path diagnostic failed.
  692.  
  693. 42      00      A power-on or self-test failure occurred.
  694.  
  695. 43      00      A message reject error occurred.
  696.  
  697. 44      00      An internal controller error occurred.
  698.  
  699. 45      00      An error occurred during a selection or a reselection.
  700.  
  701. 47      00      A SCSI interface bus parity error occurred.
  702.  
  703. 48      00      The initiator has detected an error.
  704.  
  705. 49      00      The initiator received an invalid message from the
  706.                 drive.
  707.  
  708. 4C      00      The drive failed to self-configure.
  709.  
  710. 4E      00      The drive attempted to perform overlapped commands.
  711.  
  712. 5B      00      There was a log exception.
  713.  
  714. 5B      01      A threshold condition was met.
  715.  
  716. 5B      02      The log counter has reached its maximum value.
  717.  
  718. 5B      03      All the log list codes have been used.
  719.  
  720. 5C      00      There was a change in the RPL status. The drive lost
  721.                 synchronization.
  722.  
  723.  
  724.  
  725.  
  726. Appendix C. Mode pages
  727. ===============================================================
  728.  
  729. Mode pages are groups of parameters stored by the drive. These
  730. parameters can be read using the Mode Sense command and changed using
  731. the Mode Select command. These commands are described in Sections
  732. 3.4.10 and 3.4.13.
  733.  
  734. This appendix contains the default parameters and the changeable
  735. parameters for the mode pages. The current parameters and the saved
  736. parameters are not shown.
  737.  
  738. Note. The default values contained in this appendix may differ from
  739. the default values actually contained in your drive. To determine the
  740. default values, use the Mode Sense command.
  741.  
  742.                                                         Contains
  743.                                                         changeable
  744. Mode page                       Page code       Bytes   parameters
  745. Error Recovery page             01H               10      Yes
  746. Disconnect/Reconnect page       02H               14      Yes
  747. Format Device page              03H               22      Yes
  748. Rigid Disc Geometry page        04H               22      Yes
  749. Caching page (SCSI-3)           08H               18      Yes
  750. Control Mode page               0AH               10      Yes
  751. Notch page                      0CH               22      No
  752. Cache Control page              38H               14      No
  753. Soft ID page                    3CH               1       Yes
  754. Operating page                  00H               2 or 3  Yes
  755.  
  756.  
  757. For all mode pages:
  758.  
  759. - If the changeable value is  0, the initiator cannot change the bit
  760.   directly. If the changeable value is 1, the initiator can change the
  761.   bit directly.
  762.  
  763. For example, in the header below, the changeable value for the page
  764. code bits is 0, which means that the page code cannot be changed; the
  765. changeable value of the PS bit is one, which means that the PS bit can
  766. be changed.
  767.  
  768. - During the Mode Sense command, the PS (parameter savable) bit is 1,
  769.   which means the mode page is saved on the disc. During the Mode
  770.   Select command, you must set the PS bit to 0.
  771.  
  772. - An X means that the value of the bit cannot be specified. For
  773.   example, the default value of bit 0 of byte 1 of page 00H (the
  774.   Operating Page) cannot be specified because the bit can be either 1
  775.   or 0.
  776.  
  777. All mode pages contain a 2-byte header that contains the page code and
  778. the page length for that particular page. The header is shown below.
  779.  
  780. Bits           7       6       5       4       3       2       1       0
  781. Bytes
  782. 0              PS      Page code
  783. changeable     1       0       0       0       0       0       0       0
  784. 1              Page length
  785. changeable     00H
  786.  
  787. Byte 0    During the Mode Sense command, the PS (parameter savable)
  788.           bit is 1, which means the mode page is saved on the disc.
  789.           During the Mode Select command, you must set the PS bit to
  790.           0. The page code is the unique code that identifies the
  791.           page.
  792.  
  793. Byte 1    The page length is the length, in bytes, of the page.
  794.  
  795.  
  796. C.1  Error Recovery page (01H)
  797. ===============================================================
  798.  
  799. The Error Recovery page is shown below. This table summarizes the
  800. function, the default value and the changeability of each bit.
  801.  
  802. Bits           7       6       5       4       3       2       1       0
  803. Bytes
  804. 0              PS (1)  Page code (01H)
  805. 1              Page length (0AH)
  806. 2              AWRE    ARRE    TB      RC      EER     PER     DTE    DCR
  807. default        0       0       0       0       0       0       0       0
  808. changeable     1       1       1       1       1       1       1       1
  809. 3 (default)    Read retry count (20H)
  810. changeable     FFH
  811. 4 (default)    Correction span (16H)
  812. changeable     00H
  813. 5 (default)    Head offset count (00H)
  814. changeable     00H
  815. 6 (default)    Data strobe offset count (00H)
  816. changeable     00H
  817. 7 (default)    Reserved (00H)
  818. changeable     00H
  819. 8 (default)    Write retry count (20H)
  820. changeable     00H
  821. 9 (default)    Reserved (00H)
  822. changeable     00H
  823. 10--11 (default) Recovery time limit (FFFFH)
  824. changeable     0000H
  825.  
  826.  
  827. Byte 2    When the automatic write reallocation enabled (AWRE) bit is
  828.           1, the drive automatically reallocates bad blocks detected
  829.           while writing to the disc. When the AWRE bit is 0, the drive
  830.           does not perform automatic reallocation; instead, the drive
  831.           reports a check condition status with a sense key of media
  832.           error.
  833.  
  834.           Note. The AWRE bit does not apply during the Format com-
  835.           mand.
  836.  
  837.           When the automatic read reallocation enabled (ARRE) bit is
  838.           1, the drive automatically reallocates bad blocks detected
  839.           while reading from the disc. When the ARRE bit is 0, the
  840.           drive does not automatically reallocate bad blocks. Instead,
  841.           a check condition status is reported with a sense key of
  842.           media error.
  843.  
  844.           The transfer block (TB) bit is not supported.
  845.  
  846.           When the read continuous (RC) bit is 1, the drive sends all
  847.           data without doing any corrections. This function supersedes
  848.           other bits in this byte. When the RC bit is 0, the
  849.           correction is performed according to the other bits in this
  850.           byte.
  851.  
  852.           The enable early recovery (EER) bit is not supported.
  853.  
  854.           The post error (PER) bit is not supported.
  855.  
  856.           The disable transfer on error (DTE) bit is not supported.
  857.  
  858.           When the disable correction (DCR) bit is 1, the drive does
  859.           not apply offline ECC to the data even if it can correct the
  860.           data.
  861.  
  862. Byte 3    The read retry count field is the maximum number of times
  863.           the drive attempts its recovery algorithms. If the EER bit
  864.           of byte 2 is 1, the number of retries specified by read
  865.           retry count (up to a maximum of nine retries) is performed
  866.           before ECC is applied. The read retry count field has a
  867.           range of 0 through 20H. A read retry count of 0 means that
  868.           no retries are performed.
  869.  
  870. Byte 4    The correction span is the size of the largest read data
  871.           error, in bits, on which ECC correction is attempted. Longer
  872.           errors are reported as nonrecoverable.
  873.  
  874. Byte 5    The head offset count is not implemented. Head offsets are
  875.           performed as part of the driveÒs retry algorithms.
  876.  
  877. Byte 6    The data strobe offset count is not implemented.
  878.  
  879. Byte 7    Reserved
  880.  
  881.  
  882. Byte 8    The write retry count field contains the maximum number of
  883.           times the drive attempts its recovery algorithms. If the EER
  884.           bit is set, the number of retries specified by the retry
  885.           count, up to a maximum of nine retries, is performed before
  886.           ECC is applied. The write retry count field has a range of 0
  887.           through 20H. A write retry count of 0 means that no retries
  888.           are performed.
  889.  
  890. Byte 9    Reserved
  891.  
  892. Bytes 10--11   The recovery time limit field always has a value of
  893.           FFFFH, which means that the recovery time is unlimited.
  894.  
  895.  
  896. C.2  Disconnect/Reconnect page (02H)
  897. ===============================================================
  898.  
  899. The Disconnect/Reconnect page is shown below. This table summarizes
  900. the function, the default value and the changeability of each bit.
  901.  
  902. Bits           7       6       5       4       3       2       1       0
  903. Bytes
  904. 0              PS (1)  Page code (02H)
  905. 1              Page length (0EH)
  906. 2 (default)    Buffer full ratio (F0H)
  907. changeable     FFH
  908. 3 (default)    Buffer empty ratio (10H)
  909. changeable     FFH
  910. 4--5 (default) Bus inactivity limit (0000H)
  911. changeable     0000H
  912. 6--7 (default) Disconnect time limit (0000H)
  913. changeable     0000H
  914. 8--9 (default) Connect time limit (0000H)
  915. changeable     0000H
  916. 10--11 (default) Maximum burst size (0000H)
  917. changeable     0000H
  918. 12--15 (default) Reserved (00000000H)
  919. changeable     00000000H
  920.  
  921.  
  922. Byte 2    The buffer full ratio field indicates, on Read commands, how
  923.           full the driveÒs buffer is before reconnecting. The drive
  924.           rounds up to the nearest whole logical block. This parame-
  925.           ter is the numerator of a fraction that has 256 as its
  926.           denominator.
  927.  
  928. Byte 3    The buffer empty ratio field indicates, on Write commands,
  929.           how empty the driveÒs buffer is before reconnecting to
  930.           fetch more data. The drive rounds up to the nearest whole
  931.           logical block. This parameter is the numerator of a fraction
  932.           that has 256 as its denominator.
  933.  
  934. Bytes 4--5     The bus inactivity limit field indicates the time, in
  935.           100-msec increments, that the drive can assert the Busy
  936.           signal without handshakes until it disconnects. The drive
  937.           can round down to its nearest capable value. If the bus
  938.           inactivity limit is 0000H, the drive maintains the BSY--
  939.           signal for 1 msec without handshakes.
  940.  
  941. Bytes 6--7      The disconnect time limit field indicates the minimum
  942.           time, in 100-msec increments, the drive remains discon-
  943.           nected until it attempts to reconnect. A value of 0
  944.           indicates that the drive is allowed to reconnect
  945.           immediately.
  946.  
  947. Bytes 8--9      The connect time limit field indicates the maximum
  948.           time, in 100-msec increments, that the drive should remain
  949.           connected until it attempts to disconnect. The drive may
  950.           round to its nearest capable value. A value of 0 means that
  951.           the drive can remain connected indefinitely until it tries
  952.           to disconnect.
  953.  
  954. Bytes 10--11   The maximum burst size field limits the amount of data
  955.           that can be transferred during the data phase before the
  956.           drive disconnects from the host. The value, multiplied by
  957.           512, indicates the maximum number of bytes that can be
  958.           contained in a single burst. A value of 0 means that there
  959.           is no limit to how many bytes can be transferred during a
  960.           single burst.
  961.  
  962. Bytes 12--15   Reserved
  963.  
  964.  
  965. C.3  Format Device page (03H)
  966. ===============================================================
  967.  
  968. The Format Device page is shown below. This table summarizes the
  969. function, the default value and the changeability of each bit. This
  970. page is sent only before the Format Unit command is sent. The drive
  971. parameters are updated immediately, but any changes between these
  972. current parameters and the existing media format do not take effect
  973. until after the Format Unit command is completed.
  974.  
  975. Bits           7       6       5       4       3       2       1       0
  976. Bytes
  977. 0              PS (1)  Page code (03H)
  978. 1              Page length (16H)
  979. 2--3 (default) Tracks per zone (0001H)
  980. changeable     0000H
  981. 4--5 (default) Alternate sectors per zone (0001H)
  982. changeable     0000H
  983. 6--7 (default) Alternate tracks per zone (0000H)
  984. changeable     0000H
  985. 8--9 (default) Alternate tracks per volume (0008H)
  986. changeable     0000H
  987. 10--11 (default) Sectors per track (0058H)
  988. changeable     0000H
  989. 12--13 (default) Data bytes per physical sector (0200H)
  990. changeable     0000H
  991. 14--15 (default) Interleave (0001H)
  992. changeable     0000H
  993. 16--17 (default) Track skew factor (0002H)
  994. changeable     0000H
  995. 18--19 (default) Cylinder skew factor (0009H)
  996. changeable     0000H
  997. 20             SSEC    HSEC    RMB     SURF    Reserved
  998. default        1       0       0       0
  999. changeable     0       0       0       0       0       0       0       0
  1000. 21--23 (default) Reserved (000000H)
  1001. changeable     000000H
  1002.  
  1003.  
  1004. Bytes 2--3     The tracks per zone field indicates the number of
  1005.           tracks the drive allocates to each defect-management zone.
  1006.           Spare sectors or tracks are placed at the end of each
  1007.           defect- management zone. If each zone is treated as
  1008.           containing one track, the valid value for tracks per zone is
  1009.           1. If each zone is treated as containing one cylinder, the
  1010.           valid value is equal to the number of read/write heads.
  1011.  
  1012. Bytes 4--5      The alternate sectors per zone field indicates the
  1013.           number of spare sectors to be reserved at the end of each
  1014.           defect- management zone. The drive defaults to one spare
  1015.           sector per zone. If each zone is treated as containing one
  1016.           track, the valid value for alternate sectors per zone is 1.
  1017.           If each zone is treated as containing one cylinder, the
  1018.           valid values are 1 through 3.
  1019.  
  1020. Bytes 6--7      The alternate tracks per zone field indicates the
  1021.           number of spare tracks the drive reserves at the end of each
  1022.           defect-management zone. A value of 0 indicates that no spare
  1023.           tracks are reserved at the end of each zone for defect
  1024.           management.
  1025.  
  1026. Bytes 8--9      The alternate tracks per volume field indicates the
  1027.           number of spare tracks to be reserved at the end of the
  1028.           drive for defect management. The default is equal to twice
  1029.           the number of read/write heads.
  1030.  
  1031. Bytes 10--11   The sectors per track field indicates the number of
  1032.           physical sectors the drive allocates per track. The drive
  1033.           reports the average number of physical sectors per track
  1034.           because the number of sectors per track varies between the
  1035.           outer and inner tracks.
  1036.  
  1037. Bytes 12--13   The data bytes per physical sector field indicates the
  1038.           number of data bytes allocated per physical sector.
  1039.  
  1040. Bytes 14--15   The interleave field is the interleave value sent to
  1041.           the drive during the last Format Unit command. This field is
  1042.           valid only for Mode Sense commands. The drive ignores this
  1043.           field during Mode Select commands. The interleave is always
  1044.           1:1.
  1045.  
  1046. Bytes 16--17   The track skew factor field indicates the number of
  1047.           physical sectors on the media between the last logical
  1048.           block of one track and the first logical block of the next
  1049.           sequential track of the same cylinder. The actual track skew
  1050.           factor that the drive uses is different for every zone. The
  1051.           default value is 0002H, which is the track skew factor for
  1052.           the first zone. This default value is only used when tracks
  1053.           per zone and alternate sectors per zone are set to 1.
  1054.  
  1055.  
  1056. Bytes 18--19   The cylinder skew factor field indicates the number of
  1057.           physical sectors between the last logical block of one
  1058.           cylinder and the first logical block of the next cylinder.
  1059.           The actual cylinder skew factor that the drive uses depends
  1060.           on the zone. The default value is 0009H, which is the
  1061.           cylinder skew factor for the first zone.
  1062.  
  1063. Byte 20   The drive type field bits are defined as follows:
  1064.  
  1065.           The soft sectoring (SSEC) bit is set to 1. This bit is
  1066.           reported as not changeable. Although it can be set to
  1067.           satisfy system requirements, it does not affect drive per-
  1068.           formance.
  1069.  
  1070.           The hard sectoring (HSEC) bit is set to 0. This bit is
  1071.           reported as not changeable. Although it can be set to
  1072.           satisfy system requirements, it does not affect drive per-
  1073.           formance.
  1074.  
  1075.           The removable media (RMB) bit is always set to 0, indi-
  1076.           cating that the drive does not support removable media. This
  1077.           same bit is also returned in the Inquiry parameters.
  1078.  
  1079.           The surface map (SURF) bit is set to 0, indicating that the
  1080.           drive allocates successive logical blocks to all sectors
  1081.           within a cylinder before allocating logical blocks to the
  1082.           next cylinder.
  1083.  
  1084. Bytes 21--23   Reserved 92
  1085.  
  1086.  
  1087. C.4  Rigid Disc Geometry page (04H)
  1088. ===============================================================
  1089.  
  1090. The Rigid Disc Geometry page is shown below. This table summarizes the
  1091. function, the default value and the changeability of each bit.
  1092.  
  1093. Bits           7       6       5       4       3       2       1       0
  1094. Bytes
  1095. 0              PS (1)  Page code (04H)
  1096. 1              Page length (16H)
  1097. 2--4           Number of cylinders
  1098. changeable     000000H
  1099. 5              Number of heads
  1100. changeable     00H
  1101. 6--8           Starting cylinder for write precompensation
  1102. default        000000H
  1103. changeable     000000H
  1104. 9--11          Starting cylinder for reduced write current
  1105. default        000000H
  1106. changeable     000000H
  1107. 12--13 (default) Drive step rate (0000H)
  1108. changeable     0000H
  1109. 14--16 (default) Loading zone cylinder (000000H)
  1110. changeable     000000H
  1111. 17             Reserved                                        RPL
  1112. default                                                        0       0
  1113. changeable     0       0       0       0       0       0       1       1
  1114. 18 (default)   Rotational offset (00H)
  1115. changeable     FFH
  1116. 19 (default)   Reserved (00H)
  1117. changeable     00H
  1118. 20--21         Media rotation rate
  1119. default        1194H
  1120. changeable     0000H
  1121. 22--23 (default) Reserved (0000H)
  1122. changeable     0000H
  1123.  
  1124.  
  1125. Bytes 2--4     The number of cylinders field specifies the number of
  1126.           user-accessible cylinders, including two spare cylinders set
  1127.           aside for defects.  The drive uses the additional cylin-
  1128.           ders for storing parameters and defect lists or for diagnos-
  1129.           tic purposes.  The number of cylinders is specified on page
  1130.           1.
  1131.  
  1132. Byte 5    The number of heads field specifies the number of read/write
  1133.           heads on the drive. The number of heads is specified on page
  1134.           1.
  1135.  
  1136. Bytes 6--16    The starting cylinder for reduced write current,
  1137.           starting cylinder for reduced read current, drive step rate
  1138.           and loading zone cylinder bytes are not used by the drive.
  1139.  
  1140. Byte 17   When the rotational position locking (RPL) bits are 00Bi-
  1141.           nary, the rotational position locking is changeable. When
  1142.           the RPL bits are 01Binary, the drive automatically synchro-
  1143.           nizes its spindle with the synchronized master. When the RPL
  1144.           bits are 10Binary or 11Binary, the drive is the synchro-
  1145.           nized-spindle master.
  1146.  
  1147. For more information about external spindle-clock synchronization,
  1148. see Section 2.11.
  1149.  
  1150. Byte 18   The rotational offset is the rotational skew the drive uses
  1151.           when synchronized. The rotational skew is applied in the
  1152.           retarded direction (lagging the sync spindle master). A
  1153.           value of zero means no rotational offset is used.
  1154.  
  1155. Byte 19   Reserved.
  1156.  
  1157. Bytes 20--21   The medium rotation rate is the spindle speed, which is
  1158.           specified on page 1.
  1159.  
  1160. Bytes 22--23   Reserved.
  1161.  
  1162.  
  1163. C.5  Caching page (08H)
  1164. ===============================================================
  1165.  
  1166. The drive uses read look-ahead, read caching and write caching to
  1167. improve seek times and performance.
  1168.  
  1169. C.5.1     Read look-ahead and read caching
  1170.  
  1171. The drive uses an algorithm that improves seek performance by reading
  1172. the next logical sectors after the last requested sector. These unre-
  1173. quested sectors are read into a buffer and are ready to be transmitted
  1174. to the host before they are requested. Beca use these sectors are read
  1175. before they are requested, access read time for the sectors is
  1176. virtually eliminated. This process is called either read look-ahead or
  1177. read caching.
  1178.  
  1179. Read look-ahead and read caching are similar algorithms. Read look-
  1180. ahead occurs when a Read command requests more data than can be
  1181. contained in one buffer segment. Read caching occurs when a Read
  1182. command requests less data than can be contained in one b uffer
  1183. segment.
  1184.  
  1185. The buffer used for read look-ahead and caching can be divided into
  1186. segments as shown in the following table. To change the number of
  1187. segments, use byte 13 of the Caching page, which is described in
  1188. Appendix C.5.3. The default is one, 256-Kbyte segment.
  1189.  
  1190. Number of segments      Size of segment (in Kbytes)
  1191.      1                        256
  1192.      2                        128
  1193.      4                        64
  1194.      8                        32
  1195.      16                       16
  1196.  
  1197. When the buffer is divided into multiple segments, each segment func-
  1198. tions as an independent buffer, causing dramatically increased
  1199. performance in multitasking and multiuser environments.
  1200.  
  1201.  
  1202. C.5.2     Write caching and write merging
  1203. ===============================================================
  1204.  
  1205. Write caching. The drive uses the write segment to store write com-
  1206. mands and data. After the drive caches the commands and data, it is
  1207. immediately ready to process new commands. The drive writes the data
  1208. to the disc at its next convenient opportunity.
  1209.  
  1210. Write merging. The drive accepts contiguous write commands and
  1211. executes them sequentially as one command.
  1212.  
  1213. C.5.3     Caching page description
  1214.  
  1215. The Caching page is shown below. This table summarizes the function,
  1216. the default value and the changeability of each bit.
  1217.  
  1218. Bits           7       6       5       4       3       2       1       0
  1219. Bytes
  1220. 0              PS (1)  Page code (08H)
  1221. 1              Page length (12H)
  1222. 2              IC      ABPF    CAP     DISC    SIZE    WCE     MF     RCD
  1223. default        1       0       0       1       0       1       0       0
  1224. changeable     1       0       0       0       0       1       1       1
  1225. 3              Demand read                     Write retention priority
  1226.                retention priority
  1227. default        0       0       0       0       0       0       0       0
  1228. changeable     0       0       0       0       0       0       0       0
  1229. 4--5 (default) Disable prefetch transfer length (FFFFH)
  1230. changeable     0000H
  1231. 6--7 (default) Minimum prefetch (0000H)
  1232. changeable     0000H
  1233. 8--9 (default) Maximum prefetch (FFFFH)
  1234. changeable     FFFFH
  1235. 10--11 (default) Maximum prefetch ceiling (FFFFH)
  1236. changeable     FFFFH
  1237. 12             FSW     Rsrvd   DRA     Reserved
  1238. default        0       0       0       0       0       0       0       0
  1239. changeable     0       0       1       0       0       0       0       0
  1240. 13             Number of cache segments
  1241. default        0       0       0       0       0       0       0       1
  1242. changeable     1       1       1       1       1       1       1       1
  1243. 14--15 (default) Cache segment size (0000H)
  1244. changeable     0000H
  1245. 16 (default)   Reserved (00H)
  1246. changeable     00H
  1247. 17--19 (default) Noncache segment size (000000H)
  1248. changeable     000000H
  1249.  
  1250. Byte 2    The initiator control (IC) bit is not supported.
  1251.  
  1252.           When the abort prefetch (ABPF) bit is 0, the drive controls
  1253.           completion of prefetch. See the description for the DISC
  1254.           bit, below. This is the default value and it is not
  1255.           changeable.
  1256.  
  1257.           The caching analysis permitted (CAP) bit is not supported.
  1258.  
  1259.           When the discontinuity (DISC) bit is 1, the drive may
  1260.           prefetch across cylinder boundaries, where head seeks
  1261.           consume additional processing time. This is the default
  1262.           value and it is not changeable.
  1263.  
  1264.           The size enable (SIZE) bit is not supported.
  1265.  
  1266.           When the write cache enable (WCE) bit is 0, the drive
  1267.           returns a good status for a Write command after successfully
  1268.           writing all the data to the media. When the WCE bit is 1,
  1269.           the drive returns a good status for a Write command after
  1270.           successfully receiving the data and before writing it to the
  1271.           media.
  1272.  
  1273.           When the multiplication factor (MF) bit is 0, the drive
  1274.           interprets the minimum prefetch and maximum prefetch fields
  1275.           as the number of logical blocks to be prefetched. When the
  1276.           MF bit is 1, the drive interprets the minimum prefetch and
  1277.           maximum prefetch fields in terms of a number which, when
  1278.           multiplied by the transfer length of the current command,
  1279.           yields the number of logical blocks to be prefetched.
  1280.  
  1281.           When the read cache disable (RCD) bit is 0, the drive may
  1282.           return data requested by a Read command by accessing either
  1283.           the cache or the media. If the RCD bit is 1, the cache is
  1284.           not used.
  1285.  
  1286.  
  1287. Byte 3    The demand read retention priority field is not used. The
  1288.           initiator cannot assign any special retention priority to
  1289.           the drive.
  1290.  
  1291.           The write retention priority field is not used. The
  1292.           initiator cannot assign any special retention priority to
  1293.           the drive.
  1294.  
  1295. Bytes 4--5     The disable prefetch transfer length always has a value
  1296.           of FFFFH, which means that the drive attempts an antici-
  1297.           patory prefetch for all Read commands.
  1298.  
  1299. Bytes 6--7     The minimum prefetch field specifies the minimum num-
  1300.           ber of blocks the drive prefetches, regardless of the delays
  1301.           it may cause in executing subsequent pending commands.
  1302.           When the minimum prefetch field contains 0, the drive
  1303.           terminates prefetching whenever another command is ready to
  1304.           be executed. If the minimum prefetch equals the maximum
  1305.           prefetch, the drive prefetches the same number of blocks
  1306.           regardless of whether there are commands pending.
  1307.  
  1308. Bytes 8--9     The maximum prefetch field specifies the maximum num-
  1309.           ber of blocks the drive prefetches during a Read command
  1310.           if there are no other commands pending. The maximum prefetch
  1311.           field represents the maximum amount of data to prefetch into
  1312.           the cache for any single Read command.
  1313.  
  1314. Bytes 10--11   The maximum prefetch ceiling field should be equal to
  1315.           the maximum prefetch field. The maximum prefetch ceiling and
  1316.           maximum prefetch fields are the same if the MF bit is 0.
  1317.  
  1318. Byte 12   The force sequential write (FSW) bit is not supported.
  1319.  
  1320.           When the disable read-ahead (DRA) bit is 1, the drive does
  1321.           not read into the buffer any logical blocks beyond the
  1322.           addressed logical blocks. When the DRA bit equals 0, the
  1323.           drive can continue reading logical blocks into the buffer
  1324.           beyond the addressed logical blocks.
  1325.  
  1326. Byte 13   The number of cache segments field determines the number of
  1327.           segments into which the cache should be divided. Valid
  1328.           values are 1, 2, 4, 8, 16 and 32.
  1329.  
  1330. Bytes 14--15   The cache segment size field indicates the segment size
  1331.           in bytes. The cache segment size field is valid only when
  1332.           the SIZE bit is 1.
  1333.  
  1334. Byte 16   Reserved.
  1335.  
  1336. Bytes 17--19   The noncache segment size field always contains zeros.
  1337.           This means that the entire buffer is available for caching.
  1338.  
  1339.  
  1340. C.6  Control Mode page (0AH)
  1341. ===============================================================
  1342.  
  1343. The Control Mode page is shown below. This table summarizes the
  1344. function, the default value and the changeability of each bit.
  1345.  
  1346. Bits           7       6       5       4       3       2       1       0
  1347. Bytes
  1348. 0              PS (1)  Page code (0AH)
  1349. 1              Page length (0AH)
  1350. 2              Reserved                                               RLEC
  1351. default        0       0       0       0       0       0       0       0
  1352. changeable     0       0       0       0       0       0       0       1
  1353. 3              Queue algorithm modifier        Reserved        QErr    DQue
  1354. default        0       0       0       0       0       0       0       0
  1355. changeable     1       1       1       1       0       0       0       1
  1356. 4              EECA    Reserved                        RAENP   UAAENP  EAENP
  1357. default        0       0       0       0       0       0       0       0
  1358. changeable     00H
  1359. 5 (default)    Reserved (00H)
  1360. changeable     00H
  1361. 6--7 (default) Ready AEN hold-off period (0000H)
  1362. changeable     0000H
  1363. 8--9 (default) Busy timeout period (FFFFH)
  1364. changeable     0000H
  1365. 10--11         Reserved (0000H)
  1366. changeable     0000H
  1367.  
  1368.  
  1369. Byte 2    The RLEC bit is not implemented.
  1370.  
  1371. Byte 3    The queue algorithm modifier field is only effective if the
  1372.           disable queuing bit is zero. When bit 4 in the queue
  1373.           algorithm modifier field contains one, the drive may use
  1374.           tagged command queuing to change the order in which it
  1375.           executes commands. When bit 4 in the queue algorithm
  1376.           modifier field contains zero, the drive always executes
  1377.           commands according to the order indicated by the simple
  1378.           queue tag.
  1379.  
  1380.           When the disable queuing (DQue) bit is zero, tagged command
  1381.           queuing is enabled. When the DQue bit is one, tagged command
  1382.           queuing is disabled.
  1383.  
  1384. Byte 4    Not implemented
  1385.  
  1386. Byte 5    Reserved
  1387.  
  1388. Bytes 6--7     Not implemented
  1389.  
  1390. Bytes 8--9     The busy timeout period field contains the maximum
  1391.           possible value, which means that the drive can remain busy
  1392.           an unlimited amount of time.
  1393.  
  1394. Bytes 10--11   Reserved
  1395.  
  1396.  
  1397. C.7  Notch page (0CH)
  1398. ===============================================================
  1399.  
  1400. The Notch page contains parameters that describe the notches. The
  1401. table below summarizes the function, default value and the
  1402. changeability of each bit.
  1403.  
  1404. The drive uses Zone Bit Recording, which means that the outer
  1405. cylinders of the disc contain more logical blocks than the inner
  1406. cylinders. The cylinders are organized into groups, called zones or
  1407. notches. Every logical block is part of a notch. Notches do not
  1408. overlap.
  1409.  
  1410. Bits           7       6       5       4       3       2       1       0
  1411. Bytes
  1412. 0              PS (1)  Page code (0CH)
  1413. 1              Page length (16H)
  1414. 2              ND      LPN     Reserved
  1415. default        1       0       0       0       0       0       0       0
  1416. changeable     0       0       0       0       0       0       0       0
  1417. 3 (default)    Reserved (00H)
  1418. changeable     00H
  1419. 4--5 (default) Maximum number of notches (0013H)
  1420. changeable     0000H
  1421. 6--7 (default) Active notch (0000H)
  1422. changeable     0       0       0       1       1       1       1       1
  1423. 8--11 (default) Starting boundary (00000000H)
  1424. changeable     00000000H
  1425. 12--15 (default) Ending boundary (000BB903H)
  1426. changeable     00000000H
  1427. 16--23 (default) Pages notched (0000000000000008H)
  1428. changeable     0000000000000000H
  1429.  
  1430.  
  1431. Byte 2    The notched drive (ND) bit is always 1, which means the disc
  1432.           contains notches of different recording densities. For each
  1433.           supported active notch value, this page defines the starting
  1434.           and ending boundaries of the notch.
  1435.  
  1436.           The logical or physical notch (LPN) bit is 0, which means
  1437.           the notch boundaries are based on the physical parameters
  1438.           of the logical unit. The cylinder is most significant; the
  1439.           head is least significant.
  1440.  
  1441. Byte 3    Reserved.
  1442.  
  1443. Bytes 4--5     The maximum number of notches field indicates the maxi-
  1444.           mum number of notches supported by the drive.
  1445.  
  1446. Bytes 6--7     The active notch field identifies the notch to which
  1447.           this, and all future Mode Select and Mode Sense commands
  1448.           refer, until the active notch is changed by a later Mode
  1449.           Select command. The value of the active notch field must be
  1450.           greater than or equal to 0 and less than or equal to the
  1451.           maximum number of notches. An active notch value of 0 means
  1452.           that current and future Mode Select and Mode Sense commands
  1453.           refer to the parameters that apply for all notches.
  1454.  
  1455. Bytes 8--11    The starting boundary field indicates the beginning of
  1456.           the active notch if the active notch is not 0, or the
  1457.           starting boundary of the logical unit if the active notch is
  1458.           0. This field is ignored by the Mode Select command. When
  1459.           the LPN bit is 0, the three most significant bytes represent
  1460.           the cylinder number and the least significant byte
  1461.           represents the head number.
  1462.  
  1463. Bytes 12--15   The ending boundary field indicates the end of the
  1464.           active notch if the active notch is not 0, or the end of the
  1465.           logical unit if the active notch is 0. The default is equal
  1466.           to the end of zone 1.
  1467.  
  1468.           When the LPN bit is 0, the three most significant bytes
  1469.           represent the cylinder number and the least significant byte
  1470.           represents the head number.
  1471.  
  1472. Bytes 16--23   The pages notched field contains a bit map of the mode
  1473.           page codes that indicates which pages may contain dif-
  1474.           ferent parameters for each notch. When a bit is 1, the
  1475.           corresponding mode page can contain different parameters
  1476.           for each notch. When a bit is 0, the corresponding mode page
  1477.           contains the same parameters for all the notches. The most
  1478.           significant bit of this field corresponds to page code 3FH
  1479.           and the least significant bit corresponds to page code 00H.
  1480.  
  1481.  
  1482. C.8  Cache Control page (38H)
  1483. ===============================================================
  1484.  
  1485. The Cache Control page is shown below. This table summarizes the
  1486. function, the default value and the changeability of each bit.
  1487.  
  1488. Bits           7       6       5       4       3       2       1       0
  1489. Bytes
  1490. 0              PS (1)  Page code (38H)
  1491. 1              Page length (0EH)
  1492. 2              Rsrvd   WIE     Rsrvd   CE      Cache table size
  1493. default        0       X       0       X       X       X       X       X
  1494. changeable     (00H)
  1495. 3 (default)    Prefetch threshold (00H)
  1496. changeable     00H
  1497. 4 (default)    Maximum prefetch (FFH)
  1498. changeable     00H
  1499. 5 (default)    Maximum prefetch multiplier (00H)
  1500. changeable     00H
  1501. 6 (default)    Minimum prefetch (00H)
  1502. changeable     00H
  1503. 7 (default)    Minimum prefetch multiplier (00H)
  1504. changeable     00H
  1505. 8--15 (default Reserved (0000000000000000H)
  1506. changeable     0000000000000000H
  1507.  
  1508. Byte 2    The cache enable (CE) bit is always the inverse of the RCD
  1509.           bit in Mode Page 08H.
  1510.  
  1511.           The write index enable (WIE) bit controls the creation of
  1512.           cache data on Write commands. If bit 6 is 0, the next
  1513.           command treats the cache area as empty.
  1514.  
  1515.           The cache table size field contains the same values as Mode
  1516.           Page 08H, byte 13, bits 3 through 0.
  1517.  
  1518. Byte 3    The prefetch threshold  is not implemented. The drive reads
  1519.           until the buffer is full upon receipt of a Read command.
  1520.  
  1521. Byte 4    The maximum prefetch field always contains the same value as
  1522.           byte 9 of the Caching page. The initiator cannot change this
  1523.           byte directly.
  1524.  
  1525.  
  1526. Byte 5    The maximum prefetch multiplier field always contains the
  1527.           same value as byte 9 of the Caching page, which is de-
  1528.           scribed in Appendix C.5.3. The initiator cannot change this
  1529.           byte directly.
  1530.  
  1531. Byte 6    The minimum prefetch field always contains the same value as
  1532.           byte 7 of the Caching page. The initiator cannot change this
  1533.           byte directly.
  1534.  
  1535. Byte 7    The minimum prefetch multiplier field always contains the
  1536.           same value as byte 7 of the Caching page. The initiator
  1537.           cannot change this byte directly.
  1538.  
  1539. Byte 8--15     Reserved.
  1540.  
  1541.  
  1542.  
  1543. C.9  Soft ID page (Flash memory) (3CH)
  1544. ===============================================================
  1545.  
  1546. The Soft ID page is shown below. This table summarizes the function,
  1547. the default value and the changeability of each bit. This page is
  1548. saved in flash memory that has a life span of 10,000 writes.
  1549.  
  1550. Bits           7       6       5       4       3       2       1       0
  1551. Bytes
  1552. 0              PS (1)  Page code (3CH)
  1553. 1              Page length (01H)
  1554.                Soft    Soft   Param   Soft     Remote ID 2    ID 1    ID 0
  1555. 2              ID      Parity enable  remote   S/S
  1556. default        0       0       0       0       0       0       0       0
  1557. changeable     1       1       1       1       1       1       1       1
  1558.  
  1559.  
  1560. Byte 2    When the soft ID bit is 0, the drive ignores ID0, ID1 and
  1561.           ID2 and uses the SCSI ID jumpers to determine the SCSI ID.
  1562.           When the soft ID bit is 1, the drive ignores the SCSI ID
  1563.           jumpers and uses ID0, ID1 and ID2 to determine the SCSI ID.
  1564.           See Figure 5 on page 21 for jumper settings.
  1565.  
  1566.           When the soft parity bit is 0, the drive uses the parity
  1567.           jumper settings to determine whether the drive uses parity.
  1568.           When the soft parity bit is 1, the drive ignores the parity
  1569.           jumper settings.
  1570.  
  1571.           When the soft remote bit is 0, the drive uses the remote
  1572.           start jumper setting to determine whether remote start is
  1573.           implemented. When the soft remote bit is 1, the drive
  1574.           ignores the jumpers and uses the remote S/S bit to determine
  1575.           whether remote start is implemented.
  1576.  
  1577.  
  1578. Byte 2    When the remote S/S bit is 0, the drive spins up after a
  1579.           delay specified by the spinup delay field (byte 4 of the
  1580.           Operating page, 00H). When the remote S/S bit is 1, the
  1581.           drive spins up when it receives the Start Unit command. This
  1582.           bit is only valid if the soft remote bit is 1.
  1583.  
  1584.           The ID0, ID1 and ID2 bits are the SCSI ID bits. These bits
  1585.           are only valid when the soft ID bit is 1.
  1586.  
  1587. When the param enable bit is 0, the drive does not check
  1588. parity. When the param enable bit is 1, the drive checks
  1589. parity. This bit is only valid if the soft parity bit is 1.
  1590.  
  1591.  
  1592.  
  1593. C.10 Operating page (Flash memory) (00H)
  1594. ===============================================================
  1595.  
  1596. The Operating page is shown in the table below. This table shows the
  1597. function, the default value and the changeability of each bit.
  1598.  
  1599. The drive accepts an Operating page of two lengths: two bytes or three
  1600. bytes. If the length is two bytes, then byte 4, the spinup delay
  1601. field, is not written and is assumed to be unchanged.
  1602.  
  1603. In addition to being saved on the media, this vendor-unique page is
  1604. saved in flash memory that has a life span of 10,000 writes.
  1605.  
  1606. Bits           7       6       5       4       3       2       1       0
  1607. Bytes
  1608. 0              PS (1)  Page code (00H)
  1609. 1 (default)    Page length (02H or 03H)
  1610. changeable     0       0       0       0       0       0       1       X
  1611. 2              Usage   SSM     RSVD    ATOFF   Reserved
  1612. default        1       0       0       0       0       0       0       0
  1613. changeable     1       1       0       1       0       0       0       0
  1614. 3 (default)    Rsrvd   Device type qualifier (00H)
  1615. changeable     00H
  1616. 4 (default)    Spinup delay (00H)
  1617. changeable     00H
  1618.  
  1619. Byte 2    When the usage bit is 1, a warning message is enabled. When
  1620.           the write life span of the flash memory is exceeded, a
  1621.           warning message is generated. See additional sense error
  1622.           code C2 in Appendix B.3. When the usage bit is 0, the
  1623.           warning message is disabled. If requested, the flash memory
  1624.           data and the write counter is updated even after the write
  1625.           life span is exceeded, but the integrity of the data cannot
  1626.           be assured.
  1627.  
  1628.  
  1629. Byte 2    When the synchronous select mode (SSM) bit is 0, the drive
  1630.           does not send a synchronous data transfer message unless the
  1631.           initiator has already issued a synchronous data transfer
  1632.           message. When the SSM bit is 1, the drive can send a
  1633.           synchronous data transfer message, even when the initiator
  1634.           has not sent a synchronous data transfer message.
  1635.  
  1636.           When the disable unit attention (ATOFF) bit is 0, the drive
  1637.           generates a unit attention condition during power up. When
  1638.           the disable unit attention (ATOFF) bit is 1, the drive does
  1639.           not generate a unit attention condition during power up.
  1640.  
  1641. Byte 3    The device type qualifier field is not supported.
  1642.  
  1643. Byte 4    The spinup delay field controls the drive when it is not in
  1644.           the remote mode. When the value is 00H, the drive spins up
  1645.           without delay. When the value is FFH, the drive delays
  1646.           spinup to a duration whose value in seconds equals five
  1647.           times the driveÒs SCSI bus ID number. When the value is
  1648.           between 01H and FEH, the drive delays spinup for the
  1649.           corresponding decimal duration, in seconds.
  1650.  
  1651.  
  1652.  
  1653. Appendix D. Inquiry data
  1654. ===============================================================
  1655.  
  1656. When the initiator issues an Inquiry command, the drive returns either
  1657. of the following two types of data, depending on the value in the EVPD
  1658. bit in byte 1 of the Inquiry command descriptor block:
  1659.  
  1660.         - Inquiry data
  1661.         - Vital product data
  1662.  
  1663. Both types of data are discussed in this appendix. The Inquiry command
  1664. is described in Section 3.4.9.
  1665.  
  1666. D.1     Inquiry data
  1667. ===============================================================
  1668.  
  1669. When the initiator issues an Inquiry command, and the EVPD bit in byte
  1670. 1 of the Inquiry command descriptor block is 0, the drive returns the
  1671. following data. If the EVPD bit in byte 1 of the Inquiry command
  1672. descriptor block is 1, see Appendix D.2.
  1673.  
  1674. Bit      7       6       5       4       3       2       1       0
  1675. Byte
  1676. 0        Peripheral              Peripheral
  1677.          qualifier               device type
  1678.          0       0       0       0       0       0       0       0
  1679. 1        RMB     Device type modifier
  1680.          0       0       0       0       0       0       0       0
  1681. 2        ISO             ECMA                    ANSI version
  1682.          0       0       0       0       0       0       1       0
  1683. 3        AENC  TrmIOP            Response data format
  1684.          0       0       Resrvd          0       0       1       0
  1685. 4        Additional length (8FH)
  1686. 5--6     Reserved (00H)
  1687. 7        Rel Adr Wbus32  Wbus16  Sync    Linked  0       CmdQue  Sft Re
  1688. 8--15    Vendor identification
  1689. 16--31   Product identification
  1690. 32--35   Product revision level
  1691. 36--43   Drive serial number
  1692. 44--95   Reserved
  1693. 96--143  Copyright notice
  1694. 144--147 Servo PROM part number
  1695.  
  1696.  
  1697. Byte 0  The peripheral qualifier field contains zero, which means that
  1698.         the drive is currently connected to the logical unit that is
  1699.         issuing the Inquiry command. The peripheral device type field
  1700.         contains zero, which means that the drive is a direct access
  1701.         device.
  1702.  
  1703. Byte 1  The RMB bit is 0, which means the discs are not removable. The
  1704.         device type modifier is not used.
  1705.  
  1706. Byte 2  The ISO version field contains zero, which means that we do
  1707.         not claim compliance with ISO 9316.
  1708.  
  1709.         The EMCA version field contains zero, which means that we do
  1710.         not claim compliance with EMCA-111.
  1711.  
  1712.         The ANSI version field contains two, which means that the
  1713.         drive complies with ANSI SCSI-2 standard X3.131-199x.
  1714.  
  1715. Byte 3  The asynchronous event notification (AENC) bit is zero, which
  1716.         means that the drive does not support asynchronous event
  1717.         notification.
  1718.  
  1719.         The terminate I/O process (TrmIOP) bit is zero, which means
  1720.         that the drive does not support the terminate I/O process
  1721.         message.
  1722.  
  1723.         The response data format field contains two, which means that
  1724.         the inquiry data is in standard SCSI-2 format.
  1725.  
  1726. Byte 4  The additional length field contains 143, which is the num-
  1727.         ber of bytes contained in the inquiry data beyond byte 4. This
  1728.         value represents a total inquiry data length of 148 bytes. If
  1729.         the allocation length in the CDB of the Inquiry command is
  1730.         less than 148, the inquiry data is truncated, but the
  1731.         additional length does not change.
  1732.  
  1733. Bytes 5--6      Reserved
  1734.  
  1735. Byte 7  The RelAdr bit is one, which means that the drive supports the
  1736.         relative addressing mode.
  1737.  
  1738.         The WBUS32 bit is zero, which means that the drive does not
  1739.         support 32-bit data transfers.
  1740.  
  1741.         The WBUS16 bit is zero, which means that the drive does not
  1742.         support 16-bit data transfers.
  1743.  
  1744.         The SYNC bit is one, which means that the drive supports
  1745.         synchronous data transfer.
  1746.  
  1747.         The Linked bit is one, which means that the drive supports
  1748.         linked commands.
  1749.  
  1750.         The CmdQue bit is one, which means that the drive supports
  1751.         tagged command queuing.
  1752.  
  1753.         The Soft Re bit is zero, which means that the drive responds
  1754.         to a reset with a hard reset.
  1755.  
  1756. Bytes 8--15     The vendor identification field contains "SEAGATE"
  1757.         in ASCII text.
  1758.  
  1759. Bytes 16--31    The product identification field contains the model
  1760.         num- ber of the drive in ASCII text.
  1761.  
  1762. Bytes 32--35    The product revision level field contains the last
  1763.         four digits of the firmware release number in ASCII.
  1764.  
  1765. Bytes 36--43    The drive serial number field contains the serial
  1766.         number of the drive in ASCII.
  1767.  
  1768. Bytes 44--95    These bytes are reserved; they contain only zeros.
  1769.  
  1770. Bytes 96--143The copyright notice field contains the following ASCII
  1771.         string: "Copyright (c) 1993 Seagate. All rights reserved."
  1772.  
  1773. Bytes 144--147  The servo PROM part number field is reserved.
  1774.  
  1775.  
  1776. D.2     Vital product data pages
  1777. ===============================================================
  1778.  
  1779. When the initiator issues an Inquiry command, and the EVPD bit in byte
  1780. 1 of the Inquiry command descriptor block is 1, the drive returns
  1781. vital product data pages. If the EVPD bit in byte 1 of the Inquiry
  1782. command descriptor block is 0, see Appendix D.1.
  1783.  
  1784. All vital product data pages contain a 4-byte header, shown below.
  1785.  
  1786. Bits     7       6       5       4       3       2       1       0
  1787. Bytes
  1788. 0       Peripheral qualifier     Peripheral device type
  1789. 1       Page code
  1790. 2       Reserved (00H)
  1791. 3       Page length
  1792.  
  1793. Byte 0  The peripheral qualifier field contains zero, which means that
  1794.         the drive is currently connected to the logical unit issuing
  1795.         the Inquiry command.
  1796.  
  1797.         The peripheral device type field contains zero, which means
  1798.         that the drive is a direct-access device.
  1799.  
  1800. Byte 1  The page code field contains the same value contained in the
  1801.         page code field in byte 2 of the Inquiry command descriptor
  1802.         block.
  1803.  
  1804.         If the page code field contains any of the page codes shown in
  1805.         the table below, the drive returns the corresponding page. The
  1806.         available page codes are:
  1807.  
  1808.         Page code       Description
  1809.         00H             Supported vital product data pages
  1810.         80H             Unit serial number page
  1811.         81H             Implemented operating definitions page
  1812.         C0H             Firmware numbers page (vendor-unique)
  1813.         C1H             Date code page (vendor-unique)
  1814.         C2H             Jumper settings page (vendor-unique)
  1815.  
  1816. Byte 2  Reserved
  1817.  
  1818. Byte 3  The page length field contains the length of the supported
  1819.         page list.
  1820.  
  1821.  
  1822. D.2.1   Unit Serial Number page (80H)
  1823. The Unit Serial Number page is shown below. The table summarizes the
  1824. function and the default value of each bit.
  1825.  
  1826. Bits     7       6       5       4       3       2       1       0
  1827. Bytes
  1828. 0       Peripheral qualifier     Peripheral device type
  1829. 1       Page code (80H)
  1830. 2       Reserved (00H)
  1831. 3       Page length (0EH)
  1832. 4--17   Product serial number
  1833.  
  1834. Bytes 4--17     The product serial number field contains the serial
  1835.         number for the drive in ASCII. If the drive does not return
  1836.         the serial number, it returns spaces (20H).
  1837.  
  1838.  
  1839. D.2.2   Implemented Operating Definition page (81H)
  1840. The Implemented Operating Definition page is shown below. The table
  1841. summarizes the function and the default value of each bit.
  1842.  
  1843. Bits     7       6       5       4       3       2       1       0
  1844. Bytes
  1845. 0       Peripheral qualifier     Peripheral device type
  1846. 1       Page code (81H)
  1847. 2       Reserved (00H)
  1848. 3       Page length (05H)
  1849. 4       SAVIMP   Current operating definition
  1850.         0
  1851. 5       SAVIMP   Default operating definition
  1852.         0
  1853. 6--8    SAVIMP   Supported operating definition
  1854.         0
  1855.  
  1856. Byte 4  The current operating definition field contains the value of
  1857.         the current operating definition.
  1858.  
  1859. Byte 5  The SAVIMP bit is always zero; therefore, the current
  1860.         operating definition parameter cannot be saved. If the SAVIMP
  1861.         bit is one, the current operating parameter can be saved.
  1862.  
  1863.         The default operating definition field contains the value of
  1864.         the default operating definition. If no operating definition
  1865.         is saved, the drive uses the default operating definition.
  1866.  
  1867. Bytes 6--8      If the SAVIMP bit is zero, the default definition
  1868.         parameter cannot be saved. If the SAVIMP bit is one, the
  1869.         default definition parameter can be saved.
  1870.  
  1871.         The supported operating definition field contains the value of
  1872.         the supported operating definition. If no supported oper-
  1873.         ating definition is saved, the drive uses the default
  1874.         operating definition.
  1875.  
  1876.  
  1877. D.2.3   Firmware Numbers page (C0H)
  1878. The Firmware Numbers page is shown below. The table summarizes the
  1879. function, and default value of each bit.
  1880.  
  1881. Bits     7       6       5       4       3       2       1       0
  1882. Bytes
  1883. 0       Peripheral qualifier     Peripheral device type
  1884. 1       Page code (C0H)
  1885. 2       Reserved (00H)
  1886. 3       Page length (10H)
  1887. 4--7    Download firmware number
  1888. 8--11   Controller PROM number
  1889. 12--15  Servo PROM number
  1890. 16--19  EEPROM image number
  1891.  
  1892. Bytes 4--8  The download firmware number field contains the firm- ware
  1893.         number in ASCII.
  1894.  
  1895. Bytes 9--11The controller PROM number field contains the controller
  1896.         PROM number in ASCII.
  1897.  
  1898. Bytes 12--15The servo PROM number field contains the servo PROM in
  1899.         ASCII.
  1900.  
  1901. Bytes 16--19The EEPROM image number field contains the EEPROM image
  1902.         number in ASCII.
  1903.  
  1904.  
  1905. D.2.4   Date Code page (C1H)
  1906. The Date Code page is shown below. The table summarizes the function
  1907. and the default value of each bit.
  1908.  
  1909. Bits     7       6       5       4       3       2       1       0
  1910. Bytes
  1911. 0       Peripheral qualifier     Peripheral device type
  1912. 1       Page code (C1H)
  1913. 2       Reserved (00H)
  1914. 3       Page length (03H)
  1915. 4       Year
  1916. 5--6    Week
  1917.  
  1918. Bytes 4 The year field contains the year, in ASCII, that the firmware
  1919.         was released.
  1920.  
  1921. Bytes 5--6      The week field contains the week, in ASCII, that the
  1922.         firm- ware was released.
  1923.  
  1924.  
  1925. D.2.5   Jumper Settings page (C2H)
  1926. The Jumper Settings page is shown below. The table summarizes the
  1927. function and the default value of each bit.
  1928.  
  1929. Bits     7       6       5       4       3       2       1       0
  1930. Bytes
  1931. 0       Peripheral qualifier     Peripheral device type
  1932. 1       Page code (C2H)
  1933. 2       Reserved (00H)
  1934. 3       Page length (01H)
  1935. 4       Rsrvd                     MS     PE      SCSI ID
  1936.  
  1937. Byte 4  If the motor start (MS) bit is 1, the remote start enable
  1938.         jumper is installed on pins 3 and 4 of  the options jumper
  1939.         block. If the MS bit is 0, the remote start enable jumper is
  1940.         not installed.
  1941.  
  1942.         If the parity enable (PE) bit is 1, the parity enable jumper
  1943.         is installed on pins 1 and 2 of  the options jumper block. If
  1944.         the PE bit is 0, the parity enable jumper is not installed.
  1945.  
  1946.         SCSI ID is the SCSI ID of the drive.
  1947.  
  1948. =====Rev=Hist===============
  1949. Written with Borland Pascal v6.0 by B.Rudock, R.Dimick and R.Stacy.
  1950.  
  1951. Revision History:
  1952.  
  1953.         7/94   v1.0    Public release.
  1954.  
  1955. =====Legal=Disclaimer=======
  1956.  
  1957.                           LICENSE AGREEMENT
  1958.  
  1959. Seagate provides the accompanying object code software ("Software")
  1960. and nonexclusively licenses its use on the following terms and
  1961. conditions. The Software is copyrighted by Seagate.  YOU ASSUME FULL
  1962. RESPONSIBILITY FOR THE SELECTION OF THE SOFTWARE TO ACHIEVE YOUR
  1963. INTENDED PURPOSES, FOR THE PROPER INSTALLATION AND USE.  SEAGATE DOES
  1964. NOT WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS, THAT THE
  1965. SOFTWARE IS FIT FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
  1966. SOFTWARE WILL BE ERROR FREE.  SEAGATE EXPRESSLY DISCLAIMS ALL
  1967. WARRANTIES, WHETHER ORAL OR WRITTEN, EXPRESSED OR IMPLIED, INCLUDING
  1968. WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
  1969. PARTICULAR PURPOSE.  IN NO EVENT WILL SEAGATE BE LIABLE TO YOU, YOUR
  1970. CUSTOMERS OR OTHER USERS FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL,
  1971. SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE
  1972. USE OR INABILITY TO USE THE SOFTWARE.
  1973.  
  1974. End of License agreement.
  1975.  
  1976. =====Other==================
  1977. Available on the Seagate Tech Support BBS (408)438-8771 and many fine
  1978. and helpful BBS's around the world:
  1979.  
  1980. Specifications and jumper drawings for all Seagate Disc Drives and
  1981. Controllers.
  1982.  
  1983. Reprints of Installation Guides.
  1984.  
  1985. Troubleshooting essays.
  1986.  
  1987. FINDTYPE - Utility which displays bios drive type table and matches a
  1988. Seagate model to the best drive type.  Also prints complete
  1989. specifications lists and much more!
  1990.  
  1991. FINDINIT - Utility for Seagate controllers and host adapters that have
  1992. onboard bios. Queries the system to determine bios memory address and
  1993. initiates low-level format.
  1994.  
  1995. DESK REFERENCE - Hypertext data system for all Seagate products,
  1996. troubleshooting, other OEM phone numbers and much, much more. A must
  1997. for dealers who do a fair amount of support for Seagate products.
  1998.  
  1999. SEAGATE FORMAT - A lo-level and mid-level formatting utility for AT
  2000. systems (286+) which supports MFM, RLL, ESDI and ATA interface drives.
  2001.  
  2002. FIND-ATA - An ATA interface identify drive utility. Ask the drive directly
  2003. to determine cylinder, head and sectors, Fast-ATA features like Read/Write
  2004. Multiple mode, PIO modes, DMA modes and more.  Save the data to a file.
  2005. Supports Primary and Secondary port addresses.
  2006.  
  2007. -=EOF: ASPI-ID.DOC=-
  2008.