[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 732
  • Last Modified:

Compile Kernel to support dazuko

Dear All
i want to install AVG antivirus at Linux ( CentOS 5.1 ) and it request dazuko module to be installed , and dazuko require recompile kernel , but i dont recompiled kernel before , can any one help me in this .
1 Solution

You might not really need to recompile the kernel, you might only need to get the kernel-devel (yum install kernel-devel).  Dazuko is a module that gets loaded by the kernel and need not be built-into the kernel.
You should make sure that the kernel-devel in /usr/src/kernels/ is the same version that is returned using uname -r.
Duncan RoeSoftware DeveloperCommented:
If you aren't running a kernel you compiled from source then, yes, you probably will need to compile just this once. As posters have pointed out, dazuko builds as a kernel module, so would only need to build the module (bet see 2.6 below).
If you have 2.6 kernel and SMP, see README.linux26 in the source obtained from http://freshmeat.net/redir/dazuko/45452/url_tgz/dazuko-2.3.3.tar.gz
For some background on dazuko, see http://lwn.net/Articles/206075/
As for building a kernel, I'm out of time right now nut will try to rummage through my previous answers this evening
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Duncan RoeSoftware DeveloperCommented:
ahfarisAuthor Commented:
Dear all
Thak you for your fast response
First , oklit
i followed the article step by step , but the same problem , when i tried to install Dazuko i faced this error :
discovered host system... Linux (2.6.18)
checking if security module support is enabled... yes
verifying capabilities are not built-in... built-in :(
error: capabilities are built-in to the kernel:
       you will need to recompile a kernel with capabilities
       as a kernel module
Second , arnold
the package kernel-devel is installed as you see :
root@cl-t170-130cl [~/dazuko-2.3.4]# rpm -qa | grep kernel
but  the directory usr/src/kernels dont contain kernel-devel as you see :
root@cl-t170-130cl [/usr/src/kernels]# ls -l
total 28
drwxr-xr-x  4 root root 4096 Feb  2 19:44 ./
drwxr-xr-x  4 root root 4096 Feb  5 17:36 ../
drwxr-xr-x 18 root root 4096 Feb  2 19:45 2.6.18-92.1.22.el5-i686/
drwxr-xr-x 18 root root 4096 Feb  2 19:25 2.6.18-92.el5-i686/
and the same problem when i try to install dazuko i get the error above .
Third , duncan_roe
i will try to read README.linux26 and if there is any thing you i will tell you.
i need your help .
The source packages are using the uname -r naming convention.
The 2.6.18-92.el5-i686 is the source folder for the 2.6.18-92.el5-i686 kernel version.

The http://www.dazuko.org/tconf.shtml#CAPABILTIES-BUILTIN explains what the issue is.

Here is a centos set of instruction to compile kernel.

Alternatively, you could try using an alternate anti-virus application such as clamav.net which should compile and install without the need to recompile the kernel which you will have to do for every kernel update you install.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now