楼主: taoyaxin163 - 

[讨论] 三种命令 修复 希捷 7200.12硬盘 LBA=0 故障????

  [复制链接]
  • TA的每日心情

    2021-1-27 15:03
  • 签到天数: 1552 天

    [LV.Master]三朝元老

    79

    主题

    2582

    回帖

    1万

    积分

    [INTOHARD]旅长

    Rank: 9Rank: 9Rank: 9

    积分
    16142
    发表于 2011-4-23 00:45:53 | 显示全部楼层
    有驱别的啊,你们有指令,不会看说明啊,笨
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    1

    主题

    1894

    回帖

    7059

    积分

    [INTOHARD]团长

    Rank: 8Rank: 8

    积分
    7059
    QQ
    发表于 2011-5-20 19:28:08 | 显示全部楼层
    不错,谢谢分享
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2022-5-24 07:02
  • 签到天数: 261 天

    [LV.8]三品御史

    16

    主题

    1157

    回帖

    1229

    积分

    [INTOHARD]营长

    Rank: 6Rank: 6

    积分
    1229
    发表于 2011-6-20 10:56:25 | 显示全部楼层
    持续关注。。。。。。。。。。。。。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    0

    主题

    384

    回帖

    178

    积分

    [INTOHARD]工兵

    Rank: 1

    积分
    178
    发表于 2011-6-22 07:21:29 | 显示全部楼层
    深入研究..打错..不好意思
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2021-6-3 17:31
  • 签到天数: 2082 天

    [LV.Master]三朝元老

    15

    主题

    2974

    回帖

    1万

    积分

    [INTOHARD]团长

    Rank: 8Rank: 8

    积分
    14807
    QQ
    发表于 2011-7-20 22:42:11 | 显示全部楼层
    三种全用,还出现这样问题,求解决办法
    Max Wr Retries = 00, Max Rd Retries = 00, Max ECC T-Level = 16, Max Certify Rewrite Retries = 2DF8

    DiagError 0000500D
    User Partition Format Failed - Elapsed Time 0 mins 00 secs        
    R/W Sense 00000002, R/W Error 00000084, File Error 00001002
    Blk Addr 71030001, Blk Addr Type D0, Cyl 00000000, Hd 00
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5

    主题

    58

    回帖

    90

    积分

    [INTOHARD]班长

    Rank: 2

    积分
    90
    发表于 2011-7-22 20:57:55 | 显示全部楼层
    回复 25# sqyuanqiang


        读写错误 测试一下磁头 7>x  看看头有没有问题
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5

    主题

    58

    回帖

    90

    积分

    [INTOHARD]班长

    Rank: 2

    积分
    90
    发表于 2011-7-22 21:09:36 | 显示全部楼层
    回复 1# taoyaxin163

    我提供一下M指令的详细指令 注释一点中文

        Format Partition (Level T 'm')--------------------------------------------------------------------------------

      Description:
        This command formats the specified partition.

      Quick Help:

        "FormatPartition, m[Partition],[FormatOpts],[DefectListOpts],[MaxWrRetryCnt],[MaxRdRetryCnt],\n\r"
        "[MaxEccTLevel],[MaxCertifyTrkRewrites],[ValidKey],[DataPattern]";
    // 这里写的是m指令的格式例如  m[0],[1],[2],[3],[4],[5],[6],[7] ,[8]
      下面解释第一个0 什么意思 如果是0 代表用户区域  1 代表是系统区 如果这里不填默认是0 就是默认是用户区。
      Input Parameters:

        0 - Partition Number.
       
            This parameter specifies the media partition to be formatted.
       
                 0 = User Partition
                 1 = System Partition
       
              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-6: not used
       
                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 - Maximum ECC T-Level.  //ECC T级最大交错
       
            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.
       

      Output Data:

       
       
            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, File Error ffffffff"
       
               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 offset of the defect list entry at which the error occurred
       
                  ffffffff 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"
               "Blk Addr gggggggg, Blk Addr Type hh, Cyl iiiiiiii, Hd jj";
       
               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
       
                  hh is the R/W block address type 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
       
            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, 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 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

      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.
       
        Note on Minor Rev:
        ----.ZZZX   ZZZ represents the minor rev base value.
                    X represents set of conditional feature flags.
                      - 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.
                      - (Bit 3 of X is reserved for future conditional features.)


    大家以后如果满盘感叹号 可以用m0,6,2,0,0,0,0,22 来修复 或者m0,6,3,0,0,0,0,22 大家如果没有udma的话可以自己增加脚本到pci3000里面  例如增加清SMART表

    LEV 1
    N1

    T级下格式化 解决0G问题

    LEV 0
    m0,2,2,,,,,22

    如果是A级的话增加就是  A级下P就是G转P

    LEV $A
    P
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    6

    主题

    352

    回帖

    2610

    积分

    [INTOHARD]营长

    Rank: 6Rank: 6

    积分
    2610
    发表于 2011-7-27 23:25:20 | 显示全部楼层
    好像都一样,
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2013-9-26 10:29
  • 签到天数: 69 天

    [LV.6]五品郎中

    1

    主题

    546

    回帖

    619

    积分

    [INTOHARD]连长

    Rank: 4

    积分
    619
    发表于 2011-8-1 16:42:23 | 显示全部楼层
    第二种!!!!!!!!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2018-1-19 17:26
  • 签到天数: 10 天

    [LV.3]八品县丞

    1

    主题

    156

    回帖

    3506

    积分

    [INTOHARD]团长

    Rank: 8Rank: 8

    积分
    3506
    QQ
    发表于 2011-8-8 11:46:00 | 显示全部楼层
    我用的是效率源
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    快速回复 返回顶部 返回列表