We help IT Professionals succeed at work.

Compile Kernel to support dazuko

ahfaris
ahfaris asked
on
Medium Priority
801 Views
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 .
Comment
Watch Question

sysadmin
CERTIFIED EXPERT
Commented:

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
http://dazuko.dnsalias.org/wiki/index.php/Installation_HOWTO

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 Developer
CERTIFIED EXPERT

Commented:
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
Duncan RoeSoftware Developer
CERTIFIED EXPERT

Commented:

Author

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
kernel-2.6.18-92.el5
kernel-devel-2.6.18-92.el5
kernel-devel-2.6.18-92.1.22.el5
kernel-2.6.18-92.1.22.el5
kernel-headers-2.6.18-92.1.22.el5
=====================
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 .
 
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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.
http://www.howtoforge.com/kernel_compilation_centos

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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.