Index of /public/fedora/f9/kdb
Sat May 17 12:38:33 PDT 2008 dwight@supercomputer.org
The files here are the kdb patches for the Fedora 9 kernel.
SGI's naming convention is followed. To this is added the term "f9" to
denote that it's specific to the Fedora 9 kernel (and not the kernel.org
kernel, which the original patches use).
Following the "f9" is a release number. Thus the file
kdb-v4.4-2.6.25-x86-2-f9-b.bz2
is the F9 patch, revision "b", to the corresponding SGI patch:
kdb-v4.4-2.6.25-x86-2.bz2
To install this patch, and build an F9 kernel with kdb support:
0. Set up your kernel source tree:
0.1 wget http://.../kernel-2.6.25-14.fc9.src.rpm
0.2 rpm -ivh kernel-2.6.25-14.fc9.src.rpm
0.3 cd /usr/src/redhat/SPECS
0.4 rpmbuild -bp kernel.spec
- This will extract and patch the entire Fedora kernel source,
and put it in /usr/src/redhat/BUILD
1. Copy these patches to your system. Say in ~/kdb-patches:
1.1 mkdir ~/kdb-patches
1.2 cd ~/kdb-patches
1.3 wget http://www.supercomputer.org/public/fedora/f9/kdb/k*2
1.4 Get the following patches from:
ftp://oss.sgi.com/projects/kdb/download/v4.4
kdb-v4.4-2.6.25-common-1.bz2
kdb-v4.4-2.6.25-x86-2.bz2
2. Extract them:
2.1 cd ~/kdb-patches
2.2 bunzip2 *
2.3 P=`pwd`
3. Apply the patches.
3.1 cd /usr/src/redhat/BUILD/XXX/linux-2.6.25.x86_64
patch -p1 < $P/kdb-v4.4-2.6.25-common-1.bz2
patch -p1 < $P/kdb-v4.4-2.6.25-x86-2
patch -p1 < $P/kdb-v4.4-2.6.25-x86-2-f9-b
Now you can build and install your kernel. During the `make *config`
make certain that kdb is enabled.
E.g.: make mrproper
cp configs/*debug* .config
make oldconfig
make
make modules_install
make install