[CRIU] [PATCH] arm: reset the CPSR.T bit when executing the infected code

Chanho Park chanho61.park at samsusng.com
Tue May 7 05:08:12 EDT 2013


> -----Original Message-----
> From: criu-bounces at openvz.org [mailto:criu-bounces at openvz.org] On Behalf
> Of Alexander Kartashov
> Sent: Tuesday, May 07, 2013 5:27 PM
> To: Chanho Park
> Cc: crml
> Subject: Re: [CRIU] [PATCH] arm: reset the CPSR.T bit when executing the
> infected code
> 
> On 05/07/2013 10:35 AM, Chanho Park wrote:
> > (00.057720) Error (parasite-syscall.c:224): Parasite exited with -22
> > (00.057756) Error (parasite-syscall.c:343): Can't init parasite
> > (00.057801) Error (parasite-syscall.c:762): 5664: Can't create a
> > transport socket
> > (00.057954) Error (parasite-syscall.c:224): Parasite exited with -2
> > (00.058219) Error (cr-dump.c:1408): Can't infect (pid: 5664) with
> > parasite
> > (00.058398) Unlock network
> > (00.058427) Unfreezing tasks into 1
> > (00.058451)     Unseizing 5664 into 1
> > (00.058634) Error (cr-dump.c:1640): Dumping FAILED.
> >
> > Could you run the test again using attached dump script?
> 
> Thank you, Chanho, for your stress test script.
> 
> Interestingly, the script fails on the restore stage after several
> iterations with the following error:
> 
> (00.036221)   2267: Error (tty.c:341): tty: Failed to set group 2100 on
> 1: Inappropriate ioctl for device
> (00.037518) Error (cr-restore.c:954): 2267 exited, status=255
> (00.037796) Error (cr-restore.c:1279): Restoring FAILED.
> 
> I'm afraid the issue has something to do with the host since I use the
> QEMU ARM Vexpress model to test the port.
> Things may be different in the real hardware.
> 
> Could you please apply the attached patch and send me failed dump log?

Hi Alexander,

I attached two types of failed log.
One is segfault and another is failed to dump the process incorrectly.
Please check attached log files.

Thank you.

Best regards,
Chanho Park
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.log.failed_dump
Type: application/octet-stream
Size: 5816 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130507/6eb308a1/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.log.segfault
Type: application/octet-stream
Size: 6308 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130507/6eb308a1/attachment-0003.obj>


More information about the CRIU mailing list