[CRIU] [PATCH] s390: Prevent GOT relocations

Adrian Reber areber at redhat.com
Mon Jul 17 21:03:15 MSK 2017


On Mon, Jul 17, 2017 at 07:55:46PM +0200, Michael Holzheu wrote:
> Am Mon, 17 Jul 2017 19:21:21 +0200
> schrieb Michael Holzheu <holzheu at linux.vnet.ibm.com>:
> 
> > Am Mon, 17 Jul 2017 10:07:23 +0200
> > schrieb Adrian Reber <areber at redhat.com>:
> > 
> > > On Fri, Jul 14, 2017 at 02:56:26PM +0200, Michael Holzheu wrote:
> > > > 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?
> > > 
> > > https://lisas.de/~adrian/dump-log.s390
> > 
> > I assume that the target process "somehow" dies very early when
> > the parasite code is started:
> 
> I just noticed in my RHEL7 kernel that the memfd_create() system call is
> not supported.
> 
> Can you ensure that your kernel supports this one? 

I backported this:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7bb1cdbfe2b07d9272b4b132511c82527314b00f

So I assume I did it correctly. But there is always a chance I did
something wrong.

		Adrian


More information about the CRIU mailing list