Datenintegrität

Tools

Seagate Debug UART

UART Konnektor

pd\_seagate\_hdd\_uart\_v1.jpgImage

Baud Rate: 38400
Bits: 8
Parity: none
Stopbit: 1
Flow control: none
  stty speed 38400 raw </dev/ttyUSB0
  screen /dev/ttyUSB0

Commands

        Startup
           |
     Online Commands
           |(^Z)
      DIAG Commands  (F3 T)
           | (/n)
     Level n Comands (F3 n)

Keys: ^c means press CTRL-c and is equivalent to sending byte 0x0FIXME

Regular Startup

HDD is only connected to Power.

Rst 0x20M

HDD is connected to USB2SATA Device.

Rst 0x20M
(P) SATA Reset

(H) SATA Reset

(H) SATA Reset

Online Commands

Online Commands are issued without entering the DIAG Command shell. Online means the drive is still usable.

Send ^l Command for some basic Infos (enter Command Promt first):

F3 T>
M13T2 TetonST 2.0 SATA Moose Gen3.0(RAPfmt10)w/sdff(RV)
Product FamilyId: 27, MemberId: 03
HDA SN: XXXXXXXX, RPM: 7206, Wedges: 108, Heads: 6, Lbas: 575466F0, PreampType: 47 A8
PCBA SN: 0000XXXXXXXX, Controller: TETONST_2(639D)(3-0E-3-5), Channel: AGERE_COPPERHEAD_LITE, PowerAsic: MCKINLEY ENTERPRISE Rev 51, BufferBytes: 2000000
Package Version: MS011B.SDD1.AQ1700.SD1A    , Package P/N: 100556322, Package Builder ID: F1,
Package Build Date: 01/22/2009, Package Build Time: 15:50:36, Package CFW Version: MS01.SDD1.00139388.F100,
Package SFW1 Version: B100, Package SFW2 Version: C0FF, Package SFW3 Version: ----, Package SFW4 Version: ----
Controller FW Rev: 01221550, CustomerRel: SD1A, Changelist: 00139388, ProdType: MS01.SDD1, Date: 01/22/2009, Time: 155036, UserId: 00391559
Servo FW Rev: B100
RAP FW Implementation Key: FF, Format Rev: 0092, Contents Rev: 15 09 00 11
Features:
- Quadradic Equation AFH enabled
- VBAR with adjustable zone boundaries enabled
- Volume Based Sparing enabled
- IOEDC enabled
- IOECC enabled
- DERP Read Retries enabled
- LTTC-UDR2 compiled off

Firmware Version is SD1A. \</code>

DIAG Commands (F3 T>)

Infos

Send ? Command:

F3 T>
Blks 000E24-000E24 (000001), BufAddr 001C4800-001C49FF, DBA 061C4800, BytesPerBlk 200 Online Cmd SDBP DFB
Blks 000E25-000E25 (000001), BufAddr 001C4A00-001C4BFF, DBA 061C4A00, BytesPerBlk 200 Cmd Input Buf
Blks 000E26-000E26 (000001), BufAddr 001C4C00-001C4DFF, DBA 061C4C00, BytesPerBlk 200 Diag Batch File
Blks 000E27-000E27 (000001), BufAddr 001C4E00-001C4FFF, DBA 061C4E00, BytesPerBlk 200
Blks 000E28-000E28 (000001), BufAddr 001C5000-001C51FF, DBA 061C5000, BytesPerBlk 200
Blks 000E29-000E29 (000001), BufAddr 001C5200-001C53FF, DBA 061C5200, BytesPerBlk 200
Blks 000E2A-000E2A (000001), BufAddr 001C5400-001C55FF, DBA 061C5400, BytesPerBlk 200
Blks 000E2B-000E2B (000001), BufAddr 001C5600-001C57FF, DBA 061C5600, BytesPerBlk 200
Blks 000E2C-000E2F (000004), BufAddr 001C5800-001C5FFF, DBA 061C5800, BytesPerBlk 200
Blks 000E30-000E33 (000004), BufAddr 001C6000-001C67FF, DBA 061C6000, BytesPerBlk 200
Blks 000E34-000E37 (000004), BufAddr 001C6800-001C6FFF, DBA 061C6800, BytesPerBlk 200
Blks 000E38-000E3B (000004), BufAddr 001C7000-001C77FF, DBA 061C7000, BytesPerBlk 200
Blks 000E3C-000E5B (000020), BufAddr 001C7800-001CB7FF, DBA 061C7800, BytesPerBlk 200 Diag Mode Cmd SDBP DFB
Blks 000E5C-000E7B (000020), BufAddr 001CB800-001CF7FF, DBA 061CB800, BytesPerBlk 200 Drive Geometry SDBP DSB
Blks 000E7C-000E9B (000020), BufAddr 001CF800-001D37FF, DBA 061CF800, BytesPerBlk 200 Ext Test Service SDBP DSB
Blks 000E9C-000EBB (000020), BufAddr 001D3800-001D77FF, DBA 061D3800, BytesPerBlk 200
Blks 000EBC-000F15 (00005A), BufAddr 001D7800-001E2BFF, DBA 061D7800, BytesPerBlk 200
Blks 000F16-000F6F (00005A), BufAddr 001E2C00-001EDFFF, DBA 061E2C00, BytesPerBlk 200
Blks 001708-001A99 (000392), BufAddr 002E1000-0035508F, DBA 062E1000, BytesPerBlk 208 Default Diag Rd Buf
Blks 001AAB-001E3C (000392), BufAddr 00355600-003C968F, DBA 06355600, BytesPerBlk 208 Default Diag Wrt Buf

Spin Down

Send ^c Command:

F3 T>
Spinning Down

Spin Down Complete
Elapsed Time 12.963 secs
Delaying 5000 msec

Jumping to Power On Reset
Rst 0x20M
(P) SATA Reset

Command Lists

Aus Diag in Level C (/C) gehen und Liste mit Q:

Seagate ST31500341AS (1.5T)

F3 T>/C
F3 C>Q
Online CR: Rev 0011.0000, Flash,   Abort
Online ESC: Rev 0011.0000, Flash,   AbortLoopOrBatchFile
Online ' ': Rev 0001.0000, Flash,   PauseOutput
Online '.': Rev 0011.0000, Flash,   DisplayActiveStatus
Online '?': Rev 0011.0000, Flash,   DisplayDiagBufferInfo
Online '`': Rev 0012.0000, Flash,   DisplayRwStats
Online '$': Rev 0012.0000, Flash,   DisplayRwStatsByZone
Online ^W: Rev 0011.0000, Flash,   RwStatsEnableAndInit
Online '!': Rev 0011.0000, Flash,   DisplayRdChannelRegs
Online '<': Rev 0011.0000, Flash,   DecRwScopeSync
Online '>': Rev 0011.0000, Flash,   IncRwScopeSync
Online '{': Rev 0011.0000, Flash,   ToggleEibTracing
Online '~': Rev 0011.0000, Flash,   DisplayInterfaceCmdState
Online ^A: Rev 0012.0000, Flash,   DisplayFirmwareRev
Online ^B: Rev 0012.0000, Flash,   GetThermistorTemperature
Online ^C: Rev 0011.0000, Flash,   FirmwareReset
Online ^D: Rev 0011.0000, Flash,   ToggleRwTracing
Online ^E: Rev 0011.0000, Flash,   DisplayInterfaceConfig
Online ^F: Rev 0011.0000, Flash,   DisplayInterfaceRdCacheInfo
Online ^I: Rev 0011.0000, Flash,   DisplayControllerRegs
Online ^K: Rev 0011.0000, Flash,   DisplayDstStatus
Online ^L: Rev 0013.0000, Flash,   DisplaySignOnMsg
Online ^N: Rev 0011.0000, Flash,   ToggleRwTracing
Online ^P: Rev 0011.0000, Flash,   ToggleDiagIdleMode
Online ^Q: Rev 0011.0000, Flash,   ResumeInterfaceTask
Online ^R: Rev 0011.0000, Flash,   EnableAsciiOnlineSerialPortMode
Online ^S: Rev 0011.0000, Flash,   PauseInterfaceTask
Online ^T: Rev 0011.0000, Flash,   EnableEslipSerialPortMode
Online ^U: Rev 0011.0000, Flash,   DisplayCongen
Online ^V: Rev 0011.0000, Flash,   ToggleInterfaceCmdEcho
Online ^X: Rev 0011.0000, Flash,   DisplayInterfaceAndRwCmdHistory
Online ^Y: Rev 0011.0000, Flash,   DisplayDstStatus
Online ^Z: Rev 0011.0000, Flash,   EnableAsciiDiagSerialPortMode
Online ^\: Rev 0011.0000, Flash,   ToggleDebugDisplayEnable
All Levels CR: Rev 0011.0000, Flash,   Abort
All Levels '/': Rev 0001.0000, Flash,   ChangeDiagLevel, /[Level]
All Levels '+': Rev 0011.0001, Flash,   PeekMemoryByte, +[AddrHi],[AddrLo],[Opts]
All Levels '-': Rev 0011.0001, Flash,   PeekMemoryWord, -[AddrHi],[AddrLo],[Opts]
All Levels '=': Rev 0011.0001, Flash,   PokeMemoryByte, =[AddrHi],[AddrLo],[Data],[Opts]
All Levels '@': Rev 0001.0000, Overlay, BatchFileLabel, @[LabelNum]
All Levels '|': Rev 0001.0000, Overlay, BatchFileTerminator, |
All Levels '*': Rev 0011.0000, Overlay, SpecialBatchFileFunction, *[FuncId],[FuncParm0],[FuncParm1]
All Levels 'A': Rev 0011.0000, Overlay, SetTestSpace, A[OptsOrParmSelect],[ParmValue],[AddrType],[HdForCylLimit]
All Levels 'L': Rev 0001.0002, Overlay, EnableLooping, L[Opts],[CountOrStopOnErrCode]
Level 1 'S': Rev 0011.0001, Flash,   EditProcessorMemoryByte, S[AddrHi],[AddrLo],[MemValue],[NumBytes],[Opts]
Level 1 'U': Rev 0011.0001, Flash,   EditBufferMemoryByte, U[AddrHi],[AddrLo],[MemValue],[NumBytes]
Level 1 'e': Rev 0011.0000, Flash,   SpinDownAndResetDrive, e[MsecDelay],[Opts]
Level 1 'm': Rev 0011.0001, Flash,   EditProcessorMemoryWord, m[AddrHi],[AddrLo],[MemValue],[NumBytes],[Opts]
Level 1 'B': Rev 0011.0000, Overlay, BufferDisplay, B[DisplayBlk],[RefBlk],[NumBlks],[Opts],[SymBits]
Level 1 'D': Rev 0011.0001, Overlay, DisplayMemoryBlock, D[AddrHi],[AddrLo],[CompVal],[NumBytes],[Opts],[SizeInBytes]
Level 1 'G': Rev 0011.0000, Overlay, GenericRwRequest, G[Parm0],[Parm1],[Parm2],...[Parm9]
Level 1 'I': Rev 0001.0000, Overlay, BufferDllTune, I[action][DLL]
Level 1 'N': Rev 0011.0001, Overlay, SmartControl, N[SubCmd],[SubCmdParm0],[SubCmdParm1]
Level 1 'c': Rev 0011.0000, Overlay, BufferCompare, c[SrcBlk],[RefBlk],[NumBlks],[ContOnErr]
Level 2 'J': Rev 0001.0000, Flash,   ParticleSweep, J[ Start Cyl ],[ End Cyl ],[ Duration mSec ],[ Dwell mSec ],[ JIT mode ]
Level 2 'U': Rev 0011.0000, Flash,   SpinUpDrive, U[HoldState],[Hd],[Cyl]
Level 2 'Z': Rev 0011.0000, Flash,   SpinDownDrive, Z
Level 2 'B': Rev 0011.0000, Overlay, BufferDisplay, B[DisplayBlk],[RefBlk],[NumBlks],[Opts],[SymBits]
Level 2 'C': Rev 0011.0000, Overlay, BufferCopy, C[SrcBlk],[DestBlk],[NumBlks]
Level 2 'E': Rev 0011.0000, Overlay, DisplayEditLog, E[LogNum],[ErrCodeOrSpecialFuncKey],[SpecialFunc]
Level 2 'F': Rev 0011.0000, Overlay, ModTrkDfctLst, F[PSctr/LBA],[Action]
Level 2 'H': Rev 0011.0000, Overlay, SelectHd, H[Hd],[SkType],[Options]
Level 2 'I': Rev 0011.0002, Overlay, DisplayModifyAdaptiveParm, I,[GroupId]
Level 2 'K': Rev 0011.0000, Overlay, SetTrackingOffset, K[OffsetValue],[PersOrTempOpt],[UnitsOpt],[ChanReload]
Level 2 'M': Rev 0011.0000, Overlay, SetDiagIdleMode, M[ModeSelect],[ModeMask],[ResetToPowerOn]
Level 2 'N': Rev 0001.0000, Overlay, SetDirectWrite, N[EnableDirWrtModeOpt]
Level 2 'O': Rev 0011.0000, Overlay, SeekFromCylToCyl, O[StartPhyCyl0],[StartPhyCyl1],[NumSkPairs],[NumSeconds],[Hd]
Level 2 'P': Rev 0011.0000, Overlay, BufferSetPattern, P[PatternSelOrPatternLow],[PatternHi],[PatternBits],[Opts],[BlkNum],[NumBlks]
Level 2 'Q': Rev 0011.0000, Overlay, WrRdRdChs, Q[Sec],[NumSecs],,[PhyOpt],[Opts]
Level 2 'R': Rev 0011.0000, Overlay, RdChs, R[Sec],[NumSecs],,[PhyOpt],[Opts]
Level 2 'S': Rev 0011.0000, Overlay, SkToLogCyl, S[Cyl],[Hd],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level 2 'T': Rev 0011.0000, Overlay, MeasureThroughput, T[Opts],[MinSkew],[MaxSkew],[SkewStep]
Level 2 'V': Rev 0011.0000, Overlay, RdVerifyChs, V[Sec],[NumSecs],[CompareBlk],[Opts]
Level 2 'W': Rev 0011.0000, Overlay, WrChs, W[Sec],[NumSecs],,[PhyOpt],[Opts]
Level 2 'X': Rev 0011.0000, Overlay, DisplayTrkSectorInfo, X[LogCyl],[Hd],[SysAreaOpt],[Opts],[RowsPerPage]
Level 2 'Y': Rev 0011.0000, Overlay, SetDerpRetries, Y[Mode],[MaxRdRetries],[MaxWrtRetries],[OtcTLevel],[Options]
Level 2 'c': Rev 0011.0000, Overlay, BufferCompare, c[SrcBlk],[RefBlk],[NumBlks],[ContOnErr]
Level 2 'h': Rev 0011.0000, Overlay, XlatePhySec, h[Sec],[NumSecs]
Level 2 'i': Rev 0011.0000, Overlay, DisplayDefectsOnCurrentTrk, i
Level 2 'j': Rev 0011.0000, Overlay, RdWedge, j[WedgeAddr],[NumWedges],[NumSkipedWedges],[TranSize],[Opts],[RegAddr0],...,[RegAddr13]
Level 2 'l': Rev 0011.0000, Overlay, XlateLogSec, l[Sec],[NumSecs]
Level 2 'o': Rev 0001.0000, Overlay, CorruptLba, o[Lba],[NumBlocks],[NumBytes],[ByteOffset],[Flags]
Level 2 'r': Rev 0011.0000, Overlay, RdLongOrSystemChs, r[LongSec],[LongSecsOrSysSec],[SysSecs],[LongPhySecOpt],[LongOpts],[SysOpts]
Level 2 's': Rev 0011.0000, Overlay, SkToPhyCyl, s[Cyl],[Hd],[ValidKey],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level 2 't': Rev 0011.0000, Overlay, XlateWedge, t[Wdg],[NumWdgs]
Level 2 'u': Rev 0011.0000, Overlay, EnableDisableChannelPreampRegDisplay, u[EnableDisableOpt]
Level 2 'v': Rev 0011.0000, Overlay, ConvertTrackPercentageToOffsetCount, v[Percentage]
Level 2 'w': Rev 0011.0000, Overlay, WrLongOrSystemChs, w[LongSec],[LongSecsOrSysSec],[SysSecs],[LongPhySecOpt],,[SysOpts]
Level 2 'x': Rev 0012.0001, Overlay, DisplayZoneInfo, x[Partition],[Hd],[Zone],[DisplayWedgeOpSyms]
Level 2 'y': Rev 0011.0000, Overlay, SetDerpRetryState, y[Type],[PathState],[RetryStateCnt],[LoopCnt1],[LoopCnt2]
Level 2 'z': Rev 0011.0000, Overlay, WrWedge, z[WedgeAddr],[NumWedges],[NumSkipedWedges],[TranSize],[Opt],[RegAddr0],...,[RegAddr13]
Level 2 '7': Rev 0011.0000, Overlay, WrVerifyChs, 7[Sec],[NumSecs],[WrBufBlk],[Opts]
Level 3 'U': Rev 0011.0000, Flash,   SpinUpDrive, U[HoldState],[Hd],[Cyl]
Level 3 'V': Rev 0011.0000, Flash,   RwPowerAsicReg, V[RegAddr],[RegValue],[WrOpt]
Level 3 'Z': Rev 0011.0000, Flash,   SpinDownDrive, Z
Level 3 'D': Rev 0011.0000, Overlay, MeasureSkAccessTime, D[SkLength],[SkType],[NumSks]
Level 3 'E': Rev 0011.0000, Overlay, DisplayEditLog, E[LogNum],[ErrCodeOrSpecialFuncKey],[SpecialFunc]
Level 3 'H': Rev 0011.0000, Overlay, SelectHd, H[Hd],[SkType],[Options]
Level 3 'O': Rev 0011.0000, Overlay, SeekFromCylToCyl, O[StartPhyCyl0],[StartPhyCyl1],[NumSkPairs],[NumSeconds],[Hd]
Level 3 'Q': Rev 0011.0000, Overlay, WrRdWrRdChs, Q[Sec],[NumSecs],[Opts]
Level 3 'R': Rev 0011.0000, Overlay, ReadCurrentServoDestination, R
Level 3 'S': Rev 0011.0000, Overlay, SkToLogCyl, S[Cyl],[Hd],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level 3 'c': Rev 0001.0000, Overlay, Measure Latch Force, c[NumberOfSamples]
Level 3 'f': Rev 0012.0000, Overlay, RealTimeServoTrace, f[SubCmd],[SubCmdParm0],[SubCmdParm1]
Level 3 'p': Rev 0011.0000, Overlay, XlatePhySec, p[Sec],[NumSecs]
Level 3 'q': Rev 0011.0000, Overlay, XlateLogSec, q[Sec],[NumSecs]
Level 3 's': Rev 0011.0000, Overlay, SkToPhyCyl, s[Cyl],[Hd],[ValidKey],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level 4 'B': Rev 0011.0000, Overlay, EnableDisableRvff, B[NewRvffControlMode]
Level 4 'D': Rev 0011.0000, Overlay, MeasureSkAccessTime, D[SkLength],[SkType],[NumSks]
Level 4 'E': Rev 0011.0000, Overlay, DisplayEditLog, E[LogNum],[ErrCodeOrSpecialFuncKey],[SpecialFunc]
Level 4 'H': Rev 0011.0000, Overlay, SelectHd, H[Hd],[SkType],[Options]
Level 4 'K': Rev 0011.0000, Overlay, SetTrackingOffset, K[OffsetValue],[PersOrTempOpt],[UnitsOpt],[ChanReload]
Level 4 'O': Rev 0011.0000, Overlay, DisplayMicroJogForLogChs, O[LogCyl],[Hd],[Opts],[SysAreaOpt]
Level 4 'S': Rev 0011.0000, Overlay, SkToLogCyl, S[Cyl],[Hd],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level 4 'U': Rev 0011.0000, Overlay, ServoBatchTest, U[SubCmd],[SubCmdParm0],[SubCmdParm1],[SubCmdParm2]
Level 4 'c': Rev 0001.0000, Overlay, FindMinOrMaxCylinders c[Head],[Mode],[RangeMultiplier],[RetryCountLimit],[FilterTimeConstant]
Level 4 'e': Rev 0011.0000, Overlay, EnableDisablePesOutput, e[PesLeftShiftCnt],[DisablePesOut]
Level 4 'g': Rev 0001.0000, Overlay, DisplayServoSectorErrorLog, g
Level 4 'k': Rev 0001.0000, Overlay, GetVgaData, k[OpType],[StartHt],[EndHt],[HtInc]
Level 4 'l': Rev 0011.0000, Overlay, ScanTrackForServoDefectsAndZap, l[RdPositionOpt]
Level 4 'q': Rev 0001.0000, Overlay, DisplayServoEventLog, q
Level 4 's': Rev 0001.0000, Overlay, DisplayServoSectorErrorCount, s
Level 4 't': Rev 0011.0000, Overlay, DisplayModifyZapTable, t[EntryNum],[EntryValue]
Level 4 'u': Rev 0011.0000, Overlay, SetSkSpeed, u[Opts],[SkSpeed]
Level 4 'v': Rev 0011.0000, Overlay, ButterflySeekTest, v[StartPhyCyl0],[StartPhyCyl1],[NumSkPairs],[NumSeconds],[Hd]
Level 5 'S': Rev 0011.0000, Flash,   EnterServoMatlabShell, S
Level 5 'B': Rev 0011.0000, Overlay, Servo Bode Plot, B[BodeType],[InjAmp],[Fmin],[Fmax],[NumFreq],[NumSamples],[EnableTracing]
Level 5 'C': Rev 0011.0000, Overlay, GenericServoCmd, C[CmdNum],[Parm1],...[Parm7]
Level 5 'D': Rev 0011.0000, Overlay, ReadUnlockDdrBuffer, B[OperateCode]
Level 5 'E': Rev 0001.0000, Overlay, MeasureDiscEccentricity
Level 5 'G': Rev 0011.0000, Overlay, SelectServoController, G[Head],[Controller],[InputShift]
Level 5 'R': Rev 0011.0000, Overlay, RdServoRamAtAddr, R[Addr],[NumBytes]
Level 5 'U': Rev 0011.0000, Overlay, EnableDisableServoUpdates, U[VcmDacUpdateOpt],[AToDUdateOpt]
Level 5 'W': Rev 0011.0000, Overlay, WrServoRamAtAddr, W[Addr],[NumBytes],[Data]
Level 5 'Z': Rev 0011.0000, Overlay, RdZapFromDiscToTable, Z
Level 5 'd': Rev 0011.0000, Overlay, DisableEnableServoZap, d[ZapControlMode]
Level 5 'i': Rev 0011.0000, Overlay, RdServoSymbolTableAtIndex, i[Index]
Level 5 'r': Rev 0011.0000, Overlay, RdServoRamAtIndex, r[Index],[NumBytes],[ByteOffset]
Level 5 'w': Rev 0011.0000, Overlay, WrServoRamAtIndex, w[Index],[NumBytes],[Data],[ByteOffset]
Level 6 'B': Rev 0011.0000, Overlay, RunBatchFile, B[BatchFileNum],[DisplayOpt]
Level 6 'D': Rev 0011.0000, Overlay, DisplayBatchFile, D[BatchFileNum]
Level 6 'E': Rev 0011.0000, Overlay, EnterBatchFile, E[BatchFileNum]
Level 7 'Z': Rev 0011.0000, Flash,   SpinDownDrive, Z
Level 7 's': Rev 0011.0000, Flash,   WrPeripheralReg, s[OpType],[RegAddr],[RegValue],[RegMask],[RegPagAddr]
Level 7 't': Rev 0011.0000, Flash,   RdPeripheralReg, t[OpType],[RegAddr],[NumRegs],[RegMask],[RegPagAddr]
Level 7 'B': Rev 0011.0000, Overlay, BufferDisplay, B[DisplayBlk],[RefBlk],[NumBlks],[Opts],[SymBits]
Level 7 'C': Rev 0011.0000, Overlay, BufferCopy, C[SrcBlk],[DestBlk],[NumBlks]
Level 7 'D': Rev 0012.0000, Overlay, DisplayTemperature, D,[DevSelect]
Level 7 'E': Rev 0011.0000, Overlay, DisplayEditLog, E[LogNum],[ErrCodeOrSpecialFuncKey],[SpecialFunc]
Level 7 'H': Rev 0011.0000, Overlay, SelectHd, H[Hd],[SkType],[Options]
Level 7 'I': Rev 0011.0002, Overlay, DisplayModifyAdaptiveParm, I,[GroupId]
Level 7 'K': Rev 0011.0000, Overlay, SetTrackFormat, K[UserAreaTrkFormatType],[SysAreaTrkFormatType]
Level 7 'P': Rev 0011.0000, Overlay, BufferSetPattern, P[PatternSelOrPatternLow],[PatternHi],[PatternBits],[Opts],[BlkNum],[NumBlks]
Level 7 'Q': Rev 0011.0000, Overlay, WrRdRdChs, Q[Sec],[NumSecs],,[PhyOpt],[Opts]
Level 7 'R': Rev 0011.0000, Overlay, RdChs, R[Sec],[NumSecs],,[PhyOpt],[Opts]
Level 7 'S': Rev 0011.0000, Overlay, SkToLogCyl, S[Cyl],[Hd],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level 7 'U': Rev 0011.0001, Overlay, ChannelTemperatureAdj, U[TweakTemperature],[Partition],[Hd],[Zone],[Opts]
Level 7 'W': Rev 0011.0000, Overlay, WrChs, W[Sec],[NumSecs],,[PhyOpt],[Opts]
Level 7 'X': Rev 0011.0000, Overlay, DisplayPreampHdResistance, X
Level 7 'Y': Rev 0011.0000, Overlay, SetDerpRetries, Y[Mode],[MaxRdRetries],[MaxWrtRetries],[OtcTLevel],[Options]
Level 7 'b': Rev 0011.0000, Overlay, EraseTrk, b[AdjacentTrkCnt],[EraseCntPerTrk],[AcEraseOpt]
Level 7 'c': Rev 0011.0000, Overlay, OffTrackCapability, c[Sec],[NumSecs],[SecIncrement],[Offset]
Level 7 'h': Rev 0011.0001, Overlay, MarkMediaFlaw, h[PhyCyl],[Hd],[PhySec],[UndisturbedRadius],[EraseBandTrks],[PtrLen],[WgSpec],[Od/Id]
Level 7 'i': Rev 0011.0000, Overlay, GenericRwRequest, i[Parm0],[Parm1],[Parm2],...[Parm9]
Level 7 'm': Rev 0011.0000, Overlay, DOS, m[Flags],[StartLba],[EndLba],[MinCount]
Level 7 'r': Rev 0011.0000, Overlay, RdNonVolatileAdaptiveParms, r[Opts]
Level 7 'u': Rev 0011.0000, Overlay, EnableDisableWrFault, u[Op]
Level 7 'w': Rev 0011.0000, Overlay, SaveAdaptivesToFlash, w[Seg],,22
Level 7 'x': Rev 0012.0001, Overlay, DisplayZoneInfo, x[Partition],[Hd],[Zone],[DisplayWedgeOpSyms]
Level 7 'y': Rev 0011.0000, Overlay, SetDerpRetryState, y[Type],[PathState],[RetryStateCnt],[LoopCnt1],[LoopCnt2]
Level 8 'U': Rev 0011.0000, Flash,   SpinUpDrive, U[HoldState],[Hd],[Cyl]
Level 8 'Z': Rev 0011.0000, Flash,   SpinDownDrive, Z
Level 8 'C': Rev 0011.0000, Overlay, ServoDiagSubCmds, C[SubCmd],[Parm0],[Parm1],[Parm2]
Level 8 'R': Rev 0011.0000, Overlay, ReadCurrentServoDestination, R
Level 8 'S': Rev 0011.0000, Overlay, SkToLogCyl, S[Cyl],[Hd],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level 8 'd': Rev 0001.0000, Overlay, HeadSmashTest, d[HeadDirection],[AccelerationDuration],[DecelerationDuration],[AccelerationCurrent],[DecelerationCurrent]
Level A 'C': Rev 0011.0000, Overlay, XlatePba, C[PbaHi],[PbaLow],[NumPbas]
Level A 'D': Rev 0011.0000, Overlay, XlateSfi, D[PhyCyl],[Hd],[Sfi],[NumSfis]
Level A 'E': Rev 0011.0000, Overlay, DisplayEditLog, E[LogNum],[ErrCodeOrSpecialFuncKey],[SpecialFunc]
Level A 'F': Rev 0011.0000, Overlay, XlateLba, F[LbaHi],[LbaLo],[SysAreaOpt],[NumLbas]
Level A 'M': Rev 0011.0000, Overlay, SetControllerTestPort, M[Port],[Value]
Level A 'P': Rev 0011.0000, Overlay, MergeAltListIntoSlipList, P
Level A 'Q': Rev 0011.0000, Overlay, WrRdRdLba, Q[Lba],[NumLbas],[Opts]
Level A 'R': Rev 0011.0000, Overlay, RdLba, R[Lba],[NumLbas],,[Opts]
Level A 'S': Rev 0011.0000, Overlay, SkToLba, S[LbaHi],[LbaLo],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level A 'W': Rev 0011.0000, Overlay, WrLba, W[Lba],[NumLbas],,[Opts]
Level A 'Y': Rev 0011.0000, Overlay, SetDerpRetries, Y[Mode],[MaxRdRetries],[MaxWrtRetries],[OtcTLevel],[Options]
Level A 'c': Rev 0011.0000, Overlay, XlateLllChs, c[Cyl],[Hd],[Sec],[SysAreaOpt],[NumSecs]
Level A 'd': Rev 0011.0000, Overlay, XlatePlpChs, d[Cyl],[Hd],[Sec],[NumSecs]
Level A 'e': Rev 0011.0000, Overlay, XlateNominalCyl, e[Cyl],[Hd],[Sec],[SysAreaOpt]
Level A 'f': Rev 0011.0000, Overlay, XlatePlpChw, f[Cyl],[Hd],[Wdg],[NumWdgs]
Level A 'l': Rev 0011.0000, Flash,   DisplayTrkInfo, l[LogCyl],[Hd],[SysAreaOpt],[Opts],[RowsPerPage]
Level A 'y': Rev 0011.0000, Overlay, SetDerpRetryState, y[Type],[PathState],[RetryStateCnt],[LoopCnt1],[LoopCnt2]
Level C 'Q': Rev 0001.0000, Overlay, DisplayAsciiCmdInfo, Q[CmdLevel],[Cmd]
Level C 'T': Rev 0011.0000, Overlay, GoopPlot, T[Hd],[StartTrk],[EndTrk],[ECCLvl],[NoFrcSync],[SkipCnt]
Level E 'B': Rev 0011.0000, Overlay, WrWedge, B[WedgeAddr],[NumWedges],[NumSkipedWedges],[TranSize],[Opt],[RegAddr0],...,[RegAddr13]
Level E 'C': Rev 0011.0000, Overlay, RdWedge, C[WedgeAddr],[NumWedges],[NumSkipedWedges],[TranSize],[Opts],[RegAddr0],...,[RegAddr13]
Level E 'G': Rev 0001.0000, Overlay, HeadDegradation, G[OperationControlOptions],[MeasurementControlOptions]
Level E 'm': Rev 0011.0000, Overlay, FastMseserMeasurement, m[]
Level E 'o': Rev 0011.0000, Overlay, FineRwOffset, o[NumAvgs],[TrkStepSize],[NumGuardTrks]
Level E 'w': Rev 0011.0001, Overlay, SlowWrChs, w[Sec],[NumSecs],[ConSec],[Skip],[UnitOfSkip]
Level F 'U': Rev 0011.0000, Flash,   SpinUpDrive, U[HoldState],[Hd],[Cyl]
Level F 'Z': Rev 0011.0000, Flash,   SpinDownDrive, Z
Level F 'b': Rev 0011.0000, Flash,   SetBaudRate, b[BaudRate],[MsecDelay]
Level F 't': Rev 0011.0000, Flash,   WrPeripheralReg, t[OpType],[RegAddr],[RegValue],[RegMask],[RegPagAddr]
Level F 'B': Rev 0011.0000, Overlay, BufferDisplay, B[DisplayBlk],[RefBlk],[NumBlks],[Opts],[SymBits]
Level F 'C': Rev 0011.0000, Overlay, BufferCopy, C[SrcBlk],[DestBlk],[NumBlks]
Level F 'D': Rev 0011.0001, Overlay, DisplayMemoryBlock, D[AddrHi],[AddrLo],[CompVal],[NumBytes],[Opts],[SizeInBytes]
Level F 'E': Rev 0001.0000, Overlay, SymbolErrorMap, E[trk],[hd],[srt sctr],[sctr cnt],[action],[mx err]
Level F 'P': Rev 0011.0000, Overlay, BufferSetPattern, P[PatternSelOrPatternLow],[PatternHi],[PatternBits],[Opts],[BlkNum],[NumBlks]
Level F 'V': Rev 0011.0000, Overlay, BufferCompare, V[SrcBlk],[RefBlk],[NumBlks],[ContOnErr]
Level F 'Y': Rev 0011.0000, Overlay, SetDerpRetries, Y[Mode],[MaxRdRetries],[MaxWrtRetries],[OtcTLevel],[Options]
Level F 'r': Rev 0011.0000, Overlay, RdSystemChs, r[LogSec],[NumSecs],[Opts]
Level F 's': Rev 0011.0000, Overlay, SkToPhyCyl, s[Cyl],[Hd],[ValidKey],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level F 'y': Rev 0011.0000, Overlay, SetDerpRetryState, y[Type],[PathState],[RetryStateCnt],[LoopCnt1],[LoopCnt2]
Level F 'z': Rev 0011.0000, Overlay, SataDebug, z[SubCmd],[Parm1],[Parm2],[Parm3]
Level G 'B': Rev 0011.0000, Overlay, FillCorrectionBuffer, B[StartAddr],[EndAddr],[Pattern],[Opts]
Level G 'C': Rev 0011.0000, Overlay, CopyCorrectionBuffer, C[SrcAddr],[DestAddr],[NumSyms]
Level G 'D': Rev 0011.0000, Overlay, DisplayCorrectionBuffer, D[StartAddr],[EndAddr],[CompareData]
Level G 'F': Rev 0011.0000, Overlay, FillSuperParityRam, F[StartAddr],[EndAddr],[Pattern]
Level G 'G': Rev 0011.0000, Overlay, DisplaySuperParityRam, G[StartAddr],[EndAddr]
Level H 'B': Rev 0011.0000, Overlay, BufferDisplay, B[DisplayBlk],[RefBlk],[NumBlks],[Opts],[SymBits]
Level H 'F': Rev 0001.0000, Overlay, MdContactDetect, F[Flags],[NumRevsToAvg],[PctOfBpi],[HscIntgLength],
[PatternSelect],,[CTFFR],[ATT2R],[VGA],[StartHtr],[EndHtr],[HtrIncr],[StartPreHtr],
[NumPreHeatSects],[NumPreChanCollectHeatSects],[NumChanCollectHeatSects],[NumPostChanCollectHeatSects]
Level H 'P': Rev 0011.0000, Overlay, BufferSetPattern, P[PatternSelOrPatternLow],[PatternHi],[PatternBits],[Opts],[BlkNum],[NumBlks]
Level H 'S': Rev 0011.0000, Overlay, SkToLogCyl, S[Cyl],[Hd],[Offset],[OffsetUnitsOpt],[SkType],[Options]
Level H 'b': Rev 0012.0000, Overlay, ContactDetect, b[Flags],[Revs],[BaselineRevs],[StartWedge],[A],[B],[C],[D],[E],[StartHt],[HtInc],
[FixedPESThresh],[FilterDelta],[RangeStart],[RangePts],[AdjThreshSigmaLimit],[VarContactThreshBackup]
Level H 'c': Rev 0002.0000, Overlay, CalClearanceCoefsAdjustment, c[Flags],[NumRevsToAvg],[PctOfBpi],[PctOfTgtClr],
[LowerHIWPLimit],[UpperHIWPLimit],[CTFFR],[ATT2R],[VGA],[StartHtr],[EndHtr],[HtrIncr],[StartPreHtr],
[NumPreHeatSects],[NumPreChanCollectHeatSects],[NumChanCollectHeatSects],[NumPostChanCollectHeatSects],
[HscIntgLength]
Level L 'C': Rev 0011.0000, Overlay, CopyLogFile, C[SrcLog],[DestLog],[AppendOpt]
Level L 'D': Rev 0011.0000, Overlay, DisplayLogFile, D[Log],[ErrCode]
Level L 'E': Rev 0011.0001, Overlay, EnableDisableLogging, E[ErrLoggingOpt],[AsciiLoggingOpt],[RwStatsLoggingOpt]
Level L 'I': Rev 0011.0000, Overlay, DisplayLogFileInfo, I[Log]
Level L 'c': Rev 0011.0000, Overlay, CreateLogFile, c[Log],[LogType],[BufferOrDiskOpt],[NumBytes]
Level L 'd': Rev 0011.0000, Overlay, DeleteLogFile, d[Log]
Level L 'i': Rev 0011.0000, Overlay, InitLogFile, i[Log]
Level T 'B': Rev 0011.0000, Flash,   SetBaudRate, B[BaudRate],[MsecDelay]
Level T 'm': Rev 0012.0019, Flash,   FormatPartition, m[Partition],[FormatOpts],[DefectListOpts],[MaxWrRetryCnt],[MaxRdRetryCnt],
[MaxEccTLevel],[MaxCertifyTrkRewrites],[ValidKey],[DataPattern]
Level T 'E': Rev 0011.0000, Overlay, DisplayEditLog, E[LogNum],[ErrCodeOrSpecialFuncKey],[SpecialFunc]
Level T 'F': Rev 0011.0000, Overlay, SetCongenParmCmdHelpMsg, F[ValueRef],[Data],[ResetEnable]
Level T 'J': Rev 0011.0000, Overlay, DisplayModifyCap, J[ParmValue],[ParmId],[ParmArrayBytes],[ParmByteArrayOffset]
Level T 'O': Rev 0001.0000, Overlay, SelectDataOutputMode, O[Mode],[VerboseOpts]
Level T 'P': Rev 0011.0000, Overlay, DownloadGenericFile, P[FileBytes]
Level T 'R': Rev 0011.0000, Overlay, RdNonVolatileAdaptiveParms, R[Opts]
Level T 'T': Rev 0011.0000, Overlay, OddEvenEncroachmentTest, T[strt tk],[end tk],[hd],[rtry thrshld][ECC thrshld
Level T 'V': Rev 0012.0000, Overlay, DisplayDefectLists, V[DefectListSelect],[Hd],[StartCyl],[NumCyls],[DisplaySummaryOpt]
Level T 'W': Rev 0011.0000, Overlay, SaveAdaptivesToFlash, W[Seg],,22
Level T 'i': Rev 0011.0001, Overlay, InitDefectList, i[DefectListSelect],[SaveListOpt],[ValidKey]
Level T '[': Rev 0011.0000, Overlay, AsciiLogControl, [[LogFunction],[Log]

Examples

Broken HDD

This example shows the failed attempt to reset smart counters on a broken hdd.

LED:000000CE FAddr:00280569
LED:000000CE FAddr:00280569
F3 T>/2

F3 2>Z

Spin Down Complete
Elapsed Time 0.144 msecs
F3 2>U

Error 1009 DETSEC 00006008
Spin Error
Elapsed Time 24.496 secs
R/W Status 2 R/W Error 84150180
F3 2>/1

F3 1>N1

Unable to load Diag Overlay

F3 1>/T

F3 T>i4,1,22

Unable to load Diag Overlay

F3 T>m0,2,2,,,,,22

Error 1008 DETSEC 0000500E Process Defect List Error
R/W Sense 00000002, R/W Error 841C0087, List Offset 00000000, File Error 00000001

broken hdd read errors

This example shows startup messages from a broken hdd

(H) SATA Reset
SSPSaveSettings 

SSPRestoreSettings 

No Phy: Staggered spin bypass
(H) SATA Reset
SSPSaveSettings 

SSPRestoreSettings 

Send Status: COMRESET seen
Set Transfer Mode selected
Ultra DMA selected
ProcessRWError -Read-   at LBA 00000000  Sense Code=40000087
ProcessRWError -Read-   at LBA 00000008  Sense Code=40000087
ProcessRWError -Read-   at LBA 0000000D  Sense Code=40000087
InitiateMarkPendingReallocateRequest for disc_lba: 0000000D!

Unrecoverable Error Reported

Links

Sense Codes

40000087 heist: 40 8x A correctable ECC error occurred; x equals the length of the error.

Quelle: https://www.adaptec.com/en-us/support/scsi/2930/aha-2930cu/use_prod/scsi_event_codes.htm?nc=/en-us/support/scsi/2930/aha-2930cu/use_prod/scsi_event_codes.htm

Sense key Description

0H  No Sense. In the case of a successful command, no specific sense key information needs to be reported for the drive.
1H  Recovered error. The drive completed the last command successfully with some recovery action. When many recovered errors occur during one command, the drive determines which error it will report.
2H  Not ready. The addressed logical unit cannot be accessed. Operator intervention may be required to correct this condition.
3H  Medium error. The command was terminated with a non-recoverable error condition, probably caused by a flaw in the media or an error in the recorded data.
4H  Hardware error. The drive detected a non-recoverable hardware failure while performing the command or during a self-test. This includes, for example, SCSI interface parity errors, controller failures and device failures.
5H  Illegal request. An illegal parameter in the command descriptor block or in the additional parameters supplied as data for some commands (for example, the Format Unit command, the Mode Select command and others). If the drive detects an invalid parameter in the CDB, it terminates the command without altering the media. If the drive detects an invalid parameter in the additional parameters supplied as data, the drive may have already altered the media.
6H  Unit attention. The drive may have been reset. See the Seagate SCSI-2 Interface Manual for more details about the Unit Attention condition.
BH  Aborted command. The drive aborted the command. The initiator may be able to recover by retrying.
EH  Miscompare. The source data did not match the data read from the media.



Additional sense code and additional sense code qualifier

The additional sense code and additional sense code qualifiers returned in byte 12 and byte 13, respectively, of the Sense Data Format of the Request Sense command are listed in the following table. Some sense codes and qualifiers are vendor specific and may not be on this table.
Error code (hex) Description (Bytes 12 and 13):
00  00  No additional information is supplied.
01  00  There is no index/sector signal.
02  00  There is no seek complete signal.
03  00  A write fault occurred.
04  00  The drive is not ready and the cause is not reportable.
04  01  The drive is not ready, but it is in the process of becoming ready.
04  02  The drive is not ready; it is waiting for the initializing command.
04  03  The drive is not ready; human intervention is required.
04  04  The drive is not ready; the format routine is in process.
05  00  The drive does not respond when it is selected.
06  00  Track 0 was not found.
07  00  More than one drive is selected at a time.
08  00  There was a drive communication failure.
08  01  A drive communication time-out occurred.
08  02  A drive communication parity error occurred.
09  00  A track following error occurred.
0A  00  An error log overflow occurred.
0C  01  A write error occurred, but the error was recovered using auto-reallocation.
0C  02  A write error occurred. Auto-reallocation was attempted, but it failed.
10  00  An ID CRC or ECC error occurred.
11  00  An unrecovered read error occurred.
11  01  The read retries were exhausted.
11  02  The error was too long to correct.
11  03  There were multiple read errors.
11  04  A read error occurred. Auto-reallocation was attempted, but it failed.
12  00  The address mark was not found in the ID field.
13  00  The address mark was not found in the data field.
14  00  No record was found.
14  01  No record was found.
15  00  A seek positioning error occurred.
15  01  A mechanical positioning error occurred.
15  02  A positioning error was detected by reading the media.
16  00  A data synchronization mark error occurred.
17  00  The data was recovered without applying error correction or retrying.
17  01  The data was recovered with retries.
17  02  The data was recovered with positive head offset.
17  03  The data was recovered with negative head offset.
17  05  The data was recovered using the previous sector ID.
17  06  The data was recovered without ECC. The drive uses data auto-reallocation.
18  00  The data was recovered with ECC.
18  01  The data was recovered with ECC and retries.
18  02  The data was recovered with ECC, retries, and auto-reallocation.
19  00  There is an error in the defect list.
19  01  The defect list is not available.
19  02  There is an error in the primary defect list.
19  03  There is an error in the grown defect list.
1A  00  A parameter overrun occurred.
1B  00  A synchronous transfer error occurred.
1C  00  The defect list could not be found.
1C  01  The primary defect list could not be found.
1C  02  The grown defect list could not be found.
1D  00  During a verify operation, a compare error occurred: the source data did not match the data read from the media.
1E  00  An ID error was recovered.
20  00  The drive received an invalid command operation code.
21  00  The logical block address was not within the acceptable range.
22  00  The drive received a CDB that contains an invalid bit.
(This error code applies to direct-access devices.)
24  00  The drive received a CDB that contains an invalid bit.
(This error code applies to all SCSI devices.)
25  00  The drive received a CDB that contains an invalid LUN.
26  00  The drive received a CDB that contains an invalid field.
26  01  The drive received a CDB containing a parameter that is not supported.
26  02  The drive received a CDB containing an invalid parameter.
26  03  The drive received a CDB containing a threshold parameter that is not supported.
29  00  A power-on reset or a bus device reset occurred.
2A  00  Some parameters were changed by another initiator.
2A  01  The Mode Select parameters were changed by another initiator.
2B  00  The microcode was downloaded.
2F  00  The tagged commands were cleared by another initiator.
30  01  The media cannot be read because the format is not recognized.
30  02  The media cannot be read because the format is incompatible with certain parameters.
31  00  The media format is corrupted.
31  01  The format command failed.
32  00  There are no spare defect locations available.
32  01  An error occurred when the defect list was being updated.
37  00  A rounded parameter caused an error.
3D  00  The identify message contains invalid bits.
3F  00  The target operation command was changed.
3F  01  The microcode was changed.
3F  02  The drive was operating as a SCSI drive and is now operating as a SCSI-2 drive, or vice versa.
3F  03  The inquiry data was changed.
40  00  The RAM failed.
40  8x  A correctable ECC error occurred; x equals the length of the error.
40  90  A configuration error occurred.
40  A0  The self-test routine discovered an error in a ROM.
40  A1  The self-test routine discovered an error in the processor RAM.
40  A2  The self-test routine discovered an error in the buffer RAM.
40  A3  The self-test routine discovered a SCSI protocol error.
40  A4  The self-test routine discovered a DMA error.
40  A5  The self-test routine discovered an error in the disc sequencer.
40  A6  The self-test routine discovered an error in the disc sequencer RAM.
40  A7  A self-test error occurred.
40  A8  The flash memory cannot be read or written.
40  A9  The flash memory directory cannot be read, or it is corrupted.
40  AA  The flash memory contains an incompatible version number.
40  AB  The flash memory contains an incompatible revision number.
40  AC  A flash memory checksum error occurred.
40  AD  The flash memory contains invalid parameters.
40  AE  The flash memory is incompatible with the HDA and the circuit board. The flash memory must be reconfigured.
40  B0  The servo command timed out.
40  B1  The servo command failed.
40  B2  The servo command was rejected.
40  B3  The servo interface does not work.
40  B4  The servo either failed to lock on track during spinup or has wandered off track.
40  B5  An internal servo error occurred.
40  B6  During spinup, a servo error occurred.
40  B7  The servo pattern is inconsistent.
40  B8  A seek recovery error occurred.
40  B9  The actuator did not achieve high-speed calibration.
40  C0  The defect list is full.
40  C1  A failure occurred while the grown defect list was being written.
40  C2  The write life-cycle of the flash memory has been exceeded.
40  C3  There was an attempt to add an illegal entry to the grown defect list.
40  C4  There was an attempt to add a duplicate entry to the grown defect list.
41  00  A data path diagnostic failed.
42  00  A power-on or self-test failure occurred.
43  00  A message reject error occurred.
44  00  An internal controller error occurred.
45  00  An error occurred during a selection or a reselection.
47  00  A SCSI interface bus parity error occurred.
48  00  The initiator has detected an error.
49  00  The initiator received an invalid message from the drive.
4C  00  The drive failed to self-configure.
4E  00  The drive attempted to perform overlapped commands.
5B  00  There was a log exception.
5B  01  A threshold condition was met.
5B  02  The log counter has reached its maximum value.
5B  03  All the log list codes have been used.
5C  00  There was a change in the RPL status. The drive lost synchronization.