Information technology — Small Computer System Interface-2

La présente norme internationale définit un bus d'entrées/sorties pour interconnecter des ordinateurs et des appareils périphériques. Elle définit les extensions apportées à l'ISO 9316:1989 -- Interface système pour petits ordinateurs que l'on réfère ici par SCSI-1. Elle fournit aussi une normalisation plus complète du jeu de commandes défini auparavant. Elle inclut les spécifications nécessaires des caractéristiques mécaniques, électriques et fonctionnelles de l'interface afin de permettre l'interopérabilité des appareils conformes. La présente norme internationale est référencée ici comme SCSI-2. Le terme SCSI est utilisé partout où il n'est pas nécessaire de faire une distinction entre les deux versions.

Technologies de l'information — Interface "Small Computer System-2"

General Information

Status
Published
Publication Date
01-Nov-1995
Current Stage
9093 - International Standard confirmed
Completion Date
13-Jul-2018
Ref Project

Relations

Buy Standard

Standard
ISO/IEC 9316:1995 - Information technology -- Small Computer System Interface-2
English language
439 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL
ISO/IEC
STANDARD
9316
Second edition
1995-11-01
Information technology - Small
Computer System Interface-2
Technologies de I’informa tion - Interface «Small Computer System-Z))
Reference number
ISO/1 EC 9316: 1995(E)

---------------------- Page: 1 ----------------------
lSO/IEC 9316:1995(E)
Contents
Page
1
1 Scope .
........................................
2
2 Normative references
...........................
3
3 Definitions, Symbols and abbreviations
...............................................
3
3.1 Definitions
.................................. 5
3.2 Symbols and abbreviations
.................................................. 6
4General
6
...............................................
4.1Overview
............................................. 7
4.2 Conventions
...................................... 8
5 Physical characteristics
....................................... 8
5.1 Physical description
...................................... 8
5.2 Cable requirements
...................................... 8
5.2.1 Single-ended cable
........................................ 9
5.2.2 Differential cable
............ 9
5.2.3 Cable requirements for fast synchronous data transfer
.................................... 9
5.3 Connector requirements
........................ 9
5.3.1 Non-shielded connector requirements
................ 9
5.3.1 .l Non-shielded connector alternative 1 - A cable
................ IO
5.3.1.2 Non-shielded connector alternative 2 - A cable
.......................... IO
5.3.1.3 Non-shielded connector - B cable
............................ 15
5.3.2 Shielded connector requirements
.................... 15
5.3.2.1 Shielded connector alternative 1 - A cable
.................... 15
5.3.2.2 Shielded connector alternative 2 - A cable
15
.............................
5.3.2.3 Shielded connector - B cable
............................. 20
5.3.3 Connector contact assiqnments
0 ISO/IEC 1995
All rights reserved. Unless otherwise specified, no patt of this publication may be
reproduced or utilized in any form or by any means, electronie or mechanical,
including photocopying and microfilm, without Permission in writing from the
publisher.
ISO/IEC Copyright Office l Case postale 56 l CH-121 1 Geneve 20 l Switzerland
Printed in Switzerland
ii

---------------------- Page: 2 ----------------------
ISO/IEC 9316:1995(E)
@lSO/IEC
25
.......................................
5.4 Electrical description
25
...................................
5.4.1 Single-ended alternative
25
...................................
5.4.1 .l Output characteristics
.................................... 25
5.4.1.2 Input characteristics
..................................... 26
5.4.2 Differential alternative
26
...................................
5.4.2.1 Output characteristics
.................................... 26
5.4.2.2 Input characteristics
........................................ 26
5.4.3 Terminator power
........................................ 29
5.4.4 RESERVED lines
30
...............................................
5.5SCSIbus
......................................... 32
5.6 SCSI bus Signals
33
...........................................
5.6.1 Signal values
33
.........................................
5.6.2 OR-tied Signals
33
..........................................
5.6.3 Signal sources
34
..........................................
5.7 SCSI bus timing
........................................ 35
5.7.1 Arbitration delay
35
........................................
5.7.2Assertion period
35
.........................................
5.7.3 Bus clear delay
......................................... 35
5.7.4 Bus free delay
.......................................... 36
5.7.5 Bus set delay
........................................ 36
5.7.6 Bus settle delay
....................................... 36
5.77 Cable skew delay
...................................... 36
5.7.8 Data release delay
.......................................... 36
57.9 Deskewdelay
.................................... 36
5.710 Disconnection delay
36
5.7.11Holdtime .
36
.......................................
5.7.12 Negation period
............................... 36
5.7.13 Power-On to selection time
36
..................................
5.7.14 Reset to selection time
37
........................................
5.7.15Reset hold time
37
....................................
5.7.16 Selection abort time
37
.................................
5.7.17 Selection time-out delay
37
........................................
5.7.18 Transfer period
37
.............................
5.8 Fast synchronous transfer Option
37
....................................
5.8.1 Fast assertion period
37
....................................
5.8.2 Fast cable skew delay
37
......................................
5.8.3 Fast deskew delay
.......................................... 37
5.8.4 Fast hold time
..................................... 38
5.8.5 Fast negation period
....................................... 39
6 Logical characteristics
......................................... 39
6.1 SCSI bus phases
39
6IlBUSFREEphase .
40
.....................................
6.1.2 ARBITRATION Phase
40
.......................................
6.1.3SELECTIONphase
........................... 41
6.1.3.1 SELECTION time-out procedure
.................................... 41
6.1.4 RESELECTION Phase
41
6.1.4.1 RESELECTION
42
6.1.4.2 RESELECTION time-out proced’u’re’ : : : : : : : : : : : : : : : : : : : : : : : : :
................................ 42
6.1.5 Information transfer phases
.......................... 43
6.1.5.1 Asynchronous information transfer
................................ 43
6.1.5.2 Synchronous data transfer
...................................... 44
6.1.5.3 Wide data transfer
. . .
Ill

---------------------- Page: 3 ----------------------
@lSO/IEC
ISO/IEC 9316:1995(E)
46
6.1.6COMMANDphase .
46
6.1.7Dataphase .
........................................ 46
6.1.7.1 DATAINphase
...................................... 46
6.1.7.2DATAOUTphase
......................................... 46
6.1.8STATUS Phase
......................................... 46
6.1.9Messagephase
46
....................................
6.1.9.1MESSAGEINphase
.................................. 46
6.1.9.2MESSAGE OUT Phase
..........................
47
6.1.10 Signal restrictions between phases
47
.......................................
6.2SCSIbusconditions
....................................... 47
6.2.1 Attention condition
......................................... 48
6.2.2 Reset condition
................................... 49
6.2.2.1 Hard reset alternative
.................................... 49
6.2.2.2 Soft reset alternative
50
6.3SCSIbus phasesequences .
............................................ 51
6.4 SCSI Pointers
................................. 52
6.5 Message System description
55
6.6 Messages .
............................................... 55
6.6.1ABORT
.......................................... 55
6.6.2ABORTTAG.
..................................... 56
6.6.3 BUS DEVICE RESET
......................................... 56
6.6.4CLEAR QUEUE
................................... 56
6.6.5 COMMAND COMPLETE
.......................................... 56
6.6.6 DISCONNECT
.............................................. 57
6.6.7 IDENTIFY
..................................
58
6.6.8 IGNORE WIDE RESIDUE
..................................... 58
6.6.9 INITIATE RECOVERY
............................. 59
6.6.10 INITIATOR DETECTED ERROR
............................ 59
6.6.11 LINKED COMMAND COMPLETE
................. 59
6.6.12 LINKED COMMAND COMPLETE (WITH FLAG)
................................ 59
6.6.13 MESSAGE PARITY ERROR
..................................... 59
6.6.14 MESSAGE REJECT
.......................... 60
6.6.15 MODIFY DATA POINTER Message
........................................ 60
6.6.16 NO OPERATION
.................................... 60
6.6.17Queuetag messages
................................. 61
6.6.17.1 HEADOFQUEUETAG
................................ 61
6.6.17.2ORDERED QUEUE TAG
.................................. 61
6.6.17.3 SIMPLE QUEUE TAG.
................................... 61
RELEASE RECOVERY
6.6.18
.................................... 61
RESTORE POINTERS
6.6.19
................................... 62
6.6.20 SAVE DATA POINTER
.................
62
6.6.21 SYNCHRONOUS DATA TRANSFER REQUEST
................................
64
6.6.22 TERMINATE I/O PROCESS
..........................
64
6.6.23 WIDE DATATRANSFER REQUEST
.................................. 67
7 SCSI commands and Status
........................
67
7.1 Command implementation requirements
..............................................
67
7.1.1 Reserved
..................................... 67
7.12 Operation code types
.................................. 68
7.2 Command descriptor block
......................................... 69
7.2.1 Operation code
...................................... 70
7.2.2 Logical unit number
.................................... 70
7.2.3 Logical block address
iv

---------------------- Page: 4 ----------------------
ISO/IEC 9316:1995(E)
@lSO/IEC
70
..........................................
7.2.4 Transfer length
70
.....................................
7.2.5 Parameter list length
70
........................................
7.2.6 Allocation length
71
............................................
7.2.7 Control field
71
................................................
7.3Status.
73
.......................................
7.4 Command examples
73
.................................
7.4.1 Single command example
73
......................................
7.42 Disconnect example
74
.................................
7.43 Linked command example
74
7.5 Command processing considerations and exception conditions . , . , . ,
........................... 74
7.5.1 Programmable operating definition
............................... 75
7.5.2 Incorrect initiator connection
............................ 75
7.5.3 Selection of an invalid logical unit
...................................... 76
7.5.4 Parameter rounding
............................ 76
7.5.5 Asynchronous event notification
................................... 77
7.5.6 Unexpected reselection
.............................. 78
7.6 Contingent allegiance condition
....................... 78
7.7 Extended contingent allegiance condition
..................................... 79
7.8 Queued I/O processes
....................................... 79
7.8.1 Untagged queuing
79
........................................
7.8.2Tagged queuing
80
.............................
7.83 Example of queued I/O process
81
......................
7.8.3.1 Typical sequences for tagged queuing
81
...............................
78.32 Example of tagged queuing
.................................... 83
7.9 Unit attention condition
84
...........................................
8 All device types
84
...................................
8.1 Model for all device types
......................................... 84
8.1.1 SCSI addresses
84
....................................
8.1.1.1 SCSI device address
84
..........................................
8.1.1.2 Logical units
84
........................................
8.1.1.3 Target routines
................... 84
8.1.2 Commands implemented by all SCSI devices
............................. 85
8.1.2.1 Using the INQUIRY command
...................... 85
8.1.2.2 Using the REQUEST SENSE command
.................... 85
8.1.2.3 Using the SEND DIAGNOSTIC command
..................... 85
8.1.2.4 Using the TEST UNIT READY command
............................... 85
8.2 Commands for all device types
............................ 86
8.2.1 CHANGE DEFINITION command
..................................... 88
8.2.2 COMPARE command
........................................ 89
8.2.3 COPY command
................. 90
8.2.3.1 Errors detected by the managing SCSI device
............................... 91
8.2.3.2 Errors detected by a target
.......................... 91
8.2.3.3 COPY function code OOh and Olh
................................. 92
8.2.3.4 COPY function code 02h
93
.................................
8.2.3.5 COPY function code 03h
94
.................................
8.2.3.6 COPY function code 04h
94
.........................
8.2.3.7 Copies with unequal block lengths
95
..............................
8.2.4 COPY AND VERIFY command
...................................... 96
8.2.5 INQUIRY command
.................................. 97
8.2.5.1 Standard INQUIRY data
...................................... 100
8.2.5.2Vital product data
................................... 101
8.2.6 LOG SELECT command
V

---------------------- Page: 5 ----------------------
OISO/lEC
ISO/IEC 9316:1995(E)
................................... 103
8.2.7LOG SENSE command
............................... 104
8.2.8 MODE SELECT(6) command
.............................. 106
8.2.9 MODE SELECT(10) command
............................... 106
8.2.10 MODE SENSE(G) command
107
........................................
8.2.10.1 Current values
108
....................................
8.2.10.2Changeablevalues
........................................ 108
8.2.10.3Defaultvalues
......................................... 108
8.2.10.4 Saved values
...................................... 108
8.2.10.5 Initial responses
.............................. 109
8.2.11 MODESENSE(10) command
................................ 109
8.2.12 READ BUFFER command
................... 110
8.2.12.1 Combined header and data mode (000b)
............................. 110
8.2.12.2Vendor-specific mode (OOlb)
110
.....................................
8.2.12.3Datamode(OlOb)
................................. 111
8.2.12.4Descriptormode (Ollb)
..................
112
8.2.13 RECEIVE DIAGNOSTIC RESULTS command
.............................. 112
8.2.14 REQUEST SENSE command
..................................... 116
8.2.14.1 Sense-keyspecific
....................................... 117
8.2.14.2 Deferred errors
......................
119
8.2.14.3 Sense key and sense code definitions
125
........ ....................
8.2.15 SEND DIAGNOSTIC command
........ .................... 126
8.2.16 TEST UNIT READY command
........... .................... 127
8.2.17 WRITE BUFFER command
................... 128
8.2.17.1 Combined header and data mode (OOOb
........ .................... 128
8.2.17.2 Vendor-specific mode (001 b)
................ .................... 128
8,2.17.3 Data mode (OlOb)
........................ 129
8.2174 Download microcode mode (IOOb)
.................
8.2.17.5 Download microcode and save mode (101 b) 129
............................... 129
8.3 Parameters for all device types
................................... 129
8.3.1 Diagnostic Parameters
.............................. 130
8.3.1.1 Supported diagnostic pages
......................................... 131
8.3.2 Log Parameters
............................ 134
8.3.2.1 Buffer over-run/under-run page
.................................... 135
8.3.2.2 Error counter pages
136
.................................
8.3.2.3Lastnerroreventspage
................................. 136
8.3.2.4 Non-medium error page
136
....................................
8.3.2.5Supported log pages
........................................ 137
8.3.3 Mode Parameters
..................................... 140
8.3.3.1 Control mode page
............................... 142
8.3.3.2 Disconnect-reconnect page
.................................. 144
8.3.3.3 Peripheral device page
.............................. 144
8.3.4 Vital product data Parameters
............ 145
8.3.4.1 ISO/IEC 646 implemented operating definition page
............................. 146
8.3.4.2 lSQ/IEC 646 information page
...................... 146
8.3.4.3 Implemented operating definition page
......................... 148
8.3.4.4 Supported vital product data pages
................................. 149
8.3.4.5 Unit serial number page
....................................... 150
9 Direct-access devices
................................. 150
9.1 Direct-access device model
...................................... 150
9.1.1 Removable medium
.......................................... 150
9.1.2 Logical blocks
............................................ 151
91.3 Ready state
vi

---------------------- Page: 6 ----------------------
@lSO/IEC lSO/IEC 9316:1995(E)
9.1.4 lnitialization . 151
9.1.5 Medium defects . 151
9.1.6Datacache . 152
9.1.7Reservations . 153
........................................ 154
9.1.8Seekandrezero
.......................................... 154
9.1.9Notched drives
................................ 154
9.1 .lO Rotational Position locking
154
9.1 .l 1 Relative addressing .
154
91.12 Error reporting .
9.1.13Examples . 155
9.1.13.1 Rotating media . 155
9.1.13.2Sequential media . 156
9.1.13.3 Memory media . 156
..........................
9.2 Commands for direct-access devices. 157
9.2.1 FORMAT UNIT command . 158
162
9.2.1.1 Defect list formats .
9.2.1.2 Initialization Pattern Option . 163
9.2.2 LOCK UNLOCK CACHE command . 165
9.2.3PRE-FETCHcommand . 166
9.2.4 PREVENT ALLOW MEDIUM REMOVAL command . 167
92.5 READ(06) command . 168
9.2.6 READ(10) command . 168
9.27 READ CAPACITY command . 169
9.2.8 READ DEFECT DATA command . 171
9.2.9 READ LONG command . 173
9.2.10 REASSIGN BLOCKS command . 174
9.2.11 RELEASEcommand . 175
9.2.11 .l Logical unit release . 176
9.2.11.2Extent release . 176
..................................... 176
9,2.11.3Third-Party release
.................................... 177
9.2.12 RESERVE command
................................. 177
9.2.12.1 Logical unit reservation
..................................... 177
9.2122 Extent reservation
9.2123 Third-Party reservation . 179
............................... 180
9.2.12.4 Superseding resewations
9.2.13 REZERO UNIT command . 180
................................
9.2.14 SEARCH DATAcommands 181
9.2.14.1 SEARCH DATAEQUAL command . 183
9.2.14.2 SEARCH DATA HIGH command . 183
9.2.14.3 SEARCH DATA LOW command . 183
9.2.15 SEEK(06) and SEEK(lO) commands . 183
9.2.16 SET LIMITS command . 184
9.2.17 START STOP UNIT command . 185
186
9.2.18 SYNCHRONIZE CACHE command .
187
9.2.19 VERIFY command .
188
92.20 WRITE(06) command .
9.2.21 WRITE(10) command . 188
9.2.22WRITEANDVERIFYcommand . 189
190
9.2.23 WRITE LONG command .
191
9.2.24 WRITE SAME command .
192
9.3 Parameters for direct-access devices .
192
9.3.1 Diagnostic Parameters .
192
9.31 .l Translate address page - SEND DIAGNOSTIC .
vii

---------------------- Page: 7 ----------------------
@lSO/IEC
lSO/IEC 9316:1995(E)
..............
193
9.3.1.2 Translate address page - RECEIVE DIAGNOSTIC
194
.........................................
9.3.2 Log Parameters
194
........................................
9.3.3 Mode Parameters
196
........................................
9.3.3.1 Caching page
199
......................................
9.3.3.2 Flexible disk page
202
....................................
9.3.3.3 Format device page
............................ 205
9.3.3.4 Medium types supported page
................................. 206
9.3.3.5 Notch and partition page
............................ 207
9.3.3.6 Read-write error recovery page
............................ 214
9.3.3.7 Rigid disk drive geometry page
................................ 215
9.3.3.8Verifyerrorrecoverypage
..................... 217
9.4 Definitions specific to direct-access devices
................................... 218
IO Sequential-access devices
218
.............................
10.1 Sequential-access device model
...................................... 218
10.1.1 Physical elements
219
...............................
IO. 1.2 Data storage characteristics
................................. 221
10.1.3 Partitions within a volume
.......................... 222
10.1.4 Logical elements within a partition
......................................... 223
10.1.5Data buffering
................. 224
IO. 1.6 Recorded Object descriptors (block identifiers)
........................... 224
10.1.7 Direction and Position definitions
......................................... 225
10.1.8Errorreporting
............. 226
10.2 Command descriptions for sequential-access devices
227
......................................
10.2.1 ERASE command
................................ 228
10.2.2 LOAD UNLOAD command
..................................... 229
10.2.3 LOCATE command
....................................... 230
10.2.4READcommand
............................ 232
10.25 READ BLOCK LIMITS command
............................... 233
10.2.6 READ POSITION command
235
...............................
10.2.7READREVERSEcommand
236
......................
10.2.8 RECOVER BUFFERED DATA command
237
................................
10.2.9RELEASEUNITcommand
.................................... 237
10.2.9.1 Third-Party release
............................... 238
10.2.10 RESERVE UNIT command
................................. 238
10.2.10.1 Third-Party reservation
.............................. 239
10.2.10.2 Superseding reservations
.................................... 239
10.2.11 REWIND command
...................................... 240
10.212 SPACE command
..................................... 242
10.2.13VERIFYcommand
...................................... 243
10.2.14WRITE command
............................ 244
10.2.15 WRITE FILEMARKS command
...................... 246
10.3 Parameters for sequential-access devices
................................... 246
10.3.1 Diagnostic Parameters
........................................ 246
10.3.2 Log Parameters
....................................... 246
10.3.3 Mode Parameters
...............................
250
10.3.3.1 Device configuration page
253
................................
10.3.3.2 Medium partition Page(l)
..............................
254
10.3.3.3 Medium partition page(2-4)
...........................
254
10.3.3.4 Read-write error recovery page
.................
256
10.4 Definitions specific to sequential access devices
11 Commandsforprinterdevices . . . . . . m n . l m n l m. . . . . . . . . . . . . . . . , . 257
. . .
VIII

---------------------- Page: 8 ----------------------
lSO/IEC 9316:1995(E)
olSO/lEC
.................................. 257
11.1 Model for Printer devices
.............................. 258
11.2 Commands for Printer devices
..................................... 259
11.2.1 FORMAT command
....................................... 260
112.2 PRINT command
...................... 260
11.2.3 RECOVER BUFFERED DATA command
.............................. 261
11.2.4 SLEW AND PRINT command
.................................. 262
11.2.5 STOP PRINT command
......................... 262
11.2.6 SYNCHRONIZE BUFFER command
............................... 263
11.3 Parameters for Printer devices
................................... 263
11.3.1 Diagnostic Parameters
........................................ 263
11.32 Log Parameters
....................................... 263
11.33 Mode Parameters
............................
11.3.3.1 Parallel Printer intetface page 264
................................... 266
11.3.3.2 Printer Options page
.............................. 269
11.3.3.3 Serial Printer interface page
......................................... 271
12Processordevices
................................ 271
12.1 Model for processor devices
...................... 272
12.1.1 Host-to-host communication, SEND only
.............. 272
12.1.2 Host-to-host communication, SEND and RECEIVE
........................... 272
12.1.3 Host-to-special-output peripheral
............................ 272
12.1.4 Host-to-special-input peripheral
............................
273
12.2 Commands for processor devices
.....................................
273
12.2.1 RECEIVEcommand
274
1222SENDcommand .
............................
275
12.3 Parameters for processor devices
................................... 275
12.3.1 Diagnostic Parameters
........................................ 275
12.3.2 Log Parameters
....................... 275
12.4 Definitions specific to processor devices
276
........................................
13 Write-once devices
................................ 276
13.1 Model for write-once devices
......................................... 276
131.1 Logical blocks
........................................... 276
13.1.2Initialization
................................. 276
131.3 Physical medium defects
276
.........................................
13.1.4Errorreporting
............................ 277
13.2 Commands for write-once devices
............................ 279
13.3 Parameters for write-once devices
....................... 279
13.4 Definitions specific to write-once devices
.......................................... 280
14 CD-ROM devices
................................. 280
14.1 Model for CD-ROM devices
.............................. 280
14.1.1 CD-ROM media organization
............................. 283
14.1.2 CD-ROM physical data format
................................. 283
14.1.2.1 Frame format for audio
.................................. 283
14.1.2.2 Seetorformat for data
.......................... 284
14.1.2.3 Sub-channel information formats
................................. 285
14.1.3 CD Audio error reporting
.................. 285
14.1.4 CD-ROM ready condition/not ready condition
.................. 285
14.1.5 CD-ROM address reporting formats (MSF bit)
.................... 286
14.1.6 Sensing support for CD-audio commands.
......................................... 286
14.17 Error reporting
............................. 287
14.2 Commands for CD-ROM devices
IX

---------------------- Page: 9 ----------------------
OISO/IEC
lSO/IEC 9316:1995(E)
............................... 288
14.2.1 PAUSERESUMEcommand
............................... 289
14.2.2 PLAY AUDIO(10) command
............................... 290
14.23 PLAY AUDIO(12) command
.............................. 290
14.24 PLAY AUDI0 MSF command
....................... 292
142.5 PLAY AUDI0 TRACK INDEX command
.................
293
14.2.6 PLAY AUDI0 TRACK RELATIVE(10) command
.................
294
14.2.7 PLAY AUDI0 TRACK RELATIVE(12) command
294
........................
14.2.8 READ CD-ROM CAPACITY command
296
................................
14.2.9 READ HEADER command
.......................... 297
14.2.10 READ SUB-CHANNEL command
............................. 298
14.2.10.1 Sub-Q channel dataformat
..................... 302
14.2.10.2 CD-ROM current Position data format
...................... 302
14.2.10.3 Media catalogue number data format
....... 303
14.2.10.4 Track international Standard recording code data format
................................... 305
14.2.11 READTOC command
............................. 307
14.3 Parameters for CD-ROM devices
................................... 307
14.3.1 Diagnostic Parameters
........................................ 307
14.3.2 Log Parameters
....................................... 307
14.3.3 Mode Parameters
........................
309
14.3.3.1 CD-ROM audio control Parameters
............................. 311
14.332 CD-ROM device Parameters
..........................
312
14.3.3.3 Read error recovery Parameters
..........................
318
14.3.3.4 Verify error recovety Parameters
........................
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.