[lustre-devel] CentOS 6 - Build problems with kmod

Christopher J. Morrone morrone2 at llnl.gov
Fri Aug 19 14:25:00 PDT 2016


On 08/19/2016 02:10 PM, Patrick Farrell wrote:
> 
> On 08/19/2016 03:58 PM, Christopher J. Morrone wrote:
>> On 08/19/2016 01:51 PM, Patrick Farrell wrote:
>>> On 08/19/2016 03:44 PM, Christopher J. Morrone wrote:
>>>> On 08/18/2016 03:11 PM, Patrick Farrell wrote:
>>>>> Chris,
>>>>>
>>>>>
>>>>> I agree with your contention about the kernel symbols, that's why I
>>>>> rebuilt from scratch and reinstalled.  Just did it again.  Still
>>>>> getting
>>>>> the error.
>>>>>
>>>>>
>>>>>> It sounds like you built your own kernel.  Did you install all the
>>>>>> resulting kernel packages before building lustre (including any
>>>>>> devel-related packages)?
>>>>> Yes, but this process doesn't produce anything other than the kernel
>>>>> RPM.
>>>> You are saying that literally only one rpm is produced?  If that isn't
>>>> what your are saying, please list all of the produced rpms, and also
>>>> list which ones you are installing.
>>> Yes, one non-source RPM.  I don't install any RPMs as part of the build
>>> process itself.
>> You should be installing RPMs as part of the build process.  You should
>> install Lustre's BuildRequires before building Lustre.
> Huh.  OK.  I have never needed to do so before when building everything
> from scratch.
> 
> Is this build process documented somewhere, so I can switch to it in my
> testing environment?  I don't know how to invoke a CentOS kernel build
> to create those RPMs I now need.

I don't know.  That sounds like something you should look up in
CentOS/RHEL/Fedora documentation.

Or you maybe you can just skip the custom kernel altogether.  That is
largly what I do.  I haven't built a kernel myself in years, actually.
When LU-684's patch lands, Lustre-owned custom kernels can be a thing of
the past for everyone!

Get on the bandwagon early and stop using Lustre-patched kernels now. :)

Chris



More information about the lustre-devel mailing list