[CRIU] ./crtools check errors

Qiang Huang h.huangqiang at huawei.com
Thu Apr 18 08:14:38 EDT 2013


On 2013/4/18 20:04, Pavel Emelyanov wrote:
> On 04/18/2013 03:51 PM, Qiang Huang wrote:
>> On 2013/4/18 19:38, Cyrill Gorcunov wrote:
>>> On Thu, Apr 18, 2013 at 07:35:29PM +0800, Qiang Huang wrote:
>>>>
>>>> hq at ubuntu1210:~/linux-cr$ grep _DIAG .config
>>>> CONFIG_PACKET_DIAG=y
>>>> CONFIG_UNIX_DIAG=y
>>>> CONFIG_INET_DIAG=y
>>>> CONFIG_INET_TCP_DIAG=y
>>>> CONFIG_INET_UDP_DIAG=y
>>>> CONFIG_INET_DCCP_DIAG=m
>>>> # CONFIG_NETLINK_DIAG is not set
>>>
>>> ^^^
>>>
>>> This one ;)
>>
>> I tried it after sent the email, but have no luck :(
>>
>> hq at ubuntu1210:~/crtools$ ./crtools check
>> (00.000289) Error (sk-unix.c:318): Can't stat socket 7214(./run/udev/control): No such file or directory
> 
> This time you lack root privilege level.

Sorry for the mistake, but error still out with root privilege level.

hq at ubuntu1210:~/crtools$ sudo ./crtools check
[sudo] password for hq:
(00.000269) Error (sk-unix.c:318): Can't stat socket 7214(./run/udev/control): No such file or directory
(00.002369) Error (libnetlink.c:53): ERROR -2 reported by netlink
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).
(00.003223) Error (kerndat.c:91): Dirty tracking support is OFF

I'll check my config with Cyrill's. Thanks.

> 
>> (00.002538) Error (libnetlink.c:53): ERROR -2 reported by netlink
>> 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).
>> prctl: One needs CAP_SYS_RESOURCE capability to perform testing
>> (00.002874) Error (sk-tcp.c:54): Can't turn TCP repair mode ON: Operation not permitted
>> /proc/sys/kernel/sem_next_id sysctl is missing.
>> (00.003580) Error (kerndat.c:91): Dirty tracking support is OFF
>>
>> hq at ubuntu1210:~/linux-cr$ grep _DIAG .config
>> CONFIG_UNIX_DIAG=y
>> CONFIG_INET_DIAG=y
>> CONFIG_INET_TCP_DIAG=y
>> CONFIG_INET_UDP_DIAG=y
>> CONFIG_INET_DCCP_DIAG=m
>> CONFIG_NETLINK_DIAG=y
>>
>>>
>>>>
>>>> What did I miss? And thanks in advance~
>>>>
>>>
>>> 	Cyrill
>>>
>>>
>>
>>
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
>>
> 
> 
> 
> .
> 




More information about the CRIU mailing list