SCSIエラーコード一覧 | Mode Sense/SelectのPage Format | MOのデータ構造 | 参考文献

エラーコード一覧

Table D.1 - ASC and ASCQ assignments
+=============================================================================+ 
|           D - DIRECT ACCESS DEVICE                                          | 
|           .T - SEQUENTIAL ACCESS DEVICE                                     | 
|           . L - PRINTER DEVICE                                              | 
|           .  P - PROCESSOR DEVICE                                           | 
|           .  .W - WRITE ONCE READ MULTIPLE DEVICE                           | 
|           .  . R - READ ONLY (CD-ROM) DEVICE                                | 
|           .  .  S - SCANNER DEVICE                                          | 
|           .  .  .O - OPTICAL MEMORY DEVICE                                  | 
|           .  .  . M - MEDIA CHANGER DEVICE                                  | 
|           .  .  .  C - COMMUNICATION DEVICE                                 | 
|           .  .  .  .                                                        | 
| ASC ASCQ  DTLPWRSOMC  DESCRIPTION                                           | 
| --- ----              ----------------------------------------------------- | 
|  00  00   DTLPWRSOMC  NO ADDITIONAL SENSE INFORMATION                       | 
|  00  01    T          FILEMARK DETECTED                                     | 
|  00  02    T    S     END-OF-PARTITION/MEDIUM DETECTED                      | 
|  00  03    T          SETMARK DETECTED                                      | 
|  00  04    T    S     BEGINNING-OF-PARTITION/MEDIUM DETECTED                | 
|  00  05    T    S     END-OF-DATA DETECTED                                  | 
|  00  06   DTLPWRSOMC  I/O PROCESS TERMINATED                                | 
|  00  11   R           AUDIO PLAY OPERATION IN PROGRESS                      | 
|  00  12   R           AUDIO PLAY OPERATION PAUSED                           | 
|  00  13   R           AUDIO PLAY OPERATION SUCCESSFULLY COMPLETED           | 
|  00  14   R           AUDIO PLAY OPERATION STOPPED DUE TO ERROR             | 
|  00  15   R           NO CURRENT AUDIO STATUS TO RETURN                     | 
|  01  00   DW  O       NO INDEX/SECTOR SIGNAL                                | 
|  02  00   DWR OM      NO SEEK COMPLETE                                      | 
|  03  00   DTL W SO    PERIPHERAL DEVICE WRITE FAULT                         | 
|  03  01    T          NO WRITE CURRENT                                      | 
|  03  02    T          EXCESSIVE WRITE ERRORS                                | 
|  04  00   DTLPWRSOMC  LOGICAL UNIT NOT READY, CAUSE NOT REPORTABLE          | 
|  04  01   DTLPWRSOMC  LOGICAL UNIT IS IN PROCESS OF BECOMING READY          | 
|  04  02   DTLPWRSOMC  LOGICAL UNIT NOT READY, INITIALIZING command REQUIRED | 
|  04  03   DTLPWRSOMC  LOGICAL UNIT NOT READY, MANUAL INTERVENTION REQUIRED  | 
|  04  04   DTL    O    LOGICAL UNIT NOT READY, FORMAT IN PROGRESS            | 
|  05  00   DTL WRSOMC  LOGICAL UNIT DOES NOT RESPOND TO SELECTION            | 
|  06  00   DWR OM  NO  REFERENCE POSITION FOUND                              | 
|  07  00   DTL WRSOM   MULTIPLE PERIPHERAL DEVICES SELECTED                  | 
|  08  00   DTL WRSOMC  LOGICAL UNIT COMMUNICATION FAILURE                    | 
|  08  01   DTL WRSOMC  LOGICAL UNIT COMMUNICATION TIME-OUT                   | 
|  08  02   DTL WRSOMC  LOGICAL UNIT COMMUNICATION PARITY ERROR               | 
|  09  00   DT  WR O    TRACK FOLLOWING ERROR                                 | 
|  09  01       WR O    TRACKING SERVO FAILURE                                | 
|  09  02       WR O    FOCUS SERVO FAILURE                                   | 
|  09  03       WR O    SPINDLE SERVO FAILURE                                 | 
|  0A  00   DTLPWRSOMC  ERROR LOG OVERFLOW                                    | 
|  0B  00                                                                     | 
|  0C  00    T     S    WRITE ERROR                                           | 
|  0C  01   D   W  O    WRITE ERROR RECOVERED WITH AUTO REALLOCATION          | 
|  0C  02   D   W  O    WRITE ERROR - AUTO REALLOCATION FAILED                | 
|  0D  00                                                                     | 
|  0E  00                                                                     | 
|  0F  00                                                                     | 
|  10  00   D   W  O    ID CRC OR ECC ERROR                                   | 
|  11  00   DT  WRSO    UNRECOVERED READ ERROR                                | 
|  11  01   DT  W SO    READ RETRIES EXHAUSTED                                | 
|  11  02   DT  W SO    ERROR TOO LONG TO CORRECT                             | 
|  11  03   DT  W SO    MULTIPLE READ ERRORS                                  | 
|  11  04   D   W  O    UNRECOVERED READ ERROR - AUTO REALLOCATE FAILED       | 
|  11  05       WR O    L-EC UNCORRECTABLE ERROR                              | 
|  11  06       WR O    CIRC UNRECOVERED ERROR                                | 
|  11  07       W  O    DATA RESYNCHRONIZATION ERROR                          | 
|  11  08    T          INCOMPLETE BLOCK READ                                 | 
|  11  09    T          NO GAP FOUND                                          | 
|  11  0A   DT     O    MISCORRECTED ERROR                                    | 
|  11  0B   D   W  O    UNRECOVERED READ ERROR - RECOMMEND REASSIGNMENT       | 
|  11  0C   D   W  O    UNRECOVERED READ ERROR - RECOMMEND REWRITE THE DATA   | 
|  12  00   D   W  O    ADDRESS MARK NOT FOUND FOR ID FIELD                   | 
|  13  00   D   W  O    ADDRESS MARK NOT FOUND FOR DATA FIELD                 | 
|  14  00   DTL WRSO    RECORDED ENTITY NOT FOUND                             | 
|  14  01   DT  WR O    RECORD NOT FOUND                                      | 
|  14  02    T          FILEMARK OR SETMARK NOT FOUND                         | 
|  14  03    T          END-OF-DATA NOT FOUND                                 | 
|  14  04    T          BLOCK SEQUENCE ERROR                                  | 
|  15  00   DTL WRSOM   RANDOM POSITIONING ERROR                              | 
|  15  01   DTL WRSOM   MECHANICAL POSITIONING ERROR                          | 
|  15  02   DT  WR O    POSITIONING ERROR DETECTED BY READ OF MEDIUM          | 
|  16  00   DW     O    DATA SYNCHRONIZATION MARK ERROR                       | 
|  17  00   DT  WRSO    RECOVERED DATA WITH NO ERROR CORRECTION APPLIED       | 
|  17  01   DT  WRSO    RECOVERED DATA WITH RETRIES                           | 
|  17  02   DT  WR O    RECOVERED DATA WITH POSITIVE HEAD OFFSET              | 
|  17  03   DT  WR O    RECOVERED DATA WITH NEGATIVE HEAD OFFSET              | 
|  17  04       WR O    RECOVERED DATA WITH RETRIES AND/OR CIRC APPLIED       | 
|  17  05   D   WR O    RECOVERED DATA USING PREVIOUS SECTOR ID               | 
|  17  06   D   W  O    RECOVERED DATA WITHOUT ECC - DATA AUTO-REALLOCATED    | 
|  17  07   D   W  O    RECOVERED DATA WITHOUT ECC - RECOMMEND REASSIGNMENT   | 
|  17  08   D   W  O    RECOVERED DATA WITHOUT ECC - RECOMMEND REWRITE        | 
|  18  00   DT  WR O    RECOVERED DATA WITH ERROR CORRECTION APPLIED          | 
|  18  01   D   WR O    RECOVERED DATA WITH ERROR CORRECTION & RETRIES APPLIED| 
|  18  02   D   WR O    RECOVERED DATA - DATA AUTO-REALLOCATED                | 
|  18  03        R      RECOVERED DATA WITH CIRC                              | 
|  18  04        R      RECOVERED DATA WITH LEC                               | 
|  18  05   D   WR O    RECOVERED DATA - RECOMMEND REASSIGNMENT               | 
|  18  06   D   WR O    RECOVERED DATA - RECOMMEND REWRITE                    | 
|  19  00   D      O    DEFECT LIST ERROR                                     | 
|  19  01   D      O    DEFECT LIST NOT AVAILABLE                             | 
|  19  02   D      O    DEFECT LIST ERROR IN PRIMARY LIST                     | 
|  19  03   D      O    DEFECT LIST ERROR IN GROWN LIST                       | 
|  1A  00   DTLPWRSOMC  PARAMETER LIST LENGTH ERROR                           | 
|  1B  00   DTLPWRSOMC  SYNCHRONOUS DATA TRANSFER ERROR                       | 
|  1C  00   D      O    DEFECT LIST NOT FOUND                                 | 
|  1C  01   D      O    PRIMARY DEFECT LIST NOT FOUND                         | 
|  1C  02   D      O    GROWN DEFECT LIST NOT FOUND                           | 
|  1D  00   D   W  O    MISCOMPARE DURING VERIFY OPERATION                    | 
|  1E  00   D   W  O    RECOVERED ID WITH ECC                                 | 
|  1F  00                                                                     | 
|  20  00   DTLPWRSOMC  INVALID command OPERATION CODE                        | 
|  21  00   DT  WR OM   LOGICAL BLOCK ADDRESS OUT OF RANGE                    | 
|  21  01           M   INVALID ELEMENT ADDRESS                               | 
|  22  00   D           ILLEGAL FUNCTION (SHOULD USE 20 00, 24 00, OR 26 00)  | 
|  23  00                                                                     | 
|  24  00   DTLPWRSOMC  INVALID FIELD IN CDB                                  | 
|  25  00   DTLPWRSOMC  LOGICAL UNIT NOT SUPPORTED                            | 
|  26  00   DTLPWRSOMC  INVALID FIELD IN PARAMETER LIST                       | 
|  26  01   DTLPWRSOMC  PARAMETER NOT SUPPORTED                               | 
|  26  02   DTLPWRSOMC  PARAMETER VALUE INVALID                               | 
|  26  03   DTLPWRSOMC  THRESHOLD PARAMETERS NOT SUPPORTED                    | 
|  27  00   DT  W  O    WRITE PROTECTED                                       | 
|  28  00   DTLPWRSOMC  NOT READY TO READY TRANSITION(MEDIUM MAY HAVE CHANGED)| 
|  28  01           M   IMPORT OR EXPORT ELEMENT ACCESSED                     | 
|  29  00   DTLPWRSOMC  POWER ON, RESET, OR BUS DEVICE RESET OCCURRED         | 
|  2A  00   DTL WRSOMC  PARAMETERS CHANGED                                    | 
|  2A  01   DTL WRSOMC  MODE PARAMETERS CHANGED                               | 
|  2A  02   DTL WRSOMC  LOG PARAMETERS CHANGED                                | 
|  2B  00   DTLPWRSO C  COPY CANNOT EXECUTE SINCE HOST CANNOT DISCONNECT      | 
|  2C  00   DTLPWRSOMC  command SEQUENCE ERROR                                | 
|  2C  01         S     TOO MANY WINDOWS SPECIFIED                            | 
|  2C  02         S     INVALID COMBINATION OF WINDOWS SPECIFIED              | 
|  2D  00    T          OVERWRITE ERROR ON UPDATE IN PLACE                    | 
|  2E  00                                                                     | 
|  2F  00   DTLPWRSOMC  commandS CLEARED BY ANOTHER INITIATOR                 | 
|  30  00   DT  WR OM   INCOMPATIBLE MEDIUM INSTALLED                         | 
|  30  01   DT  WR O    CANNOT READ MEDIUM - UNKNOWN FORMAT                   | 
|  30  02   DT  WR O    CANNOT READ MEDIUM - INCOMPATIBLE FORMAT              | 
|  30  03   DT          CLEANING CARTRIDGE INSTALLED                          | 
|  31  00   DT  W  O    MEDIUM FORMAT CORRUPTED                               | 
|  31  01   D L    O    FORMAT command FAILED                                 | 
|  32  00   D   W  O    NO DEFECT SPARE LOCATION AVAILABLE                    | 
|  32  01   D   W  O    DEFECT LIST UPDATE FAILURE                            | 
|  33  00    T          TAPE LENGTH ERROR                                     | 
|  34  00                                                                     | 
|  35  00                                                                     | 
|  36  00     L         RIBBON, INK, OR TONER FAILURE                         | 
|  37  00   DTL WRSOMC  ROUNDED PARAMETER                                     | 
|  38  00                                                                     | 
|  39  00   DTL WRSOMC  SAVING PARAMETERS NOT SUPPORTED                       | 
|  3A  00   DTL WRSOM   MEDIUM NOT PRESENT                                    | 
|  3B  00    TL         SEQUENTIAL POSITIONING ERROR                          | 
|  3B  01    T          TAPE POSITION ERROR AT BEGINNING-OF-MEDIUM            | 
|  3B  02    T          TAPE POSITION ERROR AT END-OF-MEDIUM                  | 
|  3B  03     L         TAPE OR ELECTRONIC VERTICAL FORMS UNIT NOT READY      | 
|  3B  04     L         SLEW FAILURE                                          | 
|  3B  05     L         PAPER JAM                                             | 
|  3B  06     L         FAILED TO SENSE TOP-OF-FORM                           | 
|  3B  07     L         FAILED TO SENSE BOTTOM-OF-FORM                        | 
|  3B  08    T          REPOSITION ERROR                                      | 
|  3B  09         S     READ PAST END OF MEDIUM                               | 
|  3B  0A         S     READ PAST BEGINNING OF MEDIUM                         | 
|  3B  0B         S     POSITION PAST END OF MEDIUM                           | 
|  3B  0C         S     POSITION PAST BEGINNING OF MEDIUM                     | 
|  3B  0D           M   MEDIUM DESTINATION ELEMENT FULL                       | 
|  3B  0E           M   MEDIUM SOURCE ELEMENT EMPTY                           | 
|  3C  00                                                                     | 
|  3D  00   DTLPWRSOMC  INVALID BITS IN IDENTIFY MESSAGE                      | 
|  3E  00   DTLPWRSOMC  LOGICAL UNIT HAS NOT SELF-CONFIGURED YET              | 
|  3F  00   DTLPWRSOMC  TARGET OPERATING CONDITIONS HAVE CHANGED              | 
|  3F  01   DTLPWRSOMC  MICROCODE HAS BEEN CHANGED                            | 
|  3F  02   DTLPWRSOMC  CHANGED OPERATING DEFINITION                          | 
|  3F  03   DTLPWRSOMC  INQUIRY DATA HAS CHANGED                              | 
|  40  00   D           RAM FAILURE (SHOULD USE 40 NN)                        | 
|  40  NN   DTLPWRSOMC  DIAGNOSTIC FAILURE ON COMPONENT NN (80H-FFH)          | 
|  41  00   D           DATA PATH FAILURE (SHOULD USE 40 NN)                  | 
|  42  00   D           POWER-ON OR SELF-TEST FAILURE (SHOULD USE 40 NN)      | 
|  43  00   DTLPWRSOMC  MESSAGE ERROR                                         | 
|  44  00   DTLPWRSOMC  INTERNAL TARGET FAILURE                               | 
|  45  00   DTLPWRSOMC  SELECT OR RESELECT FAILURE                            | 
|  46  00   DTLPWRSOMC  UNSUCCESSFUL SOFT RESET                               | 
|  47  00   DTLPWRSOMC  SCSI PARITY ERROR                                     | 
|  48  00   DTLPWRSOMC  INITIATOR DETECTED ERROR MESSAGE RECEIVED             | 
|  49  00   DTLPWRSOMC  INVALID MESSAGE ERROR                                 | 
|  4A  00   DTLPWRSOMC  command PHASE ERROR                                   | 
|  4B  00   DTLPWRSOMC  DATA PHASE ERROR                                      | 
|  4C  00   DTLPWRSOMC  LOGICAL UNIT FAILED SELF-CONFIGURATION                | 
|  4D  00                                                                     | 
|  4E  00   DTLPWRSOMC  OVERLAPPED COMMANDS ATTEMPTED                         | 
|  4F  00                                                                     | 
|  50  00    T          WRITE APPEND ERROR                                    | 
|  50  01    T          WRITE APPEND POSITION ERROR                           | 
|  50  02    T          POSITION ERROR RELATED TO TIMING                      | 
|  51  00    T     O    ERASE FAILURE                                         | 
|  52  00    T          CARTRIDGE FAULT                                       | 
|  53  00   DTL WRSOM   MEDIA LOAD OR EJECT FAILED                            | 
|  53  01    T          UNLOAD TAPE FAILURE                                   | 
|  53  02   DT  WR OM   MEDIUM REMOVAL PREVENTED                              | 
|  54  00      P        SCSI TO HOST SYSTEM INTERFACE FAILURE                 | 
|  55  00      P        SYSTEM RESOURCE FAILURE                               | 
|  56  00                                                                     | 
|  57  00        R      UNABLE TO RECOVER TABLE-OF-CONTENTS                   | 
|  58  00     O         GENERATION DOES NOT EXIST                             | 
|  59  00     O         UPDATED BLOCK READ                                    | 
|  5A  00   DTLPWRSOM   OPERATOR REQUEST OR STATE CHANGE INPUT (UNSPECIFIED)  | 
|  5A  01   DT  WR OM   OPERATOR MEDIUM REMOVAL REQUEST                       | 
|  5A  02   DT  W  O    OPERATOR SELECTED WRITE PROTECT                       | 
|  5A  03   DT  W  O    OPERATOR SELECTED WRITE PERMIT                        | 
|  5B  00   DTLPWRSOM   LOG EXCEPTION                                         | 
|  5B  01   DTLPWRSOM   THRESHOLD CONDITION MET                               | 
|  5B  02   DTLPWRSOM   LOG COUNTER AT MAXIMUM                                | 
|  5B  03   DTLPWRSOM   LOG LIST CODES EXHAUSTED                              | 
|  5C  00   D   O       RPL STATUS CHANGE                                     | 
|  5C  01   D   O       SPINDLES SYNCHRONIZED                                 | 
|  5C  02   D   O       SPINDLES NOT SYNCHRONIZED                             | 
|  5D  00                                                                     | 
|  5E  00                                                                     | 
|  5F  00                                                                     | 
|  60  00         S     LAMP FAILURE                                          | 
|  61  00         S     VIDEO ACQUISITION ERROR                               | 
|  61  01         S     UNABLE TO ACQUIRE VIDEO                               | 
|  61  02         S     OUT OF FOCUS                                          | 
|  62  00         S     SCAN HEAD POSITIONING ERROR                           | 
|  63  00        R      END OF USER AREA ENCOUNTERED ON THIS TRACK            | 
|  64  00        R      ILLEGAL MODE FOR THIS TRACK                           | 
|  65  00                                                                     | 
|  66  00                                                                     | 
|  67  00                                                                     | 
|  68  00                                                                     | 
|  69  00                                                                     | 
|  6A  00                                                                     | 
|  6B  00                                                                     | 
|  6C  00                                                                     | 
|  6D  00                                                                     | 
|  6E  00                                                                     | 
|  6F  00                                                                     | 
|  70  00                                                                     | 
|  71  00                                                                     | 
|  72  00                                                                     | 
|  73  00                                                                     | 
|  74  00                                                                     | 
|  75  00                                                                     | 
|  76  00                                                                     | 
|  77  00                                                                     | 
|  78  00                                                                     | 
|  79  00                                                                     | 
|  7A  00                                                                     | 
|  7B  00                                                                     | 
|  7C  00                                                                     | 
|  7D  00                                                                     | 
|  7E  00                                                                     | 
|  7F  00                                                                     | 
|                                                                             | 
|  80  xxh \                                                                  | 
|   THROUGH >  Vendor-specific.                                               | 
|  FF  xxh /                                                                  | 
|                                                                             | 
|  xxh 80 \                                                                   | 
|  THROUGH >  Vendor-specific QUALIFICATION OF STANDARD ASC.                  | 
|  xxh FF /                                                                   | 
|               ALL CODES NOT SHOWN OR BLANK ARE RESERVED.                    | 
+=============================================================================+

Mode Sense/Selectで利用されるPage Format

Table 94 - Mode page format
+=====-========-========-========-========-========-========-========-========+  
|  Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
|Byte |        |        |        |        |        |        |        |        | 
|=====+========+========+=====================================================| 
| 0   |   PS   |Reserved|         Page code                                   | 
|-----+-----------------------------------------------------------------------| 
| 1   |                           Page length (n-1))                          | 
|-----+-----------------------------------------------------------------------| 
| 2   |                                                                       | 
|-----+--                         Mode parameters                          ---| 
| n   |                                                                       | 
+=============================================================================+ 

Table 155 - Mode page codes
+=============-==================================================-============+ 
|  Page code  |  Description                                     | Subclause  | 
|-------------+--------------------------------------------------+------------| 
|     08h     |  Caching page                                    |  9.3.3.1   | 
|     0Ah     |  Control mode page                               |  8.3.3.1   | 
|     02h     |  Disconnect-reconnect page                       |  8.3.3.2   | 
|     05h     |  Flexible disk page                              |  9.3.3.2   | 
|     03h     |  Format device page                              |  9.3.3.3   | 
|     0Bh     |  Medium types supported page                     |  9.3.3.4   | 
|     0Ch     |  Notch and partition page                        |  9.3.3.5   | 
|     09h     |  Peripheral device page                          |  8.3.3.3   | 
|     01h     |  Read-write error recovery page                  |  9.3.3.6   | 
|     04h     |  Rigid disk geometry page                        |  9.3.3.7   | 
|     07h     |  Verify error recovery page                      |  9.3.3.8   | 
|     06h     |  Reserved                                        |            | 
|  0Dh - 1Fh  |  Reserved                                        |            | 
|     00h     |  Vendor-specific (does not require page format)  |            | 
|  20h - 3Eh  |  Vendor-specific (page format required)          |            | 
|     3Fh     |  Return all pages                                |            | 
|             |     (valid only for the MODE SENSE command)      |            | 
+=============================================================================+

Table 156 - Caching page
+=====-========-========-========-========-========-========-========-========+ 
|  Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
|Byte |        |        |        |        |        |        |        |        | 
|=====+========+========+=====================================================| 
| 0   |   PS   |Reserved|        Page code (08h)                              | 
|-----+-----------------------------------------------------------------------| 
| 1   |                          Page length (0Ah)                            | 
|-----+-----------------------------------------------------------------------| 
| 2   |                          Reserved          |  WCE   |   MF   |  RCD   | 
|-----+-----------------------------------------------------------------------| 
| 3   |   Demand read retention priority  |     Write retention priority      | 
|-----+-----------------------------------------------------------------------| 
| 4   | (MSB)                                                                 | 
|-----+---                       Disable pre-fetch transfer length         ---| 
| 5   |                                                                 (LSB) | 
|-----+-----------------------------------------------------------------------| 
| 6   | (MSB)                                                                 | 
|-----+---                       Minimum pre-fetch                         ---| 
| 7   |                                                                 (LSB) | 
|-----+-----------------------------------------------------------------------| 
| 8   | (MSB)                                                                 | 
|-----+---                       Maximum pre-fetch                         ---| 
| 9   |                                                                 (LSB) | 
|-----+-----------------------------------------------------------------------| 
| 10  | (MSB)                                                                 | 
|-----+---                       Maximum pre-fetch ceiling                 ---| 
| 11  |                                                                 (LSB) | 
+=============================================================================+

Table 168 - Read-write error recovery page
+=====-========-========-========-========-========-========-========-========+ 
|  Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
|Byte |        |        |        |        |        |        |        |        | 
|=====+========+========+=====================================================| 
| 0   |   PS   |Reserved|        Page code (01h)                              | 
|-----+-----------------------------------------------------------------------| 
| 1   |                           Page length (0Ah)                           | 
|-----+-----------------------------------------------------------------------| 
| 2   |  AWRE  |  ARRE  |   TB   |   RC   |  EER   |  PER   |  DTE   |  DCR   | 
|-----+-----------------------------------------------------------------------| 
| 3   |                           Read retry count                            | 
|-----+-----------------------------------------------------------------------| 
| 4   |                           Correction span                             | 
|-----+-----------------------------------------------------------------------| 
| 5   |                           Head offset count                           | 
|-----+-----------------------------------------------------------------------| 
| 6   |                           Data strobe offset count                    | 
|-----+-----------------------------------------------------------------------| 
| 7   |                           Reserved                                    | 
|-----+-----------------------------------------------------------------------| 
| 8   |                           Write retry count                           | 
|-----+-----------------------------------------------------------------------| 
| 9   |                           Reserved                                    | 
|-----+-----------------------------------------------------------------------| 
| 10  | (MSB)                                                                 | 
|-----+---                        Recovery time limit                      ---| 
| 11  |                                                                 (LSB) | 
+=============================================================================+
The parameters savable (PS) bit is only used with the MODE SENSE command. This bit is reserved with 
the MODE SELECT command. A PS bit of one indicates that the target is capable of saving the page 
in a non-volatile vendor-specific location. 
An automatic write reallocation enabled (AWRE) bit of one indicates that the target shall enable 
automatic reallocation to be performed during write operations. The automatic reallocation shall 
be performed only if the target has the valid data (e.g. original data in the buffer or recovered 
from the medium). The valid data shall be placed in the reallocated block. Error reporting as required 
by the error recovery bits (EER, PER, DTE, and DCR) shall be performed only after completion of 
the reallocation. The reallocation operation shall report any failures that occur. See the REASSIGN 
BLOCKS command (9.2.10) for error procedures. 

An AWRE bit of zero indicates that the target shall not perform automatic reallocation of defective 
data blocks during write operations. 

An automatic read reallocation enabled (ARRE) bit of one indicates that the target shall enable 
automatic reallocation of defective data blocks during read operations. All error recovery actions 
required by the error recovery bits (TB, EER, PER, DTE, and DCR) shall be executed. The automatic 
reallocation shall then be performed only if the target successfully recovers the data. The recovered 
data shall be placed in the reallocated block. Error reporting as required by the error recovery 
bits shall be performed only after completion of the reallocation. The reallocation process shall 
present any failures that occur. See the REASSIGN BLOCKS command (9.2.10) for error procedures. 

An ARRE bit of zero indicates that the target shall not perform automatic reallocation of defective 
data blocks during read operations. 

A transfer block (TB) bit of one indicates that a data block that is not recovered within the recovery 
limits specified shall be transferred to the initiator before CHECK CONDITION status is returned. 
A TB bit of zero indicates that such a data block shall not be transferred to the initiator. The 
TB bit does not affect the action taken for recovered data. 

A read continuous (RC) bit of one indicates the target shall transfer the entire requested length 
of data without adding delays to perform error recovery procedures. This implies that the target 
may send data that is erroneous or fabricated in order to maintain a continuous flow of data. The 
target shall assign priority to this bit over conflicting error control bits (EER, DCR, DTE, and 
PER) within this byte. 


NOTE 129 Fabricated data may be data already in the buffer or any other target-specific data. This 
bit is typically used in image processing, audio, or video applications. 
A RC bit of zero indicates that error recovery operations that cause delays are acceptable during 
the data transfer. Data shall not be fabricated. 

The individual bit definitions for EER, PER, DTE and DCR are contained in table 169. The combinations 
of these bits are explained in table 170. 


Table 169 - Error recovery bit definitions
+====================-===========================================================+ 
|EER  PER  DTE  DCR  |  Description                                              | 
|--------------------+-----------------------------------------------------------| 
| 1    -    -    -   |  An enable early recovery (EER) bit of one indicates that | 
|                    |  the target shall use of the most expedient form of error | 
|                    |  recovery first.  This bit only applies to data error     | 
|                    |  recovery and it does not affect positioning retries and  | 
|                    |  the message system error recovery procedures.            | 
|                    |                                                           | 
| 0    -    -    -   |  An EER bit of zero indicates that the target shall use an| 
|                    |  error recovery procedure that minimizes the risk of mis- | 
|                    |  detection or mis-correction.                             | 
|                    |                                                           | 
| -    1    -    -   |  A post error (PER) bit of one indicates that the target  | 
|                    |  shall report recovered errors.                           | 
|                    |                                                           | 
| -    0    -    -   |  A PER bit of zero indicates that the target shall not    | 
|                    |  report recovered errors.  Error recovery procedures shall| 
|                    |  be performed within the limits established by the error  | 
|                    |  recovery parameters.                                     | 
|                    |                                                           | 
| -    -    1    -   |  A disable transfer on error (DTE) bit of one indicates   | 
|                    |  that the target shall terminate the data phase upon      | 
|                    |  detection of a recovered error.                          | 
|                    |                                                           | 
| -    -    0    -   |  A DTE bit of zero indicates that the target shall not    | 
|                    |  terminate the data phase upon detection of a recovered   | 
|                    |  error.                                                   | 
|                    |                                                           | 
| -    -    -    1   |  A disable correction (DCR) bit of one indicates that     | 
|                    |  error correction codes shall not be used for data error  | 
|                    |  recovery.                                                | 
|                    |                                                           | 
| -    -    -    0   |  A DCR bit of zero allows the use of error correction     | 
|                    |  codes for data error recovery.                           | 
+================================================================================+
NOTE 130 An EER bit of one may imply an increase in the probability of mis- detection or mis-correction. 
An EER bit of zero typically means that the specified retry limit is exhausted prior to using error 
correction codes. 

Table 170 - Combined error recovery parameter descriptions
+====================-===========================================================+ 
|EER  PER  DTE  DCR  |  Description                                              | 
|--------------------+-----------------------------------------------------------| 
| 0    0    0    0   |  The full number of retries (specified in the read, write | 
|                    |  or verify retry count field) and error correction are    | 
|                    |  attempted to recover the data (EER and DCR set to 0).  A | 
|                    |  CHECK CONDITION is not reported at the completion of the | 
|                    |  command for recovered errors (PER set to 0).  The command| 
|                    |  terminates with CHECK CONDITION status before the        | 
|                    |  transfer count is exhausted only if an unrecoverable     | 
|                    |  error is detected.  If an unrecoverable data error       | 
|                    |  occurred, the data in the block with the unrecoverable   | 
|                    |  error may or may not be transferred to the initiator     | 
|                    |  depending on the setting of the transfer block (TB) bit  | 
|                    |  (read operation only).                                   | 
|                    |                                                           | 
| 0    0    0    1   |  Error correction is disabled (DCR set to one) so only the| 
|                    |  full number of retries (specified in the read, write or  | 
|                    |  verify retry count field) are attempted to recover the   | 
|                    |  data (EER set to 0).  A CHECK CONDITION is not reported  | 
|                    |  at the completion of the command for recoverable errors  | 
|                    |  (PER set to 0).  The command terminates with CHECK       | 
|                    |  CONDITION status before the transfer count is exhausted  | 
|                    |  only if an unrecoverable error is detected.  If an       | 
|                    |  unrecoverable data error occurred, the data in the block | 
|                    |  with the unrecoverable error may or may not be           | 
|                    |  transferred to the initiator depending on the setting of | 
|                    |  the transfer block (TB) bit (read operation only).       | 
|                    |                                                           | 
| 0    0    1    0   |  Invalid mode (PER must be set to one if DTE is set to    | 
|                    |  one).  1)                                                | 
|                    |                                                           | 
| 0    0    1    1   |  Invalid mode (PER must be set to one if DTE is set to    | 
|                    |  one).  1)                                                | 
|                    |                                                           | 
| 0    1    0    0   |  The full number of retries (specified in the read, write | 
|                    |  or verify retry count field) and error correction are    | 
|                    |  attempted to recover the data (EER and DCR set to 0).    | 
|                    |  The command terminates with CHECK CONDITION status before| 
|                    |  the transfer count is exhausted only if an unrecoverable | 
|                    |  error is detected.  If an unrecoverable data error       | 
|                    |  occurred, the data in the block with the unrecoverable   | 
|                    |  error may or may not be transferred to the initiator     | 
|                    |  depending on the setting of the transfer block (TB) bit  | 
|                    |  (read operation only).  A CHECK CONDITION with a sense   | 
|                    |  key of RECOVERED ERROR is reported at the completion of  | 
|                    |  the command for any recoverable error that occurs (PER   | 
|                    |  set to 1).  The information field in the sense data shall| 
|                    |  contain the logical block address of the last recovered  | 
|                    |  error which occurred during the transfer.                |
|                    |                                                           | 
| 0    1    0    1   |  Error correction is disabled (DCR set to one) so only the| 
|                    |  full number of retries (specified in the read, write or  | 
|                    |  verify retry count field) are attempted to recover the   | 
|                    |  data (EER set to 0).  The command terminates with CHECK  | 
|                    |  CONDITION status before the transfer count is exhausted  | 
|                    |  only if an unrecoverable error is detected.  If an       | 
|                    |  unrecoverable data error occurred, the data in the block | 
|                    |  with the unrecoverable error may or may not be           | 
|                    |  transferred to the initiator depending on the setting of | 
|                    |  the transfer block (TB) bit (read operation only).  A    | 
|                    |  CHECK CONDITION with a sense key of RECOVERED ERROR is   | 
|                    |  reported at the completion of the command for any        | 
|                    |  recoverable error that occurs (PER set to 1).  The       | 
|                    |  information field in the sense data shall contain the    | 
|                    |  logical block address of the last recovered error which  | 
|                    |  occurred during the transfer.                            | 
|                    |                                                           | 
| 0    1    1    0   |  The full number of retries (specified in the read, write | 
|                    |  or verify retry count field) and error correction are    | 
|                    |  attempted to recover the data (EER and DCR set to 0).    | 
|                    |  The command terminates with CHECK CONDITION status before| 
|                    |  the transfer count is exhausted if any error (recoverable| 
|                    |  or unrecoverable) is detected (DTE set to 1).  The       | 
|                    |  information field in the sense data shall contain the    | 
|                    |  logical block address of the block in error.  If an      | 
|                    |  unrecoverable data error occurs the data in the block    | 
|                    |  with the error may or may not be transferred to the      | 
|                    |  initiator depending on the setting of the transfer block | 
|                    |  (TB) bit (read operation only).                          | 
|                    |                                                           | 
| 0    1    1    1   |  Error correction is disabled (DCR set to one) so only the| 
|                    |  full number of retries (specified in the read, write or  | 
|                    |  verify retry count field) are attempted to recover the   | 
|                    |  data (EER set to 0).  The command terminates with CHECK  | 
|                    |  CONDITION status before the transfer count is exhausted  | 
|                    |  if any error (recoverable or unrecoverable) is detected  | 
|                    |  (DTE set to 1).  The information field in the sense data | 
|                    |  shall contain the logical block address of the block in  | 
|                    |  error.  If an unrecoverable data error occurs the data in| 
|                    |  the block with the error may or may not be transferred to| 
|                    |  the initiator depending on the setting of the transfer   | 
|                    |  block (TB) bit (read operation only).                    | 
|                    |                                                           | 
| 1    0    0    0   |  The fewest possible retries and error correction are     | 
|                    |  attempted to recover the data (EER set to one and DCR set| 
|                    |  to 0).  A CHECK CONDITION is not reported at the         | 
|                    |  completion of the command for recoverable errors (PER set| 
|                    |  to 0).  The command terminates with CHECK CONDITION      | 
|                    |  status before the transfer count is exhausted only if an | 
|                    |  unrecoverable error is detected.  If an unrecoverable    | 
|                    |  data error occurred, the data in the block with the      | 
|                    |  unrecoverable error may or may not be transferred to the | 
|                    |  initiator depending on the setting of the transfer block | 
|                    |  (TB) bit (read operation only).                          |
|                    |                                                           | 
| 1    0    0    1   |  Invalid mode (DCR must be set to zero if EER is set to   | 
|                    |  one).  1)                                                | 
|                    |                                                           | 
| 1    0    1    0   |  Invalid mode (PER must be set to one if DTE is set to    | 
|                    |  one).  1)                                                | 
|                    |                                                           | 
| 1    0    1    1   |  Invalid mode (PER must be set to one if DTE is set to    | 
|                    |  one).  1)                                                | 
|                    |                                                           | 
| 1    1    0    0   |  The fewest possible retries and error correction are     | 
|                    |  attempted to recover the data (EER set to one and DCR set| 
|                    |  to 0).  The command terminates with CHECK CONDITION      | 
|                    |  status before the transfer count is exhausted only if an | 
|                    |  unrecoverable error is detected.  If an unrecoverable    | 
|                    |  data error occurred, the data in the block with the      | 
|                    |  unrecoverable error may or may not be transferred to the | 
|                    |  initiator depending on the setting of the transfer block | 
|                    |  (TB) bit (read operation only).  A CHECK CONDITION with a| 
|                    |  sense key of RECOVERED ERROR is reported at the          | 
|                    |  completion of the command for any recoverable error that | 
|                    |  occurs (PER set to 1).  The information field in the     | 
|                    |  sense data shall contain the logical block address of the| 
|                    |  last recovered error which occurred during the transfer. | 
|                    |                                                           | 
| 1    1    0    1   |  Invalid mode (DCR must be set to zero if EER is set to   | 
|                    |  one).  1)                                                | 
|                    |                                                           | 
| 1    1    1    0   |  The fewest possible retries and error correction are     | 
|                    |  attempted to recover the data (EER set to one and DCR set| 
|                    |  to 0).  The command terminates with CHECK CONDITION      | 
|                    |  status before the transfer count is exhausted if any     | 
|                    |  error (recoverable or unrecoverable) is detected (DTE set| 
|                    |  to 1).  The information field in the sense data shall    | 
|                    |  contain the logical block address of the block in error. | 
|                    |  If an unrecoverable data error occurs the data in the    | 
|                    |  block with the error may or may not be transferred to the| 
|                    |  initiator depending on the setting of the transfer block | 
|                    |  (TB) bit (read operation only).                          | 
|                    |                                                           | 
| 1    1    1    1   |  Invalid mode (DCR must be set to zero if EER is set to   | 
|                    |  one).  1)                                                | 
|--------------------------------------------------------------------------------| 
|   1)     If an invalid mode for the error recovery combination is              | 
|          sent by the initiator the target shall return CHECK CONDITION         | 
|          status with the sense key set to ILLEGAL REQUEST and the              | 
|          additional sense code set to INVALID FIELD IN PARAMETER LIST.         | 
+================================================================================+
The read and write retry count fields specify the number of times that the target shall attempt 
its recovery algorithm during read and write operations, respectively. If the retry count field 
and the recovery time limit field are both specified in a MODE SELECT command, the field that requires 
the least time for data error recovery actions shall have priority.

MOの記録データの構造

セクタフォーマットの概観
     SM: セクタマーク
     VF: VFO(PLL同期を取るための信号)
     AM: アドレスマーク
ID1,2,3: トラック番号、セクター番号が記載される
     PA: ポストアンブル
    ODF: 全反射領域
    GAP: ギャップ
    SYN: 128M/230Mの場合98EACBHが書かれる 540/640は忘れた^^;
    BUF: バッファー
128/230Mのセクタフォーマット

物理的に記録されている部分 [52 bytes] 記録される領域 [672 bytes]
SM VF01 AM ID1 VF02 AM ID2 VF03 AM ID3 PA ODF GAP VF03 SYN DATAF PA BUF

540/640Mのセクタフォーマット

物理的に記録されている部分 [63 bytes] 記録される領域 [707/2513 bytes]
SM VF01 AM ID1 VF02 AM ID2 PA GAP VF03 SYN DATAF PA BUF

データ領域(DATAF)の構造

DATAF (DATA FIELD)に実際のデータが書き込まれる。
この領域は、MOメディアサイズにより次のように異なる。

128/230 = 639 bytes
540/640 = 658/2458 bytes

このデータ領域は DATA + ECC/CRC + RSYNC 等で構成される。
このうちDATA + ECC (600 bytes; [512 bytes/sector]の場合)は
5つ (i0-i4) の領域に分けられ、次のようなインターリーブを構成する。

i0 i1 i2 i3 i4 
00 01 02 03 04 
05 .. .. ..
10
15 ..
データ領域(DATAF)のエラー訂正能力

各インターリーブ(i0-i4)内でそれぞれ8個所の間違いまでは
エラー訂正が可能な設計となっている。

* Write時はエラーは4つまで。これを超えると交代セクターに登録され直す。
 物理フォーマット時は3つまで。

各セクタごとに平均1つエラーがあるような状態でも
エラー補正に関してはかなり余力があることになる。
このときのバイトエラーレートは2.0E-003程度。
またインターリーブごとにエラー数を管理しているので、
最大連続エラーは40バイトまで許容範囲となる。
こうやってみると、FD等のフォーマットに極めて近い...かもしれない

バイトエラーレート:
 ディスク上の任意の1byteを読み出したとき、その値が誤りである確率。
 バイトエラーレートが1.0E-005のとき、1 byteを読み出すごとに1/100,000の確率で
 エラーが発生する。つまり、100,000bytesに1つエラーがあるような状態。
 このとき1,000ブロックの試験では5つ程度のエラー個数となる。

参考文献

  1. SCSI2 document X3.131; 1994
  2. SCSI1 document X3.131; 1986
  3. The SCSI Bus and IDE Interface (Friedhelm Schmidt Addison-Wesley)
    ISBN 0-201-42284-0


ご意見、お問い合わせは yrj01643@nifty.or.jp まで

SCSITool 日本語版 ヘルプに戻る | FOOL's Home Pageに戻る