<div dir="ltr"><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 24, 2014 at 11:50 AM, Cyrill Gorcunov <span dir="ltr"><<a href="mailto:gorcunov@gmail.com" target="_blank">gorcunov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">On Thu, Apr 24, 2014 at 07:45:45PM +0400, Cyrill Gorcunov wrote:<br>
> > Warn A (sockets.c:630): The current kernel doesn't support netlink_diag<br>
> > Error (sockets.c:240): Sockets (family 1, proto 0) are not collected<br>
> > Error (sk-unix.c:173): Unix socket 0x3327 not found<br>
><br>
> It looks like the kernel doesn't support DIAG feature (either too old, either<br>
> diag modules are not loaded), but application you're checkpointing uses unix<br>
> socket and criu fail to proceed because it can't fetch information needed<br>
> from the kernel. Could you try to load diag modules? (for unix sockets<br>
> it should be something like "modprobe unix_diag").<br>
<br>
</div>FWIW, currently here are the modules loaded on my test machine<br>
<br>
[cyrill@moon criu] lsmod | grep "diag"<br>
netlink_diag 12669 0<br>
af_packet_diag 12611 0<br>
udp_diag 12801 0<br>
tcp_diag 12591 0<br>
inet_diag 18221 2 tcp_diag,udp_diag<br>
unix_diag 12601 0<br>
[cyrill@moon criu]</blockquote><div><br></div><div><br></div><div>Cyrill,<br></div><div><br></div><div>Thanks - I'm kind of a linux newbie. How do I get netlink_diag and packet_diag to load (both were warnings when doing crtools check). </div>
<div><br></div><div>Here is where I'm at thus far:</div><div><br></div><div><div>ubuntu@ip-10-118-238-44:/mnt/mydata$ sudo modprobe packet_diag</div><div>modprobe: FATAL: Module packet_diag not found.</div></div><div>
<br></div><div><br></div><div>ubuntu@ip-10-118-238-44:/mnt/mydata$ lsmod | grep "diag"</div><div>udp_diag 12801 0</div><div>tcp_diag 12591 0</div><div>inet_diag 18543 2 tcp_diag,udp_diag</div>
<div><br></div><div><br></div><div><div>ubuntu@ip-10-118-238-44:/mnt/mydata$ sudo ./criu/criu-1.2/crtools check</div><div>Warn (libnetlink.c:53): ERROR -2 reported by netlink</div><div>Warn (libnetlink.c:53): ERROR -2 reported by netlink</div>
<div>Warn (sockets.c:620): The current kernel doesn't support packet_diag</div><div>Warn (libnetlink.c:53): ERROR -2 reported by netlink</div><div>Warn (sockets.c:630): The current kernel doesn't support netlink_diag</div>
<div>The sock diag infrastructure is incomplete.</div><div>Make sure you have:</div><div> 1. *_DIAG kernel config options turned on;</div><div> 2. *_diag.ko modules loaded (if compiled as modules).</div></div><div><br></div>
<div> </div></div></div></div>