Compile Kernel to support dazuko

Posted on 2009-02-08
Last Modified: 2012-05-06
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 .
Question by:ahfaris
    LVL 23

    Accepted Solution

    LVL 76

    Expert Comment


    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.
    LVL 34

    Expert Comment

    by:Duncan Roe
    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
    For some background on dazuko, see
    As for building a kernel, I'm out of time right now nut will try to rummage through my previous answers this evening
    LVL 34

    Expert Comment

    by:Duncan Roe

    Author Comment

    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 .
    LVL 76

    Expert Comment

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

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now