You can typically do the simple steps:

 - checkout Lustre release (4.14 probably needs the 2.12.0 release, but maybe
   2.10.6 will also work)
 - sh autogen.sh
 - ./configure
 - make rpms

You have to have the kernel-headers package installed for the target kernel,
along with the proper .config file.

On Jan 7, 2019, at 16:03, Tauferner, Andrew T <[email protected]> 
wrote:
> 
> I looked over that documentation before but it wasn’t clear how to build only 
> the Lustre kernel modules (lnet.ko, lustre.ko, libcfs.ko, etc.).  I was 
> relying on the 4.14 kernel build but the lustre code in the staging directory 
> there is quite old and disappears completely in 4.18.  So now I need to do an 
> out of tree build for Lustre.  Also, the target kernel is not running on the 
> build system.
>  
> Andy
>  
>> From: Peter Jones [mailto:[email protected]] 
>> Sent: Monday, January 7, 2019 4:44 PM
>>  
>> http://wiki.lustre.org/Compiling_Lustre should hopefully have the info you 
>> need
>>  
>>  
>> From: "Tauferner, Andrew T" <[email protected]>
>>>  
>>> I’m trying to build Lustre (v2_10_6) kernel modules for a custom x86_64 
>>> kernel.  Can somebody point me to the proper place for source and build 
>>> instructions?  Thanks.
>>>  

Cheers, Andreas
---
Andreas Dilger
Principal Lustre Architect
Whamcloud







_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to