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.
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.
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?
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