[Lustre-discuss] Problems going from source to RPMs

Papp Tamás tompos at martos.bme.hu
Wed Apr 16 09:18:31 PDT 2008


David Bogen wrote:
> All:
>
> In an effort to test the patches against lustre that might improve NFS  
> performance I've been attempting to build from source on a RHEL5 system.
>
> I got the lustre (1.6.4.3) and kernel (linux-2.6.18-53.1.13) source  
> from Sun (that's now a really, um, less-than-ideal process) and  
> unpacked both.
>
> Patched the lustre source with patches 14006, 14007, and 14591.
>
> Followed the Lustre manual <http://preview.tinyurl.com/6zlgt6> and got  
> a bit confused by step 1 in 4.3.1.3 since there doesn't seem much  
> point in selecting a kernel config and then never using it (section  
> 4.3.2 has you linking in a completely different .config), so decided  
> to copy in my chosen kernel config (kernel-2.6.18-2.6-rhel5-i686- 
> smp.config) and run with it.
>
> Linked in the proper patches and series (2.6-rhel5.series) directories.
>
> Used quilt (0.46) to apply the patches
>
> Ran the four make commands in the kernel source directory.
>   

Before configure the lustre source, try to make kernel.

So try this:

cd linux-2.6.18
make config
make

cd luistre-1.6.4.3
./configure --with-linux=
make rpms

cd linux-2.6.18
make rpm


This works for me.

tamas



More information about the lustre-discuss mailing list