[CRIU] CRIU tries to dump VFP registers while there is not VFP

Radostin Stoyanov rstoyanov1 at gmail.com
Tue Aug 20 22:02:34 MSK 2019


On 20/08/2019 19:42, Radostin Stoyanov wrote:
> Hi Maikel,
>
> What is your CRIU version, kernel version and CPU architecture?

P.S. it seems like CRIU assumes that CONFIG_VFP is enabled for arm: 
https://github.com/checkpoint-restore/criu/commit/9c5817391 which is 
likely the reason for the failure.

What is the output of $ cat /proc/cpuinfo | grep vfp ?

>
> On 20/08/2019 12:59, Maikel Coenen wrote:
>> Hi all,
>>
>> I’m currently experimenting with CRIU to dump a Java application. 
>> Unfortunately, it fails during dump because it tries to save the VFP 
>> register while I don’t have a VFP.
>>
>> (19.642166) Collecting fds (pid: 1031)
>> (19.642209) ----------------------------------------
>> (19.644116) Found 123 file descriptors
>> (19.644203) ----------------------------------------
>> (19.656345) Set up parasite blob using memfd
>> (19.656457) Putting parasite blob into 0xb6c44000->0xab1b3000
>> (19.657000) Dumping GP/FPU registers for 1031
>> (19.657078) Error (compel/arch/arm/src/lib/infect.c:78): Can't obtain 
>> FPU registers for 1031: Input/output error
>> (19.657202) Error (compel/src/lib/infect.c:675): Can't obtain regs 
>> for thread 1031
>> (19.658142) Error (criu/cr-dump.c:1280): Can't infect (pid: 1031) 
>> with parasite
>> (19.658964) Unlock network
>> (19.659036) Unfreezing tasks into 1
>> (19.669074) Error (criu/cr-dump.c:1732): Dumping FAILED.
>>
>> Did I make a mistake in the build process using Yocto for CRIU or my 
>> kernel or is it another setting of CRIU which I must enable/disable?
>>
>> Kind regards,
>>
>> Maikel Coenen
>>
>>
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
>



More information about the CRIU mailing list