Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today!
Try Our New Product Showcase!
Find the answer to your Linux question:
Advertisement
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Slackware Linux Help > Howto Compile a real-time Linux kernel 2.6.23-rc8-rt1

Forgot Password?
 Slackware Linux Help   For help and Discussion about Slackware linux

Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications




Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-01-2007   #1 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 11
Howto Compile a real-time Linux kernel 2.6.23-rc8-rt1

This should work for any distro really. The exact method you use to build your kernel may differ but creating the realtime kernel source is the same no matter what your technique. You can build in /usr/src if you prefer but I just don't see any need to do that. I simply build in ~/KERNEL as user. Then you can link /usr/src/linux to your source if it is not found.
Code:
mkdir KERNEL
cd KERNEL
wget http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.tar.bz2
wget http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.23-rc8.bz2
wget http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.23-rc8-rt1.bz2
tar xjvf linux-2.6.22.tar.bz2
cd linux-2.6.22
bzcat ../patch-2.6.23-rc8.bz2|patch -p1
bzcat ../patch-2.6.23-rc8-rt1.bz2|patch -p1
cd ..
mv linux-2.6.22 linux-2.6.23-rc8-rt1
cd linux-2.6.23-rc8-rt1
make menuconfig
OR if you just want to start with the same config from your current kernel
Code:
make oldconfig
Realtime preemption should be automatically checked.
Code:
Processor type and features> Preemption Mode (Complete Preemption (Real-Time))
Also you should set kernel timer frequency to 1000HZ.
Code:
Processor type and features>Timer frequency (1000 HZ)
Code:
su
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.23-rc8-rt1
Now of course you should update your bootloader by adding an entry for your new kernel. Then run
Code:
lilo
Or if you use GRUB it *should* be updated automatically.
mzilikazi is offline  



Reply With Quote
Old 10-01-2007   #2 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,294
Send a message via AIM to Dapper Dan
Thanks mzilikazi for the "how-to!" And welcome to the forums!
__________________
CRUX 2.6 + IceWM Registered:#371367 New Members: click here
Dapper Dan is offline   Reply With Quote
Old 10-01-2007   #3 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 11
Hey thanks.
I had intended to put it in the Linux Tutorials, HOWTO's & Reference Material forum but I do not see a 'New Thread' button anywhere. Presumably this is to keep the quality of howto's 'up to snuff'. Is there a formal procedure in place for adding to that forum?
mzilikazi is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Implementing Detailed User-Level Auditing of UNIX & Linux Systems
Enhance regulatory compliance and troubleshooting through detailed auditing, logging and real-time monitoring of UNIX/Linux user activity.
subscribe
Linux from Scratch - Receive Your Complimentary eBook NOW!
Linux from Scratch describes the process of creating your own Linux system from scratch from an already installed Linux distribution, using nothing but the source code of software that you need.
subscribe
A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)
Getting Started with Ubuntu 10.04 (Lucid Lynx) is a comprehensive beginners guide for the Ubuntu operating system; it features comprehensive guides, How Tos and information on anything you need to know after first installing Ubuntu.
subscribe
The Incredible Guide to NEW Ubuntu (Karmic Koala)
There are a lot of people still stuck with Windows because it's the ‘easier alternative'. Linux is both cheaper and more versatile than Microsoft's operating system, but the learning curve has frightened off many people.
subscribe
The GNU/Linux Advanced Administration
The GNU/Linux systems have reached an important level of maturity, allowing to integrate them in almost any kind of work environment, from a desktop PC to the sever facilities of a big company.
subscribe
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe



All times are GMT. The time now is 07:45 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1