All times are UTC - 5 hours [ DST ]


Switch to mobile style


Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 19:45 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
guru wrote:
An that thing. What's the best, is it Deepspar? Must admit I haven't looked at current market hardware for many years


PC-3000 DE it's better that Deppspar Disk Imager 4.

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


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 19:45 
Offline
User avatar

Joined: May 5th, 2004, 20:06
Posts: 2831
Location: England
Support individual head imaging?

_________________
All went well until I plugged the drive in.


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 19:46 
Offline
User avatar

Joined: May 5th, 2004, 20:06
Posts: 2831
Location: England
Why is it better than DDI4?

_________________
All went well until I plugged the drive in.


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 19:47 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
data-medics wrote:
The ATA commands themselves should be pretty straight forward if the driver allows direct commands to be given.

The OP has written "pass-through" patch for ddrescue that does exactly that.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 19:49 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
data-medics wrote:
I would think it's theoretically possible to make software to do it, however I'd bet it would have to be a bootable custom build. In any OS there's going to be drivers already managing the drives which I'd tend to doubt allow software to send such direct commands to the drive. Possibly you could build a custom driver to plug into an existing OS such as Linux which would allow this, but you'd need someone with extensive knowledge of these drivers. This might be a better question to ask on a Linux development forum. The ATA commands themselves should be pretty straight forward if the driver allows direct commands to be given.


Tools like WDR, SRT, etc are NOT depending of external hardware (they use the mapped ports on windows and a driver to gain direct I/O accdess) yet they are capable of doing the Soft-Reset.

I don't think the issue is whith sending a soft reset by software only, as even tests with HDDScripTool revealed that it's possible to do so (put the drive intro sleep mode, etc ....). I think the big question was if there are software only cloning tools that do the soft reset :)

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


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 19:53 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
guru wrote:
Why is it better than DDI4?


DDI4 have it's own bootable code and will not work under a windows OS.
While it does great job imaging (i've used one several times) and while it image/clone by heads and can even do small firmware fix like the WD slow fix, the PC-3000 DE have the big advantage of working with the PC-3000 Utilities.

For example, on a Seagate drive you can boot from a loader with the active utility option on DE, meaning that if you have pending bug or damaged app code or whatever you can boot the drive and directly clone it, while DDI4 can't do that.

Same for cloning Toshiba drives with damaged translator, etc ... DE (or the MRTLabs DE for that matter) are "more powerfull" than DDI4 that it's a cloning tool only.

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


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 19:55 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
guru wrote:
Why is it better than DDI4?


I was under the impression that you would have both PC-3000 UDMA with DE and DDI4 ....
Guess i was wrong.

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


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 20:00 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
It doesn't address the OP's quest for a software solution, but I've always thought that it might be worth exploring the possibility of placing the PCB's "POK" signal, or equivalent, under control of the imaging tool. Hopefully, inactivating this signal will not cause the drive to unload its heads and spin down the motor. With any luck it'll behave like a watchdog timeout and cause the code to reset itself without any "brutal" physical activity. ISTM that a Maxtor DiamondMax Plus 9 drive would be a suitable candidate for experimentation since it uses the well documented SMOOTH L7250 motor controller, as well as identifying the test points on the PCB. A single open-collector transistor driven from a COM, LPT, or USB port would then suffice to control this signal.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 20:04 
Offline
User avatar

Joined: May 5th, 2004, 20:06
Posts: 2831
Location: England
@spildit ;) no DDI4

_________________
All went well until I plugged the drive in.


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 20:23 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
guru wrote:
@spildit ;) no DDI4


Uhhmmm...
Interesting :)
Please check PM !

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


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 28th, 2015, 23:41 
Offline

Joined: January 29th, 2012, 1:43
Posts: 995
Location: United States
data-medics wrote:
I would think it's theoretically possible to make software to do it, however I'd bet it would have to be a bootable custom build. In any OS there's going to be drivers already managing the drives which I'd tend to doubt allow software to send such direct commands to the drive. Possibly you could build a custom driver to plug into an existing OS such as Linux which would allow this, but you'd need someone with extensive knowledge of these drivers. This might be a better question to ask on a Linux development forum. The ATA commands themselves should be pretty straight forward if the driver allows direct commands to be given.

Can be done directly in Linux without a driver (the program can be the driver). The BIOS has to be in IDE mode for SATA drives (AHCI will not work as there would definitely be a conflict with the driver). And there is the possibility that the hardware (computer) does not properly emulate the IDE mode and Linux ends up using the AHCI driver anyway (have seen that already on one of my computers). Those computers would simply not work with SATA. But computers are cheap compared to data recovery hardware. The up side is that it can run on a computer with Linux installed, or run from a live CD (you have to provide the program on something like a USB stick as it would not be on the live CD).

The trick is to plug the drive in AFTER Linux boots up, and the drive should be the only one on that "channel". I can see a drive when it is plugged in after boot, but Linux does nothing to even give it a listing as a drive. And if it doesn't recognize there is a drive there and there is no other drive on the same channel, there should (in theory) be no driver conflict issue. Still has to be fully tested, but initial tests are proving to be good.

I just figured out how to do the direct I/O last week, and am wondering what the market would be for something like this if I can make it work and be safe and dependable. The downside is I don't do graphical interfaces, so it would be command line. But I can still do simple menus. And I may just have to learn ncurses so I could make a command window interface like testdisk uses.

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 29th, 2015, 0:25 
Offline

Joined: January 29th, 2012, 1:43
Posts: 995
Location: United States
Hard (power cycle) resets could be done easily with a USBmicro U451 USB Relay Interface. Programming examples are already provided. And it is affordable. More info found here:
http://www.usbmicro.com/

Edit: Just ordered one :)

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 29th, 2015, 16:59 
Offline
User avatar

Joined: April 3rd, 2011, 0:19
Posts: 2020
Location: Providence, RI
I'm not sure how much it costs but EPOS makes a BadDrive Adapter which is a hardware device capable of setting the timeouts and I'm pretty sure it'll handle the soft/hard resets as needed, while still allowing the system to access the drive as normal: http://www.epos.ua/view.php/products_ep ... ve_adapter

Might be a nice option for you if the price isn't bad.

_________________
Data Medics - Hard Drive, SSD, and RAID Data Recovery Service Company


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 29th, 2015, 19:22 
Offline

Joined: January 29th, 2012, 1:43
Posts: 995
Location: United States
data-medics wrote:
I'm not sure how much it costs but EPOS makes a BadDrive Adapter which is a hardware device capable of setting the timeouts and I'm pretty sure it'll handle the soft/hard resets as needed, while still allowing the system to access the drive as normal: http://www.epos.ua/view.php/products_ep ... ve_adapter

Might be a nice option for you if the price isn't bad.

Price is estimated at $450. Not cheap and does not do what I would want it to.

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 29th, 2015, 19:25 
Offline

Joined: January 29th, 2012, 1:43
Posts: 995
Location: United States
I am going to consider this question answered. And the answer would seem to be no, there is not a software only option that can do this. So that would mean it is time for me to start writing one :mrgreen:

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 29th, 2015, 20:06 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
maximus wrote:
I am going to consider this question answered. And the answer would seem to be no, there is not a software only option that can do this. So that would mean it is time for me to start writing one :mrgreen:


Cool !
Sounds good :)

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


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: March 30th, 2015, 2:44 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 11038
Location: Portugal
Well, there is also another issue.
Even if a software tool can do the soft reset you will still be depending on the motherboard to interact with the drive, meaning that if you plug a bad drive to the board and it hangs in a way that soft reset can't take it out of bsy state or if somehow the board doesn't like some output from the drive and hangs you will not be able to do the clone.
It will still be better than not having the soft reset at all, but wouldn't be a match for a hardware cloning tool that deals with the direct I/O with the drive (i'm not talking of hardware tool that can power off/on the drive only).

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


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: May 25th, 2015, 5:49 
Offline

Joined: April 17th, 2015, 2:05
Posts: 33
Location: India
well one could create simple circuit which interacts with linux program through usb port. Which inturn is connected to a relay and can do a physical reset or power reset. Whenever the device hangs and cannot be reset the program can instruct the the circuit to do a power reset. This circuit can be built using a simple micro-controllers such has atmega. The whole circuit can built for 10$.
here is one such product
http://www.ebay.com/itm/5V-1-Channel-US ... 1486776468
Well still the software would lack the features of high end hardware device such has selective head imaging. Has this commands are not present in the ata specification


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: May 25th, 2015, 9:28 
Offline

Joined: January 29th, 2012, 1:43
Posts: 995
Location: United States
I paid a bit more than that for my USBMicro U451 (almost $45 with shipping)
http://www.usbmicro.com/
But they had a small amount of source code for Linux on their website for me to work with. I have written a small C program for it that can control the relays. I am also curious about getting a USB device that can do JTAG.

I have also been working on direct IO port operations in Linux which give access to perform a software reset. I am hoping to be able produce a new cloning tool in the future, one that does not rely on the operating system to access the disk.

For now, there is ddrescue. With version 1.19 and using my passthrough patch, it should be possible to write a simple shell script that calls ddrescue, and depending on ddrescue exit code could call a program to power cycle the drive via USB device, then call ddrescue again to resume. As for not being able to do selective head imaging, with ddrescue 1.19 you can adjust the skip size to "skip" out of the bad head, and then get any missed data on the good head(s) on the reverse pass.

When Antonio releases ddrescue 1.20, I will make an updated patch that will work a little bit better for the exit code. Someone has pointed out that it currently does not work well in all conditions.

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: May 25th, 2015, 20:51 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3779
Location: Adelaide, Australia
maximus wrote:
I am also curious about getting a USB device that can do JTAG.


Don't skimp on this too much, I recommend starting backward in your research to find a USB JTAG tool..
1. work out what JTAG software you want to use
2. research relevant hardware options and make sure the device you choose is well supported - not partially supported or has limitations.


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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