<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>2015-12-22 8:58 GMT+01:00 Cyrill Gorcunov <span dir="ltr"><<a href="mailto:gorcunov@gmail.com" target="_blank">gorcunov@gmail.com</a>></span>:<br></div></div></div></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Dec 22, 2015 at 08:39:30AM +0100, Federico Reghenzani wrote:<br>
> Ok loaded modules are:<br>
> Module Size Used by<br>
> evdev 24576 0<br>
> pcspkr 16384 0<br>
> coretemp 16384 0<br>
> xen_netfront 28672 0<br>
> sch_fq_codel 20480 3<br>
> ip_tables 28672 0<br>
> x_tables 28672 1 ip_tables<br>
> ext4 507904 2<br>
> crc16 16384 1 ext4<br>
> mbcache 20480 1 ext4<br>
> jbd2 90112 1 ext4<br>
> xen_blkfront 36864 4<br>
> It's a standard archlinux install with a recompiled kernel 4.2.5 (to<br>
> enable the C/R flag) on a Xen server. If you think that this platform<br>
> setup may be problematic, just tell me and I will try on a standard<br>
> non-virtual machine.<br>
<br>
</span>No no, all seems to be fine (there some module, iirc it was pktgen which<br>
creates own kernel thread upon namespace creation which cause criu to<br>
fail because we can't create namespace with pid needed, but this is<br>
not your case).<br>
<span class=""><br>
> I attached the tree generated by criu_restore_child() (orted-restore is<br>
> the software that calls CRIU APIs, and orted is the successfully restored<br>
> application with its child "sleep 50"). I got a 50% rate of successful<br>
> restore and 50% of pid mismatch.<br>
<br>
</span>Btw, maybe you would be able to start restore under the strace? Something<br>
like "strace -f -o /log.txt -s 512 criu restore ..." and show us the /log.txt?<br>
If run under criu service, then the service itself might be started with<br>
strace if i'm not missing something obvious.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Attached!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> Also I have no stdout/stderr from orted, but I have the stdout/stderr of<br>
> its children, I'm not sure if it is orted or criu problem (before the dump<br>
> stdout/stderr works), I'm investigating on it. <br>
</div></div></blockquote></div><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra">Federico</div></div>