LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2013, 06:43 AM   #1
sbauer72
Member
 
Registered: Mar 2011
Posts: 36

Rep: Reputation: 0
Real Time Patch with CentOS


ALL,

I am trying to apply the real time patch for CentOS 6.3.
So far I have intalled the patch compiled it and now when I try to run it the machine locks up.

I am getting the error that it can't find the /lib/modules/*.dep files.

I am having trouble installing the header files.

CentOS 6.3
KERNEL: 2.6.33.9
RT PATCH: 2.6.33.9-rt31
 
Old 03-12-2013, 02:56 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
In general, the steps for rebuilding a Redhat kernel are:

Set up the rpmbuild environment so you can do this as a normal user. Best not to do this as root.
Install the kernel source rpm, which should put the source under ~/rpmbuild.
Add your patch file in SOURCES and add to the spec file.
Run the rpmbuild command in the SPECS directory. Something like:
Code:
rpmbuild -bb --target=x86_64 --without kabicheck kernel.spec
Once it completes, install the rpm, which will be under RPMS.

If you have unpacked the source tarball and are trying to run make manually, you will have a lot of trouble with RH config files and such. The dep files are created during make install and make modules_install in a generic kernel build, but RH does things somewhat differently.
 
  


Reply



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
[SOLVED] [Language problem] Hard real time in user space with preempt_rt patch Aquarius_Girl Linux - Kernel 2 05-15-2012 07:01 AM
Good forum for real time (Preemption RT patch) kernel discussion kushalkoolwal Linux - Kernel 2 08-04-2008 05:22 AM
LXer: Linux: Real Time Kernel Patch Queue LXer Syndicated Linux News 0 07-15-2007 05:01 AM
RT Patch with full real time preemtion sanjeevsharmaengg Linux - Software 3 02-05-2007 01:45 PM

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

All times are GMT -5. The time now is 03:01 PM.

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