* [Lustre-devel] ldiskfs build problem with rhel5.5
@ 2010-12-18 0:43 Jay Lan
2010-12-18 5:02 ` Andreas Dilger
2010-12-20 13:51 ` James Simmons
0 siblings, 2 replies; 6+ messages in thread
From: Jay Lan @ 2010-12-18 0:43 UTC (permalink / raw)
To: lustre-devel
Hi,
I ran into a problem in building ldiskfs-3.1.4 with 2.6.18-194.3.1.el5
kernel.
The kernel was patched with kernel patches provided by lustre-1.8.5 and
ldiskfs-3.1.4.
The problem I encountered was that the kernel and kernel-devel rpms
did not provide fs/ext4/*.[ch], which the build process would need.
Is there a kernel patch for this problem?
Regards,
Jay
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Lustre-devel] ldiskfs build problem with rhel5.5
2010-12-18 0:43 [Lustre-devel] ldiskfs build problem with rhel5.5 Jay Lan
@ 2010-12-18 5:02 ` Andreas Dilger
2010-12-27 6:41 ` Jay Lan
2010-12-20 13:51 ` James Simmons
1 sibling, 1 reply; 6+ messages in thread
From: Andreas Dilger @ 2010-12-18 5:02 UTC (permalink / raw)
To: lustre-devel
You shouldn't apply the ldiskfs patches to the kernel at all. They are applied to a copy if the ext3/4 sources during the Lustre build process.
Cheers, Andreas
On 2010-12-17, at 17:43, Jay Lan <jlan@sgi.com> wrote:
> Hi,
>
> I ran into a problem in building ldiskfs-3.1.4 with 2.6.18-194.3.1.el5
> kernel.
> The kernel was patched with kernel patches provided by lustre-1.8.5 and
> ldiskfs-3.1.4.
>
> The problem I encountered was that the kernel and kernel-devel rpms
> did not provide fs/ext4/*.[ch], which the build process would need.
>
> Is there a kernel patch for this problem?
>
> Regards,
> Jay
>
>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Lustre-devel] ldiskfs build problem with rhel5.5
2010-12-18 0:43 [Lustre-devel] ldiskfs build problem with rhel5.5 Jay Lan
2010-12-18 5:02 ` Andreas Dilger
@ 2010-12-20 13:51 ` James Simmons
2010-12-21 17:34 ` [Lustre-devel] Compiling source code Ravi
2010-12-27 6:48 ` [Lustre-devel] ldiskfs build problem with rhel5.5 Jay Lan
1 sibling, 2 replies; 6+ messages in thread
From: James Simmons @ 2010-12-20 13:51 UTC (permalink / raw)
To: lustre-devel
> Hi,
>
> I ran into a problem in building ldiskfs-3.1.4 with 2.6.18-194.3.1.el5
> kernel.
> The kernel was patched with kernel patches provided by lustre-1.8.5 and
> ldiskfs-3.1.4.
>
> The problem I encountered was that the kernel and kernel-devel rpms
> did not provide fs/ext4/*.[ch], which the build process would need.
>
> Is there a kernel patch for this problem?
Does it deal with export_decode_fh ? Do you build againt OFED 1.5.2 ? If
that is the case then I ran into that issue last week. OFED alters your
kernel to build the modules but it doesn't alter the source tree. When
lustre builds it looks at your source tree which is different then what
the biniaries export. The solution is to copy what is in include-nfs/linux
from OFED to your kernel source tree include/linux directory.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Lustre-devel] Compiling source code
2010-12-20 13:51 ` James Simmons
@ 2010-12-21 17:34 ` Ravi
2010-12-27 6:48 ` [Lustre-devel] ldiskfs build problem with rhel5.5 Jay Lan
1 sibling, 0 replies; 6+ messages in thread
From: Ravi @ 2010-12-21 17:34 UTC (permalink / raw)
To: lustre-devel
Hey
I am new to lustre and was trying to compile the lustre kernel and while giving a make i get the following errors.
Uncaught exception from user code:
Run make dep on
at ../lustre/scripts/version_tag.pl line 171
main::get_linuxdir() called at ../lustre/scripts/version_tag.pl line 258
make[2]: *** [lustre_build_version] Error 2
make[2]: Leaving directory `/home/darbha/lustre/export/lustre-1.8.1.1/lustre'
make[1]: *** [all-sources] Error 2
make[1]: Leaving directory `/home/darbha/lustre/export/lustre-1.8.1.1'
make: *** [all-recursive] Error 1
I am using 1.8.1.1 lustre code.Could anyone please help
Thanks
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20101221/f25755b7/attachment.htm>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Lustre-devel] ldiskfs build problem with rhel5.5
2010-12-18 5:02 ` Andreas Dilger
@ 2010-12-27 6:41 ` Jay Lan
0 siblings, 0 replies; 6+ messages in thread
From: Jay Lan @ 2010-12-27 6:41 UTC (permalink / raw)
To: lustre-devel
Andreas Dilger wrote:
> You shouldn't apply the ldiskfs patches to the kernel at all. They are applied to a copy if the ext3/4 sources during the Lustre build process.
>
Hi Andreas,
No matter if I applied ldiskfs patches to the kernel or not, the
/isr/src/kernels/2.6.18-194.3.1.el5.<variant>-x86_64/fs/ext4
contains only Kconfig and Makefile. None of the .c or .h files
were there. But building ldiskfs would try to apply patches
to files in that directory which were not present.
Which rpm provides you those files in your rhel5.5
build environment?
Thanks,
Jay
> Cheers, Andreas
>
> On 2010-12-17, at 17:43, Jay Lan <jlan@sgi.com> wrote:
>
>
>> Hi,
>>
>> I ran into a problem in building ldiskfs-3.1.4 with 2.6.18-194.3.1.el5
>> kernel.
>> The kernel was patched with kernel patches provided by lustre-1.8.5 and
>> ldiskfs-3.1.4.
>>
>> The problem I encountered was that the kernel and kernel-devel rpms
>> did not provide fs/ext4/*.[ch], which the build process would need.
>>
>> Is there a kernel patch for this problem?
>>
>> Regards,
>> Jay
>>
>>
>> _______________________________________________
>> Lustre-devel mailing list
>> Lustre-devel at lists.lustre.org
>> http://lists.lustre.org/mailman/listinfo/lustre-devel
>>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Lustre-devel] ldiskfs build problem with rhel5.5
2010-12-20 13:51 ` James Simmons
2010-12-21 17:34 ` [Lustre-devel] Compiling source code Ravi
@ 2010-12-27 6:48 ` Jay Lan
1 sibling, 0 replies; 6+ messages in thread
From: Jay Lan @ 2010-12-27 6:48 UTC (permalink / raw)
To: lustre-devel
James Simmons wrote:
>> Hi,
>>
>> I ran into a problem in building ldiskfs-3.1.4 with 2.6.18-194.3.1.el5
>> kernel.
>> The kernel was patched with kernel patches provided by lustre-1.8.5 and
>> ldiskfs-3.1.4.
>>
>> The problem I encountered was that the kernel and kernel-devel rpms
>> did not provide fs/ext4/*.[ch], which the build process would need.
>>
>> Is there a kernel patch for this problem?
>>
>
> Does it deal with export_decode_fh ? Do you build againt OFED 1.5.2 ? If
> that is the case then I ran into that issue last week. OFED alters your
> kernel to build the modules but it doesn't alter the source tree. When
> lustre builds it looks at your source tree which is different then what
> the biniaries export. The solution is to copy what is in include-nfs/linux
> from OFED to your kernel source tree include/linux directory.
>
Hi James,
I was building against ofed 1.5.2, but I did not run into the
problem you described though. But thanks for sharing your
solution.
Thanks,
Jay
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-12-27 6:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 0:43 [Lustre-devel] ldiskfs build problem with rhel5.5 Jay Lan
2010-12-18 5:02 ` Andreas Dilger
2010-12-27 6:41 ` Jay Lan
2010-12-20 13:51 ` James Simmons
2010-12-21 17:34 ` [Lustre-devel] Compiling source code Ravi
2010-12-27 6:48 ` [Lustre-devel] ldiskfs build problem with rhel5.5 Jay Lan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.