HP Lto 5 Manual
Have a look at the manual HP Lto 5 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

01234567 ParameterLength(MSB)12 (LSB)13 Reserved(0)14 Control15 CDBfields TheCodefieldindicateswhatistobespacedto:Code Blocks—ThenumberofblockscrossedisdictatedbyCount.000 Filemarks—ThenumberoffilemarkscrossedisdictatedbyCount.001 EOD—Spacetotheendofdatainthecurrentactivepartition.011 •Whenspacingoverblocksorfilemarksthisfieldindicateshowmanyblocksormarks shouldbecrossed.Spacingisforward(towardsEOM)unlessCountisnegative(twos complement)whenthespacingistowardsBOM. •WhenspacingtoEODtheCountfieldisignored. •WhennotspacingtoEOD,ifCountiszero,theSPACEcommandistreatedasanull operation.Thelogicalpositionremainsunchanged,andunwrittendataisnotflushedto tape. Count Explicitblockmodeisnotsupported.0ParameterLength SPACEspecificstatus Ifthedrivefailstospaceeitherfromamediumerrororfromsomesortofnon-fataldriveerror, CHECKCONDITIONstatusisreported.ThesensekeywillbesettoMEDIUMERROR.Additional sensedependsonthenatureoftheerror.Thetwomostcommonadditionalsensecodeandqualifiers inthiscasewillbe:1100h(unrecoveredreaderror)and3B00h(sequentialpositioningerror). Thedriveimplementsthefollowingpriorityschemewhenatapepositionpointisencountered: BlocksLowestpriority IfthedrivemeetsafilemarkwhilespacingtoablockCHECKCONDITION isreported.TheMarkbitinthesensedataisset,andthesensekeyisNO SENSE.Additionalsenseis0001h(filemarkencountered).Thefinalposition willbebeforeorafterthefilemarkdependingonwhetherthespacewas reverseorforward. Filemarks IfthedrivemeetsEODwhilespacingtoablockormark,CHECK CONDITIONisreported.TheEOMbitinthesensedataisset.Thesense keyisBLANKCHECKandadditionalsenseis0005h(EODencountered). EOD IfthedrivemeetsBOMwhilespacing,CHECKCONDITIONisreported. TheEOMbitandValidbitinthesensedataaresetto1andtheinformation bytessettothetotalnumberofblocksorfilemarksthatremaintobespaced over(inotherwords,therequestednumberminusthenumberthathavebeen spacedover).ThesensekeyisNOSENSEandadditionalsenseis0004h (BOTdetected). BOM IfthedrivemeetsEOMwhilespacing,CHECKCONDITIONisreported.The EOMbitinthesensedataisset.ThesensekeyisMEDIUMERRORand additionalsenseis0002h(EOP/Mdetected). EOMHighestpriority •If“blankmedia”isencounteredduringaspace(inotherwords,thedriveattemptedtospace onanunformattedtape),thedrivebehavesasifEODwasatBOM.Itwillthenrespondwith SPACE11h/91h221

GOODstatustoarequesttospacetoEOD,andwithCHECKCONDITIONtoanyother forwardspacingrequest.Additionalsenseissetto1403h(Endofdatanotfound). •Earlywarningendofmediuminformationisnotreported. •Ifaspacerecordsorspacefilemarkscommandfailsthenthesensedatainformationbytes willbesettotheabsolutevalueofthedifferencebetweentherequestednumberof marks/recordsandtheactualnumberofmarks/recordsspacedoverandtheValidbitset. TheresidueforaprematurelyterminatedSpacetowardsBOMwillalwaysbeapositivevalue. NOTE:ThisvaluewillonlybeaccurateifthesensekeyisNOSENSE. •IftheformatofthedataontapeiscorruptthenCHECKCONDITIONstatusisreported.The sensekeywillbesettoMEDIUMERROR.Additionalsensewillbesetto3001h(unknown format). •IfthedrivefailstoreaddatafromtapeduetoeitheraMEDIUMERRORorsomesortofnon fataldriveerrorthenCHECKCONDITIONstatusisreported.Thesensekeywillbesetto HARDWAREERRORAdditionalsensewillbesetto3B00h(sequentialpositioningerror). START/STOP(CD-ROMmode)1Bh START/STOPisexecutedfor1BhwhenthedriveisinCD-ROMmode.WhenoutofCD-ROM mode,theLOAD/UNLOADcommand,whichsharestheopcode,isexecuted. Assumingthatthepre-executionchecksarepassed,GOODstatusisalwaysreported. Pre-executionchecks BadLUNFlagLinkIllegalField UnitAttentionDeferredErrorReservation Commanddescriptorblock 01234567 OperationCode(1Bh)0 ImmedReserved(0)LogicalUnitNumber1 Reserved(0)2–3 StartLoEjReserved(0)4 Control5 CDBfields Thisflagisignored.Immed Load/Eject.Thisflagisignored.LoEj Thisflagisignored.Start TESTUNITREADY00h TESTUNITREADYchecksifthedriveisreadyforcommandsthataccessthetape.Thisisdoneby thepre-executionMediaAccesscheck;itisnotarequestforaself-test.Ifthedrivehasatape loaded,thecommandreturnsaGOODstatus.Otherwise,CHECKCONDITIONisreportedand thesensekeyisNOTREADY. 222Commands

Pre-executionchecks DeferredErrorReservationIllegalField MediaInformationMediaAccessUnitAttention Commanddescriptorblock 01234567 OperationCode(00h)0 Reserved(0)1 4 Control5 TESTUNITREADYspecificstatus Ifallthepre-executioncheckspass,GOODstatusisreported. VERIFY13h VERIFYverifiesoneormoreblocksbeginningwiththenextblockonthetape.Theverificationis mediaverificationonly.Itreadsdatafromthetapeasitwouldforareadbutthenimmediately discardsit.Nodataistransferredbetweenthehostanddrive. ThecommandisidenticaltotheREADcommandinmostrespects.Thepre-executionchecksare identical.Sensedatareportingonerrors/exceptionsisidentical.Theonlydifferencesare: •Nodataphasesoccurduringverification. •TheVerifycommandhasnoSILIbit.Whenanillegallengthrecordisencountered,Verify behaveslikeREADwiththeSILIbitclear. NOTE:Verifywillnotcompleteuntilalldatahasbeenread.ItdoesnotsupporttheANSI “bytecompare”or“Immed”options(seetheANSISCSIspecification). Pre-executionchecks DeferredErrorReservationFixedBitIllegalField DiagnosticStatusMediaAccessUnitAttention Commanddescriptorblock 01234567 OperationCode(13h)0 FixedBCmp(0)Immed(0)Reserved(0)1 VerificationLength(MSB)2 (LSB)4 Control5 VERIFY13h223

CDBfields TheImmediateReportingoptionisnotsupported,sothisbitmustbe0.0Immed TheBytecompareoptionisnotsupported,sothisbitmustbe0.0BCmp TheVerificationLengthfieldspecifiesthelengthofthedatatobeverifiedinbytes.0Fixed TheVerificationfieldspecifiesthelengthofthedatatobeverifiedinblocks.Thesizeofeach block(inbytes)isspecifiedbythecurrentblocklengthspecifiedintheModeParameterblock descriptor. 1 Nodataisverified.Thisisnotconsideredanerrorandthecurrentlogicalpositionwillbe unchanged. 0Verification Length Theamountofdatatobeverified,inbytesorblocksasspecifiedbytheFixedfield.>0 WRITE0Ah Zeroormoreblocksofdataaretransferredfromthehosttotapestartingatthecurrentlogical position. ItisrecommendedthattheBufferedModefieldoftheMODESELECTParameterissettoeither1 or2sothatImmediatereportingisenabled;uponawritecommandthedrivewillreportGOOD statusoncethedataissuccessfullytransferredtothedatabuffer(butnotnecessarilytotape). Dataheldinthebufferisflushedtotapeinthefollowingcircumstances: •ASCSIcommandisreceivedthatforcesaflush: READMODESELECTLOGSELECTLOCATELOADERASE WRITEBUFFERVERIFYSPACESENDDIAGNOSTICREWIND •Bufferedmodeisnotenabled.Ifbufferedmodehasnotbeensetto1or2,thebufferisflushed beforethecommandcompletes. •Thewritedelaytimeisexceeded.ThisisdefinedbytheWriteDelayfieldoftheDevice ConfigurationModeSelectpage.Ifthedriveisidleforlongerthanthis(nooperationsthat accessthetapehavebeenperformed),anydatainthebufferisflushedtotape. Pre-executionchecks DeferredErrorReservationFixedBitIllegalField DiagnosticStatusMediaWriteMediaAccessUnitAttention Commanddescriptorblock 01234567 OperationCode(0Ah)0 FixedReserved(0)1 TransferLength(MSB)2 (LSB)4 Control5 224Commands

CDBfields TheTransferLengthfieldspecifiesthelengthofthetransferinbytes.0Fixed TheTransferLengthfieldspecifiesthelengthofthetransferinblocks.Thesizeofeachblock (inbytes)isdeterminedbythecurrentBlockLengthgivenintheModeSelectParameterblock descriptor. 1 Nodataistransferred.Thecurrentlogicalpositionwillbeunchanged.0TransferLength Theamountofdatatobetransferred,inbytesorblocksasdeterminedbytheFixedfield.>0 WRITEspecificstatus Seealsothe“AdditionalSensecodes”(page191)foravarietyofpossibleharderrors. Anattempttowritetoawrite-protectedcartridgewillproduceaCHECKCONDITIONwithasense keyofDATAPROTECTandadditionalsenseof2700h(write-protected). AnattempttowritetoacartridgewhoseCartridgeMemoryhasfailedwillproduceaCHECK CONDITIONwithasensekeyofMEDIUMERRORandadditionalsenseof3004h(cannotwrite medium).If,however,thetapeisnotpositionedatBOT,thedrivewillrespondwithsensedataas ifthetapeiswrite-protected.TheWPflagintheModeParameterHeaderwillalsobeset. IfEOM(endofmedium)isencounteredduringawrite,CHECKCONDITIONstatusisreported. TheEOMflagwillbeset.ThesensekeywillbesettoVOLUMEOVERFLOWwithadditionalsense of0002h(EOT).Residueinformationwillbeasbelow.ThelogicalpositionwillbeEOD. SubsequentRequestSensecommandswill,however,givetapepositionasEOP/M.Itmaystillbe possibletowriteasmallerquantityofinformation(suchasfilemarksorasmallerblock).Thisis becauselogicalpositionafterfailuretowriteablockreturnstothestartoftheunwrittenblock. EarlyWarningEOMinformationisreportedonlyifawriteoperationissuccessful.Thisisdone byreportingCHECKCONDITIONstatuswithasensekeyofNOSENSEandadditionalsenseof 0002h(EOT).Residueinformationisvalidandindicateszeroblocks/bytes. Residueinformation Residueinformationdependsontwovariables: •FixedorVariableblockmode •ImmediateorNon-ImmediateReport(Bufferedmode) ResidueBufferedModeBlockMode Numberofunwrittenbytes0Variable Numberofunwrittenblocks0Fixed Totalnumberofunwrittenbytesandmarks(includingthosebuffered beforethecommandwasreceived).Thesizecanbegreaterthanthe commandoperationsize. not0Variable Containsresiduesofallinitiatorswithdatainthebuffer.specifically1 Totalnumberofunwrittenblocksandmarks(includingthosebuffered beforethecommandwasreceived).Thesizecanbegreaterthanthe commandoperationsize. not0Fixed Containsresiduesofallinitiatorswithdatainthebuffer.specifically1 Residueinformationissetinthesensedatabyte,withtheValidbitsetandtheinformationbytes settotheresidue. WRITE0Ah225

WRITEATTRIBUTE8Dh TheWRITEATTRIBUTEcommandallowsanapplicationclienttowriteattributevaluestoMAM (MediumAuxiliaryMemory).ApplicationclientsshouldissueREADATTRIBUTEcommandsbefore usingthiscommandtodiscoverwhatsupportthedeviceserverhasforMAM. Pre-executionchecks MediaAccessUnitAttentionDeferredErrorIllegalField Forthiscommandtobeexecuted,theremustbeatapeinthedrive,evenifitisonlypartially loaded. Commanddescriptorblock 01234567 OperationCode(8Dh)0 Reserved(0)1–4 VolumeNumber(0)5 Reserved(0)6 PartitionNumber7 Reserved(0)8–9 ParameterListLength(MSB)10 (LSB)13 Reserved(0)14 Control15 CDBfields ThenumberofthevolumewithintheMAM.ThenumberofvolumesoftheMAMmustbeequal tothatofthetape.InthecaseofLTOUltrium,theonlyhasasinglevolume,sothisfieldisbe setto0. VolumeNumber ThenumberofthepartitionwithintheMAM.ThenumberofpartitionsoftheMAMmustbe equaltothatofthetape. PartitionNumber ThelengthinbytesoftheparameterlistcontainedintheData-Outbuffer.ParameterListLength TheData-Outbufferisempty.Thisconditionisnotbeconsideredanerror.0 ThelengthinbytesoftheparameterlistcontainedintheData-Outbuffer.n WRITEATTRIBUTEparameterlistformat Theparameterlisthasthefollowingformat.Theattributesshouldbesentinascendingnumerical order.Fordetailsofattributedatasee“MAMattributedata”(page132). 01234567 ParameterDataLength(n−3)(MSB)0 (LSB)3 Attribute14 a 226Commands

01234567 :: Attributexm n Thisisnotmandatoryandwillbeignoredbythedeviceserverbecauseitduplicatesthe ParameterListLength. ParameterDataLength IftheparameterdatacontainsanattributewithanAttributeLengthofzero,oneofthefollowing actionswilloccur: •Iftheattributeisread-onlyorunsupported,noattributesarechanges.Thecommandfails, returningCHECKCONDITIONwithILLEGALREQUESTsenseandadditionalsenseof2600h (invalidfieldinparameterlist). •Iftheattributecanbewrittento,itisdeletedandwillnotbereturnedafterasubsequentREAD ATTRIBUTEcommand. •Iftheattributedoesnotexist,thecommandcannotaffectit.Thisisnotconsideredanerror. WRITEATTRIBUTEspecificstatus ThecommandwillbeterminatedandwillreturnCHECKCONDITIONunderthefollowing circumstances: AdditionalSenseSenseKeyDescription (mediumnotpresent)3A00hNOTREADYThereisnocartridgepresentinthedrive,notevenpartially loaded. (parameterlistlengtherror)1A00hILLEGAL REQUEST TheParameterListLengthresultsinthetruncationofan attribute. (invalidfieldinCDB)2400hILLEGAL REQUEST ThecombinationofVolumeNumberandPartitionNumber isnotvalid. (invalidfieldinparameter list) 2600hILLEGAL REQUEST Theparameterdataattemptstochangearead-onlyattribute, thatis,onethathastheRead-Onlybit(see“MAMattribute data”(page132))settoonewhenreadwiththeREAD ATTRIBUTEcommand.Noneoftheattributesarechanged. (invalidfieldinparameter list) 2600hILLEGAL REQUEST Theparameterdatacontainsanattributewithanincorrect AttributeLengthfieldvalue.Noneoftheattributesare changed. (invalidfieldinparameter list) 2600hILLEGAL REQUEST Theparameterdatacontainsanattributewithanunsupported AttributeValuefieldvalue.Noneoftheattributesare changed. (invalidfieldinparameter list) 2600hILLEGAL REQUEST TheattributesarenotinascendingorderintheParameter List.Noneoftheattributesarechanged. (MAMfull)5506hILLEGAL REQUEST Thereisnotenoughspacetowritealltheattributestothe MAM.Noneoftheattributesarechanged. WRITEATTRIBUTE8Dh227

WRITEBUFFER3Bh WriteBufferisusedtotransferdataintomemoryonthedriveforthepurposesofdiagnostics,tests orfirmwareupgrade.ThedataisplacedintooneofthedrivebuffersdependingontheModeand BufferIDfieldsofthecommand. CAUTION:Donotattempttousethebuffermodifyingfunctionsofthiscommandunlessyoureally knowwhatyouaredoing.Thebuffermodifyingfunctionsareintendedasadiagnosticaidtobe usedinconjunctionwiththeReadBuffercommand.Itisnotpossibletomodifydatainthebuffer sothatitsubsequentlywrittentomediabecauseallhostdataisflushedbeforeexecutingthe command. Thefirmwaredownloadfunctionsareintendedforusebymanufacturingandbycustomersusing upgradeutilitiessuppliedbyHP. Pre-executionchecks UnitAttentionDeferredErrorReservationIllegalField Commanddescriptorblock 01234567 OperationCode(3Bh)0 ModeReserved(0)1 BufferID2 BufferOffset(MSB)3 (LSB)5 ParameterListLength(MSB)6 (LSB)8 Control9 CDBfields Thisfieldcanbesettooneofthefollowingvalues:Mode Thedrivetransfersa4-byteheaderfromthehost(whichshouldbesettozeros),followed by(allocationlength−4)bytesofdata.Thedataiswrittenintothebufferidentifiedby theBufferID,startingfromoffsetzerointhebuffer.TheBufferIDandBufferOffsetmust bothbezero.AllocationLengthmustnotexceed(buffersize+4). 00h Thedrivetransfersallocationlengthbytesofdatafromthehost,bytesofdatawhichis placedinthebufferindicatedbyBufferID,startingfromBufferOffsetfromthestartof thebuffer.Noheaderissent.TheBufferOffsetandAllocationLengthmustbekeptwithin thebuffersize,andtheBufferIDmusttosettooneofthevalidvalues. 02h Thismodeisusedtotransfernewfirmwaretothedrive.ThedrivereceivesAllocation Lengthbytesofdatafromthehost.Thedataisstoredinthedrive’sbuffer.Thelocation inthebufferatwhichthedataiswrittenisdeterminedbythefirmware. Thefirmwareimageisdividedintoanumberofblocksofdatawhicharesenttothe driveusingmultipleWriteBuffercommands. Allthefirmwareimagedatashouldbetransferredusingthismode.TheBufferIDand BufferOffsetareignored. 04h 228Commands

Thismodeisusedtoindicatethatthecompletefirmwareimagehasbeensenttothe drive.ThisisthesignalforenteringtheFLASHreprogrammingstageofthefirmware upgradeprocess. Oncethiscommandhasbeenreceived,andtheassociateddatastoredinthebuffer, theresidentfirmwarechecksthevalidityoftheimagethathasbeenreceived.Ifthis seemstobecorrect,theFirmwareUpgradeoperationwillcommence.Ifanyfaultsare detectedintheformatoftheimage,thedrivewillreportCHECKCONDITIONtothe host.ThesensekeyisABORTEDCOMMAND,andtheadditionalsenseissetto2600h (invalidfieldinparameterlist). CAUTION:Oncethiscommandhasbeensentandcompleted,thedrive’spower supplymustnotbeinterrupteduntilthedrivehascompletedthefirmwareupgrade. TheBufferIDandBufferOffsetareignored. 05h ThismodeisusedtowritetotheEchoBuffer.TheBufferIDandOffsetareignored.0Ah/1Ah Specifieswhichbuffertoread.BufferID Mainbuffer(RAM)OffsetBoundary:1byte00h Processoraddressablememory(RAM)OffsetBoundary:1byte01h FCburstbuffer(RAM)OffsetBoundary:512bytes,orSCSIburstbuffer(RAM)Offset Boundary:4bytes 02h PCAEEPROMOffsetBoundary:1byte13h Mainbuffersegments0–7(RAM)—seebelowfordescription20h—27h Whereinthebufferthedatashouldbewritten.Thismustbesmallerthanthesizeofthebufferand mustobeythespecifiedoffsetboundary.Whendownloadingnewfirmware,thisfieldisignored. BufferOffset Theamountofdata.ThismustbesmallerthanthedifferencebetweentheBufferOffsetfieldandthe sizeofthebuffer. ParameterList Length Memorysizes Mainbuffermemory TheMainBuffermemoryis128MB. AreasoftheMainBuffermemoryareusedbythefirmware.Theseshouldnotbewrittentoand shouldnotbeexpectedtoretainvaluesthatarewrittentothem.AnyWriteandReadBuffertests canbeperformedwhilethedriveisidle.Ifthedriveisreadingorwriting,thedatabeingwritten orreadcanbecorrupted. Sincethedrivehasmorethan16MBofMainBuffermemory,additionalbufferIDshavebeen definedtoallowthewholebuffertobeaccessedin16MBsegments.Thesearedefinedasfollows: AddressBufferID 00000000h+BufferOffset(sameasBufferID00h)20h 01000000h+BufferOffset(thatis,+16MB)21h 02000000h+BufferOffset(thatis,+32MB)22h 03000000h+BufferOffset(thatis,+48MB)23h 04000000h+BufferOffset(thatis,+64MB)24h 05000000h+BufferOffset(thatis,+80MB)25h 06000000h+BufferOffset(thatis,+96MB)26h 07000000h+BufferOffset(thatis,+112MB)27h WRITEBUFFER3Bh229

Mainprocessormemory NotalltheProcessormemoryspaceisaccessible.Takecarewhenwritingtoanyaddresseswithin thisbuffer. SCSIburstbuffer Addressablerangefrom00000hthrough3F8000h. PCAEEPROM Thewriterangeislimitedto500hbytes,startingat100h(TapeToolsarea). WRITEFILEMARKS10h WRITEFILEMARKScausesthespecifiednumberoffilemarkstobewrittenbeginningatthecurrent logicalpositionontape. IftheImmedbitisset,GOODstatusmaybereportedandthemarksleftinthedatabuffer. Otherwise,allbuffereddataandmarksarewrittenbeforestatusisreported. Ifzerofilemarksaretobewritten,theImmedbitmustbezero.Thedrivewritesanybuffereddata andmarkstotapebeforereporting.Thisistherecommendedwayforahosttoflushthebuffer. Pre-executionchecks UnitAttentionDeferredErrorReservationIllegalField DiagnosticStatusMediaWriteMediaAccess Commanddescriptorblock 01234567 OperationCode(10h)0 ImmedWSmkReserved(0)1 NumberofFilemarks(MSB)2 (LSB)4 Control5 CDBfields Statuswillnotbereturneduntiltheoperationiscomplete.0Immed ThedrivereturnsGOODstatusfollowingthepre-executionchecks(thatis,beforethecommand startsexecuting). 1 Thisbitisnotsupportedandmustbesettozero.0WSmk Zeroisvalidonlywhenimmediatereportisdisabled.0Numberof MarksThisnumberoffilemarksistobewritten.>0 WRITEFILEMARKSspecificstatus WriteFilemarksenseisidenticaltostatusfortheWritecommand. 230Commands