Dear KINTA-JAPAN
post_setup.sh build error?
Yes, redirFS kernel modules installation failed for LinuxMint 17 Cinnamon Kernel 3.13.0-46
Now, i’m boot on the kernel before (3.13.0-45), comodo is running.
So, I uninstall comodo in kernel 3.13.0-45 and then I install with the newst driver.tar.
Here the terminal print on kernel 3.13.0-45
Build the RedirFS kernel modules for real-time protection...
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird betreten
CC [M] /tmp/driver/redirfs/rfs_path.o
CC [M] /tmp/driver/redirfs/rfs_root.o
CC [M] /tmp/driver/redirfs/rfs_info.o
CC [M] /tmp/driver/redirfs/rfs_file.o
CC [M] /tmp/driver/redirfs/rfs_dentry.o
CC [M] /tmp/driver/redirfs/rfs_inode.o
CC [M] /tmp/driver/redirfs/rfs_dcache.o
CC [M] /tmp/driver/redirfs/rfs_chain.o
CC [M] /tmp/driver/redirfs/rfs_ops.o
CC [M] /tmp/driver/redirfs/rfs_data.o
CC [M] /tmp/driver/redirfs/rfs_flt.o
CC [M] /tmp/driver/redirfs/rfs_sysfs.o
CC [M] /tmp/driver/redirfs/rfs.o
LD [M] /tmp/driver/redirfs/redirfs.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/driver/redirfs/redirfs.mod.o
LD [M] /tmp/driver/redirfs/redirfs.ko
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird verlassen
cp /tmp/driver/redirfs/Module.symvers /tmp/driver/avflt
make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird betreten
CC [M] /tmp/driver/avflt/avflt_check.o
CC [M] /tmp/driver/avflt/avflt_data.o
CC [M] /tmp/driver/avflt/avflt_dev.o
CC [M] /tmp/driver/avflt/avflt_mod.o
CC [M] /tmp/driver/avflt/avflt_proc.o
CC [M] /tmp/driver/avflt/avflt_rfs.o
CC [M] /tmp/driver/avflt/avflt_sysfs.o
LD [M] /tmp/driver/avflt/avflt.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/driver/avflt/avflt.mod.o
LD [M] /tmp/driver/avflt/avflt.ko
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird verlassen
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules_install
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird betreten
INSTALL /tmp/driver/redirfs/redirfs.ko
Can't read private key
DEPMOD 3.13.0-45-generic
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird verlassen
make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird betreten
INSTALL /tmp/driver/avflt/avflt.ko
Can't read private key
DEPMOD 3.13.0-45-generic
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-45-generic« wird verlassen
RedirFS kernel modules have been successfully installed.
$Stopping cmdagent: The cmdagent stopped successfully!
$Starting cmdagent: The cmdagent started successfully!
The cmgdaemon is not running!
$Starting cmgdaemon: The cmgdaemon started successfully!
COMODO Antivirus is successfully configured, you can start it from Menu or Desktop.
fjws@fjws-laptop-ssd /opt/COMODO $
So, I uninstall comodo.
Now, i’m boot on the kernel (3.13.0-46).
Then I install with the newst driver.tar.
Here the terminal print on kernel 3.13.0-46
Build the RedirFS kernel modules for real-time protection...
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird betreten
CC [M] /tmp/driver/redirfs/rfs_path.o
CC [M] /tmp/driver/redirfs/rfs_root.o
CC [M] /tmp/driver/redirfs/rfs_info.o
CC [M] /tmp/driver/redirfs/rfs_file.o
CC [M] /tmp/driver/redirfs/rfs_dentry.o
CC [M] /tmp/driver/redirfs/rfs_inode.o
CC [M] /tmp/driver/redirfs/rfs_dcache.o
In file included from include/linux/nodemask.h:93:0,
from include/linux/mount.h:14,
from /tmp/driver/redirfs/rfs.h:29,
from /tmp/driver/redirfs/rfs_dcache.c:26:
/tmp/driver/redirfs/rfs_dcache.c: In function ‘rfs_dcache_get_subs_kernel’:
/tmp/driver/redirfs/rfs.h:114:75: error: ‘union <anonymous>’ has no member named ‘d_child’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
include/linux/kernel.h:793:29: note: in definition of macro ‘container_of’
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
include/linux/list.h:362:2: note: in expansion of macro ‘list_entry’
list_entry((ptr)->next, type, member)
^
include/linux/list.h:446:13: note: in expansion of macro ‘list_first_entry’
for (pos = list_first_entry(head, typeof(*pos), member); \
^
/tmp/driver/redirfs/rfs.h:114:41: note: in expansion of macro ‘list_for_each_entry’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
/tmp/driver/redirfs/rfs_dcache.c:87:2: note: in expansion of macro ‘rfs_for_each_d_child’
rfs_for_each_d_child(dentry, &dir->d_subdirs) {
^
include/linux/kernel.h:793:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^
include/linux/list.h:362:2: note: in expansion of macro ‘list_entry’
list_entry((ptr)->next, type, member)
^
include/linux/list.h:446:13: note: in expansion of macro ‘list_first_entry’
for (pos = list_first_entry(head, typeof(*pos), member); \
^
/tmp/driver/redirfs/rfs.h:114:41: note: in expansion of macro ‘list_for_each_entry’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
/tmp/driver/redirfs/rfs_dcache.c:87:2: note: in expansion of macro ‘rfs_for_each_d_child’
rfs_for_each_d_child(dentry, &dir->d_subdirs) {
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/mount.h:12,
from /tmp/driver/redirfs/rfs.h:29,
from /tmp/driver/redirfs/rfs_dcache.c:26:
include/linux/compiler-gcc4.h:14:34: error: ‘union <anonymous>’ has no member named ‘d_child’
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
include/linux/stddef.h:17:31: note: in expansion of macro ‘__compiler_offsetof’
#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
^
include/linux/kernel.h:794:29: note: in expansion of macro ‘offsetof’
(type *)( (char *)__mptr - offsetof(type,member) );})
^
include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^
include/linux/list.h:362:2: note: in expansion of macro ‘list_entry’
list_entry((ptr)->next, type, member)
^
include/linux/list.h:446:13: note: in expansion of macro ‘list_first_entry’
for (pos = list_first_entry(head, typeof(*pos), member); \
^
/tmp/driver/redirfs/rfs.h:114:41: note: in expansion of macro ‘list_for_each_entry’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
/tmp/driver/redirfs/rfs_dcache.c:87:2: note: in expansion of macro ‘rfs_for_each_d_child’
rfs_for_each_d_child(dentry, &dir->d_subdirs) {
^
In file included from include/linux/mount.h:13:0,
from /tmp/driver/redirfs/rfs.h:29,
from /tmp/driver/redirfs/rfs_dcache.c:26:
/tmp/driver/redirfs/rfs.h:114:75: error: ‘union <anonymous>’ has no member named ‘d_child’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
include/linux/list.h:447:13: note: in definition of macro ‘list_for_each_entry’
&pos->member != (head); \
^
/tmp/driver/redirfs/rfs_dcache.c:87:2: note: in expansion of macro ‘rfs_for_each_d_child’
rfs_for_each_d_child(dentry, &dir->d_subdirs) {
^
In file included from include/linux/nodemask.h:93:0,
from include/linux/mount.h:14,
from /tmp/driver/redirfs/rfs.h:29,
from /tmp/driver/redirfs/rfs_dcache.c:26:
/tmp/driver/redirfs/rfs.h:114:75: error: ‘union <anonymous>’ has no member named ‘d_child’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
include/linux/kernel.h:793:29: note: in definition of macro ‘container_of’
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
include/linux/list.h:392:2: note: in expansion of macro ‘list_entry’
list_entry((pos)->member.next, typeof(*(pos)), member)
^
include/linux/list.h:448:13: note: in expansion of macro ‘list_next_entry’
pos = list_next_entry(pos, member))
^
/tmp/driver/redirfs/rfs.h:114:41: note: in expansion of macro ‘list_for_each_entry’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
/tmp/driver/redirfs/rfs_dcache.c:87:2: note: in expansion of macro ‘rfs_for_each_d_child’
rfs_for_each_d_child(dentry, &dir->d_subdirs) {
^
/tmp/driver/redirfs/rfs.h:114:75: error: ‘union <anonymous>’ has no member named ‘d_child’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
include/linux/kernel.h:793:49: note: in definition of macro ‘container_of’
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
include/linux/list.h:392:2: note: in expansion of macro ‘list_entry’
list_entry((pos)->member.next, typeof(*(pos)), member)
^
include/linux/list.h:448:13: note: in expansion of macro ‘list_next_entry’
pos = list_next_entry(pos, member))
^
/tmp/driver/redirfs/rfs.h:114:41: note: in expansion of macro ‘list_for_each_entry’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
/tmp/driver/redirfs/rfs_dcache.c:87:2: note: in expansion of macro ‘rfs_for_each_d_child’
rfs_for_each_d_child(dentry, &dir->d_subdirs) {
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/mount.h:12,
from /tmp/driver/redirfs/rfs.h:29,
from /tmp/driver/redirfs/rfs_dcache.c:26:
include/linux/compiler-gcc4.h:14:34: error: ‘union <anonymous>’ has no member named ‘d_child’
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
include/linux/stddef.h:17:31: note: in expansion of macro ‘__compiler_offsetof’
#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
^
include/linux/kernel.h:794:29: note: in expansion of macro ‘offsetof’
(type *)( (char *)__mptr - offsetof(type,member) );})
^
include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^
include/linux/list.h:392:2: note: in expansion of macro ‘list_entry’
list_entry((pos)->member.next, typeof(*(pos)), member)
^
include/linux/list.h:448:13: note: in expansion of macro ‘list_next_entry’
pos = list_next_entry(pos, member))
^
/tmp/driver/redirfs/rfs.h:114:41: note: in expansion of macro ‘list_for_each_entry’
#define rfs_for_each_d_child(pos, head) list_for_each_entry(pos, head, d_u.d_child)
^
/tmp/driver/redirfs/rfs_dcache.c:87:2: note: in expansion of macro ‘rfs_for_each_d_child’
rfs_for_each_d_child(dentry, &dir->d_subdirs) {
^
make[2]: *** [/tmp/driver/redirfs/rfs_dcache.o] Fehler 1
make[1]: *** [_module_/tmp/driver/redirfs] Fehler 2
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird verlassen
make: *** [all] Fehler 2
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules_install
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird betreten
DEPMOD 3.13.0-46-generic
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird verlassen
make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird betreten
DEPMOD 3.13.0-46-generic
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird verlassen
modprobe: FATAL: Module redirfs not found.
RedirFS kernel modules installation failed.
$Stopping cmdagent: The cmdagent stopped successfully!
$Starting cmdagent: The cmdagent started successfully!
The cmgdaemon is not running!
$Starting cmgdaemon: The cmgdaemon started successfully!
COMODO Antivirus is successfully configured, you can start it from Menu or Desktop.
fjws@fjws-laptop-ssd /opt/COMODO $
After reboot and make post_setup.sh this terminal print:
Build the RedirFS kernel modules for real-time protection...
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird betreten
CC [M] /tmp/driver/redirfs/rfs_path.o
CC [M] /tmp/driver/redirfs/rfs_root.o
CC [M] /tmp/driver/redirfs/rfs_info.o
CC [M] /tmp/driver/redirfs/rfs_file.o
/tmp/driver/redirfs/rfs_file.c: In function ‘rfs_readdir’:
/tmp/driver/redirfs/rfs_file.c:259:37: error: ‘const struct file_operations’ has no member named ‘readdir’
if (rfile->op_old && rfile->op_old->readdir)
^
/tmp/driver/redirfs/rfs_file.c:260:35: error: ‘const struct file_operations’ has no member named ‘readdir’
rargs.rv.rv_int = rfile->op_old->readdir(
^
/tmp/driver/redirfs/rfs_file.c: In function ‘rfs_file_set_ops_dir’:
/tmp/driver/redirfs/rfs_file.c:313:15: error: ‘struct file_operations’ has no member named ‘readdir’
rfile->op_new.readdir = rfs_readdir;
^
make[2]: *** [/tmp/driver/redirfs/rfs_file.o] Fehler 1
make[1]: *** [_module_/tmp/driver/redirfs] Fehler 2
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird verlassen
make: *** [all] Fehler 2
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules_install
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird betreten
DEPMOD 3.13.0-46-generic
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird verlassen
make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird betreten
DEPMOD 3.13.0-46-generic
make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-46-generic« wird verlassen
modprobe: FATAL: Module redirfs not found.
RedirFS kernel modules installation failed.
$Stopping cmdagent: The cmdagent stopped successfully!
$Starting cmdagent: The cmdagent started successfully!
$Stopping cmgdaemon: The cmgdaemon stopped successfully!
$Starting cmgdaemon: The cmgdaemon started successfully!
COMODO Antivirus is successfully configured, you can start it from Menu or Desktop.
fjws@fjws-laptop-ssd /opt/COMODO $
In kernel 3.13.0-46 /lib/modules/3.2.0.77-generic/extra
no files !!
In kernel 3.13.0-45 /lib/modules/3.2.0.77-generic/extra
are two files: redirfs.ko and avflt.ko!
Is here a bug for the kernel 3.13.0-46 ?? :-[