Folder AVG Forums » AVG 2013 » AVG for Linux » avg.oad Error With Fanotify In 3.10.16
October 22, 2013 05:55 avg.oad Error With Fanotify In 3.10.16 #235601
Top
Felias

Avatar

Novice
Join Date: 22.10.2013
Posts: 2
Hello,

The error posted at the bottom prevents the oad to start on a vanilla 3.10.16 kernel. I am not aware whether 3.x kernels are supported, since the documentation just says 2.6 and newer but it would be very much appreciated if you would take a look at the issue.

- Uname: Linux nGentoo 3.10.16 #1 SMP PREEMPT x86_64 Intel(R) GNU/Linux
- AVG: avg2013flx-r3115-a6155
- Virus DB Verison: 3222/6769
- No other protection software

[AVG.OAD] INFO 2013-10-22 05:47:49,091 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:287.3109.BADF00D.0 MSG:Component OADaemon starting.
[AVG.OAD] INFO 2013-10-22 05:47:49,091 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:288.3109.BADF00D.0 MSG:Version: 13.0.3109
[AVG.OAD] INFO 2013-10-22 05:47:49,104 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:663.3109.BADF00D.0 MSG:Persistent statistics not implemented.
[AVG.OAD] ERROR 2013-10-22 05:47:49,114 nGentoo PID:6658 THID:-147896576 ID:avgoad_fanotify.cpp:551.3109.BADF00D.0 MSG:fan_add_path include '/home' failed: Invalid argument (22)
[AVG.OAD] ERROR 2013-10-22 05:47:49,115 nGentoo PID:6658 THID:-147896576 ID:avgoad_fanotify.cpp:632.3109.BADF00D.0 MSG:set_paths failed (e0020016)
[AVG.OAD] ERROR 2013-10-22 05:47:50,531 nGentoo PID:6658 THID:-147896576 ID:avgoad.cpp:623.3109.BADF00D.0 MSG:on-access daemon start failed (e0020016)
[AVG.OAD] INFO 2013-10-22 05:47:50,533 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:691.3109.BADF00D.0 MSG:Persistent statistics not implemented.
October 23, 2013 12:49 Re: avg.oad Error With Fanotify In 3.10.16 #235670
Top
Rigby

Avatar

Novice
Join Date: 25.8.2009
Posts: 94
Felias wrote
Hello,

The error posted at the bottom prevents the oad to start on a vanilla 3.10.16 kernel. I am not aware whether 3.x kernels are supported, since the documentation just says 2.6 and newer but it would be very much appreciated if you would take a look at the issue.

- Uname: Linux nGentoo 3.10.16 #1 SMP PREEMPT x86_64 Intel(R) GNU/Linux
- AVG: avg2013flx-r3115-a6155
- Virus DB Verison: 3222/6769
- No other protection software

[AVG.OAD] INFO 2013-10-22 05:47:49,091 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:287.3109.BADF00D.0 MSG:Component OADaemon starting.
[AVG.OAD] INFO 2013-10-22 05:47:49,091 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:288.3109.BADF00D.0 MSG:Version: 13.0.3109
[AVG.OAD] INFO 2013-10-22 05:47:49,104 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:663.3109.BADF00D.0 MSG:Persistent statistics not implemented.
[AVG.OAD] ERROR 2013-10-22 05:47:49,114 nGentoo PID:6658 THID:-147896576 ID:avgoad_fanotify.cpp:551.3109.BADF00D.0 MSG:fan_add_path include '/home' failed: Invalid argument (22)
[AVG.OAD] ERROR 2013-10-22 05:47:49,115 nGentoo PID:6658 THID:-147896576 ID:avgoad_fanotify.cpp:632.3109.BADF00D.0 MSG:set_paths failed (e0020016)
[AVG.OAD] ERROR 2013-10-22 05:47:50,531 nGentoo PID:6658 THID:-147896576 ID:avgoad.cpp:623.3109.BADF00D.0 MSG:on-access daemon start failed (e0020016)
[AVG.OAD] INFO 2013-10-22 05:47:50,533 nGentoo PID:6658 THID:-147896576 ID:AVG.LINUX.AVGCOMPONENT:691.3109.BADF00D.0 MSG:Persistent statistics not implemented.

Hi,

check file /opt/avg/av/doc/README.oad and Fanotify section. Especialy flags CONFIG_FANOTIFY and CONFIG_FANOTIFY_ACCESS_PERMISSION. Is it correctly enabled in your kernel?
Thanks,

R.
October 24, 2013 19:10 Re: avg.oad Error With Fanotify In 3.10.16 #235741
Top
Felias

Avatar

Novice
Join Date: 22.10.2013
Posts: 2
Both are set. This kernel was specifically compiled to test this feature.

cat /usr/src/linux-3.10.16/.config | grep -i FANOTIFY
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
November 2, 2013 19:25 Re: avg.oad Error With Fanotify In 3.10.16 #236117
Top
BlackTrack

Avatar

Novice
Join Date: 2.11.2013
Posts: 1
Got same error with another kernel version (not vanilla, pf patchset).
uname -srv Linux 3.11.3-pf #2 SMP PREEMPT Mon Oct 14 18:35:30 MSK 2013
AVG version : 13.0.3115
Virus database version : 3222/6803
no other protection software

grep FANOTIFY /usr/src/linux/.config
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y


[AVG.OAD] INFO 2013-11-02 18:55:40,717 Scream-mini PID:17456 THID:-143513856 ID:AVG.LINUX.AVGCOMPONENT:287.3109.BADF00D.0 MSG:Component OADaemon starting.
[AVG.OAD] INFO 2013-11-02 18:55:40,717 Scream-mini PID:17456 THID:-143513856 ID:AVG.LINUX.AVGCOMPONENT:288.3109.BADF00D.0 MSG:Version: 13.0.3109
[AVG.OAD] INFO 2013-11-02 18:55:40,721 Scream-mini PID:17456 THID:-143513856 ID:AVG.LINUX.AVGCOMPONENT:663.3109.BADF00D.0 MSG:Persistent statistics not implemented.
[AVG.OAD] ERROR 2013-11-02 18:55:40,727 Scream-mini PID:17456 THID:-143513856 ID:avgoad_fanotify.cpp:551.3109.BADF00D.0 MSG:fan_add_path include '/home/' failed: Invalid argument (22)
[AVG.OAD] ERROR 2013-11-02 18:55:40,727 Scream-mini PID:17456 THID:-143513856 ID:avgoad_fanotify.cpp:632.3109.BADF00D.0 MSG:set_paths failed (e0020016)
[AVG.OAD] ERROR 2013-11-02 18:55:41,735 Scream-mini PID:17456 THID:-143513856 ID:avgoad.cpp:623.3109.BADF00D.0 MSG:on-access daemon start failed (e0020016)
[AVG.OAD] INFO 2013-11-02 18:55:41,737 Scream-mini PID:17456 THID:-143513856 ID:AVG.LINUX.AVGCOMPONENT:691.3109.BADF00D.0 MSG:Persistent statistics not implemented.
November 4, 2013 08:53 Re: avg.oad Error With Fanotify In 3.10.16 #236142
Top
Rigby

Avatar

Novice
Join Date: 25.8.2009
Posts: 94
BlackTrack wrote
Got same error with another kernel version (not vanilla, pf patchset).
uname -srv Linux 3.11.3-pf #2 SMP PREEMPT Mon Oct 14 18:35:30 MSK 2013
...

Hi guys,
You are right, there is problem with new kernels. We will fix this issue asap. Thanks for your reports.

R.
November 11, 2013 13:24 Re: avg.oad Error With Fanotify In 3.10.16 #236484
Top
JArda2

Avatar

Moderator
Join Date: 2.7.2009
Posts: 55
Rigby wrote
BlackTrack wrote
Got same error with another kernel version (not vanilla, pf patchset).
uname -srv Linux 3.11.3-pf #2 SMP PREEMPT Mon Oct 14 18:35:30 MSK 2013
...

Hi guys,
You are right, there is problem with new kernels. We will fix this issue asap. Thanks for your reports.

R.

I got it running on debian's (i686) 3.11.5 kernel without problem. Can you please double check that the PERMISSION flag is on in zcat /proc/config.gz | grep FANOTIFY.

Ragards,
JArda
November 21, 2013 14:07 Re: avg.oad Error With Fanotify In 3.10.16 #236925
Top
eakum

Avatar

Novice
Join Date: 21.11.2013
Posts: 1
Hi,

I use OpenSuse 13.1 with kernel
Linux 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux

The kernel config is ok:
zcat /proc/config.gz | grep -i fanotify
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y

With avg2013flx-r3115-a6155.i386.rpm installed, I also get the same error:
[AVG.OAD] INFO 2013-11-21 13:22:20,430 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:287.3109.BADF00D.0 MSG:Component OADaemon starting.
[AVG.OAD] INFO 2013-11-21 13:22:20,430 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:288.3109.BADF00D.0 MSG:Version: 13.0.3109
[AVG.OAD] INFO 2013-11-21 13:22:20,433 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:663.3109.BADF00D.0 MSG:Persistent statistics not implemented.
[AVG.OAD] ERROR 2013-11-21 13:22:20,436 xxx PID:664 THID:-147568896 ID:avgoad_fanotify.cpp:551.3109.BADF00D.0 MSG:fan_add_path include '/home' failed: Invalid argument (22)
[AVG.OAD] ERROR 2013-11-21 13:22:20,436 xxx PID:664 THID:-147568896 ID:avgoad_fanotify.cpp:632.3109.BADF00D.0 MSG:set_paths failed (e0020016)
[AVG.OAD] ERROR 2013-11-21 13:22:20,941 xxx PID:664 THID:-147568896 ID:avgoad.cpp:623.3109.BADF00D.0 MSG:on-access daemon start failed (e0020016)
November 28, 2013 15:14 Re: avg.oad Error With Fanotify In 3.10.16 #237232
Top
JArda2

Avatar

Moderator
Join Date: 2.7.2009
Posts: 55
eakum wrote
Hi,

I use OpenSuse 13.1 with kernel
Linux 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux

The kernel config is ok:
zcat /proc/config.gz | grep -i fanotify
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y

With avg2013flx-r3115-a6155.i386.rpm installed, I also get the same error:
[AVG.OAD] INFO 2013-11-21 13:22:20,430 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:287.3109.BADF00D.0 MSG:Component OADaemon starting.
[AVG.OAD] INFO 2013-11-21 13:22:20,430 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:288.3109.BADF00D.0 MSG:Version: 13.0.3109
[AVG.OAD] INFO 2013-11-21 13:22:20,433 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:663.3109.BADF00D.0 MSG:Persistent statistics not implemented.
[AVG.OAD] ERROR 2013-11-21 13:22:20,436 xxx PID:664 THID:-147568896 ID:avgoad_fanotify.cpp:551.3109.BADF00D.0 MSG:fan_add_path include '/home' failed: Invalid argument (22)
[AVG.OAD] ERROR 2013-11-21 13:22:20,436 xxx PID:664 THID:-147568896 ID:avgoad_fanotify.cpp:632.3109.BADF00D.0 MSG:set_paths failed (e0020016)
[AVG.OAD] ERROR 2013-11-21 13:22:20,941 xxx PID:664 THID:-147568896 ID:avgoad.cpp:623.3109.BADF00D.0 MSG:on-access daemon start failed (e0020016)

I have localized the problem. There is a problem with compat fanotify_mark syscall. Our binary is 32bit and on 64bit kernels it fails. There is no known workaround. If it is possible, switch to 32bit kernel, or you can use our samba modules which is user space solution.

We are going to fix it but it will take some time. Sorry for that.

Regards,
JArda
December 23, 2013 14:54 Re: avg.oad Error With Fanotify In 3.10.16 #238122
Top
JArda2

Avatar

Moderator
Join Date: 2.7.2009
Posts: 55
JArda2 wrote
eakum wrote
Hi,

I use OpenSuse 13.1 with kernel
Linux 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux

The kernel config is ok:
zcat /proc/config.gz | grep -i fanotify
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y

With avg2013flx-r3115-a6155.i386.rpm installed, I also get the same error:
[AVG.OAD] INFO 2013-11-21 13:22:20,430 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:287.3109.BADF00D.0 MSG:Component OADaemon starting.
[AVG.OAD] INFO 2013-11-21 13:22:20,430 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:288.3109.BADF00D.0 MSG:Version: 13.0.3109
[AVG.OAD] INFO 2013-11-21 13:22:20,433 xxx PID:664 THID:-147568896 ID:AVG.LINUX.AVGCOMPONENT:663.3109.BADF00D.0 MSG:Persistent statistics not implemented.
[AVG.OAD] ERROR 2013-11-21 13:22:20,436 xxx PID:664 THID:-147568896 ID:avgoad_fanotify.cpp:551.3109.BADF00D.0 MSG:fan_add_path include '/home' failed: Invalid argument (22)
[AVG.OAD] ERROR 2013-11-21 13:22:20,436 xxx PID:664 THID:-147568896 ID:avgoad_fanotify.cpp:632.3109.BADF00D.0 MSG:set_paths failed (e0020016)
[AVG.OAD] ERROR 2013-11-21 13:22:20,941 xxx PID:664 THID:-147568896 ID:avgoad.cpp:623.3109.BADF00D.0 MSG:on-access daemon start failed (e0020016)

I have localized the problem. There is a problem with compat fanotify_mark syscall. Our binary is 32bit and on 64bit kernels it fails. There is no known workaround. If it is possible, switch to 32bit kernel, or you can use our samba modules which is user space solution.

We are going to fix it but it will take some time. Sorry for that.

Regards,
JArda

Hi all,

A new update 13.0.3118 has been released. It contains fix od this issues. Please do avgupdate and let us know if it is ok.

Thank you, regards,
JArda