home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / SCSIDOSV3.0UPDATE.DMS / in.adf / FmtData / Rodime.fmt < prev    next >
Encoding:
Text File  |  1989-01-12  |  12.3 KB  |  257 lines

  1. /* ------------------------------------------------------------------- *
  2.  * Format Configuration For:   Rodime 650 series SCSI hard drives.     *
  3.  *                                                                     *
  4.  * Created: 11-11-88           Author: Wayne E. Miller                 *
  5.  *                                                                     *
  6.  * Copyright (C) 1988,  Wayne E. Miller - All Rights Reserved          *
  7.  *                                                                     *
  8.  *   Date     Who  Description                                         *
  9.  * ---------  ---  --------------------------------------------------- *
  10.  * 11-11-88   WEM  First Version                                       *
  11.  *                                                                     *
  12.  * ------------------------------------------------------------------- */
  13.  
  14. /* --- Configuration Parameters -------------------------------------- */
  15.  
  16. : PrgRelease   1                   /* Program Release Level            */
  17. : CstRelease   1                   /* Rodime Specific Relese Level     */
  18.  
  19. : SenseType    1                   /* Sense Info Format                */
  20.  
  21. /* --- Media Verification Patterns - (Lenght In Words, Data) --------- */
  22.  
  23. : Pattern
  24.  
  25.    3   %0110110110110110   %1101101101101101   %1011011011011011
  26.    3   %1011011011011011   %0110110110110110   %1101101101101101
  27.    3   %1101101101101101   %1011011011011011   %0110110110110110
  28.  
  29.    1   %0111011101110111
  30.    1   %1011101110111011
  31.    1   %1101110111011101
  32.    1   %1110111011101110
  33.  
  34. : End Pattern
  35.  
  36. /* Page */
  37.  
  38. /*      Length    Value    Key Word / Description                      */
  39. /*      ------  ---------  ------------------------------------------- */
  40.  
  41. : ModeCmdStart > 8
  42.  
  43.            1    $15                        /* Set Mode Command         */
  44.            1    %00000001  = LUN           /* Logical Unit Number      */
  45.            2    $0000                      /* Reserved                 */
  46.            1    68                         /* Number Of Bytes          */
  47.            1    $00                        /* Reserved                 */
  48.  
  49. : ModeDataStart > 72
  50.  
  51.            1    $00                        /* Reserved                 */
  52.            1    $00                        /* Default Medium           */
  53.            1    $00                        /* Reserved                 */
  54.            1    $08                        /* Descriptor List Length   */
  55.            1    $00                        /* Density Code             */
  56.            4    $00000000                  /* Reserved                 */
  57.            3    0          = BlockSize     /* Block Size               */
  58.  
  59.            1    $00                        /* Page 0 Indicator         */
  60.            1    $02                        /* Length Of Page           */
  61.            1    $00                        /* Attention Parameters     */
  62.            1    $00                        /* Reserved                 */
  63.  
  64.            1    $01                        /* Page 1 Indicator         */
  65.            1    $06                        /* Length Of Page           */
  66.            1    %00000001                  /* Error Recovery Parameters*/
  67.            1    16                         /* Retry Count              */
  68.            1    8                          /* Correction Span          */
  69.            3    $000000                    /* Reserved                 */
  70.  
  71.            1    $03                        /* Page 3 Indicator         */
  72.            1    $16                        /* Page Length              */
  73.            2    $0000                      /* Tracks / Zone            */
  74.            2    $0000                      /* Alternate Sectors / Zone */
  75.            2    $0000                      /* Alternate Tracks / Zone  */
  76.            2    $0000                      /* Alternate Tracks / Volume*/
  77.            2    $0000                      /* Sectors Per Track        */
  78.            2    0          = BlockSize     /* Sector Size              */
  79.            2    $0000                      /* Interleave               */
  80.            2    1                          /* Track Skew               */
  81.            2    30                         /* Cylinder Skew            */
  82.            1    %10000000                  /* Flags                    */
  83.            3    $000000                    /* Reserved                 */
  84.  
  85.            1    $04                        /* Page 4 Indicator         */
  86.            1    $12                        /* Length                   */
  87.            3    $000000    = CylCount      /* Cylinder Count           */
  88.            1    $00        = HeadCount     /* Head Count               */
  89.            3    $000000                    /* Write PreComp Cylinder   */
  90.            3    $000000                    /* Reduced Write Current Cyl*/
  91.            2    $00                        /* Step Rate                */
  92.            4    $00000000                  /* Reserved                 */
  93.            2    $0000                      /* Reserved                 */
  94.  
  95. : End ModeStart
  96.  
  97. /* Page */
  98.  
  99. /*      Length    Value    Key Word / Description                      */
  100. /*      ------  ---------  ------------------------------------------- */
  101.  
  102. : FormatCmdStart > 12
  103.  
  104.            1    $04                        /* Format Command           */
  105.            1    %00011000  = LUN           /* Logical Unit Nubmer      */
  106.            1    $00                        /* Reserved                 */
  107.            2    $00        = Interleave    /* Interleave               */
  108.            1    $00                        /* Reserved                 */
  109.  
  110. : FormatDataStart > 8
  111.  
  112.            1    $00                        /* Reserved                 */
  113.            1    $00                        /* Reserved                 */
  114.            2    $0000                      /* Defect List Length       */
  115.  
  116. : End FormatStart
  117.  
  118. /* Page */
  119.  
  120. /*      Length    Value    Key Word / Description                      */
  121. /*      ------  ---------  ------------------------------------------- */
  122.  
  123. : ModeCmdFinal > 8
  124.  
  125.            1    $15                        /* Set Mode Command         */
  126.            1    %00000001  = LUN           /* Logical Unit Number      */
  127.            2    $0000                      /* Reserved                 */
  128.            1    66                         /* Number Of Bytes          */
  129.            1    $00                        /* Reserved                 */
  130.  
  131. : ModeDataFinal > 72
  132.  
  133.            1    $00                        /* Reserved                 */
  134.            1    $00                        /* Default Medium           */
  135.            1    $00                        /* Reserved                 */
  136.            1    $08                        /* Descriptor List Length   */
  137.            1    $00                        /* Density Code             */
  138.            4    $00000000                  /* Reserved                 */
  139.            3    0          = BlockSize     /* Block Size               */
  140.  
  141.            1    $00                        /* Page 0 Indicator         */
  142.            1    $02                        /* Length Of Page           */
  143.            1    $00                        /* Attention Parameters     */
  144.            1    $00                        /* Reserved                 */
  145.  
  146.            1    $01                        /* Page 1 Indicator         */
  147.            1    $06                        /* Length Of Page           */
  148.            1    %00000000                  /* Error Recovery Parameters*/
  149.            1    16                         /* Retry Count              */
  150.            1    8                          /* Correction Span          */
  151.            3    $000000                    /* Reserved                 */
  152.  
  153.            1    $03                        /* Page 3 Indicator         */
  154.            1    $16                        /* Page Length              */
  155.            2    $0000                      /* Tracks / Zone            */
  156.            2    $0000                      /* Alternate Sectors / Zone */
  157.            2    $0000                      /* Alternate Tracks / Zone  */
  158.            2    $0000                      /* Alternate Tracks / Volume*/
  159.            2    $0000                      /* Sectors Per Track        */
  160.            2    0          = BlockSize     /* Sector Size              */
  161.            2    $0000                      /* Interleave               */
  162.            2    1                          /* Track Skew               */
  163.            2    30                         /* Cylinder Skew            */
  164.            1    %10000000                  /* Flags                    */
  165.            3    $000000                    /* Reserved                 */
  166.  
  167.            1    $04                        /* Page 4 Indicator         */
  168.            1    $12                        /* Length                   */
  169.            3    $000000    = CylCount      /* Cylinder Count           */
  170.            1    $00        = HeadCount     /* Head Count               */
  171.            3    $000000                    /* Write PreComp Cylinder   */
  172.            3    $000000                    /* Reduced Write Current Cyl*/
  173.            2    $00                        /* Step Rate                */
  174.            4    $00000000                  /* Reserved                 */
  175.            2    $0000                      /* Reserved                 */
  176.  
  177. : End ModeFinal
  178.  
  179. /* Page */
  180.  
  181. /*      Length    Value    Key Word / Description                      */
  182. /*      ------  ---------  ------------------------------------------- */
  183.  
  184. : FormatCmdFinal > 12
  185.  
  186.            1    $01                        /* ReZero Unit              */
  187.            1    %00000000  = LUN           /* Logical Unit Nubmer      */
  188.            4    $00000000                  /* Reserved                 */
  189.  
  190. : FormatDataFinal > 0
  191.  
  192. : End FormatFinal
  193.  
  194. /* Note:                                                               */
  195. /*                                                                     */
  196. /* Due to the limitations of the Rodime SCSI implementation it is not  */
  197. /* possible to obtain the bad block information necessary to re-format */
  198. /* the drive.  So we skip reformatting.  Media verification has taken  */
  199. /* place so we are ok.                                                 */
  200. /*                                                                     */
  201. /* Instead of reformatting we issue Rezero Unit command ...            */
  202.  
  203. /* Page */
  204.  
  205. /* Error   Description                                                 */
  206. /* -----   ----------------------------------------------------------- */
  207.  
  208. : Errors
  209.  
  210.    $01     01h - No index or sector signal found during rd, wr, or format.
  211.    $03     03h - Drive detected failure which disallows writes.
  212.    $04     04h - Drive not ready.
  213.    $06     06h - Track zero not found.
  214.  
  215.    $10     10h - ID field error, unable to correct by retry.
  216.    $11     11h - Uncorrectable read error.
  217.    $12     12h - ID address mark not found.
  218.    $13     13h - Data field address mark not found.
  219.    $14     14h - Record not found - unable to locate sector on cylinder.
  220.    $15     15h - Seek Error - Unable to locate track with correct ID.
  221.    $17     17h - Recoverable read error occurred, corrected with retries.
  222.    $18     18h - Recoverable read error occurred, corrected with ECC.
  223.    $19     19h - Error reading defect list.
  224.    $1A     1Ah - Parameter Overrun - parameter list too long.
  225.    $1C     1Ch - Unable to locate primary defect list.
  226.  
  227.    $20     20h - Invalid SCSI command.
  228.    $21     21h - Invalid block address (too high).
  229.    $22     22h - Illegal function for device type.
  230.    $24     24h - SCSI command argument error.
  231.    $25     25h - Invalid logical unit number.
  232.    $26     26h - Invalid field in parameter list.
  233.    $29     29h - Controller reset occurred.
  234.    $2A     2Ah - Mode select has been changed.
  235.  
  236.    $31     31h - Format corrupted.
  237.    $32     32h - Spare sector not available on current cylinder.
  238.  
  239.    $40     40h - RAM failure.
  240.    $43     43h - Message reject failure.
  241.    $47     47h - SCSI bus out parity check.
  242.    $48     48h - Host system detected error.
  243.  
  244.    $80     80h - Spindle motor failed to start.
  245.    $81     81h - Spindle motor speed error +/- 1 percent.
  246.    $82     82h - Spindle motor speed error +/- 5 percent.
  247.    $83     83h - Index calibration failed.
  248.    $84     84h - ECC diagnostics failed.
  249.    $85     85h - Read / Write diagnostics failed.
  250.    $86     86h - ROM diagnostics failed.
  251.    $87     87h - Seek diagnostics failed.
  252.    $88     88h - Recalibrate diagnostics failed.
  253.    $89     89h - Interface diagnostics failed.
  254.  
  255. : End Errors
  256.  
  257.