[CRIU] criu "Can't stat piggie"

Валентин Росавицкий valintinr at tangramltd.com
Sat May 4 06:49:57 EDT 2013


04.05.2013 13:38, Pavel Emelyanov пишет:
> On 05/04/2013 02:22 PM, Валентин Росавицкий wrote:
>> 04.05.2013 13:04, Pavel Emelyanov пишет:
>>> On 05/04/2013 01:59 PM, Валентин Росавицкий wrote:
>>>> Hello,
>>>> just compiled criu and can't run, getting error
>>>>
>>>> # ./criu dump -D checkpoint -t 534
>>>> (00.000119) Error (kerndat.c:37): Can't stat piggie: No such file or
>>>> directory
>>> You're probably using misconfigured kernel (in particular the
>>> CONFIG_CHECKPOINT_RESTORE option is the first suspect). What does
>>>
>>> # crtools check --ms
>>>
>>> say?
>>>
>>>> (00.000172) Error (cr-dump.c:1640): Dumping FAILED.
>>>>
>>>> Fresh installion, source code from git.criu.org
>>>>
>>>> ALT Linux Sisyphus x86_64
>>>> Linux ua132 2.6.32-ovz-el-alt84 #1 SMP Wed Mar 13 03:07:59 UTC 2013
>>>> x86_64 GNU/Linux
> Ah! I didn't pay attention to this on the first e-mail. On this kernel criu
> won't work, sorry. Plz, refer to http://criu.org/Installation page for info
> about how to configure the kernel, the minimal requirement is v3.9 now.
>
>>>> In kerndat.c - sprintf(maps, "/proc/self/map_files/%lx-%lx",
>>>> /proc/self/map_files/%lx-%lx - is this right?
>>> Yes. Why do you think it can be not?
>>>
>>>> Command running from HN
>>> Thanks,
>>> Pavel
>>>
>>>> _______________________________________________
>>>> CRIU mailing list
>>>> CRIU at openvz.org <mailto:CRIU at openvz.org>
>>>> https://lists.openvz.org/mailman/listinfo/criu
>>>>
>> Hmm, maybe
>> I thought it working in userspace and no need to configure kernel
> It does, but it uses very-very new kernel API extensions, thus some
> care about the kernel work is required. For now (before first stable
> v1.0 release) the most recent upstream kernel should be used.
>
> Thanks,
> Pavel
Ok, understand.
Thx a lot


More information about the CRIU mailing list