|
||||||||||||
|
|
A.1. Getting the Source FilesDownload a fresh kernel from www.kernel.org. You need to make sure you get a full kernel. Find the "latest stable version of the Linux kernel" and click on F for FULL. Wait patiently. A bzipped kernel is about 26M. If you're feeling particularly geeky you could also wget http://kernel.org/pub/linux/kernel/v2.4/linux-<version>.tar.bz2.
While you're waiting, grab a copy of the patch as well. For the 2.4.20 kernel use the 2.4.20 patch. It's dated 2002.12.12. You'll need to know that number later when we check to make sure the patch worked. If you are using a different kernel version make sure you take note of the date of your patch. Your numbers will differ slightly from the one I use later on. Once you've got those two files (the kernel and the patch) unpack them and patch the kernel. A.1.1. PatchNow we're going to actually patch the kernel. I take one extra step from the instructions at ACPI4Linux. Instead of gunzipping and patching in the same line, I use two lines. This is purely a matter of preference. When you patch the kernel you want to make sure there are no error messages. (There is no "yay" line, instead look for the absence of errors.)
Once you've finished patching your kernel, continue reading at Section 9. | |||||||||||
|
||||||||||||