Here is the Linux ABI
patch for Red Hat 2.4.21, running on Red Hat Linux Enterprise Linux
version 3.
linux-abi-redhat-2.4.20.0-27.7.patch.gz
The patch applies cleanly to kernel-source-2.4.21-20.EL.i386.rpm.
It probably works on all Red Hat 2.4.21 kernels.
This patch was derived from the
linux-abi-2.4.20.0.patch.gz
version of the Linux ABI patch.
I use it on a production system to run SCO binaries. Your luck
with other emulations may vary - let me know if they don't work.
Here is a similar patch for the Fedora kernel
kernel-2.6.9-1.681_FC3.src.rpm:
linux-abi-fedora-2.6.9.0-1.681_FC3.patch.gz
It was derived from the 2.6.9 patch on Source Forge.
Debian uses can find the Linux ABI patches in the Debian repository.
I now use Debian, so I will not be releasing new patches packaged specifically for Red Hat. However, I run Red Hat kernels on some of the Debian machines, and so I still do the occasional port of Linux ABI to Red Hat kernels. This means that if you are desperate you can try one of those. Perversely, this means the Red Hat kernel patches come in Debian packages. You can download these from the Debian repository. Just grab kernel-patch-linuxabi_XXXX.tar.gz, and have a poke around.
Recently I have found a serious stack corruption bug in Linux ABI,
documented here:
Source Forge Email re signal handling
This problem has not been fixed in the patches below. Nonetheless,
most of them seem to work. If they don't, you can always apply
the patch in the link yourself.
This patch is for the patch for Red Hat 2.4.20 kernel,
running on Red Hat Linux 7.2:
linux-abi-redhat-2.4.20.0-27.7.patch.gz
This patch also applies cleanly to the Red Hat 8.0 kernels kernel-source-2.4.20-24.8.i386.rpm and kernel-source-2.4.20-27.8.i386.rpm, the latter being the current release for Red Hat 8.0.
Here is the patch for kernel-source-2.4.20-27.9.i386.rpm,
which is the current kernel for 9. The patch applies cleanly but
is untested. It also applies cleanly to
kernel-source-2.4.20-24.9.i386.rpm. If you use it let me know if it
works or not - I will post the results here.
linux-abi-redhat-2.4.20.0-27.9.patch.gz
Here is the patch for kernel-source-2.4.21-20.EL.i386.rpm.
The patch applies cleanly and appears to work SCO binaries
but is otherwise untested. If you use it let me know if it
works or not - I will post the results here.
linux-abi-redhat-2.4.21.0-20.EL.patch.gz
I took the 2.4.26-0 kernel from kernel.org and applied the attached patch with success. ABI functions are as far as I tested so far ok (SCO part). Use it at your will.
You have helped me in the past, and I thought that you may want to list the attached file on your site. It has a small modification to the standard patch that allows it to apply cleanly to the redhat 2.4.1-47 kernel srpm.
Red Hat has decided to remove the patch from their kernels. This effects kernel-2.4.20 and beyond.
The obvious solution is to just apply the Linux ABI patches yourself to the Red Hat kernel. And that is what I did, but it took me a few days because of all the customisations Red Hat do to their kernels. The patch above is the result of that effort.
Russell Stuart, 2005-Jan-12. Email: russell-linuxabi@stuart.id.au