2.4.20-xlife cumulative kernel patch
- 1. Disclaimer
- 2. How to install
- 3. Synopsis
- 4. Known problems
- 5. Download
1. Disclaimer
I didn’t make these patches. I collected them taking my own needs into account and I went through the lengthy and tedious process of combining them in such manner that the resulting kernel is working and stable (so far as I can tell).
2. How to install
Go into the dir where you have the vanilla kernel source. Unpack the patch and apply it using patch -p1 < patch_file. Compile the kernel like you usually do.
Afterwards, don’t forget to install whatever third-party modules you may use.
3. Synopsis
I needed to patch the kernel in order to accomplish the following: improve my machine’s latency; have Win4Lin, ACPI, software suspend and supermount support; fix some ext3 related issues. Besides these, I also added some non-crucial improvements which impact CPU-usage during CD-audio rips and network packet filtering (iptables).
Here are the patches that I applied to the vanilla kernel. They were applied in the order given below.
- patch-o-matic 20030107, “pending” section (netfilter/iptables pending patches)
- acpi-20021212-2.4.20.diff (ACPI support enhancement)
- patch-acpi-acpi20021212-swsusp19 (software suspend support)
- Kernel-Win4Lin3-2.4.20.patch (Win4Lin 3.x support)
- mki-adapter.patch (Win4Lin 3.x support)
- 004_supermount_030226_ck_2.4.20.patch (removable media transparent [un]mounting)
- ext3-bugfix.patch (fixed the ext3 bug)
- ide-akpm.patch (lower CPU usage while ripping audio CD)
- 2.4.20-low-latency.patch (low latency support)
- preempt-kernel-rml-2.4.20-1.patch (preemptive kernel support)
- 003_readlatency2_021215_ck.2.4.20.patch (latency improvement)
4. Known problems
- This patch doesn’t include protection for the ptrace security hole! I tried applying whatever patches I could find but none of them applied cleanly. So I chose to compile and install the anti-ptrace.o third-party module instead and it works just as well. Look for it in the Bugtraq archive.
- This patch does not have the i387.h floating point exception bugfix applied to it! I strongly recommend against using it without getting the patch yourself and applying it.
- I haven’t tested the software suspend feature seriously enough. Reports are welcome.
5. Download
Downloaded 252 times. Size: 545.6 Kbytes.
MD5: da7b8787e95a68f105a4af7d2c927507
