[CRIU] CRIU user question

J F jgmb45 at gmail.com
Thu Apr 24 09:45:22 PDT 2014


On Thu, Apr 24, 2014 at 11:50 AM, Cyrill Gorcunov <gorcunov at gmail.com>wrote:

> On Thu, Apr 24, 2014 at 07:45:45PM +0400, Cyrill Gorcunov wrote:
> > >    Warn A (sockets.c:630): The current kernel doesn't support
> netlink_diag
> > >    Error (sockets.c:240): Sockets (family 1, proto 0) are not collected
> > >    Error (sk-unix.c:173): Unix socket 0x3327 not found
> >
> > It looks like the kernel doesn't support DIAG feature (either too old,
> either
> > diag modules are not loaded), but application you're checkpointing uses
> unix
> > socket and criu fail to proceed because it can't fetch information needed
> > from the kernel. Could you try to load diag modules? (for unix sockets
> > it should be something like "modprobe unix_diag").
>
> FWIW, currently here are the modules loaded on my test machine
>
> [cyrill at moon criu] lsmod | grep "diag"
> netlink_diag           12669  0
> af_packet_diag         12611  0
> udp_diag               12801  0
> tcp_diag               12591  0
> inet_diag              18221  2 tcp_diag,udp_diag
> unix_diag              12601  0
> [cyrill at moon criu]



Cyrill,

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).

Here is where I'm at thus far:

ubuntu at ip-10-118-238-44:/mnt/mydata$ sudo modprobe packet_diag
modprobe: FATAL: Module packet_diag not found.


ubuntu at ip-10-118-238-44:/mnt/mydata$ lsmod | grep "diag"
udp_diag               12801  0
tcp_diag               12591  0
inet_diag              18543  2 tcp_diag,udp_diag


ubuntu at ip-10-118-238-44:/mnt/mydata$ sudo ./criu/criu-1.2/crtools check
Warn  (libnetlink.c:53): ERROR -2 reported by netlink
Warn  (libnetlink.c:53): ERROR -2 reported by netlink
Warn  (sockets.c:620): The current kernel doesn't support packet_diag
Warn  (libnetlink.c:53): ERROR -2 reported by netlink
Warn  (sockets.c:630): The current kernel doesn't support netlink_diag
The sock diag infrastructure is incomplete.
Make sure you have:
 1. *_DIAG kernel config options turned on;
 2. *_diag.ko modules loaded (if compiled as modules).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140424/d0b7fa0d/attachment.html>


More information about the CRIU mailing list