[CRIU] [PATCH] s390: Prevent GOT relocations

Michael Holzheu holzheu at linux.vnet.ibm.com
Fri Jul 14 15:56:26 MSK 2017


Am Fri, 14 Jul 2017 14:08:31 +0200
schrieb Adrian Reber <areber at redhat.com>:

> Thanks for the patch. I tried it on my s390 test system and I get the
> following error now:

Ok, fine - at least we don't see the compiler error any more.

> 
> (00.002625)        f15 0000000000000000
> (00.002626)        No VXRS
> (00.002628) Putting tsock into pid 24
> (00.002639) ptrace_set_regs: pid=24
> (00.002656) Error (compel/src/lib/infect.c:633): Unable to connect a transport socket: Function not implemented
> (00.002665) Error (compel/src/lib/infect.c:559): Can't inject syscall blob (pid: 24)
> (00.002667) Error (compel/src/lib/infect.c:1312): munmap for remote map 0x3fffd5c5000, 53248 returned 4398002229248
> (00.002669) Error (criu/cr-dump.c:1362): Can't infect (pid: 24) with parasite
> (00.002720) Unlock network
> (00.002735) Unfreezing tasks into 1
> (00.002737) 	Unseizing 24 into 1
> (00.002740) Error (compel/src/lib/infect.c:341): Unable to detach from 24: No such process
> (00.002745) 	Unseizing 25 into 1
> (00.002754) Error (criu/cr-dump.c:1800): Dumping FAILED.

I think the problem is not related to the patch.
Could you send me the full log?
 
> Could it be that my s390 kernel is missing something?
> 
> # criu/criu check --all
> Error (criu/cr-check.c:626): Kernel doesn't support PTRACE_O_SUSPEND_SECCOMP
> Error (criu/cr-check.c:670): Dumping seccomp filters not supported: Input/output error
> Warn  (criu/cr-check.c:683): Dirty tracking is OFF. Memory snapshot will not work.
> Error (criu/cr-check.c:895): cgroupns not supported. This is not fatal.
> Warn  (criu/net.c:2504): Unable to get a socket network namespace
> Warn  (criu/cr-check.c:1044): CRIU built without CONFIG_COMPAT - can't C/R ia32
> Error (criu/cr-check.c:1060): UFFD is not supported
> Looks good but some kernel features are missing
> which, depending on your process tree, may cause
> dump or restore failure.

I am not sure if one of the errors / warnings can explain your error.

Michael



More information about the CRIU mailing list