[Lustre-discuss] Fail in building lustre module

Cory Spitz spitzcor at cray.com
Thu Nov 17 02:46:24 PST 2011


Right, Lustre won't currently build for kernels much beyond 2.6.32, but 
we're (the community) is working on it.  You may have better luck with 
patchless clients on late 2.6 kernels, but in 3.0 you'll definitely need 
to wait for support.  Feel free to contribute on your own ;)

Do you just need to build clients or servers too?

-Cory

On 11/17/2011 4:37 AM, Thomas Anderson wrote:
> I've tested squeeze (kernel 2.6.32-5) and wheezy (2.6/ 3.0.0); both do
> not work. So looks like basically lusture module doesn't work with
> kernel 2.6.32 onward.
> In addition to waiting for the patch, is there any chance that user
> can build by simply applying lustre patch and kernel source?
>
> Thanks again for all your help.
>
> On Thu, Nov 17, 2011 at 4:04 AM, Cory Spitz<spitzcor at cray.com>  wrote:
>> Yes, Lustre will need porting to Linux 3.0.  See
>> http://jira.whamcloud.com/browse/LU-812 for more info.
>>
>> -Cory
>>
>> On 11/16/2011 6:50 AM, Brian J. Murrell wrote:
>>> On 11-11-16 07:02 AM, Thomas Anderson wrote:
>>>>
>>>> module-assistant -u .  -k ./linux-source-3.0.0 -l 3.0.0
>>>>
>>>> it throws the error saying kdist_config error as below:
>>>>
>>>>    checking sys/quota.h presence... yes
>>>> checking for sys/quota.h... yes
>>>>    checking whether to build kernel modules... yes (linux-gnu)
>>>>    checking for Linux sources... /usr/src/linux-source-3.0.0
>>>>     checking for /usr/src/linux-source-3.0.0... yes
>>>> checking for Linux objects dir... /usr/src/linux-source-3.0.0
>>>>    checking for /boot/kernel.h... no
>>>>    checking for /var/adm/running-kernel.h... no
>>>>    checking for /usr/src/linux-source-3.0.0/.config... yes
>>>>    checking for /usr/src/linux-source-3.0.0/include/linux/autoconf.h...
>>>> no
>>>>     configure: error: Run make config in /usr/src/linux-source-3.0.0.
>>>
>>> As the error says, you need to run "make config" in your kernel source
>>> tree.  If you have done that already then I would presume that the 3.0
>>> kernel has changed enough that Lustre will need to be ported to support it.
>>>
>>> b.
>>>
>> _______________________________________________
>> Lustre-discuss mailing list
>> Lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss



More information about the lustre-discuss mailing list