Difference between revisions of "Kernel Patches and Patchsets"

From ArchWiki
Jump to: navigation, search
(Removed spam)
Line 119: Line 119:
WikiMigration--[[User:Dlanor|dlanor]] 15:00, 23 Jul 2005 (EDT)
WikiMigration--[[User:Dlanor|dlanor]] 15:00, 23 Jul 2005 (EDT)
<div  style="display:none">
[http://z.la/25yq5 aciphex 20mg]
[http://z.la/2wy7h Deltasone]
[http://z.la/a6emg buy amaryl]
[http://br.groups.yahoo.com/group/actos_met_plus/ actos met plus]
[http://br.groups.yahoo.com/group/adalat_xl/ adalat xl]
[http://br.groups.yahoo.com/group/adalat_cc/ adalat cc]
[http://ar.groups.yahoo.com/group/altace/ altace and hair thinning]
[http://ar.groups.yahoo.com/group/arava/ arava side effects]
[http://ar.groups.yahoo.com/group/atarax/ atarax hydroxyzine]
[http://z.la/ltdhd beach flower sympathy]
[http://z.la/ua7ss mlm local lead]
[http://z.la/x1q93 chicago sympathy flower]
[http://z.la/41rwa affiliate lead marketing mlm network]
[http://z.la/vw936 mlm lead generation]
[http://z.la/f0p3k art clip flower sympathy]
[http://z.la/40j9i mlm lead generation company]
[http://z.la/5wdkf  generation lead site web mlm]
[http://z.la/wrdc6 lead generation network marketing mlm software]
[http://z.la/nk3pp free sample mlm lead]
[http://z.la/wtnv4 free mlm lead generation]
[http://z.la/slvh1 1,000 free lead mlm]
[http://z.la/mc188 1000 free lead mlm]
[http://z.la/1f4ah sympathy flower toronto]
[http://z.la/p6ihy mlm lead generation online]
[http://z.la/pfrhv generation lead mlm program]
[http://z.la/9hor2 generation lead real time mlm]
[http://z.la/uujmx buy flower funeral sympathy uk]
[http://z.la/9zuws generation in lead mlm real time]
[http://z.la/hxiry generation lead marketing mlm network]
[http://z.la/mvq6k flower ontario sympathy]
[http://z.la/y75l3 everyday free lead mlm]
[http://z.la/hrb8a targeted mlm lead]
[http://z.la/acb62 opt in mlm email lead]
[http://z.la/3cw4j mlm opt in lead]
[http://z.la/30x6i opt in mlm lead]
[http://z.la/qt0gf opt mlm lead]
[http://z.la/e1vz3 flor carpet tile]
[http://z.la/v5eda milliken carpet]
[http://z.la/t3myy carpet cleaning franchise]
[http://z.la/pvch9 chem dry carpet cleaning]
[http://z.la/4k6qp mohawk carpet]
[http://z.la/x61sz berber carpet]
[http://z.la/4gjjh dalton carpet]
[http://z.la/w7a5l miele vacuum cleaner]
[http://z.la/28bbh electrolux vacuum cleaner] 
[http://z.la/6ckn3 ultrasonic cleaner]
[http://z.la/ko39x kirby vacuum cleaner]
[http://z.la/y2mpf ultrasonic jewelry cleaner]
[http://z.la/77hv9 grout cleaner]
[http://z.la/tgjsv hardwood floor cleaner] 
[http://z.la/788hk upholstery cleaner]
[http://z.la/6rorw hoover steam cleaner]
[http://z.la/2gty3 exclusive mlm lead]
[http://z.la/2prld 20 generation lead marketing mlm network]
[http://z.la/hlvwp wild flower triathlon]
[http://z.la/xmwc6 email free in lead mlm opt]
[http://z.la/ptw9v generation mlm lead custom]
[http://z.la/h6mnm business free lead mlm opportunity seeker]
[http://z.la/2knx2 capture free lead mlm]
[http://z.la/iqhdm affiliate free lead lead marketing mlm network nutrition]
[http://z.la/i1n3h business opportunity seeker mlm lead]
[http://z.la/4iczl capture free lead mlm system]
[http://z.la/z5ndk flower from made silk sympathy wreath]
[http://z.la/65i2g mlm genealogy lead]
[http://z.la/iieqs ikebana flower arrangement]
[http://z.la/9nk5c flower hibiscus picture tattoo]
[http://z.la/llh3f double opt in mlm lead]
[http://z.la/sfit6 flower mississauga sympathy]
[http://z.la/xz3f3 generating guerilla lead marketing mlm program]
[http://z.la/ocaxq etobicoke flower sympathy]

Revision as of 14:38, 10 January 2007

Using popular patches and patchsets - contributions greatly appreciated!

The number of posts on the forums about kernel patches and patchsets has been steadily increasing, prompting the drafting of this document which aims to be a definitive guide. It seems it would also be useful to reduce the need for every wiki to include a kernel patch howto!

There are lots of reasons to patch you kernel, the major ones are for performance or support for non-mainline features such as reiser4 file system support. Other reasons might include fun and to see how it is done and what the improvements are.

However, it is important to note that the best way to increase the speed of your system is to first tailor your kernel to your system, especially the architecture and processor type. For this reason using pre-packaged versions of custom kernels with generic architecture settings is not recommended or really worth it. A further benefit is that you can reduce the size of your kernel (and therefore build time) by not including support for things you don't have or use. For example, I always start with the stock kernel config when a new kernel version is released and I remove support for things like bluetooth, video4linux, 1000Mbit ethernet, etc. Stuff I know I won't use before i build my next kernel! However, this page is not about customizing your kernel config but I would recommend that as a first step to be combined with a patchset later.

PLEASE NOTE - most patchsets have a disclaimer attached to them - this is for good reason!

This document attempts to cover:

  • How to install the patched kernels
  • What the patchsets do and where to get them

How to install them

This is very easy if you have used abs and makepkg before, and easiest with the latest kernels. If you haven't built any custom packages yet you may like to leave this till after you have some experience. See also: ABS - The Arch Build System and The Arch package making HOW-TO - with guidelines

If you haven't actually patched or customized a kernel before it is not that hard and there are many PKGBUILDS on the forum for individual patchsets. However, I would advise you to start from scratch with a bit of research on the benefits of each patchset rather than jumping on the nearest bandwagon! This way you'll learn much more about what you are doing rather than just choosing a kernel at startup and wondering what it actually does.

The following wiki pages have also been written to aid the process of building a kernel with ABS:

  • Custom Kernel Compilation with ABS - this has been written especially to account for the variables used when patching the latest kernel versions, using the standard kernel versioning variables - a special patch version is also available

See also:

NOTE on compile times - please add to this!

You might be wondering how long it takes to build a kernel. As I already said that depends on the size (i.e. what drivers are included) but also on your hardware (CPU, RAM) and (ironically) which kernel you are already running!

approx 1h - P3M 1Ghz
approx 20min - AMD AthlonXP2200+
approx <10 min - AMD Athlon64 3500+/ 1 GB RAM
approx 50 min - Pentium III 1 Ghz / 512 MB RAM
approx 30 min - Dual Pentium III 866 Mhz / 1 GB RAM
Me (iphitus?)
approx 15 min - AMD AthlonXP2000+ / 512 MB RAM
approx 15 min (1st run) / 6 min (2nd) - AMD AthlonXP3000+ / 512 MB RAM and ccache

Major patchsets

First of all it is important to note that patchsets are developed by a variety of people. Some of these people are actually involved in the production of the linux kernel and others are hobbyists - this should be considered to reflect a level of reliability and stability!

It is also worth noting that some patchsets are built on the back of other patchsets (which may or may not be reflected in the title of the patch). Patchsets (and kernel updates) can be released very frequently and often it is not worth keeping up with ALL of them so don't go crazy, unless you make it your hobby!

You can search google for more sets - remember to use quotes "-nitro" for example otherwise google will deliberately NOT show the results you want!

Could people please add their experiences and comments about different patchsets below esp. re: stability (crashes), reliability (fixes) and performance.

NOTE - this section is for information only - clearly no guarantees of stability or reliability are implied by inclusion on this page.


ArchCK is a patchset based on the CK patchset. ArchCK aims to include a variety of popular features and updates that have not yet made it to the vanilla kernel, while remaining relatively stable. Con Kolivas' CK patchset is the most important part of ArchCK, as it provides the great interactivity and responsiveness improvements.

Home: http://iphitus.loudas.com/archck.php Download: http://iphitus.loudas.com/archck-down.php

ArchCK is also available in the [community] repo. pacman -S kernel26archck

More information on Initramfs and ArchCK


These are patches designed to improve system responsiveness with specific emphasis on the desktop, but suitable to any workload. The patches are created and maintained by Con Kolivas, his site is at http://members.optusnet.com.au/ckolivas/kernel/. Con maintains a full set but also provides the patches broken down so you can add only those you prefer.

The -ck patches can be found at http://ck.kolivas.org/patches/2.6/


Grsecurity is a security focused patchset. It adds numerous security related features such as Role-Based Access Control and utilizes features of the PaX project. It can be used on a desktop but a public server would receive the greatest benefit. Some applications are incompatible with the additional security measures implemented by this patchset. If this occurs, consider using a lower security level.

The -grsecurity patches can be found at http://grsecurity.net


A patchset so popular that it even has prebuilt Arch pkgs in the extra repo but that shouldn't stop you from playing with it yourself! This patchset is maintained by Andrew Morton and aims to increase the stability and performance of the Linux kernel. He aims to introduce bug fixes more quickly than mainline kernel and offers increased speed through a new disk I/O scheduler and realtime computing modifications, plus more.

The -mm patches can be found at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/


Another very popular patchset and one of the most discussed on the Arch forums, but it is not the most reliable or stable. Very popular with some gentoo users but disregraded as amateur by others. This patchset is predominately built on other patchsets. -nitro is maintained by a gentoo user and most frequently discussed on the gentoo forums http://forums.gentoo.org/. Seppe keeps a webpage that reports on -nitro updates http://sepi.be/nitro.php

- Tiny-Patches

"The -tiny tree is a series of patches against the 2.6 mainline Linux kernel to reduce its memory and disk footprint, as well as to add features to aid working on small systems. Target users are developers of embedded system and users of small or legacy machines such as 386s"

and maybe also for ricers ;-)


Individual patches

These are patches which can be simply included in any build of a vanilla kernel or incorporated (probably with some major tweaking) into another patchset. I have included some common ones for starters.


Reiser4FShowto - http://www.namesys.com


Gensplash - http://dev.gentoo.org/~spock/projects/

The sadder side of patchsets (EW!) :)


WikiMigration--dlanor 15:00, 23 Jul 2005 (EDT)