LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-19-2007, 10:30 AM   #1
firsten
Member
 
Registered: Mar 2007
Posts: 36

Rep: Reputation: 15
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
 
Old 12-19-2007, 11:17 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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
 
Old 12-20-2007, 05:34 AM   #3
firsten
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
centos kernel upgrade problem (raid driver) blunt Linux - Server 1 10-29-2007 04:35 PM
Problem on recompiling kernel satimis Linux From Scratch 13 10-23-2005 07:49 PM
Weird Rebooting Problem After Recompiling Kernel?????? jrg2004 Slackware 3 12-07-2004 06:51 PM
video problem after recompiling my kernel thomyorke38 Linux - Software 1 10-26-2004 07:43 PM
recompiling kernel goes fine, problem with make modules fritex Linux - Software 4 11-07-2002 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration