[CRIU] crtools error checkpoint/restore error ("Unable to open pstree.img")

Kevin Wilson wkevils at gmail.com
Tue Mar 26 13:18:46 EDT 2013


Hello,
I added --tcp-established; now I run:
./crtools dump -x --tcp-established -v 4 -o dump.log -D checkpoint -t 809

I get strange error:
Can't get CS register: No such process

Attached is dump.log

Best,
Kevin


On Tue, Mar 26, 2013 at 7:03 PM, Pavel Emelyanov <xemul at parallels.com> wrote:
> On 03/26/2013 08:44 PM, Kevin Wilson wrote:
>> Hi,
>> Tried it with -x.
>> in dump.log, this is the (first) error I get:
>>
>> Error (ptrace.c:75): Unseizeable non-zombie 527 found, state R
>> This error appears several times in the log.
>
> This means, that ptrace cannot attach to the process. Do you run crtools as root?
>
> And there's actually a bug in there, thanks! I'll fix that up.
>
>> And there is another error:
>>
>> (00.112477) Error (sk-inet.c:136): Connected TCP socket, consider
>> using tcp-established option.
>
> Dumping and restoring alive TCP connection is quite tricky. You can use the
> proposed --tcp-established option, to state, that you do understand how it works
> and what you should do between dump and restore and let crtools dump and restore
> the TCP connection for you.
>
>> Attached here is dump.log
>>
>> Best,
>> Kevin
>>
>> On Tue, Mar 26, 2013 at 11:04 AM, Cyrill Gorcunov <gorcunov at openvz.org> wrote:
>>> On Tue, Mar 26, 2013 at 10:47:25AM +0200, Kevin Wilson wrote:
>>>> (00.001575) Lock network
>>>> (00.001699) lockinfo: 6:POSIX ADVISORY WRITE 473 00:12:11656 0 EOF
>>>> (00.001745) Error (cr-dump.c:1055): Some file locks are hold by dumping tasks!Yo
>>>> u can try -l to dump them.: No such file or directory
>>>> (00.001786) Unlock network
>>>> (00.001803) Unfreezing tasks into 1
>>>> (00.001813)   Unseizeing 473 into 1
>>>>
>>>> 3) I also added "-l" as suggested in the error message.
>>>> Now the dump file is too big to be inlined in this message; I am
>>>> attaching it to this mail.
>>>>
>>>
>>> There is /dev/log external socket found. Try to checkpoint with additional
>>> "-x" option.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.log
Type: application/octet-stream
Size: 207812 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130326/1ecf3fd1/attachment-0001.obj>


More information about the CRIU mailing list