Google
  Web www.spinics.net

Re: dead device - usb mass storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Sat, 8 Dec 2007, Cédric 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, error -71
> Dec  8 12:57:39 agecanonix kernel: usb 4-6: device descriptor read/64, error -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
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users


[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux