4. Linux Kernel Preparation

The DRI project closely tracks Linux kernel development.
Since the internal Linux data structures change frequently in
the 2.4 development branch it's important to have use the most
recent Linux kernel.
As of this writing (Nov 2000), 2.4.0-test11-pre5 is the most
recent version of Linux which the DRI is synchronized to.

Most of the DRI drivers require AGP support and using Intel
Pentium III SSE optimizations also requires an up-to-date Linux kernel.

Building a new Linux kernel can be difficult for beginners but
there are resources on the Internet to help.
This document assumes experience with configuring, building and
installing Linux kernels.

It's recommended that you turn on MTRRs under
Processor type and Features, but not required.

Configure the rest of the kernel as required for your system
(i.e. Ethernet, SCSI, etc)

Exit, saving your kernel configuration.

Edit your /etc/lilo.conf file.
Make sure you have an image entry as follows (or similar):

image=/boot/vmlinuz
label=linux.2.4.x
read-only
root=/dev/hda1

The important part is that you have /boot/vmlinuz without a
trailing version number.
If this is the first entry in your /etc/lilo.conf AND you
haven't set a default, then this will be your default kernel.

Compile the new kernel.

cd /usr/src/linux-2.4.x
make dep
make bzImage
make modules
make modules_install
make install