LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   CentOS 5.1 Kernel recompiling problem (https://www.linuxquestions.org/questions/linux-kernel-70/centos-5-1-kernel-recompiling-problem-607880/)

firsten 12-19-2007 10:30 AM

CentOS 5.1 Kernel recompiling problem
 
Hi all.

I've got CentOS 5.1 operating on my Dell Optiplex 320 machine, which works fine after some problems in order to isntall the system. The main thing is that i want to do some Real Time tasks with RTAI, and for that i need to recompile the kernel. Every time that i simply recompile the kernel, even without patching the RTAI, when i fist try to boot the new kernel, it stops at the boot, long before start to load the modules. No error messages show up, it just stop after the initialization of HotPlug. Anyone knows any place that have any described process of CentOS 5.1 kernel recompilation?

thanks all

Lenard 12-19-2007 11:17 AM

Download, extract and read: http://www.kernel.org/pub/linux/kern...kn_pdf.tar.bz2

In short:

make mrproper
<apply the kernel patches here>
make oldconfig
make menuconfig [or xconfig or gconfig]
make
make modules_install
make install

Optional steps:
make rpm
rpm -ivh --justdb <the path to the binary kernel rpm file here>/kernel-<version number>*.rpm

Also see:

http://www.centos.org/docs/3/html/rh...om-kernel.html
http://wiki.centos.org/HowTos

firsten 12-20-2007 05:34 AM

thanks, it seems to work fine now with the rpm method. Although im having some rtai issues, but nothing that i cant make some googleing for it.


All times are GMT -5. The time now is 05:17 AM.