X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=build%2FREADME.kernel-source;h=bb985e9c974092623fea7f0d8b8e178fe94d666e;hb=70b252b806508fcaa95f5e71319e1e968f6b6cb0;hp=0b88efe1a14468850a6bd70c03725d398e9f080a;hpb=e9608dbc9a5d0953faced3fe517a2559d362ed5b;p=fs%2Flustre-release.git diff --git a/build/README.kernel-source b/build/README.kernel-source index 0b88efe1..bb985e9 100644 --- a/build/README.kernel-source +++ b/build/README.kernel-source @@ -1,10 +1,15 @@ -Lustre can currently build against Red Hat 2.4-style kernel-source -RPMs. All other kernel-source RPMs are *unsupported* at this time. +Lustre can currently build against Red Hat 2.4 and SuSE 2.6 +kernel-source RPMs. All other kernel-source RPMs are *unsupported* at +this time. Note that a Lustre-patched kernel is required for building Lustre; in most cases a kernel-source RPM from your Linux vendor will not contain the necessary patches. +## +## Instructions for Red Hat 2.4.x kernel-source RPMs +## + 1. kernel.h Building against a kernel-source RPM requires a special header. On @@ -72,3 +77,27 @@ Here is an example for configuring Lustre: ./configure --with-linux=/usr/src/linux-2.4.20-28.9_lustre.1.0.3 \ --with-kernel-source-header=/boot/kernel.h \ --with-linux-config=/boot/config-2.4.20-28.9_lustre.1.0.3smp + +## +## Instructions for SuSE 2.6.x kernel-source RPMs +## + +1. kernel-syms + +In addition to the kernel-source rpm, you may need to install a +kernel-syms rpm. This should be included where you got your kernel +rpm. + +2. linux-obj + +You will need to choose the correct linux-obj directory for your +machine. They will be located in /usr/src/linux-$(uname +-r)-obj/$ARCH/$FLAVOR. Lustre should be configured with the +--with-linux-obj option. + +3. Example + +Here is an example for configuring Lustre: + +./configure --with-linux=/usr/src/linux-2.6.5-7.97 \ +--with-linux-obj=/usr/src/linux-2.6.5-7.97-obj/ppc64/pseries64