<div dir="ltr"><span style="color:rgb(0,0,0);font-size:12.8px">Hello Christopher,</span><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">Prevosuly the kernel was configured. But now,</div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">I am using Android L on Qemu aarch64, with a custom kernel (3.10.0+) enabled all the pre-requisite kernel config options required for CRIU and criu is statically compiled. The version of criu is i think 1.8 as I have clone the git repo on 22nd January. </div><div style="color:rgb(0,0,0);font-size:12.8px"> </div><div style="color:rgb(0,0,0);font-size:12.8px">Now it gives me error like this:</div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px"><div>00.026638) Probing sock diag modules</div><div>(00.044599) Done probing</div><div>(00.044779) ========================================</div><div>(00.044854) Dumping processes (pid: 8580)</div><div>(00.045001) ========================================</div><div>(00.046622) Pagemap is fully functional</div><div>(00.047504) Error (kerndat.c:154): Can&#39;t stat self map_files 2: No such file or directory</div><div>(00.048080) Unlock network</div><div>(00.048421) Unfreezing tasks into 1</div><div>(00.048732) Error (cr-dump.c:1578): Dumping FAILED.</div></div><div class="" style="color:rgb(0,0,0);font-size:12.8px"></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font size="2">Best Regard -- <font color="#0b5394">ALLAH Hafiz</font>, <font color="#0b5394">May</font><font color="#0b5394"> Almighty ALLAH bless you</font></font></div>
        
  <p style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px">
      
    </p>
    <table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;border-spacing:0px;color:rgb(51,51,51);line-height:18.2000007629395px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:30px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;width:auto"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:0"><a href="https://about.me/yousafzaiabdullah?promo=email_sig" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;display:inline-block" target="_blank"><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:48px;line-height:1"><img alt="--" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><img src="https://s.gravatar.com/avatar/fed5b9284cee3e24148b0240c5def1e1?s=80" alt="" width="48" height="48" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block"></div></td><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:8px"> </td><td align="left" valign="middle" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:middle;width:auto;height:48px;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;color:rgb(51,51,51)">Abdullah Yousafzai</div><div style="margin:2px 0px 0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline"><img alt="https://" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden">about.me/yousafzaiabdullah</div></td></tr></tbody></table></a>                                 </div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:20px"><img src="https://about.me/t/sig?u=yousafzaiabdullah" width="1" height="1" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;overflow:hidden"></td></tr></tbody></table>
     <p style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px">
      </p>

    <p style="font-family:Helvetica,Arial,sans-serif;font-size:9px;line-height:12px"></p></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 28, 2016 at 10:21 PM, Christopher Covington <span dir="ltr">&lt;<a href="mailto:cov@codeaurora.org" target="_blank">cov@codeaurora.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Abdullah,<br>
<span class=""><br>
On 01/27/2016 09:47 PM, Abdullah Yousafzai wrote:<br>
&gt; Hello Christopher,<br>
&gt;<br>
&gt; is it possible that you can search in your collection the Android.mk<br>
&gt; file you created<br>
<br>
</span>Sorry if I wasn&#39;t clear. I&#39;ve never actually written an Android.mk. I<br>
cross compiled using the Linaro (glibc based) prebuilt toolchain. Those<br>
steps are on the wiki:<br>
<br>
<a href="https://web.archive.org/web/20150119071634/http://criu.org/Installation" rel="noreferrer" target="_blank">https://web.archive.org/web/20150119071634/http://criu.org/Installation</a><br>
<span class=""><br>
&gt; so that I can re-use and not spend time in re-inventing the wheel and<br>
&gt; one another minor question, the android you have tested was using a<br>
&gt; custom kernel build with &quot;CONFIG_CHECKPOINT_RESTORE&quot; enabled?.<br>
<br>
</span>Yes, the kernel was rebuilt with the CRIU-required options enabled. I&#39;ve<br>
historically used mostly-vanilla upstream kernels with an Android<br>
userspace, but some of my colleagues used real Android kernels with the<br>
configuration changes applied. More options than just<br>
CONFIG_CHECKPOINT_RESTORE are required:<br>
<br>
<a href="https://web.archive.org/web/20150119071634/http://criu.org/Installation#Linux_Kernel" rel="noreferrer" target="_blank">https://web.archive.org/web/20150119071634/http://criu.org/Installation#Linux_Kernel</a><br>
<br>
(Using the wayback machine because I&#39;m having trouble with <a href="http://criu.org" rel="noreferrer" target="_blank">criu.org</a> at<br>
the moment.)<br>
<br>
What version of Android and the kernel are you using? My recollection is<br>
that some of the older Android kernels required CRIU-related patches be<br>
backported, but maybe around Lollipop the kernel became new enough to<br>
not need backports.<br>
<span class=""><br>
&gt; Also a last question If my kernel is enabled with<br>
&gt; &quot;CONFIG_CHECKPOINT_RESTORE&quot;, than can I use a statically linked<br>
&gt; binary as right when I am using statically compiled binary it gives<br>
&gt; the following error:<br>
&gt;<br>
&gt; Error (sockets.c:128): Diag module missing (-2)<br>
&gt; Error (sockets.c:128): Diag module missing (-2)<br>
&gt; Error (sockets.c:128): Diag module missing (-2)<br>
&gt; Error (kerndat.c:154): Can&#39;t stat self map_files 2: No such file or<br>
&gt; directory<br>
&gt; Error (cr-dump.c:1578): Dumping FAILED.<br>
<br>
</span>What version of CRIU are you using? I see some recent map_files related<br>
changes in the git log.<br>
<br>
Regards,<br>
Cov<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Qualcomm Innovation Center, Inc.<br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,<br>
a Linux Foundation Collaborative Project<br>
</div></div></blockquote></div><br></div>