All times are UTC - 5 hours [ DST ]


Switch to mobile style


Post new topic Reply to topic  [ 351 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16 ... 18  Next
Author Message
 Post subject: Re: WD2000JD problem
PostPosted: April 8th, 2013, 17:57 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
Ok, can you implement it on software ? To check it ?

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 8th, 2013, 18:17 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
I check it with a hexeditor. Now my H1 mod 47 differs from mod 40..since I've deppoped the device. when depopping, all the adaptive data are cut to a lower head number (mod 47 ..40 etc). so if in example you have 2 bytes/head (some adaptive info like mr offset dac etc)..for 4 heads..you'll have in mod 40.. a table with N entries of 2ytes x 4heads = 8 bytes each. after depop..the table will have 2x3 = 6 bytes each. so 2 bytes get lost. if you repop the adaptives can't be recovered...those N x 2 bytes...so you have to write the entire mod 41 again..from backup...as it was before depopping.

in my case...I've tested the H1..with no SA mods loaded..it's still dead...or perhaps it's rom mod 47...has wrong adaptives...for SA. but I've checked against the original mod 41 (the first dump I've made when putting the hands on it)..and does match..so it is possible that the firmware was corrupted before the device arrived to me.

it would be interesting do a depop with a known tool dump the modules and compare with a backup to see exactly which files gets modified

you can see in this image, there are 4 heads..if you cut one head..it will look like I explained 2x3 followed by 2x3...
Image


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 8th, 2013, 20:05 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
back at "safe mode". just implemented a "write mod" function and had the occasion to test what's happening when writing in "safe mode".

in "safe mode" the vsc command let me write only the mod_01. for any other mods it gives me FM_Dir_ERR. last time I did only mod_1 write so the study result was partial :) In normal mode...the vsc command let me write any mode.

if in safe mode I load perm ovl...then I can access the zonetable. but look how it looks.

zone table in "safe mode" with povl loaded.
Code:
Zone 0 (this limits the Service Area!!)
---------------
First Virt. cyl .. = 0xffffffc0 (-64)
Last Virt.  cyl... = 0xffffffff (-1)
First LBA......... = 0xffe00000 (-2097152)
Last LBA.......... = 0xffffffff (-1)
Sectors per Track. = 0x0384 (900)
Zone 1
---------------
First Virt. cyl .. = 0x0000 (0)
Last Virt.  cyl... = 0x22bf (8895)
First LBA......... = 0x0000 (0)
Last LBA.......... = 0x0000 (0)
Sectors per Track. = 0x04b9 (1209)
Zone 2
---------------
First Virt. cyl .. = 0x22c0 (8896)
Last Virt.  cyl... = 0x39bf (14783)
First LBA......... = 0x0000 (0)
Last LBA.......... = 0x0000 (0)
Sectors per Track. = 0x04a4 (1188)
Zone 3
---------------
First Virt. cyl .. = 0x39c0 (14784)
Last Virt.  cyl... = 0x5eff (24319)
First LBA......... = 0x0000 (0)
Last LBA.......... = 0x0000 (0)
Sectors per Track. = 0x0480 (1152)


zonetable with drive started in normal mode

Code:
Zone 0
---------------
First Virt. cyl .. = 0xffffffc0 (-64)
Last Virt.  cyl... = 0xffffffff (-1)
First LBA......... = 0xffe00000 (-2097152)
Last LBA.......... = 0xffffffff (-1)
Sectors per Track. = 0x0384 (900)
Zone 1
---------------
First Virt. cyl .. = 0x0000 (0)
Last Virt.  cyl... = 0x21bf (8639)
First LBA......... = 0x0000 (0)
Last LBA.......... = 0x24fdf9d (38789021)
Sectors per Track. = 0x0463 (1123)
Zone 2
---------------
First Virt. cyl .. = 0x21c0 (8640)
Last Virt.  cyl... = 0x473f (18239)
First LBA......... = 0x24fdf9e (38789022)
Last LBA.......... = 0x4d880c0 (81297600)
Sectors per Track. = 0x0453 (1107)
Zone 3
---------------
First Virt. cyl .. = 0x4740 (18240)
Last Virt.  cyl... = 0x573f (22335)
First LBA......... = 0x4d880c1 (81297601)
Last LBA.......... = 0x5e67f99 (98992025)
Sectors per Track. = 0x0438 (1080)


so..it seems that in normal mode..the LBA-s for the rest of the zones are initialized. also if you look closer..the cylinder values are also changed


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 4:25 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
If you load perm ovl can you write the entire SA ?

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 4:33 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
nope..only mod_01. but didn't tested the raw_write...via-> cyl, head sector.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 5:10 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
That is strange...
So, if you erase/format SA and then power off the drive, how do you then copy the modules back to the drive ?
Are you sure that you are loading the correct loader and in the correct way ?

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 5:43 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
as I mentioned..there are more ways to write SA:1. using a vsc command which writes a module..on both H1 H0 (the test was made with this; this it's the easy way..because you don't spec where to write the file..it's handled by the kernel which puts the file where mod_1 tells); 2. using a raw mode..where you spec cyl head sect to write. 3. using lba mode.

so you see...there are more ways still to be tested.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 7:02 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
Ok, thanks.
Can you download entire SA tracks at once ?

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 7:36 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
didn't implemented such a function right now. I'm still customizing/tuning the low level access functions which are the base of the application. higher level functions will use those functions to do more or less complicated stuff.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 7:41 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
louis wrote:
didn't implemented such a function right now. I'm still customizing/tuning the low level access functions which are the base of the application. higher level functions will use those functions to do more or less complicated stuff.


Will you sell it ?

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 7:54 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
don't know..because I don't know if I'll be able to finish it.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 7:56 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
louis wrote:
don't know..because I don't know if I'll be able to finish it.


Of course that you will finish it !

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 10:46 
Offline

Joined: July 18th, 2011, 5:40
Posts: 101
Location: Serbia
@Louis

Good work. It seems to me that Louis is hooked on hdds :)

I know that feeling :) All those bytes in all those modules can be very catching.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 14:56 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
Nebojsa_28 wrote:
@Louis

Good work. It seems to me that Louis is hooked on hdds :)

I know that feeling :) All those bytes in all those modules can be very catching.


Maybe he can develop a Hitachi tool later :)

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 9th, 2013, 20:03 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
I can write in "safe mode"..using raw write function..aka write_cylinder_head_sector.

the programs need a directory where all mods are backed-up...and the name of directory mod. then it checks all files in that directory..for check-sum and other stuff. it only retains the backed mods that bypass the checking. then it writes the mod files on H0 and H1. before writing...I check if the area it's readable..(to prevent doing more damage) then if ok..write..then read back and compare the local file to what it was written.

here in the log..mod 2d has an invalid day/year etc in header. also..my head 1 it's dead..so I'll have an error when writing that head.

Code:
checking 109 modules using program's internal function
module has an invalid day: 0
invalid mod MOD_2D.bin skipping this file...
108 valid mod(s) and 1 invalid mod(s) found inside dir C:...WDC WD2000JD-60KLB0_08.05J0_WD-WCAMT131983-ORIG\SA Modules
writing only valid modules...
0. mod: 0x01
        H0-> success
        H1-> wd_smart_write_log: error register is on. aborting...
VSC error code decoded: 0x5181 -->> DISK_DAM_ERROR
wd_read_pchs: send_wd_cmd failed, aborting
1. mod: 0x02
        H0-> success
        H1-> wd_smart_write_log: error register is on. aborting...
VSC error code decoded: 0x51A2 -->> DISK_ECU_UNSAFE_ERROR
wd_read_pchs: send_wd_cmd failed, aborting
2. mod: 0x34
        H0-> success
        H1-> wd_smart_write_log: error register is on. aborting...
VSC error code decoded: 0x51A2 -->> DISK_ECU_UNSAFE_ERROR
wd_read_pchs: send_wd_cmd failed, aborting
...


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 10th, 2013, 2:50 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
Sounds good ! Keep up with the good work !

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 10th, 2013, 13:24 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
strange stuff. when doing some software tests...the donor died again. what seems to bring it alive it's getting the old PCB..putting it on the donor drive...again remains dead too...and put back again its own pcb. the old pcb seems to somehow "unblock" the preamp. off course there could be many other things related to this situation...but this it's the third time I'm bring it alive like this.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 10th, 2013, 15:07 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
louis wrote:
strange stuff. when doing some software tests...the donor died again. what seems to bring it alive it's getting the old PCB..putting it on the donor drive...again remains dead too...and put back again its own pcb. the old pcb seems to somehow "unblock" the preamp. off course there could be many other things related to this situation...but this it's the third time I'm bring it alive like this.


I would guess that it's more like ... wait for a while for it to get colder ?
lol
I can't see how the swapping can help ...

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 10th, 2013, 15:48 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
wow...after some work I think I may have fixed a "little" the H1 :lol:

I can read the H1 on SA without errors (at least on first 2 tracks where I tested). now I've just written the mod_01 on H1 and read it successfully. the data read from H1 after the fix..was bad, so the mods doesn't exist there in a readable form.

it's about what I said here. mod 47 form rom.

louis wrote:
5. read again. mod 47 holds adaptives for all heads in SA!!..if adaptive for head 1 are defective but the H0 reads fine SA...then if the adaptives exist again in mod 40...H1 could be fixed by reading from there the correct values data dac, mr etc.. SA exist in 2 copies..one on H0 (main used) and one in H1.


in rom..in mod 47..there's a single word which it's the MR Jog parameter for H1. If H1 can't read the SA..then that word it's bad...or the head it's physically damaged. I did some changes, manually to that word..in mod 47 then uploaded it to the rom :)

I must do some more test to see if the entire SA it's accessible to H1. but one think it's clear..I don't get those dam..ecu errors.


Top
 Profile  
 
 Post subject: Re: WD2000JD problem
PostPosted: April 10th, 2013, 16:15 
Offline

Joined: August 22nd, 2011, 15:43
Posts: 214
Location: Romania
"you will never be able to understand a fraction of what data recovery is all about"...

I bet u do. a lot.

G.F.U!

a lamer is one which think that if he pays 10k for a soft..it's a "pro". and unfortunately there is plenty in here..all telling...send your hdd to a pro. :lol:

better, why don't you tell us..how to generate the mr jog or servo data for a bad head?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 351 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16 ... 18  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 71 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