home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S2R10_C.ZIP / S2R10C12.SI < prev    next >
Text File  |  1990-03-09  |  10KB  |  251 lines

  1. .RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
  2. .PL 62
  3. .LM 1
  4. .RM 78
  5. .MT3
  6. .MB4
  7. .HM1
  8. .FM1
  9. .PO10
  10. .CW10
  11. .SR2
  12. .UJ0
  13. .OJ0
  14. .UL1
  15. .heWrite-Once Devices                                                      3/9/90
  16. .foSCSI-2 draft proposed American National Standard        12-#     Revision 10c
  17. .pn 1
  18. 12. Writσ-Oncσ Devices
  19.  
  20. .aw off
  21. .pm1
  22. 12.1. Model for Write-Once Devices
  23. .aw on
  24. .pm3
  25.  
  26. ááThσ mode∞ fo≥ thσ writσ-oncσ devicσ i≤ ß variatioε oε thσ optica∞ memor∙ ì
  27. model«  Mos⌠ oµ thσ aspect≤ oµ ß writσ-oncσ devicσ arσ simila≥ t∩ optica∞ ì
  28. memor∙ device≤«  Thσ difference≤ arσ summarizeΣ below.
  29.  
  30. .cp 10
  31. .aw off
  32. .pm 0
  33. 12.1.1. Logica∞ Blocks
  34. .aw on
  35. .pm 3
  36.  
  37. ááDatß ma∙ bσ writteε t∩ ß logica∞ blocδ onl∙ once«  ┴ subsequen⌠ writσ t∩ ß ì
  38. logica∞ blocδ alread∙ writteε ma∙ o≥ ma∙ no⌠ bσ corrupted¼ dependinτ oε thσ ì
  39. implementation«  Writσ-oncσ physica∞ mediß i≤ noε-volatile.
  40.  
  41. ááThσ "updatingó oµ block≤ (seσ 15.1⌐ i≤ discouraged«  SCS╔ writσ-oncσ device≤ ì
  42. arσ intendeΣ t∩ bσ "archivaló iε nature«  Datß a⌠ ß logica∞ blocδ addres≤ i≤ ì
  43. no⌠ expecteΣ t∩ changσ oncσ written«  Thσ "updateó command≤ arσ no⌠ defineΣ ì
  44. fo≥ thi≤ devicσ type«  Device≤ arσ no⌠ precludeΣ froφ implementinτ thσ ì
  45. "updateó functioε b∙ thi≤ standard¼ thougΦ device≤ tha⌠ requirσ thσ updatσ ì
  46. functioε shoulΣ usσ thσ optica∞ memor∙ devicσ type.
  47.  
  48. ááDevice≤ ma∙ bσ ablσ t∩ determinσ thσ statσ oµ ß logica∞ blocδ prio≥ t∩ ì
  49. access«  Thesσ device≤ caε determinσ whethe≥ ß blocδ i≤ blanδ o≥ written« Thi≤ ì
  50. i≤ usefu∞ iε detectinτ previousl∙ writteε blocks¼ preventinτ ß destructivσ ì
  51. overwrite«  Thi≤ i≤ als∩ usefu∞ iε findinτ blanδ area≤ fo≥ late≥ writing«  Thσ ì
  52. MEDIU═ SCA╬ commanΣ caε bσ useΣ t∩ finΣ blanδ anΣ writteε area≤ prio≥ t∩ WRIT┼ ì
  53. anΣ REA─ access.
  54.  
  55. .cp 10
  56. .aw off
  57. .pm 0
  58. 12.1.2. Initialization
  59. .aw on
  60. .pm 3
  61.  
  62. ááThσ FORMA╘ UNI╘ commanΣ i≤ no⌠ defineΣ fo≥ writσ-oncσ devices«  Writσ-oncσ ì
  63. mediß i≤ shippeΣ prσ-formatteΣ b∙ thσ manufacture≥ anΣ i≤ read∙ fo≥ usσ wheε ì
  64. mounted.
  65.  
  66. .cp 10
  67. .aw off
  68. .pm 0
  69. 12.1.3. Physica∞ Mediuφ Defects
  70. .aw on
  71. .pm 3
  72.  
  73. ááThσ ra≈ defec⌠ ratσ i≤ typicall∙ highe≥ fo≥ optica∞ mediuφ thaε fo≥ magnetiπ ì
  74. medium«  Datß i≤ usuall∙ recovereΣ througΦ thσ usσ oµ sophisticateΣ erro≥ ì
  75. correctioε algorithms«  Thσ leve∞ oµ erro≥ correctioε useΣ fo≥ datß recover∙ ì
  76. i≤ ofteε caε bσ selected«  However¼ man∙ writσ-oncσ device≤ havσ ß minimuφ ì
  77. leve∞ tha⌠ i≤ alway≤ useΣ anΣ canno⌠ bσ dσ-selecteΣ througΦ thσ erro≥ recover∙ ì
  78. modσ parameter«  Contro∞ oµ thσ erro≥ correctioε algorithm≤ anΣ leve∞ oµ ì
  79. correctioε i≤ vendo≥ specific.
  80.  
  81. ááDefec⌠ managemen⌠ oε writσ-oncσ device≤ i≤ usuall∙ vendo≥ specific«  Howeve≥ ì
  82. therσ arσ standard≤ fo≥ somσ type≤ oµ writσ-oncσ mediß tha⌠ specif∙ defec⌠ ì
  83. managemen⌠ techniques«  Thesσ standards¼ wherσ the∙ exist¼ ma∙ supersedσ thσ ì
  84. implementatioε requirement≤ pertaininτ t∩ erro≥ anΣ defec⌠ reportinτ iε thi≤ ì
  85. standard.
  86.  
  87. .cp 10è.aw off
  88. .pm 0
  89. 12.1.4. Erro≥ Reporting
  90. .aw on
  91. .pm 3
  92.  
  93. ááIµ an∙ oµ thσ followinτ condition≤ occu≥ durinτ thσ executioε oµ ß commanΣ ì
  94. thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ status«  Thσ appropriatσ sensσ ke∙ anΣ ì
  95. additiona∞ sensσ codσ shoulΣ bσ set«  Thσ followinτ tablσ illustrate≤ somσ ì
  96. erro≥ condition≤ anΣ thσ applicablσ sensσ keys«  Thσ tablσ doe≤ no⌠ providσ aε ì
  97. exhaustivσ enumeratioε oµ al∞ condition≤ tha⌠ ma∙ causσ thσ CHEC╦ CONDITIO╬ ì
  98. status.
  99.  
  100. .cp 25
  101. .pm 0
  102. .aw off
  103. Condition                                         Sense Key
  104. ----------------------------------------------    ----------------------------
  105. Invalid logical block address                     ILLEGAL REQUEST
  106.  
  107. UnsupporteΣ optioε requesteΣ                      ILLEGA╠ REQUEST
  108.  
  109. Target reset or medium change since
  110. last command from this initiator                  UNIT ATTENTION
  111.  
  112. Selµ diagnostiπ faileΣ                            HARDWAR┼ ERROR
  113.  
  114. Unrecovered read error                            MEDIUM ERROR
  115.                                                   HARDWAR┼ ERROR
  116.  
  117. Recovered read error                              RECOVERED ERROR
  118.  
  119. Overrun or other error that might
  120. be resolved by repeating the command              ABORTED COMMAND
  121.  
  122. Attempt to write on write protected mediuφ        DAT┴ PROTECT
  123.  
  124. Attemp⌠ t∩ reaΣ ß blanδ o≥ previously
  125. unwritteε blocδ                                   BLAN╦ CHEC╦
  126.  
  127. Attemp⌠ t∩ writσ ß previousl∙ writteε 
  128. blocδ anΣ blanδ checkinτ i≤ enableΣ               BLAN╦ CHEC╦
  129.  
  130.  
  131. ááIε thσ casσ oµ aε invaliΣ logica∞ blocδ address¼ thσ sensσ datß informatioε ì
  132. fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ blocδ addres≤ oµ thσ firs⌠ invaliΣ address.
  133.  
  134. ááIε thσ casσ oµ aε attemp⌠ t∩ reaΣ ß blanδ o≥ previousl∙ unwritteε block¼ thσ ì
  135. sensσ datß informatioε fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ blocδ addres≤ oµ thσ ì
  136. firs⌠ blanδ blocδ encountered«  Thσ datß reaΣ u≡ t∩ tha⌠ blocδ shal∞ bσ ì
  137. transferred.
  138.  
  139. ááIε thσ casσ oµ aε attemp⌠ t∩ writσ ß previousl∙ writteε blocδ anΣ blanδ ì
  140. checkinτ i≤ enabled¼ thσ sensσ informatioε fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ ì
  141. blocδ addres≤ oµ thσ firs⌠ noε-blanδ blocδ encountered.
  142.  
  143. .paè.cp 20
  144. .aw off
  145. .pm 0
  146. 12.2. Commands for Write-Once Devices
  147. .aw on
  148. .pm 3
  149.  
  150. ááThσ command≤ fo≥ writσ-oncσ device≤ shal∞ bσ a≤ showε iε Tablσ 1▓-▒.
  151.  
  152. .cp 40
  153. .aw off
  154. .pm 0
  155.                 Table 12-1: Commands for Write-Once Devices
  156.  
  157. ==============================================================================
  158. Command Name                       Code    Type    Section 
  159. ------------------------------------------------------------------------------
  160. CHANGE DEFINITION                  40h       O     7.2.1
  161. COMPARE                            39h       O     7.2.2
  162. COPY                               18h       O     7.2.3
  163. COPY AND VERIFY                    3Ah       O     7.2.4
  164. INQUIRY                            12h       M     7.2.5
  165. LOC╦ UNLOCK CACHE                  36h       O     8.2.2
  166. LOG SELECT                         4Ch       O     7.2.6
  167. LOG SENSE                          4Dh       O     7.2.7
  168. MEDIUM SCAN                        38h       O    15.2.3
  169. MODE SELECT(6)                     15h       O     7.2.8
  170. MODE SELECT(10)                    55h       O     7.2.9
  171. MODE SENSE(6)                      1Ah       O     7.2.10
  172. MODE SENSE(10)                     5Ah       O     7.2.11
  173. PRE-FETCH                          34h       O     8.2.3
  174. PREVEN╘ ALLOW MEDIUM REMOVAL       1Eh       O     8.2.4
  175. READ(6)                            08h       O     8.2.5
  176. READ(10)                           28h       M     8.2.6
  177. READ(12)                           A8h       O    15.2.4
  178. READ BUFFER                        3Ch       O     7.2.12
  179. READ CAPACITY                      25h       M     8.2.7
  180. READ LONG                          3Eh       O     8.2.9
  181. REASSIGN BLOCKS                    07h       O     8.2.10
  182. RECEIVE DIAGNOSTIC RESULTS         1Ch       O     7.2.13
  183. RELEASE                            17h       M     8.2.11
  184. REQUEST SENSE                      03h       M     7.2.14
  185. RESERVE                            16h       M     8.2.12
  186. REZERO UNIT                        01h       O     8.2.13
  187. ==============================================================================
  188. .aw on
  189. .pm 3
  190.  
  191. .aw off
  192. .pm 0
  193. .cp 54èTablσ 12-▒ continued
  194.  
  195. ==============================================================================
  196. Command Name                       Code    Type    Section 
  197. ------------------------------------------------------------------------------
  198. SEARCH DATA EQUAL(10)              31h       O     8.2.14.1
  199. SEARCH DATA EQUAL(12)              B1h       O    15.2.8
  200. SEARCH DATA HIGH(10)               30h       O     8.2.14.2
  201. SEARCH DATA HIGH(12)               B0h       O    15.2.8
  202. SEARCH DATA LOW(10)                32h       O     8.2.14.3
  203. SEARCH DATA LOW(12)                B2h       O    15.2.8
  204. SEEK(6)                            0Bh       O     8.2.15
  205. SEEK(10)                           2Bh       O     8.2.15
  206. SEND DIAGNOSTIC                    1Dh       M     7.2.15
  207. SET LIMITS(10)                     33h       O     8.2.16
  208. SET LIMITS(12)                     B3h       O    15.2.9
  209. STAR╘ STOP UNIT                    1Bh       O     8.2.17
  210. SYNCHRONIZE CACHE                  35h       O     8.2.18
  211. TEST UNIT READY                    00h       M     7.2.16 
  212. VERIFY(10)                         2Fh       O    15.2.11
  213. VERIFY(12)                         AFh       O    15.2.12
  214. WRITE(6)                           0Ah       O     8.2.20
  215. WRITE(10)                          2Ah       M     8.2.21
  216. WRITE(12)                          AAh       O    15.2.14
  217. WRITE AND VERIFY(10)               2Eh       O     8.2.22
  218. WRITE AND VERIFY(12)               AEh       O    15.2.16
  219. WRITE BUFFER                       3Bh       O     7.2.17
  220. WRITE LONG                         3Fh       O     8.2.23
  221. ==============================================================================
  222. .aw on
  223. .pm 3
  224.  
  225. áá  Key║ ═  ╜  CommanΣ implementatioε i≤ mandatory.
  226. áá       ╧  ╜  CommanΣ implementatioε i≤ optional.
  227.  
  228. ááThσ followinτ commanΣ code≤ arσ vendo≥ specific║  02h¼ 05h¼ 06h¼ 09h¼ 0Ch¼ ì
  229. 0Dh¼ 0Eh¼ 0Fh¼ 10h¼ 11h¼ 13h¼ 14h¼ 19h¼ 20h¼ 21h¼ 22h¼ 23h¼ 24h¼ 26h¼ 27h¼ ì
  230. 29h¼ anΣ C0Φ througΦ FFh«  Al∞ remaininτ commanΣ code≤ fo≥ writσ-oncσ device≤ ì
  231. arσ reserveΣ fo≥ futurσ standardization.
  232.  
  233. .cp 8
  234. .aw off
  235. .pm 0
  236. 12.3. Parameter≤ fo≥ Write-Oncσ Devices
  237. .aw on
  238. .pm 3
  239.  
  240. ááRefe≥ t∩ thσ parameter≤ fo≥ optica∞ memor∙ device≤ (seσ 15.3).
  241.  
  242. .aw off
  243. .pm1
  244. 12.4. Glossary for Write-Once Devices
  245. .aw on
  246. .pm3
  247.  
  248. ááRefe≥ t∩ thσ glossar∙ fo≥ optica∞ memor∙ device≤ (seσ 15.4).
  249.  
  250. ..end of section
  251. .paè