[CRIU] Error on restore: Can't restore pid namespace without the process init...

Pavel Emelyanov xemul at parallels.com
Tue Mar 17 08:21:08 PDT 2015


On 03/17/2015 04:49 AM, divjyot sethi wrote:
> Hello,
> I am trying to do a suspend-resume with Criu. I turn the machine off after suspending and then restart
> the machine and do a restore. Restore seems to fail: gives the following log (data/restore.log):
> 
> (00.000460) TCP queue memory limits are 2097152:3145728
> (00.000985) cpu: fpu:1 fxsr:1 xsave:1
> (00.001211) vdso: Parsing at 7fffc42c9000 7fffc42cb000
> (00.001227) vdso: PT_LOAD p_vaddr: ffffffffff700000
> (00.001238) vdso: DT_HASH: 0xffffffffff700120
> (00.001246) vdso: DT_STRTAB: 0xffffffffff700268
> (00.001253) vdso: DT_SYMTAB: 0xffffffffff700160
> (00.001259) vdso: DT_STRSZ: 94
> (00.001266) vdso: DT_SYMENT: 24
> (00.001273) vdso: nbucket 3 nchain 11 bucket 0x7fffc42c9128 chain 0x7fffc42c9134
> (00.001288) vdso: rt [vdso] 7fffc42c9000-7fffc42cb000 [vvar] ffffffffffffffff-ffffffffffffffff
> (00.001381) Reading image tree
> (00.001443) Error (include/util.h:96): Unexpected EOF

This looks like corrupted images -- CRIU was unable to read some image
file it needed to.

> (00.001481) Migrating process tree (GID 3445->3027 SID 2587->2584)
> (00.001496) Will restore in 68020000 namespaces
> (00.001503) NS mask to use 68020000
> (00.001528) Collecting 35/21 (flags 0)
> (00.001559)  `- ... done
> (00.001624) Error (cr-restore.c:1662): Can't restore pid namespace without the process init
> 
> Can anyone please point out as to what I may be doing wrong here?

What version of CRIU do you use? There's no such messages in the recent 1.5.

Thanks,
Pavel



More information about the CRIU mailing list