Re: dead device - usb mass storage

Alan Stern <[email protected]> Sat, 8 Dec 2007 10:51:33 -0500 (EST)
Newsgroups gmane.linux.usb.user
Message-ID <[email protected]>
On Sat, 8 Dec 2007, C=E9dric Villemain wrote:

> Hello,
> =

> I have an hard drive which is dying. So I use the great tool
> "dd_rescue" to recover it.
> =

> The main issue is that after few error, I have the following from
> syslog (which obviously stop the dd_rescue).
> =

> How can I prevent usb to detach the mass storage device even if there
> is lot of errors ? (actually i unplug/replug the device to continue
> the test)

> Dec  8 12:57:34 agecanonix kernel: usb 4-6: reset high speed USB
> device using ehci_hcd and address 14
> Dec  8 12:57:39 agecanonix kernel: usb 4-6: device descriptor read/64, er=
ror -71
> Dec  8 12:57:39 agecanonix kernel: usb 4-6: device descriptor read/64, er=
ror -71

> Dec  8 12:57:41 agecanonix kernel: sd 5:0:0:0: scsi: Device offlined -
> not ready after error recovery

It's not possible to prevent the detach, because the detach is done by =

the device itself rather than by Linux.  That's why you have to unplug =

the device to make it start working again.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: =

Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users