home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
S2R10_C.ZIP
/
S2R10C12.SI
< prev
next >
Wrap
Text File
|
1990-03-09
|
10KB
|
251 lines
.RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
.PL 62
.LM 1
.RM 78
.MT3
.MB4
.HM1
.FM1
.PO10
.CW10
.SR2
.UJ0
.OJ0
.UL1
.heWrite-Once Devices 3/9/90
.foSCSI-2 draft proposed American National Standard 12-# Revision 10c
.pn 1
12. Writσ-Oncσ Devices
.aw off
.pm1
12.1. Model for Write-Once Devices
.aw on
.pm3
ááThσ mode∞ fo≥ thσ writσ-oncσ devicσ i≤ ß variatioε oε thσ optica∞ memor∙ ì
model« Mos⌠ oµ thσ aspect≤ oµ ß writσ-oncσ devicσ arσ simila≥ t∩ optica∞ ì
memor∙ device≤« Thσ difference≤ arσ summarizeΣ below.
.cp 10
.aw off
.pm 0
12.1.1. Logica∞ Blocks
.aw on
.pm 3
ááDatß ma∙ bσ writteε t∩ ß logica∞ blocδ onl∙ once« ┴ subsequen⌠ writσ t∩ ß ì
logica∞ blocδ alread∙ writteε ma∙ o≥ ma∙ no⌠ bσ corrupted¼ dependinτ oε thσ ì
implementation« Writσ-oncσ physica∞ mediß i≤ noε-volatile.
ááThσ "updatingó oµ block≤ (seσ 15.1⌐ i≤ discouraged« SCS╔ writσ-oncσ device≤ ì
arσ intendeΣ t∩ bσ "archivaló iε nature« Datß a⌠ ß logica∞ blocδ addres≤ i≤ ì
no⌠ expecteΣ t∩ changσ oncσ written« Thσ "updateó command≤ arσ no⌠ defineΣ ì
fo≥ thi≤ devicσ type« Device≤ arσ no⌠ precludeΣ froφ implementinτ thσ ì
"updateó functioε b∙ thi≤ standard¼ thougΦ device≤ tha⌠ requirσ thσ updatσ ì
functioε shoulΣ usσ thσ optica∞ memor∙ devicσ type.
ááDevice≤ ma∙ bσ ablσ t∩ determinσ thσ statσ oµ ß logica∞ blocδ prio≥ t∩ ì
access« Thesσ device≤ caε determinσ whethe≥ ß blocδ i≤ blanδ o≥ written« Thi≤ ì
i≤ usefu∞ iε detectinτ previousl∙ writteε blocks¼ preventinτ ß destructivσ ì
overwrite« Thi≤ i≤ als∩ usefu∞ iε findinτ blanδ area≤ fo≥ late≥ writing« Thσ ì
MEDIU═ SCA╬ commanΣ caε bσ useΣ t∩ finΣ blanδ anΣ writteε area≤ prio≥ t∩ WRIT┼ ì
anΣ REA─ access.
.cp 10
.aw off
.pm 0
12.1.2. Initialization
.aw on
.pm 3
ááThσ FORMA╘ UNI╘ commanΣ i≤ no⌠ defineΣ fo≥ writσ-oncσ devices« Writσ-oncσ ì
mediß i≤ shippeΣ prσ-formatteΣ b∙ thσ manufacture≥ anΣ i≤ read∙ fo≥ usσ wheε ì
mounted.
.cp 10
.aw off
.pm 0
12.1.3. Physica∞ Mediuφ Defects
.aw on
.pm 3
ááThσ ra≈ defec⌠ ratσ i≤ typicall∙ highe≥ fo≥ optica∞ mediuφ thaε fo≥ magnetiπ ì
medium« Datß i≤ usuall∙ recovereΣ througΦ thσ usσ oµ sophisticateΣ erro≥ ì
correctioε algorithms« Thσ leve∞ oµ erro≥ correctioε useΣ fo≥ datß recover∙ ì
i≤ ofteε caε bσ selected« However¼ man∙ writσ-oncσ device≤ havσ ß minimuφ ì
leve∞ tha⌠ i≤ alway≤ useΣ anΣ canno⌠ bσ dσ-selecteΣ througΦ thσ erro≥ recover∙ ì
modσ parameter« Contro∞ oµ thσ erro≥ correctioε algorithm≤ anΣ leve∞ oµ ì
correctioε i≤ vendo≥ specific.
ááDefec⌠ managemen⌠ oε writσ-oncσ device≤ i≤ usuall∙ vendo≥ specific« Howeve≥ ì
therσ arσ standard≤ fo≥ somσ type≤ oµ writσ-oncσ mediß tha⌠ specif∙ defec⌠ ì
managemen⌠ techniques« Thesσ standards¼ wherσ the∙ exist¼ ma∙ supersedσ thσ ì
implementatioε requirement≤ pertaininτ t∩ erro≥ anΣ defec⌠ reportinτ iε thi≤ ì
standard.
.cp 10è.aw off
.pm 0
12.1.4. Erro≥ Reporting
.aw on
.pm 3
ááIµ an∙ oµ thσ followinτ condition≤ occu≥ durinτ thσ executioε oµ ß commanΣ ì
thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ status« Thσ appropriatσ sensσ ke∙ anΣ ì
additiona∞ sensσ codσ shoulΣ bσ set« Thσ followinτ tablσ illustrate≤ somσ ì
erro≥ condition≤ anΣ thσ applicablσ sensσ keys« Thσ tablσ doe≤ no⌠ providσ aε ì
exhaustivσ enumeratioε oµ al∞ condition≤ tha⌠ ma∙ causσ thσ CHEC╦ CONDITIO╬ ì
status.
.cp 25
.pm 0
.aw off
Condition Sense Key
---------------------------------------------- ----------------------------
Invalid logical block address ILLEGAL REQUEST
UnsupporteΣ optioε requesteΣ ILLEGA╠ REQUEST
Target reset or medium change since
last command from this initiator UNIT ATTENTION
Selµ diagnostiπ faileΣ HARDWAR┼ ERROR
Unrecovered read error MEDIUM ERROR
HARDWAR┼ ERROR
Recovered read error RECOVERED ERROR
Overrun or other error that might
be resolved by repeating the command ABORTED COMMAND
Attempt to write on write protected mediuφ DAT┴ PROTECT
Attemp⌠ t∩ reaΣ ß blanδ o≥ previously
unwritteε blocδ BLAN╦ CHEC╦
Attemp⌠ t∩ writσ ß previousl∙ writteε
blocδ anΣ blanδ checkinτ i≤ enableΣ BLAN╦ CHEC╦
ááIε thσ casσ oµ aε invaliΣ logica∞ blocδ address¼ thσ sensσ datß informatioε ì
fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ blocδ addres≤ oµ thσ firs⌠ invaliΣ address.
ááIε thσ casσ oµ aε attemp⌠ t∩ reaΣ ß blanδ o≥ previousl∙ unwritteε block¼ thσ ì
sensσ datß informatioε fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ blocδ addres≤ oµ thσ ì
firs⌠ blanδ blocδ encountered« Thσ datß reaΣ u≡ t∩ tha⌠ blocδ shal∞ bσ ì
transferred.
ááIε thσ casσ oµ aε attemp⌠ t∩ writσ ß previousl∙ writteε blocδ anΣ blanδ ì
checkinτ i≤ enabled¼ thσ sensσ informatioε fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ ì
blocδ addres≤ oµ thσ firs⌠ noε-blanδ blocδ encountered.
.paè.cp 20
.aw off
.pm 0
12.2. Commands for Write-Once Devices
.aw on
.pm 3
ááThσ command≤ fo≥ writσ-oncσ device≤ shal∞ bσ a≤ showε iε Tablσ 1▓-▒.
.cp 40
.aw off
.pm 0
Table 12-1: Commands for Write-Once Devices
==============================================================================
Command Name Code Type Section
------------------------------------------------------------------------------
CHANGE DEFINITION 40h O 7.2.1
COMPARE 39h O 7.2.2
COPY 18h O 7.2.3
COPY AND VERIFY 3Ah O 7.2.4
INQUIRY 12h M 7.2.5
LOC╦ UNLOCK CACHE 36h O 8.2.2
LOG SELECT 4Ch O 7.2.6
LOG SENSE 4Dh O 7.2.7
MEDIUM SCAN 38h O 15.2.3
MODE SELECT(6) 15h O 7.2.8
MODE SELECT(10) 55h O 7.2.9
MODE SENSE(6) 1Ah O 7.2.10
MODE SENSE(10) 5Ah O 7.2.11
PRE-FETCH 34h O 8.2.3
PREVEN╘ ALLOW MEDIUM REMOVAL 1Eh O 8.2.4
READ(6) 08h O 8.2.5
READ(10) 28h M 8.2.6
READ(12) A8h O 15.2.4
READ BUFFER 3Ch O 7.2.12
READ CAPACITY 25h M 8.2.7
READ LONG 3Eh O 8.2.9
REASSIGN BLOCKS 07h O 8.2.10
RECEIVE DIAGNOSTIC RESULTS 1Ch O 7.2.13
RELEASE 17h M 8.2.11
REQUEST SENSE 03h M 7.2.14
RESERVE 16h M 8.2.12
REZERO UNIT 01h O 8.2.13
==============================================================================
.aw on
.pm 3
.aw off
.pm 0
.cp 54èTablσ 12-▒ continued
==============================================================================
Command Name Code Type Section
------------------------------------------------------------------------------
SEARCH DATA EQUAL(10) 31h O 8.2.14.1
SEARCH DATA EQUAL(12) B1h O 15.2.8
SEARCH DATA HIGH(10) 30h O 8.2.14.2
SEARCH DATA HIGH(12) B0h O 15.2.8
SEARCH DATA LOW(10) 32h O 8.2.14.3
SEARCH DATA LOW(12) B2h O 15.2.8
SEEK(6) 0Bh O 8.2.15
SEEK(10) 2Bh O 8.2.15
SEND DIAGNOSTIC 1Dh M 7.2.15
SET LIMITS(10) 33h O 8.2.16
SET LIMITS(12) B3h O 15.2.9
STAR╘ STOP UNIT 1Bh O 8.2.17
SYNCHRONIZE CACHE 35h O 8.2.18
TEST UNIT READY 00h M 7.2.16
VERIFY(10) 2Fh O 15.2.11
VERIFY(12) AFh O 15.2.12
WRITE(6) 0Ah O 8.2.20
WRITE(10) 2Ah M 8.2.21
WRITE(12) AAh O 15.2.14
WRITE AND VERIFY(10) 2Eh O 8.2.22
WRITE AND VERIFY(12) AEh O 15.2.16
WRITE BUFFER 3Bh O 7.2.17
WRITE LONG 3Fh O 8.2.23
==============================================================================
.aw on
.pm 3
áá Key║ ═ ╜ CommanΣ implementatioε i≤ mandatory.
áá ╧ ╜ CommanΣ implementatioε i≤ optional.
ááThσ followinτ commanΣ code≤ arσ vendo≥ specific║ 02h¼ 05h¼ 06h¼ 09h¼ 0Ch¼ ì
0Dh¼ 0Eh¼ 0Fh¼ 10h¼ 11h¼ 13h¼ 14h¼ 19h¼ 20h¼ 21h¼ 22h¼ 23h¼ 24h¼ 26h¼ 27h¼ ì
29h¼ anΣ C0Φ througΦ FFh« Al∞ remaininτ commanΣ code≤ fo≥ writσ-oncσ device≤ ì
arσ reserveΣ fo≥ futurσ standardization.
.cp 8
.aw off
.pm 0
12.3. Parameter≤ fo≥ Write-Oncσ Devices
.aw on
.pm 3
ááRefe≥ t∩ thσ parameter≤ fo≥ optica∞ memor∙ device≤ (seσ 15.3).
.aw off
.pm1
12.4. Glossary for Write-Once Devices
.aw on
.pm3
ááRefe≥ t∩ thσ glossar∙ fo≥ optica∞ memor∙ device≤ (seσ 15.4).
..end of section
.paè