[CRIU] Restoring failed on ARMv7

Pavel Emelyanov xemul at parallels.com
Fri Oct 30 02:52:38 PDT 2015


On 10/30/2015 12:38 PM, Artem Kuzmitskiy wrote:
> Hi all,
> 
> I checked criu on armv7 with 3.16 kernel and got next error when restoring:
> ....
> (00.087176)   6034: task_args: 0xd6000
> task_args->pid: 6034
> task_args->nr_threads: 1
> task_args->clone_restore_fn: 0xd1c90
> task_args->thread_args: 0xd62c0
> pie: Switched to the restorer 6034
> pie: Error (pie/restorer.c:772): Unable to unmap (-): 1992687616

Ouch, the pie logging is ... not complete :) Can you strace the restoring
to see what's going on with this syscall?

> pie: Error (pie/restorer.c:1304): Restorer fail 6034
> (00.087584) Error (cr-restore.c:1927): Restoring FAILED
> ...
> 
> Is it current criu limitation or kernel should patched?

I'm not an expert on ARM :) Maybe Christopher would suggest something?

> Test performed on two versions of criu, details below.
> 
> Kernel version:
> 3.16 + configuration options from criu.org <http://criu.org>
> 
> Result of criu check --ms for criu 1.6(abdea652a94140269413681bfbaf3d90e5888052):
> 
> Warn  (cr-check.c:188): Skipping unssuported PR_SET_MM_MAP
> 
> Warn  (cr-check.c:592): Skipping PTRACE_O_SUSPEND_SECCOMP check
> 
> Warn  (cr-check.c:619): Dirty tracking is OFF. Memory snapshot will not work.
> 
> Warn  (tun.c:58): Skipping tun support check
> 
> Warn  (timerfd.c:48): timerfd: Skipping timerfd support check
> 
> Warn  (cr-check.c:296): Skipping mnt_id support check
> 
> Warn  (cr-check.c:706): Skipping unsupported AIO remap
> 
> Warn  (cr-check.c:722): fdinfo doesn't contain the lock field
> 
> Looks good.
> 
> 
> Result of criu check --ms for criu 1.7(4c5b23e52c1dc4e3fbbc7472b92e7b1ce9d22f02):
> 
> Warn  (cr-check.c:189): Skipping unssuported PR_SET_MM_MAP
> 
> Warn  (cr-check.c:588): Skipping PTRACE_O_SUSPEND_SECCOMP check
> 
> Warn  (cr-check.c:615): Dirty tracking is OFF. Memory snapshot will not work.
> 
> Error (timerfd.c:55): timerfd: No timerfd support for c/r: Inappropriate ioctl for device
> 
> Warn  (cr-check.c:702): Skipping unsupported AIO remap
> 
> Warn  (cr-check.c:718): fdinfo doesn't contain the lock field
> 
> 
> Thanks andvance.
> 
> -- 
> Best regards,
> Artem Kuzmitskiy
> 
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list