[CRIU] checkpoint/restore of an 32bit application on arm64

andi andi.platschek at gmail.com
Tue Oct 9 14:36:30 MSK 2018


Hi all,

I was wondering if anyone has ever looked into the possibility of supporting CONFIG_COMPAT for arm?

I have a legacy arm 32bit application that I am running in a 32bit lxc container on my aarch64 system that I
would like to checkpoint -- ideally the whole container.

Since there is no compatibility mode for arm I decided to try the next bet thing and checkpoint/restore
inside of the container. After dropping  all things security, a criu dump is possible without
errors, BUT restore is not working (I guess the problem could at this point also lie in a faulty dump?).

I am still scratching on the surface of the issue, trying to find out how much effort it would be to
implement support for this -- while doing so I thought I just drop a mail on the list to see if anyone
has ever looked into this issue and has any pointers (or warnings)?

many thanks in advance!
andi

P.S.: In case someone is wondering at what point the restore fails:

(00.055449) pie: 376: Error (criu/pie/restorer.c:1482): sys_prctl(PR_SET_MM, PR_SET_MM_MAP) failed with -14
(00.055471) pie: 376: Error (criu/pie/restorer.c:1700): Restorer fail 376
(00.055515) Error (criu/cr-restore.c:2266): Restoring FAILED.



More information about the CRIU mailing list