From 734645abcd64428276633a316e561a95fef43737 Mon Sep 17 00:00:00 2001 From: jacob Date: Fri, 29 Apr 2005 18:48:50 +0000 Subject: [PATCH] this got lost from b_bgl --- build/README.kernel-source | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) 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 -- 1.8.3.1