Hi I had a question I wanted to ask how to build kernel_headers for the 2.6.19.3 kernel on debian sarge in order to build the dazuko module The how to by Falko worked nicely for compiling the kernel source 2.6.19.3 from kernel.org ....thanks for the how to http://www.howtoforge.com/kernel_compilation_debian
hi.... thanks for reacting I get a kernel headers not found error when building the dazuko module maybe I am missing something.... thanks in advance
Did you boot into your new kernel, or are you still using your old one? You can find out by running Code: uname -r
I boot into my new kernel but for some reason the headers can't be found.... Code: uname -r 2.6.19.3-386 I am trying to build the dazuko module to run with antivir Code: dpkg -i dazuko-source_2.3.2-1_all.deb m-a a-i dazuko module-assistant, error message thanks in advance
If I think about it - it's possible that the kernel headers aren't installed because in the Debian kernel howto we create a kernel .deb package which doesn't contain the headers. You can try to combine the Debian kernel howto with this one: http://www.howtoforge.com/kernel_compilation_ubuntu_p2 Run Code: fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers instead of Code: fakeroot make deb-pkg This should create a kernel headers deb package. If that doesn't work, you can still compile a kernel the traditional way, without creating a deb package, as shown here: http://www.howtoforge.com/kernel_compilation_fedora_p2 That way the headers will be installed for sure.
thanks for reacting I will try the traditional way hopefully that will be sufficient I could not install the kernel_image with the ubuntu way and the kernel headers were not installed in full because the kernel module builder could not find the kernel headers even after I installed the kernel header package I will try the traditional way hopefully it will help.... ikkem....
I followed the how to Code: make all make modules_install make headers_install make install I checked in /boot the ramdisk was not build which made reboot into the new kernel fail (I guess) I will continue tomorrow.....
I made the ramdisk Code: mkinitrd.yaird -o /boot/initrd.img-2.6.19.3-raysun1 2.6.19.3-raysun1 updated grub Code: update-grub but I still get a error message of kernel headers not found maybe I missed something.... thanks in advance
The error message I get is I am new to Linux so please tell me if I have to be more specific.... Thanks in advance....
But there's an initrd.img-2.6.19.3-raysun1 in the /boot directory, so you don't need to create another ramdisk.
I made a ram disk after that I booted into the new kernel but I still get a error message when I try to compile dazuko....
At first the ramdisk was not created with: Code: make all make modules_install make headers_install make install I made the ramdisk with Code: mkinitrd.yaird -o /boot/initrd.img-2.6.19.3-raysun1 2.6.19.3-raysun1 updated grub Code: update-grub
I succeeded in installing dazuko I compiled it from source(followed the instructions for SuSE 9.1) $ mkdir dazuko $ cd dazuko $ wget http://www.dazuko.de/files/dazuko-2.3.2.tar.gz $ tar xzvf dazuko-2.3.2.tar.gz $ cd dazuko-2.3.2 $ ./configure --enable-syscalls --mapfile=/boot/System.map-2.6.19.3-raysun1 $ su # make # cp dazuko.ko /lib/modules/2.6.19.3-raysun1/kernel/security #depmod -a #gedit /etc/modprobe.d/dazuko Copy and paste the following code into the blank document and save it. install dazuko modprobe -r capability;\ modprobe -i dazuko; \ modprobe -i capability #gedit /etc/modules file. Add "dazuko" to the end of the list. Save and exit the file. modify the boot parameters to disable NSA SELinux support #gedit /boot/grub/menu.lst and add "selinux=0" to the end of the line: kernel /boot/vmlinuz-2.6.19.3-raysun1 root=/dev/hda1 ro selinux=0 reboot sources http://www.dazuko.de/tgen.shtml http://klamav.sourceforge.net/klamav...Eft_.286.10.29