bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] EOF found before end of logfile on FreeBSD 10


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] EOF found before end of logfile on FreeBSD 10
Date: Thu, 10 Jul 2014 18:10:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello Frank,

Frank Leonhardt wrote:
I'm getting oddness drying to copy a drive to a file. This is pasted:

Your report does not make sense to me. Maybe you have mixed logfiles or something. The status from ddrescue says it is "Splitting failed blocks...", but the status from the logfile says ddrescue is trimming failed blocks:
  # current_pos  current_status
  0x11AF9FC00     *

It seems the logfile attached is from a previous run.


There's plenty of space on the destination drive.

This problem has nothing to do with the destination. The problem is that the system is reporting End Of File in the input file in the middle of the file (5082 MB of 163928 MB) after 99.99% of the data beyond 5082 MB has already been successfully copied.


I'm wondering if this may be related for FreeBSD 10.0 having changed compiler from gcc to CLANG?

Maybe, but this problem seems more probable to be in the kernel or in the C library than in ddrescue. It seems as if the C library function "read" is returning a value of 0, meaning EOF. (See io.cc line 63).


Finally, thanks a bunch for maintaining this!

You are welcome. :-)


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]