Linux Kernel Patchset

From Poggs' Wiki

Jump to: navigation, search

Contents

Why patch?

I run a number of machines - a desktop, laptop, production web-server and VoIP box. Each of them runs a slightly different kernel revision, and each requires different patches to remain up-to-date with drivers and features:

Machine Broadcom NIC Marvell NIC Intel ipw3945 TuxOnIce Zaptel Custom ACPI DSDT VMware MH Bluetooth
angel.st-albans.poggs.net N Y N N N Y Y Y
neasden.st-albans.poggs.net Y N Y Y N Y Y Y
tufnell.london.poggs.net N N N N Y N N N
highgate.st-albans.poggs.net N N N N Y Y N N

Any attempt to try to standardise a kernel version is tricky - each machine has a different .config file, with a slightly different set of options, and usually has its own kernel source in /usr/src.

I decided to spend some time creating a unified patchset which included all the above patches, with changes to ensure they apply sensibly, reproducibly and without errors.

The resulting patchset is unlikely to be much use to you, however I will soon document the process I used so you can use it for your own unified patchsets.

About the patches

Each .diff file must be applied to a freshly unpacked base image - for example, a 2.6.23 release must be applied to a stock 2.6.23 kernel, not 2.6.23.1.

Patch items in bold are later versions of a patch than the previous release. All other patch items are identical, apart from fix-ups to allow them to apply cleanly to kernel sources.

Current kernel patch

Kernel 2.6.24

Release 2008-01-27

Download patch-poggs-2.6.24-1.patch

  • uvesafb no longer included as it is part of the kernel
  • PaX may be coming in a later 2.6.24-poggs patch once the changes TuxOnIce makes to do_mounts.c have been understood
  • mac80211, iwl3945 and iwlwifi drivers may also appear later when the changes in the Intel-provided snapshots have been understood

Older kernel patches

Kernel 2.6.23

Release 2007-12-02

Download patch-poggs-2.6.23-2.patch

  • Kernel patch 2.6.23.9
  • uvesafb 0.1-rc3
  • PaX no longer included
  • Tux on Ice release 3.0-rc3
  • ACPI Custom DSDT patch release 0.8.4
  • sk98lin driver release 10.22.4.3
  • iwlwifi 1.2.0
  • IEEE 802.11 release 1.2.18 no longer included
  • mac80211 10.0.2
  • ipw3945 release 1.2.2 no longer included

Release 2007-10-12

Download patch-poggs-2.6.23-1.patch

  • Kernel patch 2.6.23.1
  • PaX release 2.6.23-test2
  • Tux on Ice release 3.0-rc1
  • ACPI Custom DSDT patch release 0.8.4
  • sk98lin driver release 10.21.1.3
  • IEEE 802.11 release 1.2.18
  • ipw3945 release 1.2.2

Kernel 2.6.22

Release 2007-10-06

Download patch-poggs-2.6.22-1.patch

  • Kernel patch 2.6.22.9
  • PaX release 2.6.22-test31
  • Tux on Ice release 2.2.10.4
  • ACPI Custom DSDT patch release 0.8.4
  • sk98lin driver release 10.21.1.3
  • IEEE 802.11 release 1.2.18
  • ipw3945 release 1.2.2
Personal tools