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

Kevin Wilson wkevils at gmail.com
Tue Mar 26 13:42:38 EDT 2013


Hello,
Strangely, there is no /proc/940.

Maybe this process was killed ?

I will try again this test from scratch, after rebooting,
and dumping before all entries under /proc to see
whether it was killed by checkpointing.

Best,
Kevin


On Tue, Mar 26, 2013 at 7:34 PM, Cyrill Gorcunov <gorcunov at openvz.org> wrote:
> On Tue, Mar 26, 2013 at 09:32:29PM +0400, Cyrill Gorcunov wrote:
>> On Tue, Mar 26, 2013 at 09:31:23PM +0400, Cyrill Gorcunov wrote:
>> > On Tue, Mar 26, 2013 at 07:28:42PM +0200, Kevin Wilson wrote:
>> > > Hello,
>> > > First I want to mention that I run as root.
>> > > Second, any idea what does it mean
>> > > "Can't checkpoint task running in compat mode" in this log ?
>> > >
>> > > What is this "compat mode"?
>> >
>> > Compat mode is when 32bit task runs in 64bit kernel. In other words.
>> > one of the task you're trying to dump has been compiled in 32bit
>> > mode and now crtools can't handle it (for now we don't support
>> > such tasks).
>>
>> I would suggest to take a look into "ps afx" output, then check
>> the log and find which exactly task is failing (by looking up
>> into pid of the task).
>
> Or simplier, say you got in log
>
> (00.315689) Error (cr-dump.c:1286): Can't infect (pid: 940) with parasite
>
> just do
>
> $ cat /proc/940/comm
>
> and
>
> $ cat /proc/940/cmdline
>
>         Cyrill


More information about the CRIU mailing list