[Lustre-discuss] SLES11 'make rpms' dies

Brian J. Murrell Brian.Murrell at Sun.COM
Wed Mar 24 10:53:29 PDT 2010


On Wed, 2010-03-24 at 13:31 -0400, Joe Landman wrote: 
> Hi folks

Hi,

> I followed the directions 
> (http://wiki.lustre.org/index.php/Building_and_Installing_Lustre_from_Source_Code) 
>    for building Lustre against the updated SLES11 2.6.27.45-0.1-default 
> kernel,

But you didn't check the support status of that kernel (or maybe you did
but were just trying your luck with a newer kernel), available in detail
in the changelog at http://wiki.lustre.org/index.php/Change_Log_1.8 or
on the support matrix at
http://wiki.lustre.org/index.php/Lustre_Release_Information#Lustre_Support_Matrix

The changelog specifies:

        Support for kernels:
        
        ...
        2.6.27.39-0.3.1 (SLES11, i686 & x84_64 only)
        ...

which, as you can see, is older than the kernel you are trying to build
for.  Maybe you know that.  I thought I would just point it out for
completeness in any case.

> and ran into this error during the
> 
> 	make rpms
> 
> step.
> 
> /usr/src/packages/BUILD/lustre-1.8.2/lustre/lvfs/fsfilt-ldiskfs.c:114: 
> error: field ‘cb_jcb’ has incomplete type
> /usr/src/packages/BUILD/lustre-1.8.2/lustre/lvfs/fsfilt-ldiskfs.c: In 
> function ‘fsfilt_ldiskfs_add_journal_cb’:
> /usr/src/packages/BUILD/lustre-1.8.2/lustre/lvfs/fsfilt-ldiskfs.c:793: 
> error: implicit declaration of function ‘jbd2_journal_callback_set’

Could be due to the newer kernel you are attempting to build for.

> I am building against this kernel due to some needed fixes in this 
> relative to the downloadable kernel.  More full error context below.  Is 
> there a workaround for this?  This is 1.8.2 Lustre GA.  Will the git 
> repository version have fixes for this?

If the problem is simply too new a kernel that requires some porting on
Lustre's part, perhaps, but not likely.  If you can find a bug tracking
the effort to support a newer SLES11 kernel, it will tell you if the
patches have landed (i.e. are in git) yet.

A quick search of BZ yielded bug 21862 which appears to be opened to
track the update to 2.6.27.42 although it appears no work has yet been
done.

b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20100324/d5678865/attachment.pgp>


More information about the lustre-discuss mailing list