| < Day Day Up > |
The
kernel
is the operating system, performing
| < Day Day Up > |
| < Day Day Up > |
The version number for a Linux kernel consists of three segments: the major, minor, and revision
rpm -q kernel
You could have more than one version of the kernel installed on your system. To see which one is running currently, you use the
uname -r
New kernels are released on two different tracks, a stable track and a development track. Stable kernels have an even revision number, whereas development kernels use an odd number. The stable kernel would be 2.4, and its development kernel 2.5. Often, development
The Linux kernel is being worked on constantly, and new versions are released when they are ready. Distributions may include different kernel versions. Red Hat includes the most up-to-date stable kernel in its releases. Linux kernels are available at
kernel.org
. Also, RPM packages for a new kernel are often available at distribution update sites. One reason you may need to upgrade your kernel is to provide support for new hardware or for features not supported by your distribution's version. For example, you may need support for a new device not provided in your distribution's version of the kernel. Certain features may not be included in a distribution's version because they are
| Tip |
In many cases, you probably don't need to compile and install a new kernel just to add support for a new device. Kernels provide most device support in the form of loadable modules, of which only those needed are installed with the kernel. Most likely, your current kernel has the module you need; you simply have to compile it and install it. For this task, see the "Installing New Modules for the Kernel" section in Chapter 32. |
You can learn more about the Linux kernel from
kernel.org
, the official repository for the current Linux kernels. The most current source code, as well as documentation, is there. Your distribution Web site will also provide online documentation for installing and compiling the kernel on its systems. Several Linux HOW-TOs also exist on the subject. The kernel source code software packages also include
kernel.org The official Linux kernel Web site. All new kernels originate from here.
www.linuxhq.com Linux headquarters, kernel sources, and patches.
kernelnewbies.org Linux kernel sources and information.
www.tldp.org The Linux Documentation Project.
| < Day Day Up > |