[Lustre-discuss] Client Kernel panic - not syncing. Lustre 1.8.5

Aaron Everett aeverett at forteds.com
Thu May 19 08:51:49 PDT 2011


I'm getting a build error:
make[5]: Entering directory `/usr/src/kernels/2.6.18-238.9.1.el5-x86_64'
/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc/mdc_lib.c:828: error:
conflicting types for 'mdc_getattr_pack'
/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc/mdc_internal.h:56: error:
previous declaration of 'mdc_getattr_pack' was here
make[8]: *** [/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc/mdc_lib.o] Error
1
make[7]: *** [/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc] Error 2
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/usr/src/redhat/BUILD/lustre-1.8.5/lustre] Error 2
make[5]: *** [_module_/usr/src/redhat/BUILD/lustre-1.8.5] Error 2
make[5]: Leaving directory `/usr/src/kernels/2.6.18-238.9.1.el5-x86_64'
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.5'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.5'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.5'
error: Bad exit status from /var/tmp/rpm-tmp.63873 (%build)

mdc_internal.h:
     55 void mdc_getattr_pack(struct ptlrpc_request *req, int offset, __u64
valid,
     56                       int flags, struct mdc_op_data *data);

mdc_lib.c (patched version downloaded from link above):
    828 {
    829         if (mdc_req_is_2_0_server(req))
    830                 mdc_getattr_pack_20(req, offset, valid, flags, data,
ea_size);
    831         else
    832                 mdc_getattr_pack_18(req, offset, valid, flags,
data);
    833 }

Upon closer inspection, it appears this patch is for Lustre 1.8.6, while
we're running 1.8.5. Is there a download location for lustre source for
1.8.6? I don't see it on lustre.org.

Thanks again for your help!
Aaron


On Thu, May 19, 2011 at 11:30 AM, Aaron Everett <aeverett at forteds.com>wrote:

> Excellent. Thanks for the quick reply. Building new rpm's now.
>
> Aaron
>
>
> On Thu, May 19, 2011 at 11:17 AM, Johann Lombardi <johann at whamcloud.com>wrote:
>
>> On Thu, May 19, 2011 at 11:06:08AM -0400, Aaron Everett wrote:
>> > Thanks for the replies. Does the patch need to be applied to clients'
>> > lustre-module rpms only, client and server lustre&lustre-module rpms, or
>> > will I need to build new kernels for the servers as well?
>>
>> You only need to apply the patch to the lustre clients (only the
>> lustre-module rpms will be modified). No need to rebuild the kernel.
>>
>> Johann
>> --
>> Johann Lombardi
>> Whamcloud, Inc.
>> www.whamcloud.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20110519/0f8e447c/attachment.htm>


More information about the lustre-discuss mailing list