All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 28th, 2017, 3:54 
Offline
User avatar

Joined: August 15th, 2006, 3:01
Posts: 2296
Location: CDRLabs @ Chandigarh [ India ]
Hello boys ,
Got this case from some person its a ST500DM002-1BD142 With Firmware KC48 Written ,When i connect the board to the hda i get the following message

Rst 0x10M
Servo Processor Is Reset.
RW: Disc Ctlr Initialization Completed.
ExecuteSpinRequest
(P) SATA Reset

And Reports CC49 Firmware Never Seen CC49 in Firmware of ST500DM002 ?

Proper ST500DM002 Reports In Terminal

Boot 0x10M
Spin Up[0x00000000][0x0000B67C][0x0000BA10]
Trans.

Rst 0x10M
MC Internal LPC Process
Spin Up
(P) SATA Reset


PS : What Has The Older DR Firm Done Updated Modded ROM ? ,I Have Added The Patient ROM to Post ,I Want To Take a KC48 ROM And Import Adaptives To That From This ROM And Revert Back Till Then any Suggestions


Attachments:
Rom-Original.zip [435.12 KiB]
Downloaded 42 times

_________________
Regards
Amarbir S Dhillon
CDRLabs Data Recovery - [ Chandigarh ,India ]
My Data Recovery Experiments - > https://www.facebook.com/chandigarhdatarecovery
Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 28th, 2017, 4:05 
Offline
User avatar

Joined: August 15th, 2006, 3:01
Posts: 2296
Location: CDRLabs @ Chandigarh [ India ]
Hi,
Also With Patient PCB/ROM If i Try And Check Translator In Terminal i Get This Message

Overlay PartNum: 01101642
CFW PartNum: 03071103
Overlay CompileDate: 20130110
CFW CompileDate: 20110307

OverlayCompatibilityCheck failed

Unable to load Diag Cmd Processor Overlay

_________________
Regards
Amarbir S Dhillon
CDRLabs Data Recovery - [ Chandigarh ,India ]
My Data Recovery Experiments - > https://www.facebook.com/chandigarhdatarecovery


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 28th, 2017, 4:27 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
http://knowledge.seagate.com/articles/en_US/FAQ/213891en

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 28th, 2017, 4:32 
Offline
User avatar

Joined: August 15th, 2006, 3:01
Posts: 2296
Location: CDRLabs @ Chandigarh [ India ]
fzabkar wrote:


Hi Frank ,
How Are You Today Exactly My Point ,But Label on HDD is ST500DM002 And Serial No is Also Same In PC3k Utility Checking

_________________
Regards
Amarbir S Dhillon
CDRLabs Data Recovery - [ Chandigarh ,India ]
My Data Recovery Experiments - > https://www.facebook.com/chandigarhdatarecovery


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 28th, 2017, 18:07 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
AIUI, the ST500DM002 is a 7200.12 model. If the serial number is a match, then I'm suggesting that the client may have applied the official 7200.12 CC49 firmware update.

Here is the configuration matrix:
http://www.users.on.net/~fzabkar/HDD/PH-CC49.TXT

IIUC, after the update is applied, the controller and servo firmware versions become PH0G2D.CCD4.JQ019Y.CC49.D289.

You could extract the PHCC492H.LOD file from the update and compare its ROM segments against your ROM dump (Moltke has written a ZOC script to parse the LOD file and identify its segments). You might also want to check the other LODs in the package, just in case the client selected the wrong file.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 29th, 2017, 3:46 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
The header of your ROM defines 7 segments, 3 of which are code. The other 4 segments are adaptives.

Code:
Offset(h) 00       04       08       0C

00000000  E71D0000 40000000 40000000 5D860400
00000010  02380000 04381606 06481806 03589C06
          CFW      CAP      RAP      SFW
00000020  0B58CC07 0558DD07 0E70FD07 00000008
          SHELL    SAP      IAP

Code:
02  CFW (controller firmware)
03  SFW (servo firmware)
04  CAP (Controller Adaptive Parameters)
05  SAP (Servo Adaptive Parameters)
06  RAP (Read/Write Adaptive Parameters)
0B  SHELL
0E  IAP (Interface Adaptive Parameters)

The SFW and SHELL components are a match for the Pharaoh CC49 update, but the CFW segment appears to have been replaced after the update. ???

Code:
ID   offset    name    CC4H update component
--------------------------------------------------------------------------------
02 - 0x00038 - CFW   - CC49_update_2H_section_6.bin (similar, but not identical)
03 - 0x69C58 - SFW   - CC49_update_2H_section_2.bin
0B - 0x7CC58 - SHELL - CC49_update_2H_section_3.bin

Here are the ends of each CFW segment:

CC49_update_2H_section_6.bin

Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00060A30  FF FF FF FF FF 1F 00 00 43 50 52 53 00 00 00 00  ÿÿÿÿÿ...CPRS....
        end of compressed section ^^^^^^^^^^^

00060A40  00 00 00 00 75 94 00 00 FF FF FF FF FF FF FF FF  ....u”..ÿÿÿÿÿÿÿÿ
                      ^^^^^ used space checksum

00060A50  FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
........
00061630  FF FF FF FF C4 F9 00 00                          ÿÿÿÿÄù..
whole-space checksum ^^^^^

Rom-Original.bin

Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00060A30  FF 1F 00 00 43 50 52 53 00 00 00 00 00 00 00 00  ÿ...CPRS........
                      ^^^^^^^^^^^ end of compressed section

00060A40  C4 1B 00 00 75 94 00 00 FF FF FF FF FF FF FF FF  Ä...u”..ÿÿÿÿÿÿÿÿ
          ^^^^^       ^^^^^
current checksum      old used space checksum

00060A50  FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
........
00061630  FF FF FF FF C4 F9 00 00                          ÿÿÿÿÄù..
whole-space checksum ^^^^^

Note that the whole-space checksum is identical in both cases. However, the used space checksum is different. The old used space checksum (00009475) is still present, but now there is a new used space checksum (00001BC4) in the previous dword. This suggests that the CC49 CFW has been replaced with a different version, and this new version is smaller by 4 bytes. This in turn suggests that someone may have pasted the new CFW segment into the ROM with a hex editor (or could it be a PC3K CFW patch???).

BTW, I believe that "CPRS" signifies compressed code/data. Each compressed section begins and ends with a CPRS signature. The first dword following the signature is the size of the section in bytes.

Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

0005C880              43 50 52 53 B4 41 00 00 34 7B 00 00      CPRS´A..4{..
                 CPRS ^^^^^^^^^^^ ^^^^^^^^^^^ size = 0x41B4

0005C890  06 00 10 00 80 22 21 20 46 2C 30 40 94 A0 36 31
........
00060A30  FF 1F 00 00 43 50 52 53                          ÿ...CPRS
                 CPRS ^^^^^^^^^^^


    0x5C884 + 0x41B4 = 0x60A38

I suspect that the CC4H version of the ROM can be restored by patching the CC4H CFW segment (CC49_update_2H_section_6.bin) into your ROM dump (see attachment).


Attachments:
CC49_update_2H.rar [814.87 KiB]
Downloaded 39 times

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 29th, 2017, 4:28 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
Amarbir[CDR-Labs] wrote:
Hi,
Also With Patient PCB/ROM If i Try And Check Translator In Terminal i Get This Message

Overlay PartNum: 01101642
CFW PartNum: 03071103
Overlay CompileDate: 20130110
CFW CompileDate: 20110307

OverlayCompatibilityCheck failed

Unable to load Diag Cmd Processor Overlay

I checked each of the 4 overlays in the CC4H update. They all have a compilation date of 03/07/2011.

Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

0001DF50  71 78 37 07 00 00 00 00 00 3F 00 01 05 00 0A 00  qx7......?......
0001DF60  00 00 02 00 0E 60 01 00 07 03 03 11 03 07 11 20
                                              ^^^^^^^^^^^
                                              03/07/2011

This would suggest that the client drive's SA overlay was compiled 2 years after the CC4H update. Also, this would suggest that the CFW module in the ROM is OK, even though it doesn't match the CC4H update???

BTW, you can extract each of the 4 SA overlays (03/07/2011) from the CC4H LOD file.


Attachments:
CC49_2H_update_overlays.rar [177.95 KiB]
Downloaded 46 times

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 29th, 2017, 14:30 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
The CAP module has a date stamp of 06/04/2013.

    Z3TM5KB
    W000073482NU5
    06042013
    ST500DM002-1BD142

What is the manufacture date on the label? Does this match the YYWW date codes on the PCB and its ICs?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 0:58 
Offline
User avatar

Joined: August 15th, 2006, 3:01
Posts: 2296
Location: CDRLabs @ Chandigarh [ India ]
fzabkar wrote:
AIUI, the ST500DM002 is a 7200.12 model. If the serial number is a match, then I'm suggesting that the client may have applied the official 7200.12 CC49 firmware update.

Here is the configuration matrix:
http://www.users.on.net/~fzabkar/HDD/PH-CC49.TXT

IIUC, after the update is applied, the controller and servo firmware versions become PH0G2D.CCD4.JQ019Y.CC49.D289.

You could extract the PHCC492H.LOD file from the update and compare its ROM segments against your ROM dump (Moltke has written a ZOC script to parse the LOD file and identify its segments). You might also want to check the other LODs in the package, just in case the client selected the wrong file.


Frank,
But i do not see the update being for the st500dm002 only i see for other drives .Can you point me to the link were i can read moltke's zoo script ,never used his tools before .Though i am also going to read what more you have written and applied ,

_________________
Regards
Amarbir S Dhillon
CDRLabs Data Recovery - [ Chandigarh ,India ]
My Data Recovery Experiments - > https://www.facebook.com/chandigarhdatarecovery


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 1:25 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
Here are Moltke's scripts.

ZOC scripts - Seagate LOD files parsing :
http://www.hddoracle.com/viewtopic.php? ... 815&p=3162

I can think of two ways in which a user may have applied the 7200.12 CC49 update to the ST500DM002, even though this model is not actually targeted by the update. In any case, can you not check the integrity of the ROM with PC3K or MRT? If so, then I suspect you should see a warning message such as the following:

Code:
Parsing segment....... CFW
Warning! Segment whole-space check sum is not zero: 0000nnnn

If you check my patched ROM, I expect that all its checksums will be valid.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 3:10 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
Could the DR company have used the 7200.12 CC49 ROM (with modified CFW) to gain access to the SA? If so, then wouldn't you need a matching CC49 loader? You could build such a loader from the 4 overlay files in my last attachment, otherwise I could build one for you.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 15:52 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
The CFW segments in your ROM and the CC49 ROM each have 4 compressed sections (CPRS). The last 3 CPRS sections are identical. However, the first CPRS section in your ROM is 4 bytes shorter than that of the CC49 ROM, and there are many differences in the body. Could it be that the first CPRS section was unpacked, hacked, and then repacked??? Is this how Ace implements the "Kahuna CFW 1" patch?

The PH-CC49 configuration file in the CC49 update indicates that the new firmware package version becomes "PH0G2D.CCD4.JQ019Y.CC49.D289". AIUI, the first 4 components correspond to the CPRS sections in the CFW, while last component, D289, corresponds to the single CPRS section in the SFW segment.

Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

CFW 1 (PH0G2D)

000077F0              43 50 52 53 54 29 05 00                  CPRST)..
different                        ^^^^^^^^^^^ size in bytes
000077F0              43 50 52 53 58 29 05 00                  CPRSX)..


CFW 2 (CCD4)

0005A150  43 50 52 53 88 0F 00 00                          CPRSˆ...
same
0005A150              43 50 52 53 88 0F 00 00                  CPRSˆ...


CFW 3 (JQ019Y)

0005C1E0                          43 50 52 53 54 06 00 00          CPRST...
same
0005C1E0                                      43 50 52 53              CPRS
0005C1F0  54 06 00 00                                      T...


CFW 4 (CC49)

0005C840                                      43 50 52 53              CPRS
0005C850  B4 41 00 00                                      ´A..
same
0005C850  43 50 52 53 B4 41 00 00                          CPRS´A..

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 19:58 
Offline

Joined: July 6th, 2013, 15:13
Posts: 280
Location: ISLAMABAD
Press Control A in terminal and tell me the Package number, i give you its resources,
You can simply upload the resources, to fix the Overlay Failed error,
Its safe for Data Recovery


Is this your hdd details = The PH-CC49 configuration file in the CC49 update indicates that the new firmware package version becomes "PH0G2D.CCD4.JQ019Y.CC49.D289". AIUI, the first 4 components correspond to the CPRS sections in the CFW, while last component, D289, corresponds to the single CPRS section in the SFW segment.


Regards
Waqas Ali


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 20:12 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
waqas_ali766 wrote:
Press Control A in terminal and tell me the Package number, i give you its resources,
You can simply upload the resources, to fix the Overlay Failed error,
Its safe for Data Recovery

IIUC, the SA resources are probably the original KC48 overlays. It is the ROM which is not original. You need to supply the OP with a KC48 ROM which matches his overlay version. That said, this will only restore the drive to its original condition (hopefully). It doesn't explain why the ROM has been modified in such an unusual way.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 20:27 
Offline

Joined: July 6th, 2013, 15:13
Posts: 280
Location: ISLAMABAD
If the Rom is modified there is no problem.

Some times the rom is dead, so a person can transfer its RAP CAP SAP, head adaptives to donor rom, and write to hdd

After that you must need to load a compatiable overlay into the hdd (Below then 7200.14 series), after that you are able to excute some commands which need overlay .

Like Clear smart etc.

So there is no problem . if some one do this as i write above , then the package will be change to the donor ROM automatically, because its in ROM, not in RAP CAP SAP and head adaptives.


Last edited by waqas_ali766 on July 30th, 2017, 20:30, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 20:28 
Offline

Joined: July 6th, 2013, 15:13
Posts: 280
Location: ISLAMABAD
you can just tell me the P/N number, i will give you the Drives original resources. the TGT Code, and the Overlay.

If some one change then Press Ctrl + A send me log, i will give you only the overlay file compatible with that ROM.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 20:31 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
waqas_ali766 wrote:
you can just tell me the P/N number, i will give you the Drives original resources. the TGT Code, and the Overlay.

If some one change then Press Ctrl + A send me log, i will give you only the overlay file compatible with that ROM.

The overlays which are compatible with the OP's CC49 ROM are probably those in my attachment.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 20:43 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
waqas_ali766 wrote:
If the Rom is modified there is no problem.

Some times the rom is dead, so a person can transfer its RAP CAP SAP, head adaptives to donor rom, and write to hdd

Yes, I am aware of that. So how do you explain the fact that the CFW segment in the donor ROM has two used-space checksum dwords? The second dword appears to be a remnant of Seagate's official Pharaoh CC49 update.

Please perform an integrity check of the OP's ROM (and my patched version) and hopefully you will see the error in the CFW whole-space checksum that I alluded to earlier. The OP doesn't appear to understand how to do this.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 20:50 
Offline

Joined: July 6th, 2013, 15:13
Posts: 280
Location: ISLAMABAD
Hi fzabkar

I( can't work like this,, because i not have much knowledge like you,

you can an engineer, i am only technician.

Check sum i can't understand.

i have factory files , and i use them for this type of errors.

Regards
Waqas Ali


Top
 Profile  
 
 Post subject: Re: Tempered HDD Or Overlay Failure [ ST500DM002 ]
PostPosted: July 30th, 2017, 21:15 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9687
Location: Australia
I'm talking about ROM parsing as in the following threads:

viewtopic.php?f=11&p=248974
http://forum.acelaboratory.com/viewtopic.php?t=7736

_________________
A backup a day keeps DR away.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Tomset and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group