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
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 at 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
> 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.
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/attachments/20101221/f25755b7/attachment.html
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 at 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 >
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 >