All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: ST9160412AS possible corrupt serial flash
PostPosted: March 3rd, 2023, 13:36 
Offline

Joined: November 17th, 2007, 12:50
Posts: 12
Hi,
I have a Seagate 160gb Momentus 7200.4 drive that I believe the serial flash memory has gotten corrupt somehow.
Drive: Seagate ST9160412AS - FW: 0002CE21 PCB: 100536286 Rev E
Symptoms and what i've done so far:
Drive will not spin up but is detected by a pc and identified correctly.
I located a PCB, is a close match but from a 320gb hdd. Installed it to the 160gb drive and applied power to see if spindle spins. Yes spindle spins.
I swapped the serial flash from the 160gb PCB to the 320gb PCB and installed it. Drive does not spin with 160gb serial flash chip installed.
I put the 320gb serial flash back on the 320gb board and drive spins again but I did not leave it powered on due to being from a wrong size drive.
I attached 160gb serial flash chip to a programmer and was able to get good clean identical reads 3 times in a row with no bad reads at all, so it indicates the flash chip itself is ok.

It seems like the FW on the serial flash may be corrupt.
If i got a flash file from the same model drive with the same firmware is it possible to write a new flash chip and recover the data or am i out of luck because the flash would contain all the calibrations and error table, etc, for this drive to recover?

If so is there a specific place I can make a firmware request, i didnt see a subforum for it.

Any thoughts or ideas would be much appreciated.
Thanks for taking the time to read.
Cheers.
Tom


Top
 Profile  
 
 Post subject: Re: ST9160412AS possible corrupt serial flash
PostPosted: March 3rd, 2023, 15:39 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Can you upload the ROM dump?

The PUIS flag would be in the IAP segment.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: ST9160412AS possible corrupt serial flash
PostPosted: March 3rd, 2023, 15:48 
Offline

Joined: November 17th, 2007, 12:50
Posts: 12
I only tried the other board to verify if the spindle would spin up, I even held the contacts up off the contacts to the heads to avoid any data issues. I only wanted to hear the spindle spin.

by no means am I very adept at this, i know enough to try some basic things while still protecting the data as best I can.
I did not manipulate PUIS and am unaware on how to get terminal logs from this unit.

I'll be honest its not super important I get the data off, I would like it, but I can do without it. Its more of a learning opportunity.
I'll do some research on those items you mentioned. I can easily return the flash to the board and reinstall if necessary to tinker.

Thank you.
Tom.


Top
 Profile  
 
 Post subject: Re: ST9160412AS possible corrupt serial flash
PostPosted: March 3rd, 2023, 15:50 
Offline

Joined: November 17th, 2007, 12:50
Posts: 12
fzabkar wrote:
Can you upload the ROM dump?

The PUIS flag would be in the IAP segment.


I certainly can. see attached.


Attachments:
File comment: st9160412as
ST9160412AS.zip [427.51 KiB]
Downloaded 76 times
Top
 Profile  
 
 Post subject: Re: ST9160412AS possible corrupt serial flash
PostPosted: March 3rd, 2023, 16:42 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
The IAP segment contains an Identify Device data block.

The ATA standard states that bit #5 of word #86 is the PUIS enabled flag.

Bit #5 of word #83 is the PUIS supported flag.

    Word #83 = 0x7F69
    Word #86 = 0x0060

Therefore PUIS is supported and enabled. A tool such as HDAT2 can enable/disable PUIS.

Code:
Offset(d) 00   01   02   03   04   05   06   07   08   09

00000000  5A0C FF3F 8C73 1000 0000 0000 3F00 0000 0000 0000  Z.ÿ?Œs......?.......
00000010  2020 2020 2020 2020 2020 2020 5635 3747 4146 5950              V57GAFYP
00000020  0000 0080 0400 3030 3230 4543 3132 5453 3139 3036  ...€..0020EC12TS1906
00000030  3134 4132 2053 2020 2020 2020 2020 2020 2020 2020  14A2 S             
00000040  2020 2020 2020 2020 2020 2020 2020 1080 0000 002F                .€.../
00000050  0040 0002 0002 0700 FF3F 1000 3F00 10FC FB00 1001  .@......ÿ?..?..üû...
00000060  FFFF FF0F 0000 0700 0300 7800 7800 7800 7800 0000  ÿÿÿ.......x.x.x.x...
00000070  0000 0000 0000 0000 0000 1F00 0607 0000 4800 0000  ................H...
00000080  F001 2900 6B74 697F 2361 0000 6000 2361 7F00 1400  ð.).kti.#a..`.#a....
00000090  1400 8080 0000 0000 D0D0 0000 0000 0000 0000 0000  ..€€....ÐÐ..........
00000100  B09E A112 0000 0000 0000 0000 0000 0000 0050 00C5  °ž¡..............P.Å
00000110  5A2A 4225 0000 0000 0000 0000 0000 0000 0000 1E40  Z*B%...............@
00000120  1C40 0000 0000 0000 0000 0000 0000 0000 0000 B09E  .@................°ž
00000130  A112 B09E A112 2020 0200 4001 0001 0050 063C 0A3C  ¡.°ž¡.  ..@....P.<.<
00000140  0000 7800 0000 0800 0000 0000 1F00 8002 0000 0000  ..x...........€.....
00000150  0800 0000 0000 0000 0000 0000 0000 0000 003E 0080  .................>.€
00000160  0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ....................
00000170  0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ....................
00000180  0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ....................
00000190  0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ....................
00000200  0000 0000 0000 0000 0000 0000 3F10 0000 0000 0000  ............?.......
00000210  0000 0000 0000 0000 0000 0000 0000 201C 0000 0000  .............. .....
00000220  0000 0000 1010 0000 0000 0000 0000 0000 0000 0000  ....................
00000230  0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ....................
00000240  0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ....................
00000250  0000 0000 0000 0000 0000 A507                      ..........¥.


Attachments:
Identify_Device_Word_83.gif
Identify_Device_Word_83.gif [ 53.27 KiB | Viewed 1966 times ]
Identify_Device_Word_86.gif
Identify_Device_Word_86.gif [ 46.9 KiB | Viewed 1966 times ]

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: ST9160412AS possible corrupt serial flash
PostPosted: March 3rd, 2023, 23:35 
Offline

Joined: November 17th, 2007, 12:50
Posts: 12
Thank you, that put me in the right track, I used HDAT2 and got the drive spinning and disabled PUIS.
The drive is in pretty sad shape, it shows all partitions and your able to read some blocks, then errors out till the next reset then, rinse and repeat.
I'm slowly getting some from it so i'll have to say this was a success.
Thanks for all your help.
Tom.


Top
 Profile  
 
 Post subject: Re: ST9160412AS possible corrupt serial flash
PostPosted: March 4th, 2023, 18:34 
Offline

Joined: November 17th, 2007, 12:50
Posts: 12
I set it to the side for a day or three so i can get some pay jobs out of the way but I certainly will try your suggestions.

You were right on the money, booted a hdat2 disk and changed the setting and she spun right up.

Thanks again.
Tom.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: suricate.ch and 83 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group