[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] Cannot abort reading from faulty device
From: |
mittendorf |
Subject: |
Re: [Bug-ddrescue] Cannot abort reading from faulty device |
Date: |
Mon, 11 Dec 2017 10:09:30 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
Hi Antonio,
On 12/08/2017 07:47 PM, Antonio Diaz Diaz wrote:
> address@hidden wrote:
>>> It looks like a bug or limitation in the kernel driver (the read call
>>> blocks forever until you disconnect the drive).
>>
>> So there is nothing that can be done about this? It's an USB HDD, so it
>> is a quite common device type...
>
> Maybe I could find the way to make ddrescue exit in this case, but if
> the kernel continues locked on the drive, you would need to disconnect
> it anyway for it to respond again. So, not sure if it is worth the
> trouble. In addition, I think I have never found this problem myself
> and couldn't therefore test a possible workaround.
well, I think it would be great to show the user what happens compared
to a frozen CUI and a user not knowing whether something is still
happening /will happen.
I also noticed for that very device that the slow-read definition
-a5000000 , which should define < 5MBs as slow read from my
understanding, and a current speed of less than 100KBs the "slow read"
counter is stuck at 0.
Thank you.