MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 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: 991
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: 991
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: 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: 991
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: 3903
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  
 
 Post subject: Re: Software only cloning tool that can do soft resets?
PostPosted: May 25th, 2015, 21:06 
Offline

Joined: January 29th, 2012, 1:43
Posts: 991
Location: United States
HaQue wrote:
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.

I need to be able to access it using C in Linux. That is why I spent $45 on a USB relay controller, instead of $10 on one that I couldn't be sure I could write controlling software for. There must be documentation and ability to access the device with raw commands, or I don't want it.

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


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

Joined: December 4th, 2012, 1:35
Posts: 3903
Location: Adelaide, Australia
Found this, may be relevant.:

Quote:
This apparatus was built to reset the drive, allowing easy scripting and automated tasks. One USB to serial cable controls the relay, the second is connected to the serial port of the drive. The SATA cable is connected through a USB-SATA adapter for backdoor development. It is then directly connected to a computer motherboard for the field tests.


https://www.ibr.cs.tu-bs.de/users/kurmus/papers/acsac13.pdf

There is so little work done (publicly, aside from the NSA). The first 2 references are amusing...
Quote:
References
[1] HDD Guru Forums, 2013. URL http://forum. hddguru.com/.
[2] Jeroen Domburg (a.k.a. Sprite tm). HDD Hacking. URL http://spritesmods.com/?art=hddhack. Talk given at OHM 2013.


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

All times are UTC - 5 hours [ DST ]


Who is online

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