1、American National StandardDeveloped byfor Information Technology SCSI Multi-Media Commands - 5(MMC-5)ANSI INCITS 430-2007ANSIINCITS430-2007ANSIINCITS 430-2007American National Standardfor Information Technology SCSI Multi-Media Commands - 5(MMC-5)SecretariatInformation Technology Industry CouncilApp
2、roved August 9, 2007American National Standards Institute, Inc.AbstractThis standard defines a SCSI based command set needed to access multi-media features. The applicableclauses of this standard when used in conjunction with other standards and publications define a full stan-dard set of commands.A
3、pproval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has be
4、en reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of American National
5、 Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards Institute doe
6、s not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpre
7、tations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically t
8、o reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street,
9、 New York, NY 10036Copyright 2007 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in
10、 the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may berequired for the implementation of the standard disclose such patents to the publisher. However,neither the developers nor the publisher have undertaken a patent search in order to
11、 identifywhich, if any, patents may apply to this standard. As of the date of publication of this standardand following calls for the identification of patents that may be required for the implementation ofthe standard, no such claims have been made. No further patent search is conducted by the de-v
12、eloper or publisher in respect to any standard it processes. No representation is made or impliedthat licenses are not required to avoid infringement in the use of this standard.iContents Foreword xlv 1 Scope.1 2 References 2 2.1 Normative References.2 2.2 Approved References2 2.3 References under d
13、evelopment 3 2.4 Other References 3 3 Definitions, Symbols, Abbreviations, and Conventions.6 3.1 MMC General Terms .6 3.2 CD Specific Terms.11 3.3 DVD and HD DVD Specific Terms 14 3.4 BD Specific Terms.16 3.5 Abbreviations and Acronyms.19 3.6 Keywords .21 3.7 Conventions.22 3.8 Bit and byte ordering
14、23 3.9 Notation conventions .23 4 Models .24 4.1 General 24 4.1.1 Overview 24 4.1.2 Common Physical Media Structure .24 4.1.2.1 The Disc .24 4.1.2.2 Single Layer Structure25 4.1.2.3 Dual Layer PTP Structure 25 4.1.2.4 Dual Layer OTP Structure26 4.1.2.5 Data Structure in a Spiral .26 4.1.2.5.1 Modula
15、tion Coding .26 4.1.2.5.2 Error Detection and Error Correction Coding.26 4.1.3 Logical Presentation of the Media .27 4.1.3.1 Logical Blocks.27 4.1.3.2 Logical Sub-Divisions of Media 27 4.1.3.2.1 General 27 4.1.3.2.2 Logical Tracks28 4.1.3.2.2.1 Overview .28 4.1.3.2.2.2 Properties of Logical Tracks .
16、29 4.1.3.3 Sessions.29 4.1.4 Data cache.30 4.1.5 Resets31 4.1.5.1 Reset Types .31 4.1.5.2 Power-On Reset.31 4.1.5.3 Hard Reset .31 4.1.5.4 Device Reset 31 4.1.6 Error reporting31 4.1.6.1 Unit Attention Conditions31 4.1.6.2 Drive Busy Conditions 31 4.1.6.3 Unable to Write Errors32 4.1.6.4 Deferred Er
17、rors.33 4.1.7 Removable medium .33 4.1.8 Drive Ready/Not Ready Conditions .34 4.1.9 Timeouts 36 4.1.9.1 General.36 4.1.9.2 Group 1 Timeouts.36 4.1.9.3 Group 2 Timeouts.37 4.1.9.4 No Timeout Commands .37 ii 4.1.9.5 Group 3 timeout for Real Time Stream Recording/Playback.38 4.1.9.5.1 General 38 4.1.9.
18、5.2 Trace time for requested sectors .39 4.1.9.5.3 Exception 1: Time for the initial OPC.39 4.1.9.5.4 Exception 2: Sync cache time39 4.1.9.5.5 Exception 3: Power state transition time to Active state39 4.1.9.5.6 Relationship between Group 3 time unit and Unit length 40 4.1.9.6 Recommended Timeout va
19、lue handling.40 4.1.10 Power Management 41 4.2 Compact Disc (CD)42 4.2.1 Recorded CD Media Structure.42 4.2.1.1 Spiral Structure.42 4.2.1.2 The CD Frame Structure42 4.2.1.3 Sub-channel .43 4.2.2 Physical Track Topology: Single Session Disc45 4.2.3 Physical track topology Multi-Session Disc 45 4.2.3.
20、1 Sessions.45 4.2.3.2 Tracks.45 4.2.3.3 Frame Addressing 46 4.2.3.4 Q Sub-channel .46 4.2.3.5 Q Sub-channel in the Program Area 47 4.2.3.5.1 Types of Q47 4.2.3.5.2 ADR=1 (0001b) Mode-1 Q47 4.2.3.5.3 ADR=2 (0010b) Mode-2 Q47 4.2.3.5.4 ADR=3 (0011b) Mode-3 Q48 4.2.3.6 Q Sub-channel in the Lead-out Are
21、a49 4.2.3.7 Q Sub-channel in the Lead-in Area49 4.2.3.7.1 Types of Q49 4.2.3.7.2 Mode-1 Q .49 4.2.3.7.3 Mode-2 Q .50 4.2.3.7.4 Mode-5 Q .50 4.2.3.8 CD Main Channel Block Formats.51 4.2.3.8.1 General Data Block Format .51 4.2.3.8.2 Block Format for Audio 52 4.2.3.8.3 Block Format for Mode 0 Data.52 4
22、.2.3.8.4 Block Format for Mode 1 Data.52 4.2.3.8.5 Block Format for Mode 2 Data.53 4.2.3.8.5.1 Forms of Mode 2.53 4.2.3.8.5.2 Block Format for Mode 2 formless Data .53 4.2.3.8.5.3 Block Format for Mode 2 form 1 Data.53 4.2.3.8.5.4 Block Format for Mode 2 form 2 Data.54 4.2.3.9 CD Recordable and CD R
23、eWritable Media Structure 54 4.2.3.9.1 ATIP .54 4.2.3.9.2 ATIP Time Codes.56 4.2.3.9.3 Special Information 56 4.2.3.9.4 Additional Information 57 4.2.3.10 Blank Media Structure 57 4.2.3.10.1 CD-R Volume 1 and CD-RW .57 4.2.3.10.2 Multi-Speed and High Capacity CD-R .58 4.2.3.10.3 PMA Q Sub-channel 58
24、 4.2.3.11 Recording .59 4.2.3.12 The Track Descriptor Block60 4.2.4 High Speed CD-RW media recording62 4.3 DVD .63 4.3.1 General 63 4.3.1.1 Overview.63 iii4.3.1.2 Spiral Structure.63 4.3.1.3 ECC Blocks 63 4.3.1.3.1 General 63 4.3.1.3.2 The Structure of the Data Sector .64 4.3.1.3.3 The Structure of
25、the ECC Block.64 4.3.1.4 The Lead-in Area65 4.3.2 DVD-ROM68 4.3.2.1 Track Structure.68 4.3.2.2 Sector Structure .68 4.3.2.3 The Lead-in 69 4.3.3 DVD-RAM 70 4.3.3.1 General.70 4.3.3.2 Physical Track Structure 70 4.3.3.3 Sector Structure .71 4.3.3.4 The Lead-in 72 4.3.3.5 Logical Structure 73 4.3.3.6
26、DVD-RAM Recording .73 4.3.3.7 Command Processing Preconditions for DVD-RAM74 4.3.4 DVD-R/-RW75 4.3.4.1 Track Structure.75 4.3.4.2 Sector Structure .75 4.3.4.3 The Lead-in 76 4.3.4.3.1 Control Data Zone76 4.3.4.3.2 DVD-R/-RW Physical Format Information Zone 77 4.3.4.3.3 Extra Border Zone78 4.3.4.4 DV
27、D-R Recording.79 4.3.4.4.1 RZone Description .79 4.3.4.4.2 Border-in/Border-out 79 4.3.4.4.3 RMD Caching for RMA Updates79 4.3.4.5 DVD-RW Recording .80 4.3.4.5.1 General 80 4.3.4.5.2 Sequential recording mode80 4.3.4.5.3 Restricted overwrite mode .80 4.3.4.5.4 Recording mode transition.81 4.3.5 DVD-
28、R Dual Layer .82 4.3.5.1 Introduction.82 4.3.5.2 Physical Overview 82 4.3.5.3 Logical Overview 83 4.3.5.4 Recording on DVD-R Dual Layer .84 4.3.5.4.1 RZone (Logical Track) .84 4.3.5.4.2 RZone Reservation 84 4.3.5.4.3 Border Zone .85 4.3.5.5 Layer Jump recording.86 4.3.5.5.1 Layer Jump Block (LJB).86
29、 4.3.5.5.2 Layer Jump Methods .87 4.3.5.5.3 Manual Layer Jump .87 4.3.5.5.4 Regular Interval Layer Jump88 4.3.5.5.5 Remapping on Layer Jump recording88 4.3.5.6 RZone closing 89 4.3.5.7 Disc closing 89 4.3.5.8 State of DVD-R Dual Layer disc for ROM compatibility .90 4.3.6 DVD+R.91 4.3.6.1 Track Struc
30、ture.91 4.3.6.1.1 The ADIP (Address in Pre-groove) 91 4.3.6.1.2 The ECC Block 91 4.3.6.1.3 DVD+R Groove Layout 92 iv 4.3.6.2 Recording on DVD+R.93 4.3.6.2.1 Recording Structures .93 4.3.6.2.1.1 ECC Blocks.93 4.3.6.2.1.2 Fragments.93 4.3.6.2.1.3 Sessions94 4.3.6.2.2 The Hosts Perspective96 4.3.6.2.3
31、Building from a Blank Disc.97 4.3.7 DVD+R Dual Layer 98 4.3.7.1 Introduction.98 4.3.7.2 Logical Overview 98 4.3.7.3 The Groove.99 4.3.7.3.1 Logical Disc Layout99 4.3.7.3.2 ADIP.100 4.3.7.4 Recorded Structure 100 4.3.7.5 Recording on DVD+R DL .101 4.3.7.5.1 Session Structure.101 4.3.7.5.1.1 Sessions1
32、01 4.3.7.5.1.2 Fragments (Logical Tracks) 101 4.3.7.5.2 Single Layer Recording101 4.3.7.5.3 Dual Layer Recording: Crossing the Layers102 4.3.7.5.4 Finalization.103 4.3.7.5.5 Finalization Time Deferral103 4.3.7.6 Read-Only Compatibility.104 4.3.8 DVD+RW .105 4.3.8.1 Track Structure.105 4.3.8.1.1 The
33、ADIP (Address in Pre-groove) 105 4.3.8.1.2 Logical Structure 105 4.3.8.2 The ECC Block.105 4.3.8.3 DVD+RW Basic Format106 4.3.8.3.1 Reading106 4.3.8.3.2 Writing106 4.3.8.3.3 Formatting107 4.3.9 DVD+RW Dual Layer.108 4.3.9.1 Track Structure.108 4.3.9.2 Logical Structure 108 4.3.9.2.1 The ECC Block 10
34、8 4.3.9.2.2 Physical Addressing.109 4.3.9.3 Groove Layout109 4.3.9.3.1 Logical Disc Layout109 4.3.9.3.2 ADIP.110 4.3.9.4 Using DVD+RW DL Media .110 4.3.9.4.1 Reading110 4.3.9.4.2 Writing110 4.3.9.4.3 Formatting110 4.3.9.4.3.1 Overview .110 4.3.9.4.3.2 Normal Start Formatting110 4.3.9.4.3.3 Quick Sta
35、rt Formatting110 4.3.9.4.3.4 Quick Stop 111 4.3.9.4.3.5 Compatiblity Stop111 4.3.9.4.3.6 Restarting111 4.3.9.5 Background Formatting Methods for DVD+RW DL .112 4.3.9.5.1 Overview 112 4.3.9.5.2 Dual Layer Formatting .112 4.3.9.5.3 Single Layer Formatting.113 4.3.10 Disc Control Blocks (DCBs) 114 4.3.
36、10.1 Overview.114 v4.3.10.2 Specified DCBs 115 4.3.10.2.1 DVD+R and DVD+R DL Session DCB (SDCB).115 4.4 HD DVD .116 4.4.1 General 116 4.4.2 Physical Media Characteristics116 4.4.2.1 The Disc .116 4.4.2.2 Track Structure.117 4.4.3 Logical Structure 117 4.4.3.1 ECC Blocks 117 4.4.3.1.1 The Structure o
37、f the Data Sector .117 4.4.3.1.2 The Structure of the ECC Block.118 4.4.3.2 The Lead-in Area118 4.4.4 HD DVD-ROM119 4.4.4.1 Track Structure.119 4.4.4.2 Sector Structure .119 4.4.4.3 The Lead-in Area120 4.4.5 HD DVD-R121 4.4.5.1 Track Structure.121 4.4.5.2 Sector Structure .121 4.4.5.3 The Lead-in Ar
38、ea122 4.4.5.4 HD DVD-R Recording 122 4.4.6 HD DVD-RAM 123 4.4.6.1 Track Structure.123 4.4.6.2 Sector Structure .124 4.4.6.3 The Lead-in Area124 4.4.6.4 HD DVD-RAM Recording.125 4.4.6.5 Command Processing Preconditions for HD DVD-RAM125 4.5 Blu-ray Disc (BD).126 4.5.1 Overview 126 4.5.1.1 General.126
39、 4.5.1.2 The Spiral .126 4.5.1.3 Logical Blocks, Sectors and Clusters.126 4.5.1.4 Unrecorded Sector Addressing 126 4.5.2 BD-ROM.127 4.5.2.1 Overview.127 4.5.2.2 Track Structure.127 4.5.2.3 The Information Zone.128 4.5.2.3.1 Burst Cutting Area (BCA).128 4.5.2.3.2 Embossed Zone (tracks at wide pitch).
40、129 4.5.2.3.3 Inner Zone 0 (Lead-in Zone)/Inner Zone 1 (Lead-out Zone) .129 4.5.2.3.4 Data Zone 129 4.5.2.3.5 Outer Zone 0 (Lead-out Zone)/Outer Zone 1.129 4.5.2.4 Access Model .129 4.5.3 BD-R 130 4.5.3.1 Overview.130 4.5.3.2 Blank Media Structure 130 4.5.3.2.1 Primary Zones130 4.5.3.2.2 Capacity .1
41、30 4.5.3.2.3 ADIP.130 4.5.3.2.4 Groove Layout .131 4.5.3.2.5 Burst Cutting Area (BCA).132 4.5.3.2.6 Pre-recorded Zone.132 4.5.3.2.7 Lead-in Zone (Inner Zone 0)132 4.5.3.2.8 Data Zone 132 4.5.3.2.9 Outer Zone 0 (Lead-out Zone on a SL disc)133 4.5.3.3 Logical Structure 133 vi 4.5.3.3.1 Logical Structu
42、re of Single Layer BD-R.133 4.5.3.3.2 Logical Structure of Dual Layer BD-R134 4.5.3.4 TDMA and DMA Usage135 4.5.3.5 BD-R Recording Models.136 4.5.3.5.1 Random Recording Mode (RRM) 136 4.5.3.5.2 Sequential Recording Mode (SRM) .136 4.5.3.5.2.1 General .136 4.5.3.5.2.2 Definitions .137 4.5.3.5.2.3 Log
43、ical to Physical Addressing .138 4.5.3.5.2.4 Status after Formatting a Blank BD-R 139 4.5.3.5.2.5 Creating Additional Logical Tracks .140 4.5.3.5.2.6 Creating New Sessions.141 4.5.3.5.3 Defect Management.141 4.5.3.5.4 Pseudo-OverWrite (POW) .141 4.5.3.5.4.1 POW on SRM .141 4.5.3.5.4.2 Orphans 141 4.
44、5.3.5.4.3 Closed Logical Tracks with Blank Clusters.142 4.5.3.6 Examples of SRM and SRM+POW142 4.5.3.6.1 Initialize the Disc as SRM+POW .142 4.5.3.6.2 Create a Small Logical Track, Write it, and Close it 142 4.5.3.6.3 Split Logical Track 1.143 4.5.3.6.4 Split Logical Track 2.143 4.5.3.6.5 Write to E
45、ach Logical Track.144 4.5.3.6.6 POW a Logical Block in Logical Track 1144 4.5.3.6.7 Complete Writing Logical Track 1, POW LBA = 128 a Second Time145 4.5.3.6.8 Use Orphaned LBAs via POW.145 4.5.3.6.9 The Expanding Orphanage146 4.5.4 BD-RE147 4.5.4.1 Overview.147 4.5.4.2 Track Structure.147 4.5.4.3 Co
46、mmand Processing Preconditions for BD-RE discs 148 4.5.4.4 The Information Zone.149 4.5.4.4.1 Burst Cutting Area150 4.5.4.4.2 Embossed HFM Zone150 4.5.4.4.3 Inner Zone 0/Inner Zone 1 (Lead-in Zone/Lead-out Zone)150 4.5.4.4.4 Data Zone 150 4.5.4.4.5 Lead-out Zone/Outer Zone 0/Outer Zone 1.150 4.5.5 P
47、hysical Track Structure151 4.5.6 Sectors and Clusters152 4.5.7 Emergency Brake 152 4.5.8 Physical Access Control (PAC)153 4.5.8.1 Overview.153 4.5.8.2 General PAC Format153 4.5.8.2.1 PAC ID and Format153 4.5.8.2.2 PAC Update Count 153 4.5.8.2.3 Unknown PAC Rules .154 4.5.8.2.4 Unknown PAC Entire Dis
48、c Flags .154 4.5.8.2.5 Segments.154 4.5.8.2.6 Known PAC Entire Disc Flags .154 4.5.8.2.7 PAC specific Information154 4.5.8.3 Primary PAC.154 4.5.8.3.1 Primary PAC on BD-ROM154 4.5.8.3.2 Primary PAC on BD-RE.154 4.5.8.4 Disc Write Protect PAC 155 4.5.8.4.1 General 155 4.5.8.4.2 Write Protect Password
49、 .155 vii4.5.8.4.3 Write Protect Control Byte .155 4.5.8.4.4 Virtual Write Enable (VWE)156 4.5.8.4.5 Changing the Write Protect Password.158 4.6 The MRW Format for ReWritable Media .159 4.6.1 Overview 159 4.6.2 Consequences of a Multi-Volume Format .159 4.6.2.1 LBA Spaces159 4.6.2.2 Features and Events 160 4.6.3 Host Requests/Drive Responses.160 4.6.3.1 General.160 4.6.3.2 Streamed Writing160 4.6.3.3 Formatting 160 4.7 Drive Assisted Software Defect Management.161 4.7.1 General 161 4.7.2 Basic actions for defect management161 4.7.3 Softw