Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- F0A2,00,22 -- disables read and write sparing, and enables correction.
- F0A2,01,22 -- disables read and write sparing, and disables correction.
- F"RWRecoveryFlags",00,22 - @Byte:00A2 disables read sparing, write sparing, and correction.
- F"ReadRetries",00,22 - @Byte:00A3 disabling read retries.
- F"BGMSFlags",00,22 - @ Byte:011C disables Background Media Scan.
- F"PerformanceFlags",043C,22 - @ Byte:056C disables offline sparing and sets DAR_ENABLED = 0.
- Regenerated translator (like lba0 bsy fix , m0,2,2,0,0,0,0,22)
- V10 will display the P-LIST. (permanent)
- Managed to get the format pass the 000FFF00 sector . Is now at LBA :00149E43 after 1444mins. Command used F3 T>m0,9,2,,,,,22 , works very slow
- Drives that are from the F3 Arch will not have Self-Scan code on them, like older Seagate drives used to have, so the best that you can do is, using the terminal :
- 1 - Clear the G-List with F3 T>i4,1,22 command.
- 2 - Do a full media scan with the F3 T>m0,8,2,,,,,22 command.
- It will take some hours and this will move the bad sectors into the P-List.
- 3 - Do a SMART reset under level 1 with F3 1>N1 command.
- 4 - Then do a full erase and a sector scan under Windows/DOS. You can use MHDD for this.
- All data will be lost.
- with m0,8 it would hang at 5% LBA: 000FFF00
- with m0,9 goes past that sector , but didn`t see the format finished cuz AC power went off in the meantime and the UPS gone empty after 20mins :roll:
- before m0,9 second time i set from Set Retries - DERP (Level 2, 7, A, F 'Y') to 5
- Code:
- "SetDerpRetries, Y[Mode],[MaxRdRetries],[MaxWrtRetries],[OtcTLevel],[Options]";
- Code:
- 0 - Error Recovery Mode.
- This parameter specifies the error recovery mode to be used. The following
- error recovery modes are available:
- 0 = Maximum Normal
- 1 = Maximum Full
- 2 = Default Normal
- 3 = Default Full
- 4 = Minimum Normal
- 5 = Minimum Full
- 6 = Simple
- The Maximum Error Recovery Modes (0 and 1) are typically used for system
- information recovery.
- The Default Error Recovery Modes (2 and 3) are typically used by the native
- interface.
- The Minimum Error Recovery Modes (4 and 5) are typically used for diagnostic
- and media certification operations.
- Level T 'm': Rev 0012.0019, Flash, FormatPartition, m[Partition],[FormatOpts],[DefectListOpts],[MaxWrRetryCnt],[MaxRdRetryCnt],
- [MaxEccTLevel],[MaxCertifyTrkRewrites],[ValidKey],[DataPattern]
- 1 - Format Options.
- This parameter is a bit significant value that selects the following options:
- Bits 31-6: not used
- Bit 5: Enable SeaCOS XF Space Format. 32
- Bit 4: Enable Zone Re-format Skipping. 16
- Bit 3: Enable Event-based Format Logging. 8
- Bit 2: Disable User Partition Certify. 4
- Bit 1: Disable User Partition Format. 2
- Bit 0: Corrupt User Partition Primary Defects. 1
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, the primary defective sectors will be corrupted.
- Type: Unsigned 32-bit value
- Range: 0 or 0xFFFFFFFF
- Default: 0 (Enable User partition Certify,
- Enable User Partition Format,
- Don't Corrupt Primary Defects)
- ormat Partition
- Availability:
- Level T , 'm'
- Quick Help:
- Format Partition, m[Partition],[FormatOpts],[DefectListOpts],[MaxWrRetryCnt],[MaxRdRetryCnt],[MaxEccTLevel],[MaxCertifyTrkRewrites],[ValidKey],[DataPattern]
- Description:
- This command formats the specified partition.
- Input Parameters:
- 0 - Partition Number.
- This parameter specifies the media partition to be formatted.
- 0 = User Partition
- 1 = System Partition
- 99 = Set format corrupt state
- Type: Unsigned 8-bit value
- Range: 0 or 1
- Default: 0
- 1 - Format Options.
- This parameter is a bit significant value that selects the following options:
- Bits 31-5: not used
- Bit 6: Disable Track Re-write for Data Sync Time-out Errors.
- If this bit is equal to 1, the the Format Partition command will
- not perform track re-write operations for an unrecovered
- data sync time-out error.
- NOTE: This feature can be enabled or disabled at compile-time. Use
- the quick help to determine whether your code supports this feature.
- Bit 5: Enable SeaCOS XF Space Format.
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, the the Format Partition command will only format
- SeaCOS Extended File (XF) space.
- NOTE: This feature can be enabled or disabled at compile-time. Use
- the quick help to determine whether your code supports this feature.
- Bit 4: Enable Zone Re-format Skipping.
- If this bit is equal to 1, then the Format Partition command will
- enable the zone re-format skipping mode during the format operation.
- With this mode enabled, the format operation will not re-format
- a zone if grown defects were found in the zone.
- NOTE: This feature can be enabled or disabled at compile-time. Use
- the quick help to determine whether your code supports this feature.
- Bit 3: Enable Event-based Format Logging.
- If this bit is equal to 1, then the Format Partition command will
- display information about error events that occur during the format
- operation. This information will be displayed as interim status as
- these events occur.
- NOTE: This feature can be enabled or disabled at compile-time. Use
- the quick help to determine whether your code supports this feature.
- Bit 2: Disable User Partition Certify.
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, media certification and defect deallocation will
- be disabled.
- Bit 1: Disable User Partition Format.
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, the User Partition sectors will not be written
- with a constant data pattern.
- Bit 0: Corrupt User Partition Primary Defects.
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, the primary defective sectors will be corrupted.
- Type: Unsigned 32-bit value
- Range: 0 or 0xFFFFFFFF
- Default: 0 (Enable User partition Certify,
- Enable User Partition Format,
- Don't Corrupt Primary Defects)
- 2 - Defect List Options.
- This parameter is a bit significant value that selects the following options:
- Bits 31-3: not used
- Bit 2: Process the Active Error Log.
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, the Format Client Defect List will be written with
- contents of the Active Error Log and the option to process the Client
- Defect List will be enabled. If there is no Active Error Log or there
- are no R/W-related entries in the Active Error Log, then this bit will
- be ignored.
- Bit 1: Process Primary Defect Lists.
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, the the Primary Defect Lists will be used when
- creating the defect list to be used by the format operation.
- Bit 0: Process Grown Defect Lists.
- This bit is only valid when the User Partition is selected. If this
- bit is equal to 1, the the Grown Defect Lists will be used when
- creating the defect list to be used by the format operation.
- Type: Unsigned 32-bit value
- Range: 0 or 0xFFFFFFFF
- Default: 0x00000003 (Process Grown Defect Lists,
- Process Primary Defect Lists,
- Do not process the Active Error Log)
- 3 - Maximum Write Retry Count.
- If this parameter is entered, the maximum write retry count will be set to the
- specified value. This parameter is only valid when the User Partition is being
- formatted (Parameter 0 is equal to 0). If this parameter is not entered, the
- maximum write retry count will not be changed.
- Type: Unsigned 16-bit value
- Range: 0 or 0xFFFF
- Default: None.
- 4 - Maximum Read Retry Count.
- If this paremeter is entered, the maximum read retry count will be set to the
- specified value. This parameter is only valid when the User Partition is being
- formatted (Parameter 0 is equal to 0). If this parameter is not entered, the
- maximum read retry count will not be changed.
- Type: Unsigned 16-bit value
- Range: 0 or 0xFFFF
- Default: None.
- 5 - Max iteration count
- If this paremeter is entered, the iteration count will be set to the specified
- value. This parameter is only valid when the User Partition is being formatted
- (Parameter 0 is equal to 0). If this parameter is not entered, the iteration
- count will not be changed.
- 5 - Maximum ECC T-Level.
- If this paremeter is entered, the maximum ECC T-Level will be set to the specified
- value. This parameter is only valid when the User Partition is being formatted
- (Parameter 0 is equal to 0). If this parameter is not entered, the ECC T-Level
- will not be changed.
- Type: Unsigned 16-bit value
- Range: 0 or 0xFFFF
- Default: None.
- 6 - Track Rewrite During Certify Retry Threshold.
- If this parameter is entered, it specifies the maximum number of rewrite retries
- to be performed during the user partition certification pass.
- Type: Unsigned 16-bit value
- Range: 0 or 0xFFFF
- Default: None. If this parameter is not entered, the default value recommended
- by the R/W Firmware will be used.
- 7 - Valid Command Key.
- For a User Partition format, this parameter must be equal to 22 Hex. If this
- parameter is not equal to 22 Hex, the command will not be executed.
- For a System Partition format, this parameter must be equal to DD Hex. If this
- parameter is not equal to DD Hex, the command will not be executed.
- Type: Unsigned 8-bit value
- Range: 0x22 or 0xDD
- Default: None
- 8 - Data Pattern For Format.
- This parameter specifies the data pattern to be used when formatting the specified
- partition. If this parameter is not entered, the specified partition will be
- formatted with a 0x00000000 data pattern.
- Type: Unsigned 32-bit value
- Range: 0 or 0xFFFFFFFF
- Default: 0x00000000.
- 9 - Secondary Maximum Write Retry Count.
- If this parameter is entered, the secondary maximum write retry count will be set
- to the specified value. This parameter is only valid if all secondary ER mode
- parameters (parameter 9, 10 and 11) are entered. If any of the 3 parameters is
- not entered, the secondary ER mode feature is disabled. Note that this usage is
- only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is enabled.
- Type: Unsigned 16-bit value
- Range: 0 or 0xFFFF
- Default: None.
- 10 - Secondary Maximum Read Retry Count.
- If this paremeter is entered, the secondary maximum read retry count will be set
- to the specified value. This parameter is only valid if all secondary ER mode
- parameters (parameter 9, 10 and 11) are entered. If any of the 3 parameters is
- not entered, the secondary ER mode feature is disabled. Note that this usage is
- only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is enabled.
- Type: Unsigned 16-bit value
- Range: 0 or 0xFFFF
- Default: None.
- 11 - Secondary Maximum ECC T-Level.
- If this paremeter is entered, the secondary maximum ECC T-Level will be set to the
- specified value. This parameter is only valid if all secondary ER mode
- parameters (parameter 9, 10 and 11) are entered. If any of the 3 parameters is
- not entered, the secondary ER mode feature is disabled. Note that this usage is
- only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is enabled.
- Type: Unsigned 16-bit value
- Range: 0 or 0xFFFF
- Default: None.
- Output Data:
- If an error occurred, the following information will be displayed.
- "DiagError aaaaaaaa"
- where
- aaaaaaaa is the Diagnostic Error Code
- If the error occurred while processing the defect lists, the following additional
- information will be displayed.
- "Process Defect List Error"
- "R/W Sense cccccccc, R/W Error dddddddd, List Offset eeeeeeee, List Index ffffffff File Error gggggggg"
- where
- cccccccc is the sense status that was returned by the R/W subsystem
- dddddddd is the error code that was returned by the R/W subsystem
- eeeeeeee is the byte offset of the defect list entry at which the error occurred
- ffffffff is the index of the defect list entry at which the error occurred
- gggggggg is the error code that was returned by the system information manager (SIM)
- If the error occurred during the format operation, the following additional information
- will be displayed.
- "User Partition Format Failed - Elapsed Time c"
- "R/W Sense dddddddd, R/W Error eeeeeeee, File Error ffffffff"
- "LBA gggggggg, Cyl iiiiiiii Hd jj, Phy Sec kkk, Wedge llll"
- where
- c is the amount of time that has elapsed since the format operation was started
- dddddddd is the sense status that was returned by the R/W subsystem
- eeeeeeee is the error code that was returned by the R/W subsystem
- ffffffff is the error code that was returned by the system information manager (SIM)
- gggggggg is the R/W block address at which the error occurred
- iiiiiiii is the R/W cylinder address at which the error occurred
- jj is the R/W head address at which the error occurred
- kkk is the physical sector at which the error occurred
- llll is the wedge no at which the error occurred
- If no error occurred and the format operation is still in progress, the following
- information will be displayed.
- "Max Wr Retries = cc, Max Rd Retries = dd, Max ECC T-Level = ee, Max Certify Rewrite Retries = ffff"
- "User Partition Format gg% complete, Zone hh, Pass ii, LBA jjjjjjjj, ErrCode kkkkkkkk, Elapsed Time l"
- where
- cc is the maximum write retry count to be used
- dd is the maximum read retry count to be used
- ee is the maximum ECC T-Level to be used
- ffff is the certify rewrite rety threshold
- gg is the percent of the format operation that has been completed
- hh is the data zone that is currently being formatted
- ii is the number of the current pass through the data zone
- jjjjjjjj is the last LBA that was formatted
- kkkkkkkk is the error code that was reported by the R/W subsystem
- l is the amount of time that has elapsed since the format operation was started
- If no error occurred and the format operation is still in progress, and the secondary ER mode feature is
- enabled, the following information will be displayed.
- "Secondary ER mode Enabled: 2nd Max Wr Retries = cc, 2nd Max Rd Retries = dd, 2nd Max ECC T-Level = ee"
- where
- cc is the secondary maximum write retry count to be used
- dd is the secondary maximum read retry count to be used
- ee is the secondary maximum ECC T-Level to be used
- If no error occurred, the format operation is still in progress, a format event occurs,
- and format event reporting is enabled, the following information will be displayed.
- "Event: Media Write Start, aaa Format, Zone bb, Start Blk cccccccc, Num Sectors dddddddd"
- or
- "Event: Write Xfer, Start Blk cccccccc, Len eeeeeeee, Next Blk ffffffff, Erc gggggggg, Stat hh"
- or
- "Event: Media Certify Start, New Format, Zone bb, Start Blk cccccccc, Num Sectors dddddddd"
- or
- "Event: Certify Xfer, Start Blk cccccccc, Len eeeeeeee, Next Blk ffffffff, Erc gggggggg, Stat hh"
- or
- "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, ZnGrp pp, Zn qq, DOS: rr/ss/tt"
- "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, Zn qq, DOS: rr/ss/tt"
- "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, ZnGrp pp, Zn qq"
- "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, Zn qq"
- NOTES: ZnGrp information is only available on drives supporting VBAR
- DOS information is only available on drives supporting Directed Offline Scan
- or
- "Event: Cert Trk Rewrite, Retry Blk kkkkkkkk, Len eeeeeeee, Next Blk ffffffff, Erc gggggggg, Stat hh"
- or
- "Event: Cert Trk Rewrite Cntr Update, Cnt 0001"
- where
- aaa indicates whether this is a "New Format" or a "Reformat"
- bb is the zone
- cccccccc is the starting block
- dddddddd is the number of blocks to be formatted
- eeeeeeee is the length of the transfer
- ffffffff is the next starting block
- gggggggg is the error code that was reported by the R/W subsystem
- hh is the read/write status
- iiiiiiii is the logical block address (LBA)
- jjjjjjjj is the physical block address (PBA)
- kkkkkkkk is the block which causes the rewrite retry
- llll is the track on which the error occurred
- mm is the head on which the error occurred
- nn is the sector on which the error occurred
- oo is the wedge on which the error occurred
- pp is the zone group in which the error occurred
- qq is the zone in which the error occurred
- rr is the DOS scan unit associated with the error
- ss is the DOS relative cylinder in scan unit associated with the error
- tt is the DOS surface cylinder unit associated with the error
- If no error occurred, the format operation is still in progress, a format event occurs,
- and brief format event reporting is enabled, the following information will be displayed.
- "Ev LBA/Soft XferLen Zn Trk Hd Sct Wdg PBA ErrCode"
- NOTES: This is the header for the tabulated output below.
- "ZW iiiiiii eeeeeeee qq"
- NOTES: This is zone write start message.
- "ZR iiiiiii eeeeeeee qq"
- NOTES: This is zone read start message.
- "WX iiiiiii eeeeeeee"
- NOTES: This is write transfer message.
- "RX iiiiiii eeeeeeee"
- NOTES: This is read transfer message.
- "ER iiiiiii eeeeeeee qq llll mm nn oo jjjjjjjj gggggggg"
- NOTES: This is error details message.
- "SE uuuuuuu"
- NOTES: This is soft error message when a read is recovered by track-rewrite.
- "HE"
- NOTES: This is hard error message when a sector is deallocated.
- where
- iiiiiiii is the logical block address (LBA)
- eeeeeeee is the length of the transfer
- qq is the zone number
- gggggggg is the error code that was reported by the R/W subsystem
- jjjjjjjj is the physical block address (PBA)
- llll is the track on which the error occurred
- mm is the head on which the error occurred
- nn is the sector on which the error occurred
- oo is the wedge on which the error occurred
- uuuuuuuu is the total number of soft errors recovered by track-rewrite
- If no error occurred and the format operation has successfully completed, the following
- information will be displayed.
- " User Partition Format Successful - Elapsed Time m"
- where
- m is the amount of time that has elapsed since the format operation was started
- If at least one zone re-format was skipped then the following will also be
- displayed upon successful completion of the format:
- "Zone re-format was skipped."
- Examples:
- Example #1:
- Perform a "quick format" (process defect lists, clear format corrupt, do not write
- or certify the drive)
- F3 T>m0,6,,,,,,22
- Example #2:
- Perform a "quick format" (don't process defect lists i.e. unslip and unalt, do not
- write or certify the drive)
- F3 T>m0,6,0,,,,,22
- Example #3:
- Perform a format with the default data pattern 0x00000000 and certify with event
- reporting enabled:
- F3 T>m0,8,,,,,,22
- Example #4:
- Perform a format and certify with event reporting enabled, set max write retries
- to 16, set max read retry count to 8, max ECC T-Level to 0, and track rewrite
- during certify retry threshold to 20:
- F3 T>m0,8,,10,8,0,14,22
- Example #5:
- Perform a format with user input data pattern 0xFFFFFFFF and certify with event
- reporting enabled:
- F3 T>m0,8,,,,,,22,ffffffff
- Example #6:
- Perform a format with secondary ER mode feature. Two sets of ER mode parameters are
- entered. First set is used in the first pass of format/certify, set max write retry
- to 15, max read retry to 5 and max ECC T-Level to 6. Second set is used in the rest
- passes, set max write retry to 17, max read retry to 7 and max ECC T-Level to 14.
- Note that this usage is only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is enabled.
- F3 T>m0,1,2,15,5,6,,22,,17,7,14
- Example #7:
- Determine the current format state and set format corrupt:
- F3 T>m99
- Revision History:
- 0001.0000 Initial revision.
- 0001.000X Added ability to enable and display event-based output.
- 0011.000X Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
- Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
- (DiagError).
- 0012.000X Added additional parameter 8 for users to input data pattern for format. The
- default data pattern is 0x00000000 instead of the 0x77777777 for the User
- Partition and 0xFFFFFFFF for the System Partition.
- 0012.001X Added option to process the Active Error Log.
- 0012.01XX Added brief event reporting (see bit 4 of the minor revision history below).
- 0012.02XX Added support for reporting the index of the defect list entry at which defect
- list processing error occurred.
- 0012.03XX Added support for skipping track re-write operation on data sync time-out errors.
- 0012.04XX Added support for displaying error location for failing LBA ( wedge no and physical sector no )
- 0012.05XX Corrected output for iterative channels
- Note on Minor Rev:
- ----.ZZXX ZZ represents the minor rev base value.
- XX represents set of conditional feature supported by the command.
- - If bit 0 of X is set, then the ability to enable and display
- event-based output is supported.
- - If bit 1 of X is set, then the ability to enable zone re-format
- skipping and output command result information if at least one
- zone re-format was skipped is supported.
- - If bit 2 of X is set, then the ability to format only SeaCOS
- Extended File (XF) space is supported.
- - If bit 3 of X is set, then the ability to use secondary ER mode
- to format/certify is supported.
- - If bit 4 of X is set, then the command supports brief event
- reporting.
- - If bit 5 of X is set, then the command supports skipping of
- track re-write operation on data sync time-out errors.
- start by checking Heads resistance, this will provide a hint about possible fault with the heads.
- F3 T>/7
- F3 7>X
- If you do a check on the re-assigned sector list and User Slip Defect list you might have more clues regarding how many defects were re-assigned on a specific head :
- F3 T>V4
- F3 T>V1
- even if you fix a drive from the BSY/LBA 0 bug you shouldn't re-use the drive (at least for important data). The fix should be used only to take the data from the drive.
- Also I truly think that it's a head issue, because even if the drive were to have some sort of translator problem (like on 0-LBA bug, preventing sector access by LBA), the m0,8,2,,,,,22 command shouldn't get stuck and should be able to complete
- When the firmware is running "normally", it checks the presence of heads and motors and if it can't find them goes in an "isolation" mode, i.e. if any of heads or motor is not found an instruction is executed that shuts off the serial interface.
- When a BSY (but not as seen a LBA0) occurs, the firmware "loops" in a more restricted set of instruction that do not comprehend the check for heads and motor, and thus though still running, the procesor never reaches the instructon "shut off the serial".
- If your drive stops running after 5 seconds then it has a different problem. The most likely cause is the fact that it is not able to read the SA (Service Area) which means you either have a damaged head or platter, or both
- Also a question was raised as how to get the defects onto the G-list.
- It is my understanding that if the drive cannot read a sector it is placed on the pending list.
- If at a later point the drive can read or if the sector is written to the drive will remap the sector to a new 'pool' sector.
- When this occurs the drive places it on the ALT-LIST which contains an entry to map the old sector LBA/CHS -> new sector LBA/CHS. An entry for the old sector is also made in the G-LIST.
- The P-LIST or (permanent list is not touched) nor is the slip list.
- Also the i4,1,22 command DOES NOT delete the NRG, or P-LIST.
- It deletes the G-LIST, ALT-LIST and SLIP lists.
- Also the Alt-LIST is not the SAME as the G-LIST.
- The ALT-LIST contains mappings from old to new sectors.
- The G-LIST contains entires of old bad sectors only.
- You cannot add to glist as entries here do not form basis for translator, wheras NRG defects do. Need to add defects to slip list directly, but also you need to be careful as the HDD can have non NRG defects that are interpreted wrong.
- The System Partition (sometimes called the System Area) is an area on the drive that is used for internal drive operation and contains
- firmware, code, modules, tables, adaptives, etc
- And duplicate copies of many important areas
- There is NO standard layout for the SA and its contents are specific to the model of the drive and even to the specific disk itself (eg adaptives, defect lists)
- It is totally separate from any user data area
- see
- Newbie info, from and for newbies :) About firmware, SA, etc
- http://forum.hddguru.com/viewtopic.php?f=16&t=6562&start=20
- Older drives / other manufacturers sometimes use the concept of negative cylinders for the SA
- Modules Seagate F3 (probably .11, not .12)
- Module Sys. file Description
- 00 Defect list of SA
- 01 0x001A Drive information file
- 02 0x0019 Performance parameter file
- 03 0x001B P-List
- 04 0x003F SAP (Servo Adaptive FParameters)
- 05 0x0300 Manufacturin information file
- 06 0x0001 RAP (Read Adaptives Parameters)
- 07 0x0208 CAP (Controller Adaptives Parameters)
- 09 0x0133 SMART config (filling by pattern)
- 0A 0x0134 SMART Frame
- 0C 0x0139 Self scan log
- 0E DIC (Data integrity check), Head 0
- 0F DIC Dummy file
- 13 0x030A Disk reestr (Security settings)
- 15 0x0306 Offline selfscan of surface (DOS)
- 1D 0x0100 Overlay 0
- 1E 0x0101 Overlay 1
- 22 File selfscan surface, head 0
- 23 File selfscan surface, head 1
- 24 File selfscan surface, head 2
- 25 File selfscan surface, head 3
- 26 File selfscan surface, head 4
- 27 File selfscan surface, head 5
- 28 File selfscan surface, head 6
- 29 File selfscan surface, head 7
- 2A 0x0093 Saved Mode pages (Edit HDD ID)
- 2B 0x0028 RW operations, (Translator)
- 2C DIC (Data Integrity Check), Head 1, pattern
- 2D DIC (Data Integrity Check), Head 2, pattern
- 2E DIC (Data Integrity Check), Head 3, pattern
- 2F DIC (Data Integrity Check), Head 4, pattern
- 30 DIC (Data Integrity Check), Head 5, pattern
- 31 DIC (Data Integrity Check), Head 6, pattern
- 32 DIC (Data Integrity Check), Head 7, pattern
- 33 Service file FDE
- 34 0x032C Packed structure descriptor CONGEN
- 35 0x0135 SMART
- 7.4 Background Media Scan
- Background Media Scan (BMS) is a self-initiated media scan. BMS is defined in the T10 document SPC-4 available from the T10 committee. BMS performs sequential reads across the entire pack of the media while the drive is idle. In RAID arrays, BMS allows hot spare drives to be scanned for defects prior to being put into service by the host system. On regular duty drives, if the host system makes use of the BMS Log Page, it can avoid placing data in suspect locations on the media. Unreadable and recovered error sites will be logged or reallocated per ARRE/AWRE settings.
- With BMS, the host system can consume less power and system overhead by only checking BMS status and results rather than tying up the bus and consuming power in the process of host-initiated media scanning activity.
- Since the background scan functions are only done during idle periods, BMS causes a negligible impact to system performance. The first BMS scan for a newly manufactured drive is performed as quickly as possible to verify the media and protect data by setting the “Start time after idle” to 5ms, all subsequent scans begin after 500ms of idle time. Other features that normally use idle time to function will function normally because BMS functions for bursts of 800ms and then suspends activity for 100ms to allow other background functions to operate.
- BMS interrupts immediately to service host commands from the interface bus while performing reads. BMS will complete any BMS-initiated error recovery prior to returning to service host-initiated commands. Overhead associated with a return to host-servicing activity from BMS only impacts the first command that interrupted BMS, this results in a typical delay of about 1 ms.
- 7.5 Media Pre-Scan
- Media Pre-Scan is a feature that allows the drive to repair media errors that would otherwise have been found by the host system during critical data accesses early in the drive’s life. The default setting for Media Pre-Scan is enabled on standard products. Media Pre-Scan checks each write command to determine if the destination LBAs have been scanned by BMS. If the LBAs have been verified, the drive proceeds with the normal write command. If the LBAs have not been verified by BMS, Pre-Scan will convert the write to a write verify to certify that the data was properly written to the disc.
- Note. During Pre-Scan write verify commands, write performance may decrease by 50% until Pre-Scan completes. Write performance testing should be performed after Pre-Scan is complete. This may be checked by reading the BMS status.
- To expedite the scan of the full pack and subsequently exit from the Pre-Scan period, BMS will begin scanning immediately when the drive goes to idle during the Pre-Scan period. In the event that the drive is in a high transaction traffic environment and is unable to complete a BMS scan within 24 power on hours BMS will disable Pre-Scan to restore full performance to the system.
- 7.6 Deferred Auto-Reallocation
- Deferred Auto-Reallocation (DAR) simplifies reallocation algorithms at the system level by allowing the drive to reallocate unreadable locations on a subsequent write command. Sites are marked for DAR during read operations performed by the drive. When a write command is received for an LBA marked for DAR, the auto-reallocation process is invoked and attempts to rewrite the data to the original location. If a verification of this rewrite fails, the sector is re-mapped to a spare location.
- This is in contrast to the system having to use the Reassign Command to reassign a location that was unreadable and then generate a write command to rewrite the data. DAR is most effective when AWRE and ARRE are enabled — this is the default setting from the Seagate factory. With AWRE and ARRE disabled DAR is unable to reallocate the failing location and will report an error sense code indicating that a write command is being attempted to a previously failing location.
- 7.7 Idle Read After Write
- Idle Read After Write (IRAW) utilizes idle time to verify the integrity of recently written data.
- During idle periods, no active system requests, the drive reads recently written data from the media and compares it to valid write command data resident in the drives data buffer. Any sectors that fail the comparison result in the invocation of a rewrite and auto-reallocation process. The process attempts to rewrite the data to the original location. If a verification of this rewrite fails, the sector is re-mapped to a spare location.
- It might be worth disabling READ_CACHING and READ_LOOKAHEAD in DIY cloning cases, and perhaps setting DISABLE_ADAPTIVE_READ_AHEAD = 1 might have benefits also.
- http://malthus.mooo.com/viewtopic.php?f=59&t=694
- CacheControl Mode Page
- CacheControl Group
- Byte:00EA: CacheFlags = 14
- Byte:00EA: Bit:0, READ_CACHING_DISABLED_ON_POWER_UP = 0
- Byte:00EA: Bit:1, MULTIPLICATION_FACTOR = 0
- Byte:00EA: Bit:2, WRITE_CACHING_ENABLED_ON_POWER_UP = 1
- Byte:00EA: Bit:4, DISCONTINUITY = 1
- Byte:00EA: Bit:5, CACHING_ANALYSIS_PERMITTED = 0
- Byte:00EA: Bit:6, ABORT_PREFETCH = 0
- Byte:00EA: Bit:7, DISABLE_ADAPTIVE_READ_AHEAD = 0
- Byte:00F4: Bit:5, READ_LOOKAHEAD_DISABLED_ON_POWER_UP = 0
- Byte:00F4: Bit:7, FORCE_SEQUENTIAL_WRITE = 1
- m0,2,1,,,,,22 ( To rebuilt slip list, V1 )
- m0,2,2,,,,,22 ( To rebuilt G list, V2 )
- m0,2,3,,,,,22 ( To rebuilt P list, V3 )
- m0,5,1,10,3,,,22 ( To zero fill with slip list )
- m0,5,2,10,3,,,22 ( To zero fill with G list )
- m0,5,3,10,3,,,22 ( To zero fill with P list )
- m0,8,1,10,3,,,22 ( To format with slip list )
- m0,8,2,10,3,,,22 ( To format with G list )
- m0,8,3,10,3,,,22 ( To format with P list )
- m0,D,1,,,,,22 ( To repair bad sector by Slip list )
- m0,D,2,,,,,22 ( To repair bad sector by G list )
- m0,D,3,,,,,22 ( To repair bad sector by P list )
- m0,20,1,,,,,22 ( To format (seacos XF) by Slip list )
- m0,20,2,,,,,22 ( To format (seacos XF) by G list )
- m0,20,3,,,,,22 ( To format (seacos XF) by P list, most powerfull to repair bad sectors, red and green blocks )
- m0,2,2,,,,,22 ( Format user area partition without certifying defects and relocate defects. not effect Data in a drive ) LIES - actually erased my ALT-List. and i think G_liSt
- m0,2,1,,,,,22 ( Format user area partition with user slip list with certify defects. DATA WILL BE LOSS )
- m0,D,3,,,,,22 ( Format user area partition with repairing of bad sector, auto add bad sector into G list and in the last it will be shifted to P list )
- m0,5,1,,,,,22 ( it used for erasing of all sector )
- m0,8,2,,,,,22 ( it is used for formatting hard disk sectors )
- The i4,2,22 command deletes the Alt-list and G-list. Contrary to some statements by so called GURUS on HDD GURU forum, the G-list and alt are NOT the same thing. The alt list is used to remap bad sectors to the new ones, in other words it remaps the LBA to the new PBA and CHS, the G-list hold the location of the BAD sector in PBA and CHS format.
- Modify Track Defect List (Level 2 'F')
- Description:
- The Modify Track Defect List command modifies the defect list for the specified
- sector(s).
- Quick Help:
- "ModTrkDfctLst, F[PSctr/LBA],[Action]";
- Input Parameters:
- 0 - Physical Sector or LBA to Modify.
- If Parameter 1 is A1, B1, C1, or F1, this value is an LBA.
- If parameter 1 is some other value, this parameter is the physical sector number
- of the block to be affected. The cylinder and head come from the current address.
- Type: Unsigned 32-bit value
- Range: 0 to 0xFFFFFFFF
- Default: 0
- Note: The track and head used are the current track. When working with sectors
- that are already alted, it is best to use the LBA mode actions (B1 and C1
- below) .
- 1 - Defect List Action.
- Parameter 1 specifies the format action to be taken. The valid choices are:
- A - Add Sector to Alternated Sector List
- A1 - Add LBA to Alternated Sector List
- B - Add Sector to Pending Sector List
- B1 - Add LBA to Pending Sector List
- C1 - Remove LBA from Alternated Sector List
- F1 - Remove LBA from Alternated Sector List ( same as C1 above )
- Type: Unsigned 32-bit value
- Range: 0 to 0xFFFFFFFF
- Default: 0x0C1
- Output Data:
- If an error occurred, the following information will be displayed.
- "DiagError aaaaaaaa "
- where
- aaaaaaaa is the Diagnostic Error Code
- Examples:
- Example #1:
- To remove LBA 1234 from the alt list:
- F3 2>F1234,f1
- Revision History:
- 0001.0000 Initial Revision.
- 0002.0000 Remove 2>Fx,F; add Fx,F1 to unalt by sector.
- 0011.0000 Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
- Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
- (DiagError).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement