Hi all, I am trying to test 1.6 beta 5 and I''m not sure if I am missing something. I have downloaded the beta 5 package and it points me to the install pages for 1.4 setup. Are those the instructions I follow to setup 1.6. If so where do I find the kernel patches. I click the link to download them and it says that page doesn''t exist. I want to test out this new version. Thanks, Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061011/396423bb/attachment.html
Hi Jon, The patches are in the lustre distro, down in lustre/lustre/kernel_patches. Or I think you could use one of the prepatched kernels out there for 1.4. Once you have a patched kernel, I found the following wiki page to be useful in setting up 1.6 for the first time: https://mail.clusterfs.com/wikis/lustre/MountConf You can also set up a simple lustre configuration all on one node with files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script down in lustre/lustre/tests. This loads (pre-built) modules out of your source tree. The "llmountcleanup.sh" script tears it down. Hope that helps. Jim On Wed, 11 Oct 2006, Jon Scottorn wrote:> > Hi all, > > I am trying to test 1.6 beta 5 and I''m not sure if I am missing > something. I have downloaded the beta 5 package and it points me to the > install pages for 1.4 setup. Are those the instructions I follow to > setup 1.6. If so where do I find the kernel patches. I click the link > to download them and it says that page doesn''t exist. > > I want to test out this new version. > > Thanks, > > Jon Scottorn > Systems Administrator > The Possibility Forge, Inc. > http://www.possibilityforge.com > 435.635.0591 x.1004 >
Hi again, Well, I have got a 2.6.18 vanilla kernel patched and running now. But when I go to build lustre I get this error. CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such file or directory /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' undeclared (first use in this function) /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared identifier is reported only once /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each function it appears in.) /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' undeclared (first use in this function) /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' undeclared (first use in this function) /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' undeclared (first use in this function) /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing pointer to incomplete type /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing pointer to incomplete type make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 make[3]: *** [_module_/root/lustre-1.5.95] Error 2 make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-1.5.95'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-1.5.95'' make: *** [all] Error 2 I am running on a Debian AMD64 System. What might I be missing? I ran ./configure followed by make which resulted in the above error. If I do a locate for al.h this is what I find. /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h Thanks again for any advise. Jon On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote:> Hi Jon, > > The patches are in the lustre distro, down in lustre/lustre/kernel_patches. > Or I think you could use one of the prepatched kernels out there for 1.4. > > Once you have a patched kernel, I found the following wiki page to be > useful in setting up 1.6 for the first time: > > https://mail.clusterfs.com/wikis/lustre/MountConf > > You can also set up a simple lustre configuration all on one node with > files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script > down in lustre/lustre/tests. This loads (pre-built) modules out of > your source tree. The "llmountcleanup.sh" script tears it down. > > Hope that helps. > > Jim > > On Wed, 11 Oct 2006, Jon Scottorn wrote: > > > > > Hi all, > > > > I am trying to test 1.6 beta 5 and I''m not sure if I am missing > > something. I have downloaded the beta 5 package and it points me to the > > install pages for 1.4 setup. Are those the instructions I follow to > > setup 1.6. If so where do I find the kernel patches. I click the link > > to download them and it says that page doesn''t exist. > > > > I want to test out this new version. > > > > Thanks, > > > > Jon Scottorn > > Systems Administrator > > The Possibility Forge, Inc. > > http://www.possibilityforge.com > > 435.635.0591 x.1004 > >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061011/1aa00737/attachment-0001.html
Maybe this is the problem: https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html> 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to > lustre/ldiskfs/, so that super.c will compile.Jim On Wed, 11 Oct 2006, Jon Scottorn wrote:> Hi again, > > Well, I have got a 2.6.18 vanilla kernel patched and running now. > But when I go to build lustre I get this error. > > CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o > /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such > file or directory > /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' > undeclared (first use in this function) > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared > identifier is reported only once > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each > function it appears in.) > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > undeclared (first use in this function) > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > undeclared (first use in this function) > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' > undeclared (first use in this function) > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing > pointer to incomplete type > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing > pointer to incomplete type > make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/root/lustre-1.5.95'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/lustre-1.5.95'' > make: *** [all] Error 2 > > I am running on a Debian AMD64 System. What might I be missing? > > I ran ./configure > followed by make > which resulted in the above error. > If I do a locate for al.h this is what I find. > /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h > /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h > > Thanks again for any advise. > > Jon > > On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: > >> Hi Jon, >> >> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. >> Or I think you could use one of the prepatched kernels out there for 1.4. >> >> Once you have a patched kernel, I found the following wiki page to be >> useful in setting up 1.6 for the first time: >> >> https://mail.clusterfs.com/wikis/lustre/MountConf >> >> You can also set up a simple lustre configuration all on one node with >> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script >> down in lustre/lustre/tests. This loads (pre-built) modules out of >> your source tree. The "llmountcleanup.sh" script tears it down. >> >> Hope that helps. >> >> Jim >> >> On Wed, 11 Oct 2006, Jon Scottorn wrote: >> >>> >>> Hi all, >>> >>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing >>> something. I have downloaded the beta 5 package and it points me to the >>> install pages for 1.4 setup. Are those the instructions I follow to >>> setup 1.6. If so where do I find the kernel patches. I click the link >>> to download them and it says that page doesn''t exist. >>> >>> I want to test out this new version. >>> >>> Thanks, >>> >>> Jon Scottorn >>> Systems Administrator >>> The Possibility Forge, Inc. >>> http://www.possibilityforge.com >>> 435.635.0591 x.1004 >>> > > Jon Scottorn > Systems Administrator > The Possibility Forge, Inc. > http://www.possibilityforge.com > 435.635.0591 x.1004 >
Thanks for the help. I have gotten past that one now but now I am getting more errors. Not sure how to fix this one. /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' undeclared (first use in this function) /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: (Each undeclared identifier is reported only once /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: for each function it appears in.) /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' undeclared (first use in this function) make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 make[3]: *** [_module_/root/lustre-1.5.95] Error 2 make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-1.5.95'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-1.5.95'' make: *** [all] Error 2 Any other thoughts are greatly appreciated. Thanks, Jon On Wed, 2006-10-11 at 15:48 -0700, Jim Garlick wrote:> Maybe this is the problem: > > https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html > > > 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to > > lustre/ldiskfs/, so that super.c will compile. > > Jim > > On Wed, 11 Oct 2006, Jon Scottorn wrote: > > > Hi again, > > > > Well, I have got a 2.6.18 vanilla kernel patched and running now. > > But when I go to build lustre I get this error. > > > > CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such > > file or directory > > /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' > > undeclared (first use in this function) > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared > > identifier is reported only once > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each > > function it appears in.) > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > > undeclared (first use in this function) > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > > undeclared (first use in this function) > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' > > undeclared (first use in this function) > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing > > pointer to incomplete type > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing > > pointer to incomplete type > > make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > > make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > > make[2]: *** [modules] Error 2 > > make[2]: Leaving directory `/root/lustre-1.5.95'' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/lustre-1.5.95'' > > make: *** [all] Error 2 > > > > I am running on a Debian AMD64 System. What might I be missing? > > > > I ran ./configure > > followed by make > > which resulted in the above error. > > If I do a locate for al.h this is what I find. > > /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h > > /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h > > > > Thanks again for any advise. > > > > Jon > > > > On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: > > > >> Hi Jon, > >> > >> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. > >> Or I think you could use one of the prepatched kernels out there for 1.4. > >> > >> Once you have a patched kernel, I found the following wiki page to be > >> useful in setting up 1.6 for the first time: > >> > >> https://mail.clusterfs.com/wikis/lustre/MountConf > >> > >> You can also set up a simple lustre configuration all on one node with > >> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script > >> down in lustre/lustre/tests. This loads (pre-built) modules out of > >> your source tree. The "llmountcleanup.sh" script tears it down. > >> > >> Hope that helps. > >> > >> Jim > >> > >> On Wed, 11 Oct 2006, Jon Scottorn wrote: > >> > >>> > >>> Hi all, > >>> > >>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing > >>> something. I have downloaded the beta 5 package and it points me to the > >>> install pages for 1.4 setup. Are those the instructions I follow to > >>> setup 1.6. If so where do I find the kernel patches. I click the link > >>> to download them and it says that page doesn''t exist. > >>> > >>> I want to test out this new version. > >>> > >>> Thanks, > >>> > >>> Jon Scottorn > >>> Systems Administrator > >>> The Possibility Forge, Inc. > >>> http://www.possibilityforge.com > >>> 435.635.0591 x.1004 > >>> > > > > Jon Scottorn > > Systems Administrator > > The Possibility Forge, Inc. > > http://www.possibilityforge.com > > 435.635.0591 x.1004 > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061012/e532888b/attachment-0001.html
Jon, Have you tried adding #include <linux/utsname.h> to super.c? Jim On Thu, 12 Oct 2006, Jon Scottorn wrote:> Thanks for the help. > > I have gotten past that one now but now I am getting more errors. Not > sure how to fix this one. > > /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > undeclared (first use in this function) > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: (Each undeclared > identifier is reported only once > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: for each > function it appears in.) > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > undeclared (first use in this function) > make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/root/lustre-1.5.95'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/lustre-1.5.95'' > make: *** [all] Error 2 > > Any other thoughts are greatly appreciated. > > Thanks, > > Jon > > On Wed, 2006-10-11 at 15:48 -0700, Jim Garlick wrote: > >> Maybe this is the problem: >> >> https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html >> >>> 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to >>> lustre/ldiskfs/, so that super.c will compile. >> >> Jim >> >> On Wed, 11 Oct 2006, Jon Scottorn wrote: >> >>> Hi again, >>> >>> Well, I have got a 2.6.18 vanilla kernel patched and running now. >>> But when I go to build lustre I get this error. >>> >>> CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such >>> file or directory >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' >>> undeclared (first use in this function) >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared >>> identifier is reported only once >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each >>> function it appears in.) >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' >>> undeclared (first use in this function) >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' >>> undeclared (first use in this function) >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' >>> undeclared (first use in this function) >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing >>> pointer to incomplete type >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing >>> pointer to incomplete type >>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 >>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 >>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >>> make[2]: *** [modules] Error 2 >>> make[2]: Leaving directory `/root/lustre-1.5.95'' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/root/lustre-1.5.95'' >>> make: *** [all] Error 2 >>> >>> I am running on a Debian AMD64 System. What might I be missing? >>> >>> I ran ./configure >>> followed by make >>> which resulted in the above error. >>> If I do a locate for al.h this is what I find. >>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h >>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h >>> >>> Thanks again for any advise. >>> >>> Jon >>> >>> On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: >>> >>>> Hi Jon, >>>> >>>> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. >>>> Or I think you could use one of the prepatched kernels out there for 1.4. >>>> >>>> Once you have a patched kernel, I found the following wiki page to be >>>> useful in setting up 1.6 for the first time: >>>> >>>> https://mail.clusterfs.com/wikis/lustre/MountConf >>>> >>>> You can also set up a simple lustre configuration all on one node with >>>> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script >>>> down in lustre/lustre/tests. This loads (pre-built) modules out of >>>> your source tree. The "llmountcleanup.sh" script tears it down. >>>> >>>> Hope that helps. >>>> >>>> Jim >>>> >>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: >>>> >>>>> >>>>> Hi all, >>>>> >>>>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing >>>>> something. I have downloaded the beta 5 package and it points me to the >>>>> install pages for 1.4 setup. Are those the instructions I follow to >>>>> setup 1.6. If so where do I find the kernel patches. I click the link >>>>> to download them and it says that page doesn''t exist. >>>>> >>>>> I want to test out this new version. >>>>> >>>>> Thanks, >>>>> >>>>> Jon Scottorn >>>>> Systems Administrator >>>>> The Possibility Forge, Inc. >>>>> http://www.possibilityforge.com >>>>> 435.635.0591 x.1004 >>>>> >>> >>> Jon Scottorn >>> Systems Administrator >>> The Possibility Forge, Inc. >>> http://www.possibilityforge.com >>> 435.635.0591 x.1004 >>> >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@clusterfs.com >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> > > Jon Scottorn > Systems Administrator > The Possibility Forge, Inc. > http://www.possibilityforge.com > 435.635.0591 x.1004 >
Well, things are getting farther. This is my next error tring to compile. CC [M] /root/lustre-1.5.95/lustre/llite/file.o In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, from /root/lustre-1.5.95/lustre/include/lustre_lib.h:28, from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, from /root/lustre-1.5.95/lustre/llite/file.c:26: /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: "KLWT_SUPPORT" is not defined In file included from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, from /root/lustre-1.5.95/lustre/llite/file.c:26: /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: "POISON_BULK" is not defined In file included from /root/lustre-1.5.95/lustre/llite/file.c:33: /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function ''ll_nd2it'': /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return from incompatible pointer type /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_mdc_close'': /root/lustre-1.5.95/lustre/llite/file.c:162: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c:213: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_release'': /root/lustre-1.5.95/lustre/llite/file.c:243: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_local_open'': /root/lustre-1.5.95/lustre/llite/file.c:326: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c:332: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_read'': /root/lustre-1.5.95/lustre/llite/file.c:1193: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_write'': /root/lustre-1.5.95/lustre/llite/file.c:1340: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_sendfile'': /root/lustre-1.5.95/lustre/llite/file.c:1420: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_get_grouplock'': /root/lustre-1.5.95/lustre/llite/file.c:1643: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_put_grouplock'': /root/lustre-1.5.95/lustre/llite/file.c:1674: error: ''struct file'' has no member named ''fs_private'' /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_ioctl'': /root/lustre-1.5.95/lustre/llite/file.c:1906: error: ''struct file'' has no member named ''fs_private'' make[6]: *** [/root/lustre-1.5.95/lustre/llite/file.o] Error 1 make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 make[3]: *** [_module_/root/lustre-1.5.95] Error 2 make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-1.5.95'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-1.5.95'' make: *** [all] Error 2 Any thoughts are appreciated. Thanks, Jon On Fri, 2006-10-13 at 15:14 -0700, Jim Garlick wrote:> Jon, > > Have you tried adding #include <linux/utsname.h> to super.c? > > Jim > > On Thu, 12 Oct 2006, Jon Scottorn wrote: > > > Thanks for the help. > > > > I have gotten past that one now but now I am getting more errors. Not > > sure how to fix this one. > > > > /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > > undeclared (first use in this function) > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: (Each undeclared > > identifier is reported only once > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: for each > > function it appears in.) > > /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > > undeclared (first use in this function) > > make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > > make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > > make[2]: *** [modules] Error 2 > > make[2]: Leaving directory `/root/lustre-1.5.95'' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/lustre-1.5.95'' > > make: *** [all] Error 2 > > > > Any other thoughts are greatly appreciated. > > > > Thanks, > > > > Jon > > > > On Wed, 2006-10-11 at 15:48 -0700, Jim Garlick wrote: > > > >> Maybe this is the problem: > >> > >> https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html > >> > >>> 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to > >>> lustre/ldiskfs/, so that super.c will compile. > >> > >> Jim > >> > >> On Wed, 11 Oct 2006, Jon Scottorn wrote: > >> > >>> Hi again, > >>> > >>> Well, I have got a 2.6.18 vanilla kernel patched and running now. > >>> But when I go to build lustre I get this error. > >>> > >>> CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such > >>> file or directory > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' > >>> undeclared (first use in this function) > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared > >>> identifier is reported only once > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each > >>> function it appears in.) > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > >>> undeclared (first use in this function) > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > >>> undeclared (first use in this function) > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' > >>> undeclared (first use in this function) > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing > >>> pointer to incomplete type > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing > >>> pointer to incomplete type > >>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > >>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > >>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >>> make[2]: *** [modules] Error 2 > >>> make[2]: Leaving directory `/root/lustre-1.5.95'' > >>> make[1]: *** [all-recursive] Error 1 > >>> make[1]: Leaving directory `/root/lustre-1.5.95'' > >>> make: *** [all] Error 2 > >>> > >>> I am running on a Debian AMD64 System. What might I be missing? > >>> > >>> I ran ./configure > >>> followed by make > >>> which resulted in the above error. > >>> If I do a locate for al.h this is what I find. > >>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h > >>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h > >>> > >>> Thanks again for any advise. > >>> > >>> Jon > >>> > >>> On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: > >>> > >>>> Hi Jon, > >>>> > >>>> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. > >>>> Or I think you could use one of the prepatched kernels out there for 1.4. > >>>> > >>>> Once you have a patched kernel, I found the following wiki page to be > >>>> useful in setting up 1.6 for the first time: > >>>> > >>>> https://mail.clusterfs.com/wikis/lustre/MountConf > >>>> > >>>> You can also set up a simple lustre configuration all on one node with > >>>> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script > >>>> down in lustre/lustre/tests. This loads (pre-built) modules out of > >>>> your source tree. The "llmountcleanup.sh" script tears it down. > >>>> > >>>> Hope that helps. > >>>> > >>>> Jim > >>>> > >>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: > >>>> > >>>>> > >>>>> Hi all, > >>>>> > >>>>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing > >>>>> something. I have downloaded the beta 5 package and it points me to the > >>>>> install pages for 1.4 setup. Are those the instructions I follow to > >>>>> setup 1.6. If so where do I find the kernel patches. I click the link > >>>>> to download them and it says that page doesn''t exist. > >>>>> > >>>>> I want to test out this new version. > >>>>> > >>>>> Thanks, > >>>>> > >>>>> Jon Scottorn > >>>>> Systems Administrator > >>>>> The Possibility Forge, Inc. > >>>>> http://www.possibilityforge.com > >>>>> 435.635.0591 x.1004 > >>>>> > >>> > >>> Jon Scottorn > >>> Systems Administrator > >>> The Possibility Forge, Inc. > >>> http://www.possibilityforge.com > >>> 435.635.0591 x.1004 > >>> > >> > >> _______________________________________________ > >> Lustre-discuss mailing list > >> Lustre-discuss@clusterfs.com > >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >> > > > > Jon Scottorn > > Systems Administrator > > The Possibility Forge, Inc. > > http://www.possibilityforge.com > > 435.635.0591 x.1004 > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061016/01a68815/attachment-0001.html
Jon, For this one I think you need to apply the fsprivate-2.6.patch to your kernel. Jim On Mon, 16 Oct 2006, Jon Scottorn wrote:> Well, things are getting farther. This is my next error tring to > compile. > > CC [M] /root/lustre-1.5.95/lustre/llite/file.o > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > > from /root/lustre-1.5.95/lustre/include/lustre_lib.h:28, > > from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, > from /root/lustre-1.5.95/lustre/llite/file.c:26: > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > "KLWT_SUPPORT" is not defined > In file included > from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, > > from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, > > from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, > from /root/lustre-1.5.95/lustre/llite/file.c:26: > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > "POISON_BULK" is not defined > In file included from /root/lustre-1.5.95/lustre/llite/file.c:33: > /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function > ''ll_nd2it'': > /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return > from incompatible pointer type > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_mdc_close'': > /root/lustre-1.5.95/lustre/llite/file.c:162: error: ''struct file'' has no > member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c:213: error: ''struct file'' has no > member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_release'': > /root/lustre-1.5.95/lustre/llite/file.c:243: error: ''struct file'' has no > member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_local_open'': > /root/lustre-1.5.95/lustre/llite/file.c:326: error: ''struct file'' has no > member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c:332: error: ''struct file'' has no > member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_read'': > /root/lustre-1.5.95/lustre/llite/file.c:1193: error: ''struct file'' has > no member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_write'': > /root/lustre-1.5.95/lustre/llite/file.c:1340: error: ''struct file'' has > no member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_sendfile'': > /root/lustre-1.5.95/lustre/llite/file.c:1420: error: ''struct file'' has > no member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_get_grouplock'': > /root/lustre-1.5.95/lustre/llite/file.c:1643: error: ''struct file'' has > no member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_put_grouplock'': > /root/lustre-1.5.95/lustre/llite/file.c:1674: error: ''struct file'' has > no member named ''fs_private'' > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_ioctl'': > /root/lustre-1.5.95/lustre/llite/file.c:1906: error: ''struct file'' has > no member named ''fs_private'' > make[6]: *** [/root/lustre-1.5.95/lustre/llite/file.o] Error 1 > make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/root/lustre-1.5.95'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/lustre-1.5.95'' > make: *** [all] Error 2 > > Any thoughts are appreciated. > > Thanks, > > Jon > > On Fri, 2006-10-13 at 15:14 -0700, Jim Garlick wrote: > >> Jon, >> >> Have you tried adding #include <linux/utsname.h> to super.c? >> >> Jim >> >> On Thu, 12 Oct 2006, Jon Scottorn wrote: >> >>> Thanks for the help. >>> >>> I have gotten past that one now but now I am getting more errors. Not >>> sure how to fix this one. >>> >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' >>> undeclared (first use in this function) >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: (Each undeclared >>> identifier is reported only once >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: for each >>> function it appears in.) >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' >>> undeclared (first use in this function) >>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 >>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 >>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >>> make[2]: *** [modules] Error 2 >>> make[2]: Leaving directory `/root/lustre-1.5.95'' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/root/lustre-1.5.95'' >>> make: *** [all] Error 2 >>> >>> Any other thoughts are greatly appreciated. >>> >>> Thanks, >>> >>> Jon >>> >>> On Wed, 2006-10-11 at 15:48 -0700, Jim Garlick wrote: >>> >>>> Maybe this is the problem: >>>> >>>> https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html >>>> >>>>> 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to >>>>> lustre/ldiskfs/, so that super.c will compile. >>>> >>>> Jim >>>> >>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: >>>> >>>>> Hi again, >>>>> >>>>> Well, I have got a 2.6.18 vanilla kernel patched and running now. >>>>> But when I go to build lustre I get this error. >>>>> >>>>> CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such >>>>> file or directory >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' >>>>> undeclared (first use in this function) >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared >>>>> identifier is reported only once >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each >>>>> function it appears in.) >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' >>>>> undeclared (first use in this function) >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' >>>>> undeclared (first use in this function) >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' >>>>> undeclared (first use in this function) >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing >>>>> pointer to incomplete type >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing >>>>> pointer to incomplete type >>>>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 >>>>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 >>>>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >>>>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >>>>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >>>>> make[2]: *** [modules] Error 2 >>>>> make[2]: Leaving directory `/root/lustre-1.5.95'' >>>>> make[1]: *** [all-recursive] Error 1 >>>>> make[1]: Leaving directory `/root/lustre-1.5.95'' >>>>> make: *** [all] Error 2 >>>>> >>>>> I am running on a Debian AMD64 System. What might I be missing? >>>>> >>>>> I ran ./configure >>>>> followed by make >>>>> which resulted in the above error. >>>>> If I do a locate for al.h this is what I find. >>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h >>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h >>>>> >>>>> Thanks again for any advise. >>>>> >>>>> Jon >>>>> >>>>> On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: >>>>> >>>>>> Hi Jon, >>>>>> >>>>>> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. >>>>>> Or I think you could use one of the prepatched kernels out there for 1.4. >>>>>> >>>>>> Once you have a patched kernel, I found the following wiki page to be >>>>>> useful in setting up 1.6 for the first time: >>>>>> >>>>>> https://mail.clusterfs.com/wikis/lustre/MountConf >>>>>> >>>>>> You can also set up a simple lustre configuration all on one node with >>>>>> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script >>>>>> down in lustre/lustre/tests. This loads (pre-built) modules out of >>>>>> your source tree. The "llmountcleanup.sh" script tears it down. >>>>>> >>>>>> Hope that helps. >>>>>> >>>>>> Jim >>>>>> >>>>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: >>>>>> >>>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing >>>>>>> something. I have downloaded the beta 5 package and it points me to the >>>>>>> install pages for 1.4 setup. Are those the instructions I follow to >>>>>>> setup 1.6. If so where do I find the kernel patches. I click the link >>>>>>> to download them and it says that page doesn''t exist. >>>>>>> >>>>>>> I want to test out this new version. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Jon Scottorn >>>>>>> Systems Administrator >>>>>>> The Possibility Forge, Inc. >>>>>>> http://www.possibilityforge.com >>>>>>> 435.635.0591 x.1004 >>>>>>> >>>>> >>>>> Jon Scottorn >>>>> Systems Administrator >>>>> The Possibility Forge, Inc. >>>>> http://www.possibilityforge.com >>>>> 435.635.0591 x.1004 >>>>> >>>> >>>> _______________________________________________ >>>> Lustre-discuss mailing list >>>> Lustre-discuss@clusterfs.com >>>> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >>>> >>> >>> Jon Scottorn >>> Systems Administrator >>> The Possibility Forge, Inc. >>> http://www.possibilityforge.com >>> 435.635.0591 x.1004 >>> >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@clusterfs.com >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> > > Jon Scottorn > Systems Administrator > The Possibility Forge, Inc. > http://www.possibilityforge.com > 435.635.0591 x.1004 >
Hi all, Thanks so much for all the help Jim, That got me past my last error but now I have a new one. CC [M] /root/lustre-1.5.95/lustre/llite/namei.o In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, from /root/lustre-1.5.95/lustre/include/obd_support.h:26, from /root/lustre-1.5.95/lustre/llite/namei.c:32: /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: "KLWT_SUPPORT" is not defined In file included from /root/lustre-1.5.95/lustre/llite/namei.c:32: /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: "POISON_BULK" is not defined In file included from /root/lustre-1.5.95/lustre/llite/namei.c:36: /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function ''ll_nd2it'': /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return from incompatible pointer type /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_lookup_nd'': /root/lustre-1.5.95/lustre/llite/namei.c:562: warning: passing argument 3 of ''ll_lookup_it'' from incompatible pointer type /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_create_nd'': /root/lustre-1.5.95/lustre/llite/namei.c:876: error: ''union <anonymous>'' has no member named ''d'' /root/lustre-1.5.95/lustre/llite/namei.c:880: warning: passing argument 4 of ''ll_create_it'' from incompatible pointer type make[6]: *** [/root/lustre-1.5.95/lustre/llite/namei.o] Error 1 make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 make[3]: *** [_module_/root/lustre-1.5.95] Error 2 make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-1.5.95'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-1.5.95'' make: *** [all] Error 2 Thanks for any help and you patience in helping me getting this working. Jon On Mon, 2006-10-16 at 16:00 -0700, Jim Garlick wrote:> Jon, > > For this one I think you need to apply the fsprivate-2.6.patch to your kernel. > > Jim > > On Mon, 16 Oct 2006, Jon Scottorn wrote: > > > Well, things are getting farther. This is my next error tring to > > compile. > > > > CC [M] /root/lustre-1.5.95/lustre/llite/file.o > > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > > > > from /root/lustre-1.5.95/lustre/include/lustre_lib.h:28, > > > > from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, > > from /root/lustre-1.5.95/lustre/llite/file.c:26: > > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > > "KLWT_SUPPORT" is not defined > > In file included > > from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, > > > > from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, > > > > from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, > > from /root/lustre-1.5.95/lustre/llite/file.c:26: > > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > > "POISON_BULK" is not defined > > In file included from /root/lustre-1.5.95/lustre/llite/file.c:33: > > /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function > > ''ll_nd2it'': > > /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return > > from incompatible pointer type > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_mdc_close'': > > /root/lustre-1.5.95/lustre/llite/file.c:162: error: ''struct file'' has no > > member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c:213: error: ''struct file'' has no > > member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_release'': > > /root/lustre-1.5.95/lustre/llite/file.c:243: error: ''struct file'' has no > > member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_local_open'': > > /root/lustre-1.5.95/lustre/llite/file.c:326: error: ''struct file'' has no > > member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c:332: error: ''struct file'' has no > > member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_read'': > > /root/lustre-1.5.95/lustre/llite/file.c:1193: error: ''struct file'' has > > no member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_write'': > > /root/lustre-1.5.95/lustre/llite/file.c:1340: error: ''struct file'' has > > no member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_sendfile'': > > /root/lustre-1.5.95/lustre/llite/file.c:1420: error: ''struct file'' has > > no member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_get_grouplock'': > > /root/lustre-1.5.95/lustre/llite/file.c:1643: error: ''struct file'' has > > no member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_put_grouplock'': > > /root/lustre-1.5.95/lustre/llite/file.c:1674: error: ''struct file'' has > > no member named ''fs_private'' > > /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_ioctl'': > > /root/lustre-1.5.95/lustre/llite/file.c:1906: error: ''struct file'' has > > no member named ''fs_private'' > > make[6]: *** [/root/lustre-1.5.95/lustre/llite/file.o] Error 1 > > make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > > make[2]: *** [modules] Error 2 > > make[2]: Leaving directory `/root/lustre-1.5.95'' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/lustre-1.5.95'' > > make: *** [all] Error 2 > > > > Any thoughts are appreciated. > > > > Thanks, > > > > Jon > > > > On Fri, 2006-10-13 at 15:14 -0700, Jim Garlick wrote: > > > >> Jon, > >> > >> Have you tried adding #include <linux/utsname.h> to super.c? > >> > >> Jim > >> > >> On Thu, 12 Oct 2006, Jon Scottorn wrote: > >> > >>> Thanks for the help. > >>> > >>> I have gotten past that one now but now I am getting more errors. Not > >>> sure how to fix this one. > >>> > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > >>> undeclared (first use in this function) > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: (Each undeclared > >>> identifier is reported only once > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: for each > >>> function it appears in.) > >>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > >>> undeclared (first use in this function) > >>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > >>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > >>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >>> make[2]: *** [modules] Error 2 > >>> make[2]: Leaving directory `/root/lustre-1.5.95'' > >>> make[1]: *** [all-recursive] Error 1 > >>> make[1]: Leaving directory `/root/lustre-1.5.95'' > >>> make: *** [all] Error 2 > >>> > >>> Any other thoughts are greatly appreciated. > >>> > >>> Thanks, > >>> > >>> Jon > >>> > >>> On Wed, 2006-10-11 at 15:48 -0700, Jim Garlick wrote: > >>> > >>>> Maybe this is the problem: > >>>> > >>>> https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html > >>>> > >>>>> 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to > >>>>> lustre/ldiskfs/, so that super.c will compile. > >>>> > >>>> Jim > >>>> > >>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: > >>>> > >>>>> Hi again, > >>>>> > >>>>> Well, I have got a 2.6.18 vanilla kernel patched and running now. > >>>>> But when I go to build lustre I get this error. > >>>>> > >>>>> CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such > >>>>> file or directory > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' > >>>>> undeclared (first use in this function) > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared > >>>>> identifier is reported only once > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each > >>>>> function it appears in.) > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > >>>>> undeclared (first use in this function) > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > >>>>> undeclared (first use in this function) > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' > >>>>> undeclared (first use in this function) > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing > >>>>> pointer to incomplete type > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing > >>>>> pointer to incomplete type > >>>>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > >>>>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > >>>>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >>>>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >>>>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >>>>> make[2]: *** [modules] Error 2 > >>>>> make[2]: Leaving directory `/root/lustre-1.5.95'' > >>>>> make[1]: *** [all-recursive] Error 1 > >>>>> make[1]: Leaving directory `/root/lustre-1.5.95'' > >>>>> make: *** [all] Error 2 > >>>>> > >>>>> I am running on a Debian AMD64 System. What might I be missing? > >>>>> > >>>>> I ran ./configure > >>>>> followed by make > >>>>> which resulted in the above error. > >>>>> If I do a locate for al.h this is what I find. > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h > >>>>> > >>>>> Thanks again for any advise. > >>>>> > >>>>> Jon > >>>>> > >>>>> On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: > >>>>> > >>>>>> Hi Jon, > >>>>>> > >>>>>> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. > >>>>>> Or I think you could use one of the prepatched kernels out there for 1.4. > >>>>>> > >>>>>> Once you have a patched kernel, I found the following wiki page to be > >>>>>> useful in setting up 1.6 for the first time: > >>>>>> > >>>>>> https://mail.clusterfs.com/wikis/lustre/MountConf > >>>>>> > >>>>>> You can also set up a simple lustre configuration all on one node with > >>>>>> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script > >>>>>> down in lustre/lustre/tests. This loads (pre-built) modules out of > >>>>>> your source tree. The "llmountcleanup.sh" script tears it down. > >>>>>> > >>>>>> Hope that helps. > >>>>>> > >>>>>> Jim > >>>>>> > >>>>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: > >>>>>> > >>>>>>> > >>>>>>> Hi all, > >>>>>>> > >>>>>>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing > >>>>>>> something. I have downloaded the beta 5 package and it points me to the > >>>>>>> install pages for 1.4 setup. Are those the instructions I follow to > >>>>>>> setup 1.6. If so where do I find the kernel patches. I click the link > >>>>>>> to download them and it says that page doesn''t exist. > >>>>>>> > >>>>>>> I want to test out this new version. > >>>>>>> > >>>>>>> Thanks, > >>>>>>> > >>>>>>> Jon Scottorn > >>>>>>> Systems Administrator > >>>>>>> The Possibility Forge, Inc. > >>>>>>> http://www.possibilityforge.com > >>>>>>> 435.635.0591 x.1004 > >>>>>>> > >>>>> > >>>>> Jon Scottorn > >>>>> Systems Administrator > >>>>> The Possibility Forge, Inc. > >>>>> http://www.possibilityforge.com > >>>>> 435.635.0591 x.1004 > >>>>> > >>>> > >>>> _______________________________________________ > >>>> Lustre-discuss mailing list > >>>> Lustre-discuss@clusterfs.com > >>>> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >>>> > >>> > >>> Jon Scottorn > >>> Systems Administrator > >>> The Possibility Forge, Inc. > >>> http://www.possibilityforge.com > >>> 435.635.0591 x.1004 > >>> > >> > >> _______________________________________________ > >> Lustre-discuss mailing list > >> Lustre-discuss@clusterfs.com > >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >> > > > > Jon Scottorn > > Systems Administrator > > The Possibility Forge, Inc. > > http://www.possibilityforge.com > > 435.635.0591 x.1004 > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061017/9b7e58e0/attachment-0001.html
Jon, Did you apply vfs_intent-2.6.18-vanilla.patch to your kernel ? The missing ''d'' union in open_intent (aka lookup_intent) should have been added by that patch. I''m learning too so happy to help (the caveat is it may be the blind leading the blind!). Jim On Tue, 17 Oct 2006, Jon Scottorn wrote:> Hi all, > > Thanks so much for all the help Jim, > > That got me past my last error but now I have a new one. > > CC [M] /root/lustre-1.5.95/lustre/llite/namei.o > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > from /root/lustre-1.5.95/lustre/llite/namei.c:32: > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > "KLWT_SUPPORT" is not defined > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:32: > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > "POISON_BULK" is not defined > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:36: > /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function > ''ll_nd2it'': > /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return > from incompatible pointer type > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_lookup_nd'': > /root/lustre-1.5.95/lustre/llite/namei.c:562: warning: passing argument > 3 of ''ll_lookup_it'' from incompatible pointer type > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_create_nd'': > /root/lustre-1.5.95/lustre/llite/namei.c:876: error: ''union <anonymous>'' > has no member named ''d'' > /root/lustre-1.5.95/lustre/llite/namei.c:880: warning: passing argument > 4 of ''ll_create_it'' from incompatible pointer type > make[6]: *** [/root/lustre-1.5.95/lustre/llite/namei.o] Error 1 > make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/root/lustre-1.5.95'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/lustre-1.5.95'' > make: *** [all] Error 2 > > Thanks for any help and you patience in helping me getting this working. > > Jon > > On Mon, 2006-10-16 at 16:00 -0700, Jim Garlick wrote: > >> Jon, >> >> For this one I think you need to apply the fsprivate-2.6.patch to your kernel. >> >> Jim >> >> On Mon, 16 Oct 2006, Jon Scottorn wrote: >> >>> Well, things are getting farther. This is my next error tring to >>> compile. >>> >>> CC [M] /root/lustre-1.5.95/lustre/llite/file.o >>> In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, >>> >>> from /root/lustre-1.5.95/lustre/include/lustre_lib.h:28, >>> >>> from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, >>> from /root/lustre-1.5.95/lustre/llite/file.c:26: >>> /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: >>> "KLWT_SUPPORT" is not defined >>> In file included >>> from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, >>> >>> from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, >>> >>> from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, >>> from /root/lustre-1.5.95/lustre/llite/file.c:26: >>> /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: >>> "POISON_BULK" is not defined >>> In file included from /root/lustre-1.5.95/lustre/llite/file.c:33: >>> /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function >>> ''ll_nd2it'': >>> /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return >>> from incompatible pointer type >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_mdc_close'': >>> /root/lustre-1.5.95/lustre/llite/file.c:162: error: ''struct file'' has no >>> member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c:213: error: ''struct file'' has no >>> member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_release'': >>> /root/lustre-1.5.95/lustre/llite/file.c:243: error: ''struct file'' has no >>> member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_local_open'': >>> /root/lustre-1.5.95/lustre/llite/file.c:326: error: ''struct file'' has no >>> member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c:332: error: ''struct file'' has no >>> member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_read'': >>> /root/lustre-1.5.95/lustre/llite/file.c:1193: error: ''struct file'' has >>> no member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_write'': >>> /root/lustre-1.5.95/lustre/llite/file.c:1340: error: ''struct file'' has >>> no member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_sendfile'': >>> /root/lustre-1.5.95/lustre/llite/file.c:1420: error: ''struct file'' has >>> no member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_get_grouplock'': >>> /root/lustre-1.5.95/lustre/llite/file.c:1643: error: ''struct file'' has >>> no member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_put_grouplock'': >>> /root/lustre-1.5.95/lustre/llite/file.c:1674: error: ''struct file'' has >>> no member named ''fs_private'' >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_ioctl'': >>> /root/lustre-1.5.95/lustre/llite/file.c:1906: error: ''struct file'' has >>> no member named ''fs_private'' >>> make[6]: *** [/root/lustre-1.5.95/lustre/llite/file.o] Error 1 >>> make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 >>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >>> make[2]: *** [modules] Error 2 >>> make[2]: Leaving directory `/root/lustre-1.5.95'' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/root/lustre-1.5.95'' >>> make: *** [all] Error 2 >>> >>> Any thoughts are appreciated. >>> >>> Thanks, >>> >>> Jon >>> >>> On Fri, 2006-10-13 at 15:14 -0700, Jim Garlick wrote: >>> >>>> Jon, >>>> >>>> Have you tried adding #include <linux/utsname.h> to super.c? >>>> >>>> Jim >>>> >>>> On Thu, 12 Oct 2006, Jon Scottorn wrote: >>>> >>>>> Thanks for the help. >>>>> >>>>> I have gotten past that one now but now I am getting more errors. Not >>>>> sure how to fix this one. >>>>> >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' >>>>> undeclared (first use in this function) >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: (Each undeclared >>>>> identifier is reported only once >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: for each >>>>> function it appears in.) >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' >>>>> undeclared (first use in this function) >>>>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 >>>>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 >>>>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >>>>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >>>>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >>>>> make[2]: *** [modules] Error 2 >>>>> make[2]: Leaving directory `/root/lustre-1.5.95'' >>>>> make[1]: *** [all-recursive] Error 1 >>>>> make[1]: Leaving directory `/root/lustre-1.5.95'' >>>>> make: *** [all] Error 2 >>>>> >>>>> Any other thoughts are greatly appreciated. >>>>> >>>>> Thanks, >>>>> >>>>> Jon >>>>> >>>>> On Wed, 2006-10-11 at 15:48 -0700, Jim Garlick wrote: >>>>> >>>>>> Maybe this is the problem: >>>>>> >>>>>> https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html >>>>>> >>>>>>> 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to >>>>>>> lustre/ldiskfs/, so that super.c will compile. >>>>>> >>>>>> Jim >>>>>> >>>>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: >>>>>> >>>>>>> Hi again, >>>>>>> >>>>>>> Well, I have got a 2.6.18 vanilla kernel patched and running now. >>>>>>> But when I go to build lustre I get this error. >>>>>>> >>>>>>> CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such >>>>>>> file or directory >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' >>>>>>> undeclared (first use in this function) >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared >>>>>>> identifier is reported only once >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each >>>>>>> function it appears in.) >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' >>>>>>> undeclared (first use in this function) >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' >>>>>>> undeclared (first use in this function) >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' >>>>>>> undeclared (first use in this function) >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing >>>>>>> pointer to incomplete type >>>>>>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 >>>>>>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 >>>>>>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >>>>>>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >>>>>>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >>>>>>> make[2]: *** [modules] Error 2 >>>>>>> make[2]: Leaving directory `/root/lustre-1.5.95'' >>>>>>> make[1]: *** [all-recursive] Error 1 >>>>>>> make[1]: Leaving directory `/root/lustre-1.5.95'' >>>>>>> make: *** [all] Error 2 >>>>>>> >>>>>>> I am running on a Debian AMD64 System. What might I be missing? >>>>>>> >>>>>>> I ran ./configure >>>>>>> followed by make >>>>>>> which resulted in the above error. >>>>>>> If I do a locate for al.h this is what I find. >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h >>>>>>> >>>>>>> Thanks again for any advise. >>>>>>> >>>>>>> Jon >>>>>>> >>>>>>> On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: >>>>>>> >>>>>>>> Hi Jon, >>>>>>>> >>>>>>>> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. >>>>>>>> Or I think you could use one of the prepatched kernels out there for 1.4. >>>>>>>> >>>>>>>> Once you have a patched kernel, I found the following wiki page to be >>>>>>>> useful in setting up 1.6 for the first time: >>>>>>>> >>>>>>>> https://mail.clusterfs.com/wikis/lustre/MountConf >>>>>>>> >>>>>>>> You can also set up a simple lustre configuration all on one node with >>>>>>>> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script >>>>>>>> down in lustre/lustre/tests. This loads (pre-built) modules out of >>>>>>>> your source tree. The "llmountcleanup.sh" script tears it down. >>>>>>>> >>>>>>>> Hope that helps. >>>>>>>> >>>>>>>> Jim >>>>>>>> >>>>>>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> Hi all, >>>>>>>>> >>>>>>>>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing >>>>>>>>> something. I have downloaded the beta 5 package and it points me to the >>>>>>>>> install pages for 1.4 setup. Are those the instructions I follow to >>>>>>>>> setup 1.6. If so where do I find the kernel patches. I click the link >>>>>>>>> to download them and it says that page doesn''t exist. >>>>>>>>> >>>>>>>>> I want to test out this new version. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> Jon Scottorn >>>>>>>>> Systems Administrator >>>>>>>>> The Possibility Forge, Inc. >>>>>>>>> http://www.possibilityforge.com >>>>>>>>> 435.635.0591 x.1004 >>>>>>>>> >>>>>>> >>>>>>> Jon Scottorn >>>>>>> Systems Administrator >>>>>>> The Possibility Forge, Inc. >>>>>>> http://www.possibilityforge.com >>>>>>> 435.635.0591 x.1004 >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Lustre-discuss mailing list >>>>>> Lustre-discuss@clusterfs.com >>>>>> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >>>>>> >>>>> >>>>> Jon Scottorn >>>>> Systems Administrator >>>>> The Possibility Forge, Inc. >>>>> http://www.possibilityforge.com >>>>> 435.635.0591 x.1004 >>>>> >>>> >>>> _______________________________________________ >>>> Lustre-discuss mailing list >>>> Lustre-discuss@clusterfs.com >>>> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >>>> >>> >>> Jon Scottorn >>> Systems Administrator >>> The Possibility Forge, Inc. >>> http://www.possibilityforge.com >>> 435.635.0591 x.1004 >>> >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@clusterfs.com >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> > > Jon Scottorn > Systems Administrator > The Possibility Forge, Inc. > http://www.possibilityforge.com > 435.635.0591 x.1004 >
Thanks again for the help, Yes I have applied the VFS patch not sure what else might be missing. hrmm. If you have any other thoughts, otherwise I''ll keep trying to get past. Thanks, On Tue, 2006-10-17 at 10:04 -0700, Jim Garlick wrote:> Jon, > > Did you apply vfs_intent-2.6.18-vanilla.patch to your kernel ? > The missing ''d'' union in open_intent (aka lookup_intent) should > have been added by that patch. > > I''m learning too so happy to help (the caveat is it may be the blind > leading the blind!). > > Jim > > On Tue, 17 Oct 2006, Jon Scottorn wrote: > > > Hi all, > > > > Thanks so much for all the help Jim, > > > > That got me past my last error but now I have a new one. > > > > CC [M] /root/lustre-1.5.95/lustre/llite/namei.o > > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > > > > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > > from /root/lustre-1.5.95/lustre/llite/namei.c:32: > > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > > "KLWT_SUPPORT" is not defined > > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:32: > > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > > "POISON_BULK" is not defined > > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:36: > > /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function > > ''ll_nd2it'': > > /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return > > from incompatible pointer type > > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_lookup_nd'': > > /root/lustre-1.5.95/lustre/llite/namei.c:562: warning: passing argument > > 3 of ''ll_lookup_it'' from incompatible pointer type > > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_create_nd'': > > /root/lustre-1.5.95/lustre/llite/namei.c:876: error: ''union <anonymous>'' > > has no member named ''d'' > > /root/lustre-1.5.95/lustre/llite/namei.c:880: warning: passing argument > > 4 of ''ll_create_it'' from incompatible pointer type > > make[6]: *** [/root/lustre-1.5.95/lustre/llite/namei.o] Error 1 > > make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > > make[2]: *** [modules] Error 2 > > make[2]: Leaving directory `/root/lustre-1.5.95'' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/lustre-1.5.95'' > > make: *** [all] Error 2 > > > > Thanks for any help and you patience in helping me getting this working. > > > > Jon > > > > On Mon, 2006-10-16 at 16:00 -0700, Jim Garlick wrote: > > > >> Jon, > >> > >> For this one I think you need to apply the fsprivate-2.6.patch to your kernel. > >> > >> Jim > >> > >> On Mon, 16 Oct 2006, Jon Scottorn wrote: > >> > >>> Well, things are getting farther. This is my next error tring to > >>> compile. > >>> > >>> CC [M] /root/lustre-1.5.95/lustre/llite/file.o > >>> In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > >>> > >>> from /root/lustre-1.5.95/lustre/include/lustre_lib.h:28, > >>> > >>> from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, > >>> from /root/lustre-1.5.95/lustre/llite/file.c:26: > >>> /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > >>> "KLWT_SUPPORT" is not defined > >>> In file included > >>> from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, > >>> > >>> from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, > >>> > >>> from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, > >>> from /root/lustre-1.5.95/lustre/llite/file.c:26: > >>> /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > >>> "POISON_BULK" is not defined > >>> In file included from /root/lustre-1.5.95/lustre/llite/file.c:33: > >>> /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function > >>> ''ll_nd2it'': > >>> /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return > >>> from incompatible pointer type > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_mdc_close'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:162: error: ''struct file'' has no > >>> member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c:213: error: ''struct file'' has no > >>> member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_release'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:243: error: ''struct file'' has no > >>> member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_local_open'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:326: error: ''struct file'' has no > >>> member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c:332: error: ''struct file'' has no > >>> member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_read'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:1193: error: ''struct file'' has > >>> no member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_write'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:1340: error: ''struct file'' has > >>> no member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_sendfile'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:1420: error: ''struct file'' has > >>> no member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_get_grouplock'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:1643: error: ''struct file'' has > >>> no member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_put_grouplock'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:1674: error: ''struct file'' has > >>> no member named ''fs_private'' > >>> /root/lustre-1.5.95/lustre/llite/file.c: In function ''ll_file_ioctl'': > >>> /root/lustre-1.5.95/lustre/llite/file.c:1906: error: ''struct file'' has > >>> no member named ''fs_private'' > >>> make[6]: *** [/root/lustre-1.5.95/lustre/llite/file.o] Error 1 > >>> make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > >>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >>> make[2]: *** [modules] Error 2 > >>> make[2]: Leaving directory `/root/lustre-1.5.95'' > >>> make[1]: *** [all-recursive] Error 1 > >>> make[1]: Leaving directory `/root/lustre-1.5.95'' > >>> make: *** [all] Error 2 > >>> > >>> Any thoughts are appreciated. > >>> > >>> Thanks, > >>> > >>> Jon > >>> > >>> On Fri, 2006-10-13 at 15:14 -0700, Jim Garlick wrote: > >>> > >>>> Jon, > >>>> > >>>> Have you tried adding #include <linux/utsname.h> to super.c? > >>>> > >>>> Jim > >>>> > >>>> On Thu, 12 Oct 2006, Jon Scottorn wrote: > >>>> > >>>>> Thanks for the help. > >>>>> > >>>>> I have gotten past that one now but now I am getting more errors. Not > >>>>> sure how to fix this one. > >>>>> > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > >>>>> undeclared (first use in this function) > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: (Each undeclared > >>>>> identifier is reported only once > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: for each > >>>>> function it appears in.) > >>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > >>>>> undeclared (first use in this function) > >>>>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > >>>>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > >>>>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >>>>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >>>>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >>>>> make[2]: *** [modules] Error 2 > >>>>> make[2]: Leaving directory `/root/lustre-1.5.95'' > >>>>> make[1]: *** [all-recursive] Error 1 > >>>>> make[1]: Leaving directory `/root/lustre-1.5.95'' > >>>>> make: *** [all] Error 2 > >>>>> > >>>>> Any other thoughts are greatly appreciated. > >>>>> > >>>>> Thanks, > >>>>> > >>>>> Jon > >>>>> > >>>>> On Wed, 2006-10-11 at 15:48 -0700, Jim Garlick wrote: > >>>>> > >>>>>> Maybe this is the problem: > >>>>>> > >>>>>> https://mail.clusterfs.com/pipermail/lustre-discuss/2006-September/002037.html > >>>>>> > >>>>>>> 2) You need to copy lustre/ldiskfs/linux-stage/fs/ext3/al.h to > >>>>>>> lustre/ldiskfs/, so that super.c will compile. > >>>>>> > >>>>>> Jim > >>>>>> > >>>>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: > >>>>>> > >>>>>>> Hi again, > >>>>>>> > >>>>>>> Well, I have got a 2.6.18 vanilla kernel patched and running now. > >>>>>>> But when I go to build lustre I get this error. > >>>>>>> > >>>>>>> CC [M] /root/lustre-1.5.95/lustre/ldiskfs/super.o > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:45:16: error: al.h: No such > >>>>>>> file or directory > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''kalived'': > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: ''ALIVE_MAGIC'' > >>>>>>> undeclared (first use in this function) > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: (Each undeclared > >>>>>>> identifier is reported only once > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1466: error: for each > >>>>>>> function it appears in.) > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1467: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1469: error: ''uts_sem'' > >>>>>>> undeclared (first use in this function) > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: ''system_utsname'' > >>>>>>> undeclared (first use in this function) > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1470: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1477: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1478: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1490: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1491: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c: In function ''check_alive'': > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1596: error: ''ALIVE_MAGIC'' > >>>>>>> undeclared (first use in this function) > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1603: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1605: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1628: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1631: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1638: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1662: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/super.c:1665: error: dereferencing > >>>>>>> pointer to incomplete type > >>>>>>> make[6]: *** [/root/lustre-1.5.95/lustre/ldiskfs/super.o] Error 1 > >>>>>>> make[5]: *** [/root/lustre-1.5.95/lustre/ldiskfs] Error 2 > >>>>>>> make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >>>>>>> make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >>>>>>> make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >>>>>>> make[2]: *** [modules] Error 2 > >>>>>>> make[2]: Leaving directory `/root/lustre-1.5.95'' > >>>>>>> make[1]: *** [all-recursive] Error 1 > >>>>>>> make[1]: Leaving directory `/root/lustre-1.5.95'' > >>>>>>> make: *** [all] Error 2 > >>>>>>> > >>>>>>> I am running on a Debian AMD64 System. What might I be missing? > >>>>>>> > >>>>>>> I ran ./configure > >>>>>>> followed by make > >>>>>>> which resulted in the above error. > >>>>>>> If I do a locate for al.h this is what I find. > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/.pc/ext3-multi-mount-protection-2.6.18-vanilla/fs/ext3/al.h > >>>>>>> /root/lustre-1.5.95/lustre/ldiskfs/linux-stage/fs/ext3/al.h > >>>>>>> > >>>>>>> Thanks again for any advise. > >>>>>>> > >>>>>>> Jon > >>>>>>> > >>>>>>> On Wed, 2006-10-11 at 12:40 -0700, Jim Garlick wrote: > >>>>>>> > >>>>>>>> Hi Jon, > >>>>>>>> > >>>>>>>> The patches are in the lustre distro, down in lustre/lustre/kernel_patches. > >>>>>>>> Or I think you could use one of the prepatched kernels out there for 1.4. > >>>>>>>> > >>>>>>>> Once you have a patched kernel, I found the following wiki page to be > >>>>>>>> useful in setting up 1.6 for the first time: > >>>>>>>> > >>>>>>>> https://mail.clusterfs.com/wikis/lustre/MountConf > >>>>>>>> > >>>>>>>> You can also set up a simple lustre configuration all on one node with > >>>>>>>> files in /tmp backing MDS, OST, etc. by running the "llmount.sh" script > >>>>>>>> down in lustre/lustre/tests. This loads (pre-built) modules out of > >>>>>>>> your source tree. The "llmountcleanup.sh" script tears it down. > >>>>>>>> > >>>>>>>> Hope that helps. > >>>>>>>> > >>>>>>>> Jim > >>>>>>>> > >>>>>>>> On Wed, 11 Oct 2006, Jon Scottorn wrote: > >>>>>>>> > >>>>>>>>> > >>>>>>>>> Hi all, > >>>>>>>>> > >>>>>>>>> I am trying to test 1.6 beta 5 and I''m not sure if I am missing > >>>>>>>>> something. I have downloaded the beta 5 package and it points me to the > >>>>>>>>> install pages for 1.4 setup. Are those the instructions I follow to > >>>>>>>>> setup 1.6. If so where do I find the kernel patches. I click the link > >>>>>>>>> to download them and it says that page doesn''t exist. > >>>>>>>>> > >>>>>>>>> I want to test out this new version. > >>>>>>>>> > >>>>>>>>> Thanks, > >>>>>>>>> > >>>>>>>>> Jon Scottorn > >>>>>>>>> Systems Administrator > >>>>>>>>> The Possibility Forge, Inc. > >>>>>>>>> http://www.possibilityforge.com > >>>>>>>>> 435.635.0591 x.1004 > >>>>>>>>> > >>>>>>> > >>>>>>> Jon Scottorn > >>>>>>> Systems Administrator > >>>>>>> The Possibility Forge, Inc. > >>>>>>> http://www.possibilityforge.com > >>>>>>> 435.635.0591 x.1004 > >>>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> Lustre-discuss mailing list > >>>>>> Lustre-discuss@clusterfs.com > >>>>>> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >>>>>> > >>>>> > >>>>> Jon Scottorn > >>>>> Systems Administrator > >>>>> The Possibility Forge, Inc. > >>>>> http://www.possibilityforge.com > >>>>> 435.635.0591 x.1004 > >>>>> > >>>> > >>>> _______________________________________________ > >>>> Lustre-discuss mailing list > >>>> Lustre-discuss@clusterfs.com > >>>> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >>>> > >>> > >>> Jon Scottorn > >>> Systems Administrator > >>> The Possibility Forge, Inc. > >>> http://www.possibilityforge.com > >>> 435.635.0591 x.1004 > >>> > >> > >> _______________________________________________ > >> Lustre-discuss mailing list > >> Lustre-discuss@clusterfs.com > >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >> > > > > Jon Scottorn > > Systems Administrator > > The Possibility Forge, Inc. > > http://www.possibilityforge.com > > 435.635.0591 x.1004 > >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061017/4a2dcda8/attachment-0001.html
Jon Scottorn wrote:> Hi all, > > Thanks so much for all the help Jim, > > That got me past my last error but now I have a new one.Hello Jon, I am greatly encouraged by your trying-so-hard-to-live-in-the-edge. :) Most problems in this thread are unknown issues. However 2.6.18 is not officially supported. Supported kernels are those listed in lustre/kernel_patches/which_patch. lustre/kernel_patches/series/2.6.18-vanilla.series was put there for technology look ahead. Last time I checked it still has some runtime problems.> CC [M] /root/lustre-1.5.95/lustre/llite/namei.o > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > from /root/lustre-1.5.95/lustre/llite/namei.c:32: > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > "KLWT_SUPPORT" is not defined > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:32: > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > "POISON_BULK" is not defined > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:36: > /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function ''ll_nd2it'': > /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return > from incompatible pointer type > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_lookup_nd'': > /root/lustre-1.5.95/lustre/llite/namei.c:562: warning: passing argument > 3 of ''ll_lookup_it'' from incompatible pointer type > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_create_nd'': > /root/lustre-1.5.95/lustre/llite/namei.c:876: error: ''union <anonymous>'' > has no member named ''d'' > /root/lustre-1.5.95/lustre/llite/namei.c:880: warning: passing argument > 4 of ''ll_create_it'' from incompatible pointer type > make[6]: *** [/root/lustre-1.5.95/lustre/llite/namei.o] Error 1 > make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/root/lustre-1.5.95'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/lustre-1.5.95'' > make: *** [all] Error 2 > > Thanks for any help and you patience in helping me getting this working. > > JonThis temporary fix may help the above problem. --- lustre/llite/namei.c 10 Aug 2006 13:46:05 -0000 1.170.2.15.2.14.10.2.2.9 +++ lustre/llite/namei.c 14 Sep 2006 08:39:41 -0000 @@ -873,7 +873,7 @@ out: static int ll_create_nd(struct inode *dir, struct dentry *dentry, int mode, struct nameidata *nd) { - if (!nd || !nd->intent.d.lustre.it_disposition) + if (!nd || !nd->intent.open.d.lustre.it_disposition) /* No saved request? Just mknod the file */ return ll_mknod_generic(dir, &dentry->d_name, mode, 0, dentry); -- Qi Yong System Software Engineer Cluster File Systems, Inc.
Thanks for all the support again. You guys are awesome. That fix got me past that error, Now I am close. Here is my next error: CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, from /root/lustre-1.5.95/lustre/include/obd_support.h:26, from /root/lustre-1.5.95/lustre/include/obd_class.h:26, from /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: "KLWT_SUPPORT" is not defined In file included from /root/lustre-1.5.95/lustre/include/obd_class.h:26, from /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: "POISON_BULK" is not defined /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In function ''filter_sync_inode_data'': /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: ''PF_SYNCWRITE'' undeclared (first use in this function) /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: (Each undeclared identifier is reported only once /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: for each function it appears in.) make[6]: *** [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 make[3]: *** [_module_/root/lustre-1.5.95] Error 2 make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-1.5.95'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-1.5.95'' Thanks again so much for the support. Jon On Wed, 2006-10-18 at 11:21 +0800, Qi Yong wrote:> Jon Scottorn wrote: > > Hi all, > > > > Thanks so much for all the help Jim, > > > > That got me past my last error but now I have a new one. > > Hello Jon, > > I am greatly encouraged by your trying-so-hard-to-live-in-the-edge. :) > > Most problems in this thread are unknown issues. However 2.6.18 > is not officially supported. Supported kernels are those listed in > lustre/kernel_patches/which_patch. > > lustre/kernel_patches/series/2.6.18-vanilla.series was put there for > technology look ahead. Last time I checked it still has some runtime problems. > > > > CC [M] /root/lustre-1.5.95/lustre/llite/namei.o > > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > > from /root/lustre-1.5.95/lustre/llite/namei.c:32: > > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > > "KLWT_SUPPORT" is not defined > > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:32: > > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > > "POISON_BULK" is not defined > > In file included from /root/lustre-1.5.95/lustre/llite/namei.c:36: > > /root/lustre-1.5.95/lustre/llite/llite_internal.h: In function ''ll_nd2it'': > > /root/lustre-1.5.95/lustre/llite/llite_internal.h:51: warning: return > > from incompatible pointer type > > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_lookup_nd'': > > /root/lustre-1.5.95/lustre/llite/namei.c:562: warning: passing argument > > 3 of ''ll_lookup_it'' from incompatible pointer type > > /root/lustre-1.5.95/lustre/llite/namei.c: In function ''ll_create_nd'': > > /root/lustre-1.5.95/lustre/llite/namei.c:876: error: ''union <anonymous>'' > > has no member named ''d'' > > /root/lustre-1.5.95/lustre/llite/namei.c:880: warning: passing argument > > 4 of ''ll_create_it'' from incompatible pointer type > > make[6]: *** [/root/lustre-1.5.95/lustre/llite/namei.o] Error 1 > > make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > > make[2]: *** [modules] Error 2 > > make[2]: Leaving directory `/root/lustre-1.5.95'' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/lustre-1.5.95'' > > make: *** [all] Error 2 > > > > Thanks for any help and you patience in helping me getting this working. > > > > Jon > > > This temporary fix may help the above problem. > > --- lustre/llite/namei.c 10 Aug 2006 13:46:05 -0000 1.170.2.15.2.14.10.2.2.9 > +++ lustre/llite/namei.c 14 Sep 2006 08:39:41 -0000 > @@ -873,7 +873,7 @@ out: > static int ll_create_nd(struct inode *dir, struct dentry *dentry, int mode, struct nameidata *nd) > { > > - if (!nd || !nd->intent.d.lustre.it_disposition) > + if (!nd || !nd->intent.open.d.lustre.it_disposition) > /* No saved request? Just mknod the file */ > return ll_mknod_generic(dir, &dentry->d_name, mode, 0, dentry); >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061018/b8ea862e/attachment.html
Jon Scottorn wrote:> Thanks for all the support again. You guys are awesome. > > That fix got me past that error, Now I am close. Here is my next error: > > CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > from > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > "KLWT_SUPPORT" is not defined > In file included from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > from > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > "POISON_BULK" is not defined > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In function > ''filter_sync_inode_data'': > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: > ''PF_SYNCWRITE'' undeclared (first use in this function) > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: (Each > undeclared identifier is reported only once > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: for each > function it appears in.) > make[6]: *** [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 > make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/root/lustre-1.5.95'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/lustre-1.5.95'' > > Thanks again so much for the support. > > JonPF_SYNCWRITE was dropped some time ago. This is my local fix for it. --- lustre/obdfilter/filter_io_26.c 18 Oct 2006 07:21:30 -0000 1.6.2.6.2.18.20.1.2.13 +++ lustre/obdfilter/filter_io_26.c 19 Oct 2006 01:40:07 -0000 @@ -403,11 +403,9 @@ static int filter_sync_inode_data(struct if (!locked) LOCK_INODE_MUTEX(inode); if (inode->i_mapping->nrpages) { - current->flags |= PF_SYNCWRITE; rc = filemap_fdatawrite(inode->i_mapping); if (rc == 0) rc = filemap_fdatawait(inode->i_mapping); - current->flags &= ~PF_SYNCWRITE; } if (!locked) UNLOCK_INODE_MUTEX(inode); -- Qi Yong System Software Engineer Cluster File Systems, Inc.
Ok, Thanks for all the help. I''ve got Lustre to build and install but now when I try to install the modules I get a ton of unknown symbols I am running the correct kernel so not sure why I am getting these. Here is a sample of what dmesg reports. mdc: Unknown symbol class_exp2obd mdc: Unknown symbol ptlrpc_req_finished mdc: Unknown symbol ldlm_lock_decref mdc: Unknown symbol lprocfs_rd_conn_uuid lov: Unknown symbol ptlrpc_set_destroy lov: Unknown symbol class_unregister_type lov: Unknown symbol lprocfs_rd_kbytesavail lov: Unknown symbol class_manual_cleanup lov: Unknown symbol cfs_free_large lov: Unknown symbol ptlrpc_prep_set lov: Unknown symbol llog_process lov: Unknown symbol class_register_type lov: Unknown symbol lprocfs_rd_blksize lov: Unknown symbol lprocfs_rd_kbytesfree lov: Unknown symbol obd_ioctl_getdata ...... SNIP ... lustre: Unknown symbol ldlm_lock_dump_handle lustre: Unknown symbol lov_stripe_lock lustre: Unknown symbol class_manual_cleanup lustre: Unknown symbol cfs_free_large lustre: Unknown symbol mdc_set_open_replay_data lustre: Unknown symbol ptlrpc_prep_set lustre: Unknown symbol lustre_msg_string lustre: Unknown symbol oig_init lustre: Unknown symbol ldlm_cli_cancel_unused lustre: Unknown symbol class_parse_nid lustre: Unknown symbol mdc_clear_open_replay_data lustre: Unknown symbol mdc_setxattr lustre: Unknown symbol mdc_getattr lustre: Unknown symbol obd_ioctl_getdata .... Rest omitted for space.... Any other ideas. It seems so close. Thanks, Jon On Thu, 2006-10-19 at 09:43 +0800, Qi Yong wrote:> Jon Scottorn wrote: > > Thanks for all the support again. You guys are awesome. > > > > That fix got me past that error, Now I am close. Here is my next error: > > > > CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o > > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > > from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > > from > > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > > "KLWT_SUPPORT" is not defined > > In file included from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > > from > > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > > "POISON_BULK" is not defined > > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In function > > ''filter_sync_inode_data'': > > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: > > ''PF_SYNCWRITE'' undeclared (first use in this function) > > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: (Each > > undeclared identifier is reported only once > > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: for each > > function it appears in.) > > make[6]: *** [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 > > make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 > > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > > make[2]: *** [modules] Error 2 > > make[2]: Leaving directory `/root/lustre-1.5.95'' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/lustre-1.5.95'' > > > > Thanks again so much for the support. > > > > Jon > > PF_SYNCWRITE was dropped some time ago. This is my local fix for it. > > --- lustre/obdfilter/filter_io_26.c 18 Oct 2006 07:21:30 -0000 1.6.2.6.2.18.20.1.2.13 > +++ lustre/obdfilter/filter_io_26.c 19 Oct 2006 01:40:07 -0000 > @@ -403,11 +403,9 @@ static int filter_sync_inode_data(struct > if (!locked) > LOCK_INODE_MUTEX(inode); > if (inode->i_mapping->nrpages) { > - current->flags |= PF_SYNCWRITE; > rc = filemap_fdatawrite(inode->i_mapping); > if (rc == 0) > rc = filemap_fdatawait(inode->i_mapping); > - current->flags &= ~PF_SYNCWRITE; > } > if (!locked) > UNLOCK_INODE_MUTEX(inode); >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061019/01e41ddc/attachment.html
Those are references to other Lustre modules. Make sure there''s no "alias lustre llite" in modprobe.conf, depmod -ae modprobe lustre Jon Scottorn wrote:> Ok, > > Thanks for all the help. > > I''ve got Lustre to build and install but now when I try to install the > modules I get a ton of unknown symbols > > I am running the correct kernel so not sure why I am getting these. > Here is a sample of what dmesg reports. > > mdc: Unknown symbol class_exp2obd > mdc: Unknown symbol ptlrpc_req_finished > mdc: Unknown symbol ldlm_lock_decref > mdc: Unknown symbol lprocfs_rd_conn_uuid > lov: Unknown symbol ptlrpc_set_destroy > lov: Unknown symbol class_unregister_type > lov: Unknown symbol lprocfs_rd_kbytesavail > lov: Unknown symbol class_manual_cleanup > lov: Unknown symbol cfs_free_large > lov: Unknown symbol ptlrpc_prep_set > lov: Unknown symbol llog_process > lov: Unknown symbol class_register_type > lov: Unknown symbol lprocfs_rd_blksize > lov: Unknown symbol lprocfs_rd_kbytesfree > lov: Unknown symbol obd_ioctl_getdata > ...... SNIP ... > lustre: Unknown symbol ldlm_lock_dump_handle > lustre: Unknown symbol lov_stripe_lock > lustre: Unknown symbol class_manual_cleanup > lustre: Unknown symbol cfs_free_large > lustre: Unknown symbol mdc_set_open_replay_data > lustre: Unknown symbol ptlrpc_prep_set > lustre: Unknown symbol lustre_msg_string > lustre: Unknown symbol oig_init > lustre: Unknown symbol ldlm_cli_cancel_unused > lustre: Unknown symbol class_parse_nid > lustre: Unknown symbol mdc_clear_open_replay_data > lustre: Unknown symbol mdc_setxattr > lustre: Unknown symbol mdc_getattr > lustre: Unknown symbol obd_ioctl_getdata > > .... Rest omitted for space.... > > Any other ideas. It seems so close. > > Thanks, > > Jon > On Thu, 2006-10-19 at 09:43 +0800, Qi Yong wrote: >> Jon Scottorn wrote: >> > Thanks for all the support again. You guys are awesome. >> > >> > That fix got me past that error, Now I am close. Here is my next error: >> > >> > CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o >> > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, >> > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, >> > from /root/lustre-1.5.95/lustre/include/obd_class.h:26, >> > from >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: >> > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: >> > "KLWT_SUPPORT" is not defined >> > In file included from /root/lustre-1.5.95/lustre/include/obd_class.h:26, >> > from >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: >> > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: >> > "POISON_BULK" is not defined >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In function >> > ''filter_sync_inode_data'': >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: >> > ''PF_SYNCWRITE'' undeclared (first use in this function) >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: (Each >> > undeclared identifier is reported only once >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: for each >> > function it appears in.) >> > make[6]: *** [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 >> > make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 >> > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >> > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >> > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >> > make[2]: *** [modules] Error 2 >> > make[2]: Leaving directory `/root/lustre-1.5.95'' >> > make[1]: *** [all-recursive] Error 1 >> > make[1]: Leaving directory `/root/lustre-1.5.95'' >> > >> > Thanks again so much for the support. >> > >> > Jon >> >> PF_SYNCWRITE was dropped some time ago. This is my local fix for it. >> >> --- lustre/obdfilter/filter_io_26.c 18 Oct 2006 07:21:30 -0000 1.6.2.6.2.18.20.1.2.13 >> +++ lustre/obdfilter/filter_io_26.c 19 Oct 2006 01:40:07 -0000 >> @@ -403,11 +403,9 @@ static int filter_sync_inode_data(struct >> if (!locked) >> LOCK_INODE_MUTEX(inode); >> if (inode->i_mapping->nrpages) { >> - current->flags |= PF_SYNCWRITE; >> rc = filemap_fdatawrite(inode->i_mapping); >> if (rc == 0) >> rc = filemap_fdatawait(inode->i_mapping); >> - current->flags &= ~PF_SYNCWRITE; >> } >> if (!locked) >> UNLOCK_INODE_MUTEX(inode); >> >> > */Jon Scottorn/* > /Systems Administrator/ > /The Possibility Forge, Inc./ > /http://www.possibilityforge.com/ > /435.635.0591 x.1004/ > > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
On Thu, 2006-10-19 at 09:26 -0700, Nathaniel Rutman wrote:> Those are references to other Lustre modules. > Make sure there''s no "alias lustre llite" in modprobe.conf,I have made sure that this has been removed.> depmod -ae > modprobe lustre >I did run depmod -ae as suggested but I still get the same errors and the modules do not load. Am I missing something else? Any other thoughts are much appreciated. Thanks, Jon> Jon Scottorn wrote: > > Ok, > > > > Thanks for all the help. > > > > I''ve got Lustre to build and install but now when I try to install the > > modules I get a ton of unknown symbols > > > > I am running the correct kernel so not sure why I am getting these. > > Here is a sample of what dmesg reports. > > > > mdc: Unknown symbol class_exp2obd > > mdc: Unknown symbol ptlrpc_req_finished > > mdc: Unknown symbol ldlm_lock_decref > > mdc: Unknown symbol lprocfs_rd_conn_uuid > > lov: Unknown symbol ptlrpc_set_destroy > > lov: Unknown symbol class_unregister_type > > lov: Unknown symbol lprocfs_rd_kbytesavail > > lov: Unknown symbol class_manual_cleanup > > lov: Unknown symbol cfs_free_large > > lov: Unknown symbol ptlrpc_prep_set > > lov: Unknown symbol llog_process > > lov: Unknown symbol class_register_type > > lov: Unknown symbol lprocfs_rd_blksize > > lov: Unknown symbol lprocfs_rd_kbytesfree > > lov: Unknown symbol obd_ioctl_getdata > > ...... SNIP ... > > lustre: Unknown symbol ldlm_lock_dump_handle > > lustre: Unknown symbol lov_stripe_lock > > lustre: Unknown symbol class_manual_cleanup > > lustre: Unknown symbol cfs_free_large > > lustre: Unknown symbol mdc_set_open_replay_data > > lustre: Unknown symbol ptlrpc_prep_set > > lustre: Unknown symbol lustre_msg_string > > lustre: Unknown symbol oig_init > > lustre: Unknown symbol ldlm_cli_cancel_unused > > lustre: Unknown symbol class_parse_nid > > lustre: Unknown symbol mdc_clear_open_replay_data > > lustre: Unknown symbol mdc_setxattr > > lustre: Unknown symbol mdc_getattr > > lustre: Unknown symbol obd_ioctl_getdata > > > > .... Rest omitted for space.... > > > > Any other ideas. It seems so close. > > > > Thanks, > > > > Jon > > On Thu, 2006-10-19 at 09:43 +0800, Qi Yong wrote: > >> Jon Scottorn wrote: > >> > Thanks for all the support again. You guys are awesome. > >> > > >> > That fix got me past that error, Now I am close. Here is my next error: > >> > > >> > CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o > >> > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > >> > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > >> > from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > >> > from > >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > >> > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > >> > "KLWT_SUPPORT" is not defined > >> > In file included from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > >> > from > >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > >> > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > >> > "POISON_BULK" is not defined > >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In function > >> > ''filter_sync_inode_data'': > >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: > >> > ''PF_SYNCWRITE'' undeclared (first use in this function) > >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: (Each > >> > undeclared identifier is reported only once > >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: for each > >> > function it appears in.) > >> > make[6]: *** [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 > >> > make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 > >> > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >> > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >> > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >> > make[2]: *** [modules] Error 2 > >> > make[2]: Leaving directory `/root/lustre-1.5.95'' > >> > make[1]: *** [all-recursive] Error 1 > >> > make[1]: Leaving directory `/root/lustre-1.5.95'' > >> > > >> > Thanks again so much for the support. > >> > > >> > Jon > >> > >> PF_SYNCWRITE was dropped some time ago. This is my local fix for it. > >> > >> --- lustre/obdfilter/filter_io_26.c 18 Oct 2006 07:21:30 -0000 1.6.2.6.2.18.20.1.2.13 > >> +++ lustre/obdfilter/filter_io_26.c 19 Oct 2006 01:40:07 -0000 > >> @@ -403,11 +403,9 @@ static int filter_sync_inode_data(struct > >> if (!locked) > >> LOCK_INODE_MUTEX(inode); > >> if (inode->i_mapping->nrpages) { > >> - current->flags |= PF_SYNCWRITE; > >> rc = filemap_fdatawrite(inode->i_mapping); > >> if (rc == 0) > >> rc = filemap_fdatawait(inode->i_mapping); > >> - current->flags &= ~PF_SYNCWRITE; > >> } > >> if (!locked) > >> UNLOCK_INODE_MUTEX(inode); > >> > >> > > */Jon Scottorn/* > > /Systems Administrator/ > > /The Possibility Forge, Inc./ > > /http://www.possibilityforge.com/ > > /435.635.0591 x.1004/ > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss@clusterfs.com > > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > > >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061019/97dda18c/attachment.html
This should be the module loading order, but modprobe should pull in any required modules automatically after the depmod has been done. osc 130960 2 mds 413120 2 mgs 121132 1 obdfilter 214112 1 fsfilt_ldiskfs 47224 3 ost 86296 1 mgc 49876 2 mgs ldiskfs 188688 3 fsfilt_ldiskfs lustre 388220 1 lov 273272 3 lustre mdc 88732 2 lustre ksocklnd 92408 1 ptlrpc 609880 9 osc,mds,mgs,obdfilter,ost,mgc,lustre,lov,mdc obdclass 449768 14 osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ptlrpc lnet 230072 3 ksocklnd,ptlrpc,obdclass lvfs 39176 13 osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ptlrpc,obdclasslibcfs 103712 15 osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ksocklnd,ptlrpc,obdclass,lnet,lvfs Your errors below seem to pull the mdc module before the obdclass module. You''re using modprobe and not insmod, right? You shouldn''t even have to modprobe; the correct modules should load automatically if you just mount -t lustre ... Jon Scottorn wrote:> On Thu, 2006-10-19 at 09:26 -0700, Nathaniel Rutman wrote: >> Those are references to other Lustre modules. >> Make sure there''s no "alias lustre llite" in modprobe.conf, >> > I have made sure that this has been removed. >> depmod -ae >> modprobe lustre >> >> > I did run depmod -ae as suggested but I still get the same errors and > the modules do not load. > > Am I missing something else? Any other thoughts are much appreciated. > > Thanks, > > Jon >> Jon Scottorn wrote: >> > Ok, >> > >> > Thanks for all the help. >> > >> > I''ve got Lustre to build and install but now when I try to install the >> > modules I get a ton of unknown symbols >> > >> > I am running the correct kernel so not sure why I am getting these. >> > Here is a sample of what dmesg reports. >> > >> > mdc: Unknown symbol class_exp2obd >> > mdc: Unknown symbol ptlrpc_req_finished >> > mdc: Unknown symbol ldlm_lock_decref >> > mdc: Unknown symbol lprocfs_rd_conn_uuid >> > lov: Unknown symbol ptlrpc_set_destroy >> > lov: Unknown symbol class_unregister_type >> > lov: Unknown symbol lprocfs_rd_kbytesavail >> > lov: Unknown symbol class_manual_cleanup >> > lov: Unknown symbol cfs_free_large >> > lov: Unknown symbol ptlrpc_prep_set >> > lov: Unknown symbol llog_process >> > lov: Unknown symbol class_register_type >> > lov: Unknown symbol lprocfs_rd_blksize >> > lov: Unknown symbol lprocfs_rd_kbytesfree >> > lov: Unknown symbol obd_ioctl_getdata >> > ...... SNIP ... >> > lustre: Unknown symbol ldlm_lock_dump_handle >> > lustre: Unknown symbol lov_stripe_lock >> > lustre: Unknown symbol class_manual_cleanup >> > lustre: Unknown symbol cfs_free_large >> > lustre: Unknown symbol mdc_set_open_replay_data >> > lustre: Unknown symbol ptlrpc_prep_set >> > lustre: Unknown symbol lustre_msg_string >> > lustre: Unknown symbol oig_init >> > lustre: Unknown symbol ldlm_cli_cancel_unused >> > lustre: Unknown symbol class_parse_nid >> > lustre: Unknown symbol mdc_clear_open_replay_data >> > lustre: Unknown symbol mdc_setxattr >> > lustre: Unknown symbol mdc_getattr >> > lustre: Unknown symbol obd_ioctl_getdata >> > >> > .... Rest omitted for space.... >> > >> > Any other ideas. It seems so close. >> > >> > Thanks, >> > >> > Jon >> > On Thu, 2006-10-19 at 09:43 +0800, Qi Yong wrote: >> >> Jon Scottorn wrote: >> >> > Thanks for all the support again. You guys are awesome. >> >> > >> >> > That fix got me past that error, Now I am close. Here is my next error: >> >> > >> >> > CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o >> >> > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, >> >> > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, >> >> > from /root/lustre-1.5.95/lustre/include/obd_class.h:26, >> >> > from >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: >> >> > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: >> >> > "KLWT_SUPPORT" is not defined >> >> > In file included from /root/lustre-1.5.95/lustre/include/obd_class.h:26, >> >> > from >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: >> >> > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: >> >> > "POISON_BULK" is not defined >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In function >> >> > ''filter_sync_inode_data'': >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: >> >> > ''PF_SYNCWRITE'' undeclared (first use in this function) >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: (Each >> >> > undeclared identifier is reported only once >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: for each >> >> > function it appears in.) >> >> > make[6]: *** [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 >> >> > make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 >> >> > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >> >> > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >> >> > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >> >> > make[2]: *** [modules] Error 2 >> >> > make[2]: Leaving directory `/root/lustre-1.5.95'' >> >> > make[1]: *** [all-recursive] Error 1 >> >> > make[1]: Leaving directory `/root/lustre-1.5.95'' >> >> > >> >> > Thanks again so much for the support. >> >> > >> >> > Jon >> >> >> >> PF_SYNCWRITE was dropped some time ago. This is my local fix for it. >> >> >> >> --- lustre/obdfilter/filter_io_26.c 18 Oct 2006 07:21:30 -0000 1.6.2.6.2.18.20.1.2.13 >> >> +++ lustre/obdfilter/filter_io_26.c 19 Oct 2006 01:40:07 -0000 >> >> @@ -403,11 +403,9 @@ static int filter_sync_inode_data(struct >> >> if (!locked) >> >> LOCK_INODE_MUTEX(inode); >> >> if (inode->i_mapping->nrpages) { >> >> - current->flags |= PF_SYNCWRITE; >> >> rc = filemap_fdatawrite(inode->i_mapping); >> >> if (rc == 0) >> >> rc = filemap_fdatawait(inode->i_mapping); >> >> - current->flags &= ~PF_SYNCWRITE; >> >> } >> >> if (!locked) >> >> UNLOCK_INODE_MUTEX(inode); >> >> >> >> >> > */Jon Scottorn/* >> > /Systems Administrator/ >> > /The Possibility Forge, Inc./ >> > /http://www.possibilityforge.com/ >> > /435.635.0591 x.1004/ >> > >> > ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Lustre-discuss mailing list >> > Lustre-discuss@clusterfs.com <mailto:Lustre-discuss@clusterfs.com> >> > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> > >> >> > */Jon Scottorn/* > /Systems Administrator/ > /The Possibility Forge, Inc./ > /http://www.possibilityforge.com/ > /435.635.0591 x.1004/ > > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
Umm, the reverse of the loading order :) I.e. libcfs doesn''t have any other lustre module dependencies. Nathaniel Rutman wrote:> This should be the module loading order, but modprobe should pull in > any required modules automatically after the depmod has been done. > osc 130960 2 > mds 413120 2 > mgs 121132 1 > obdfilter 214112 1 > fsfilt_ldiskfs 47224 3 > ost 86296 1 > mgc 49876 2 mgs > ldiskfs 188688 3 fsfilt_ldiskfs > lustre 388220 1 > lov 273272 3 lustre > mdc 88732 2 lustre > ksocklnd 92408 1 > ptlrpc 609880 9 > osc,mds,mgs,obdfilter,ost,mgc,lustre,lov,mdc > obdclass 449768 14 > osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ptlrpc > lnet 230072 3 ksocklnd,ptlrpc,obdclass > lvfs 39176 13 > osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ptlrpc,obdclass > libcfs 103712 15 > osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ksocklnd,ptlrpc,obdclass,lnet,lvfs > > > Your errors below seem to pull the mdc module before the obdclass > module. You''re using modprobe and not insmod, right? > You shouldn''t even have to modprobe; the correct modules should load > automatically if you just > mount -t lustre ... > > Jon Scottorn wrote: >> On Thu, 2006-10-19 at 09:26 -0700, Nathaniel Rutman wrote: >>> Those are references to other Lustre modules. >>> Make sure there''s no "alias lustre llite" in modprobe.conf, >>> >> I have made sure that this has been removed. >>> depmod -ae >>> modprobe lustre >>> >>> >> I did run depmod -ae as suggested but I still get the same errors and >> the modules do not load. >> >> Am I missing something else? Any other thoughts are much appreciated. >> >> Thanks, >> >> Jon >>> Jon Scottorn wrote: >>> > Ok, >>> > >>> > Thanks for all the help. >>> > >>> > I''ve got Lustre to build and install but now when I try to install >>> the > modules I get a ton of unknown symbols >>> > >>> > I am running the correct kernel so not sure why I am getting these. >>> > Here is a sample of what dmesg reports. >>> > >>> > mdc: Unknown symbol class_exp2obd >>> > mdc: Unknown symbol ptlrpc_req_finished >>> > mdc: Unknown symbol ldlm_lock_decref >>> > mdc: Unknown symbol lprocfs_rd_conn_uuid >>> > lov: Unknown symbol ptlrpc_set_destroy >>> > lov: Unknown symbol class_unregister_type >>> > lov: Unknown symbol lprocfs_rd_kbytesavail >>> > lov: Unknown symbol class_manual_cleanup >>> > lov: Unknown symbol cfs_free_large >>> > lov: Unknown symbol ptlrpc_prep_set >>> > lov: Unknown symbol llog_process >>> > lov: Unknown symbol class_register_type >>> > lov: Unknown symbol lprocfs_rd_blksize >>> > lov: Unknown symbol lprocfs_rd_kbytesfree >>> > lov: Unknown symbol obd_ioctl_getdata >>> > ...... SNIP ... >>> > lustre: Unknown symbol ldlm_lock_dump_handle >>> > lustre: Unknown symbol lov_stripe_lock >>> > lustre: Unknown symbol class_manual_cleanup >>> > lustre: Unknown symbol cfs_free_large >>> > lustre: Unknown symbol mdc_set_open_replay_data >>> > lustre: Unknown symbol ptlrpc_prep_set >>> > lustre: Unknown symbol lustre_msg_string >>> > lustre: Unknown symbol oig_init >>> > lustre: Unknown symbol ldlm_cli_cancel_unused >>> > lustre: Unknown symbol class_parse_nid >>> > lustre: Unknown symbol mdc_clear_open_replay_data >>> > lustre: Unknown symbol mdc_setxattr >>> > lustre: Unknown symbol mdc_getattr >>> > lustre: Unknown symbol obd_ioctl_getdata >>> > >>> > .... Rest omitted for space.... >>> > >>> > Any other ideas. It seems so close. >>> > >>> > Thanks, >>> > >>> > Jon >>> > On Thu, 2006-10-19 at 09:43 +0800, Qi Yong wrote: >>> >> Jon Scottorn wrote: >>> >> > Thanks for all the support again. You guys are awesome. >>> >> > >> > That fix got me past that error, Now I am close. Here is >>> my next error: >>> >> > >> > CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o >>> >> > In file included from >>> /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, >>> >> > from >>> /root/lustre-1.5.95/lustre/include/obd_support.h:26, >>> >> > from >>> /root/lustre-1.5.95/lustre/include/obd_class.h:26, >>> >> > from >> > >>> /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: >>> >> > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: >>> warning: >> > "KLWT_SUPPORT" is not defined >>> >> > In file included from >>> /root/lustre-1.5.95/lustre/include/obd_class.h:26, >>> >> > from >> > >>> /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: >>> >> > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: >>> warning: >> > "POISON_BULK" is not defined >>> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In >>> function >> > ''filter_sync_inode_data'': >>> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: >>> >> > ''PF_SYNCWRITE'' undeclared (first use in this function) >>> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: >>> (Each >> > undeclared identifier is reported only once >>> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: >>> for each >> > function it appears in.) >>> >> > make[6]: *** >>> [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 >>> >> > make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 >>> >> > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 >>> >> > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 >>> >> > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' >>> >> > make[2]: *** [modules] Error 2 >>> >> > make[2]: Leaving directory `/root/lustre-1.5.95'' >>> >> > make[1]: *** [all-recursive] Error 1 >>> >> > make[1]: Leaving directory `/root/lustre-1.5.95'' >>> >> > >> > Thanks again so much for the support. >>> >> > >> > Jon >>> >> >>> >> PF_SYNCWRITE was dropped some time ago. This is my local fix for it. >>> >> >>> >> --- lustre/obdfilter/filter_io_26.c 18 Oct 2006 07:21:30 >>> -0000 1.6.2.6.2.18.20.1.2.13 >>> >> +++ lustre/obdfilter/filter_io_26.c 19 Oct 2006 01:40:07 -0000 >>> >> @@ -403,11 +403,9 @@ static int filter_sync_inode_data(struct >>> >> if (!locked) >>> >> LOCK_INODE_MUTEX(inode); >>> >> if (inode->i_mapping->nrpages) { >>> >> - current->flags |= PF_SYNCWRITE; >>> >> rc = filemap_fdatawrite(inode->i_mapping); >>> >> if (rc == 0) >>> >> rc = filemap_fdatawait(inode->i_mapping); >>> >> - current->flags &= ~PF_SYNCWRITE; >>> >> } >>> >> if (!locked) >>> >> UNLOCK_INODE_MUTEX(inode); >>> >> >>> >> > */Jon Scottorn/* >>> > /Systems Administrator/ >>> > /The Possibility Forge, Inc./ >>> > /http://www.possibilityforge.com/ >>> > /435.635.0591 x.1004/ >>> > >>> > >>> ------------------------------------------------------------------------ >>> >>> > >>> > _______________________________________________ >>> > Lustre-discuss mailing list >>> > Lustre-discuss@clusterfs.com <mailto:Lustre-discuss@clusterfs.com> >>> > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >>> > >>> >> */Jon Scottorn/* >> /Systems Administrator/ >> /The Possibility Forge, Inc./ >> /http://www.possibilityforge.com/ >> /435.635.0591 x.1004/ >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@clusterfs.com >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
On Thu, 2006-10-19 at 09:42 -0700, Nathaniel Rutman wrote:> This should be the module loading order, but modprobe should pull in any > required modules automatically after the depmod has been done. > osc 130960 2 > mds 413120 2 > mgs 121132 1 > obdfilter 214112 1 > fsfilt_ldiskfs 47224 3 > ost 86296 1 > mgc 49876 2 mgs > ldiskfs 188688 3 fsfilt_ldiskfs > lustre 388220 1 > lov 273272 3 lustre > mdc 88732 2 lustre > ksocklnd 92408 1 > ptlrpc 609880 9 osc,mds,mgs,obdfilter,ost,mgc,lustre,lov,mdc > obdclass 449768 14 > osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ptlrpc > lnet 230072 3 ksocklnd,ptlrpc,obdclass > lvfs 39176 13 > osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ptlrpc,obdclasslibcfs > 103712 15 > osc,mds,mgs,obdfilter,fsfilt_ldiskfs,ost,mgc,lustre,lov,mdc,ksocklnd,ptlrpc,obdclass,lnet,lvfs > > Your errors below seem to pull the mdc module before the obdclass > module. You''re using modprobe and not insmod, right?Yes, I am doing a modprobe lustre and this is what reporst on screen: modprobe lustre WARNING: Error inserting libcfs (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lvfs (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lvfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lnet (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/lnet.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting obdclass (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/obdclass.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Module ksocknal not found. WARNING: Error inserting libcfs (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lvfs (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lvfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lnet (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/lnet.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting obdclass (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/obdclass.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting ptlrpc (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/ptlrpc.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error running install command for ptlrpc WARNING: Error inserting mdc (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/mdc.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lov (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lov.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting lustre (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lustre.ko): Unknown symbol in module, or unknown parameter (see dmesg)> You shouldn''t even have to modprobe; the correct modules should load > automatically if you just > mount -t lustre ... >I do the above and this is what I get back: mount -t lustre /dev/sda6 /mnt/test/mdt mount.lustre: mount /dev/sda6 at /mnt/test/mdt failed: No such device Are the lustre modules loaded? Check /etc/modprobe.conf and /proc/filesystems Note ''alias lustre llite'' should be removed from modprobe.conf Here is what is in my modprobe.conf install kptlrouter /sbin/modprobe portals; /sbin/modprobe --ignore-install kptlrouter install ptlrpc /sbin/modprobe ksocknal; /sbin/modprobe --ignore-install ptlrpc install llite /sbin/modprobe lov; /sbin/modprobe osc; /sbin/modprobe --ignore-install llite #alias lustre llite # Networking options, see /sys/module/lnet/parameters options lnet networks=tcp # alias lustre llite -- remove this line from existing modprobe.conf # (the llite module has been renamed to lustre) # end Lustre modules Not entirely sure if this is correct. Thanks again for your input. Jon> Jon Scottorn wrote: > > On Thu, 2006-10-19 at 09:26 -0700, Nathaniel Rutman wrote: > >> Those are references to other Lustre modules. > >> Make sure there''s no "alias lustre llite" in modprobe.conf, > >> > > I have made sure that this has been removed. > >> depmod -ae > >> modprobe lustre > >> > >> > > I did run depmod -ae as suggested but I still get the same errors and > > the modules do not load. > > > > Am I missing something else? Any other thoughts are much appreciated. > > > > Thanks, > > > > Jon > >> Jon Scottorn wrote: > >> > Ok, > >> > > >> > Thanks for all the help. > >> > > >> > I''ve got Lustre to build and install but now when I try to install the > >> > modules I get a ton of unknown symbols > >> > > >> > I am running the correct kernel so not sure why I am getting these. > >> > Here is a sample of what dmesg reports. > >> > > >> > mdc: Unknown symbol class_exp2obd > >> > mdc: Unknown symbol ptlrpc_req_finished > >> > mdc: Unknown symbol ldlm_lock_decref > >> > mdc: Unknown symbol lprocfs_rd_conn_uuid > >> > lov: Unknown symbol ptlrpc_set_destroy > >> > lov: Unknown symbol class_unregister_type > >> > lov: Unknown symbol lprocfs_rd_kbytesavail > >> > lov: Unknown symbol class_manual_cleanup > >> > lov: Unknown symbol cfs_free_large > >> > lov: Unknown symbol ptlrpc_prep_set > >> > lov: Unknown symbol llog_process > >> > lov: Unknown symbol class_register_type > >> > lov: Unknown symbol lprocfs_rd_blksize > >> > lov: Unknown symbol lprocfs_rd_kbytesfree > >> > lov: Unknown symbol obd_ioctl_getdata > >> > ...... SNIP ... > >> > lustre: Unknown symbol ldlm_lock_dump_handle > >> > lustre: Unknown symbol lov_stripe_lock > >> > lustre: Unknown symbol class_manual_cleanup > >> > lustre: Unknown symbol cfs_free_large > >> > lustre: Unknown symbol mdc_set_open_replay_data > >> > lustre: Unknown symbol ptlrpc_prep_set > >> > lustre: Unknown symbol lustre_msg_string > >> > lustre: Unknown symbol oig_init > >> > lustre: Unknown symbol ldlm_cli_cancel_unused > >> > lustre: Unknown symbol class_parse_nid > >> > lustre: Unknown symbol mdc_clear_open_replay_data > >> > lustre: Unknown symbol mdc_setxattr > >> > lustre: Unknown symbol mdc_getattr > >> > lustre: Unknown symbol obd_ioctl_getdata > >> > > >> > .... Rest omitted for space.... > >> > > >> > Any other ideas. It seems so close. > >> > > >> > Thanks, > >> > > >> > Jon > >> > On Thu, 2006-10-19 at 09:43 +0800, Qi Yong wrote: > >> >> Jon Scottorn wrote: > >> >> > Thanks for all the support again. You guys are awesome. > >> >> > > >> >> > That fix got me past that error, Now I am close. Here is my next error: > >> >> > > >> >> > CC [M] /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o > >> >> > In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, > >> >> > from /root/lustre-1.5.95/lustre/include/obd_support.h:26, > >> >> > from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > >> >> > from > >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > >> >> > /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: > >> >> > "KLWT_SUPPORT" is not defined > >> >> > In file included from /root/lustre-1.5.95/lustre/include/obd_class.h:26, > >> >> > from > >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:38: > >> >> > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > >> >> > "POISON_BULK" is not defined > >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c: In function > >> >> > ''filter_sync_inode_data'': > >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: > >> >> > ''PF_SYNCWRITE'' undeclared (first use in this function) > >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: (Each > >> >> > undeclared identifier is reported only once > >> >> > /root/lustre-1.5.95/lustre/obdfilter/filter_io_26.c:390: error: for each > >> >> > function it appears in.) > >> >> > make[6]: *** [/root/lustre-1.5.95/lustre/obdfilter/filter_io_26.o] Error 1 > >> >> > make[5]: *** [/root/lustre-1.5.95/lustre/obdfilter] Error 2 > >> >> > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > >> >> > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > >> >> > make[3]: Leaving directory `/usr/src/linux-source-2.6.18'' > >> >> > make[2]: *** [modules] Error 2 > >> >> > make[2]: Leaving directory `/root/lustre-1.5.95'' > >> >> > make[1]: *** [all-recursive] Error 1 > >> >> > make[1]: Leaving directory `/root/lustre-1.5.95'' > >> >> > > >> >> > Thanks again so much for the support. > >> >> > > >> >> > Jon > >> >> > >> >> PF_SYNCWRITE was dropped some time ago. This is my local fix for it. > >> >> > >> >> --- lustre/obdfilter/filter_io_26.c 18 Oct 2006 07:21:30 -0000 1.6.2.6.2.18.20.1.2.13 > >> >> +++ lustre/obdfilter/filter_io_26.c 19 Oct 2006 01:40:07 -0000 > >> >> @@ -403,11 +403,9 @@ static int filter_sync_inode_data(struct > >> >> if (!locked) > >> >> LOCK_INODE_MUTEX(inode); > >> >> if (inode->i_mapping->nrpages) { > >> >> - current->flags |= PF_SYNCWRITE; > >> >> rc = filemap_fdatawrite(inode->i_mapping); > >> >> if (rc == 0) > >> >> rc = filemap_fdatawait(inode->i_mapping); > >> >> - current->flags &= ~PF_SYNCWRITE; > >> >> } > >> >> if (!locked) > >> >> UNLOCK_INODE_MUTEX(inode); > >> >> > >> >> > >> > */Jon Scottorn/* > >> > /Systems Administrator/ > >> > /The Possibility Forge, Inc./ > >> > /http://www.possibilityforge.com/ > >> > /435.635.0591 x.1004/ > >> > > >> > ------------------------------------------------------------------------ > >> > > >> > _______________________________________________ > >> > Lustre-discuss mailing list > >> > Lustre-discuss@clusterfs.com <mailto:Lustre-discuss@clusterfs.com> > >> > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >> > > >> > >> > > */Jon Scottorn/* > > /Systems Administrator/ > > /The Possibility Forge, Inc./ > > /http://www.possibilityforge.com/ > > /435.635.0591 x.1004/ > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss@clusterfs.com > > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061019/49b0665c/attachment-0001.html
Get rid of everything except "options lnet networks=tcp"> > > Here is what is in my modprobe.conf > > install kptlrouter /sbin/modprobe portals; /sbin/modprobe > --ignore-install kptlrouter > install ptlrpc /sbin/modprobe ksocknal; /sbin/modprobe > --ignore-install ptlrpc > install llite /sbin/modprobe lov; /sbin/modprobe osc; /sbin/modprobe > --ignore-install llite > #alias lustre llite > > # Networking options, see /sys/module/lnet/parameters > options lnet networks=tcp > # alias lustre llite -- remove this line from existing modprobe.conf > # (the llite module has been renamed to lustre) > # end Lustre modules > Not entirely sure if this is correct.
Done, This is what I get now. modprobe lustre WARNING: Error inserting libcfs (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lvfs (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lvfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lnet (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/lnet.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting obdclass (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/obdclass.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting ptlrpc (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/ptlrpc.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting mdc (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/mdc.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting lov (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lov.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting lustre (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lustre.ko): Unknown symbol in module, or unknown parameter (see dmesg) On Thu, 2006-10-19 at 11:04 -0700, Nathaniel Rutman wrote:> Get rid of everything except "options lnet networks=tcp" > > > > > > Here is what is in my modprobe.conf > > > > install kptlrouter /sbin/modprobe portals; /sbin/modprobe > > --ignore-install kptlrouter > > install ptlrpc /sbin/modprobe ksocknal; /sbin/modprobe > > --ignore-install ptlrpc > > install llite /sbin/modprobe lov; /sbin/modprobe osc; /sbin/modprobe > > --ignore-install llite > > #alias lustre llite > > > > # Networking options, see /sys/module/lnet/parameters > > options lnet networks=tcp > > # alias lustre llite -- remove this line from existing modprobe.conf > > # (the llite module has been renamed to lustre) > > # end Lustre modules > > Not entirely sure if this is correct. >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061019/2fb2e401/attachment.html
Just modprobe libcfs instead of lustre (thus avoiding trying to load all the other lustre modules), and report the unknown symbols from dmesg. These will be non-lustre kernel symbols you''ll have to resolve via your patches somehow. Jon Scottorn wrote:> Done, > > This is what I get now. > > modprobe lustre > WARNING: Error inserting libcfs > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting lvfs > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lvfs.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting lnet > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/lnet.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting obdclass > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/obdclass.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting ptlrpc > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/ptlrpc.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting mdc > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/mdc.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting lov > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lov.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > FATAL: Error inserting lustre > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lustre.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > > On Thu, 2006-10-19 at 11:04 -0700, Nathaniel Rutman wrote: >> Get rid of everything except "options lnet networks=tcp" >> > >> > >> > Here is what is in my modprobe.conf >> > >> > install kptlrouter /sbin/modprobe portals; /sbin/modprobe >> > --ignore-install kptlrouter >> > install ptlrpc /sbin/modprobe ksocknal; /sbin/modprobe >> > --ignore-install ptlrpc >> > install llite /sbin/modprobe lov; /sbin/modprobe osc; /sbin/modprobe >> > --ignore-install llite >> > #alias lustre llite >> > >> > # Networking options, see /sys/module/lnet/parameters >> > options lnet networks=tcp >> > # alias lustre llite -- remove this line from existing modprobe.conf >> > # (the llite module has been renamed to lustre) >> > # end Lustre modules >> > Not entirely sure if this is correct. >> >> > */Jon Scottorn/* > /Systems Administrator/ > /The Possibility Forge, Inc./ > /http://www.possibilityforge.com/ > /435.635.0591 x.1004/ > > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
Here is what reports modprobe libcfs FATAL: Error inserting libcfs (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) Here is what Dmesg Reports: libcfs: Unknown symbol tasklist_lock On Thu, 2006-10-19 at 11:18 -0700, Nathaniel Rutman wrote:> Just modprobe libcfs instead of lustre (thus avoiding trying to load all > the other lustre modules), and report the unknown symbols from dmesg. > These will be non-lustre kernel symbols you''ll have to resolve via your > patches somehow. > > Jon Scottorn wrote: > > Done, > > > > This is what I get now. > > > > modprobe lustre > > WARNING: Error inserting libcfs > > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > WARNING: Error inserting lvfs > > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lvfs.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > WARNING: Error inserting lnet > > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/lnet.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > WARNING: Error inserting obdclass > > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/obdclass.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > WARNING: Error inserting ptlrpc > > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/ptlrpc.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > WARNING: Error inserting mdc > > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/mdc.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > WARNING: Error inserting lov > > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lov.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > FATAL: Error inserting lustre > > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lustre.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > > > On Thu, 2006-10-19 at 11:04 -0700, Nathaniel Rutman wrote: > >> Get rid of everything except "options lnet networks=tcp" > >> > > >> > > >> > Here is what is in my modprobe.conf > >> > > >> > install kptlrouter /sbin/modprobe portals; /sbin/modprobe > >> > --ignore-install kptlrouter > >> > install ptlrpc /sbin/modprobe ksocknal; /sbin/modprobe > >> > --ignore-install ptlrpc > >> > install llite /sbin/modprobe lov; /sbin/modprobe osc; /sbin/modprobe > >> > --ignore-install llite > >> > #alias lustre llite > >> > > >> > # Networking options, see /sys/module/lnet/parameters > >> > options lnet networks=tcp > >> > # alias lustre llite -- remove this line from existing modprobe.conf > >> > # (the llite module has been renamed to lustre) > >> > # end Lustre modules > >> > Not entirely sure if this is correct. > >> > >> > > */Jon Scottorn/* > > /Systems Administrator/ > > /The Possibility Forge, Inc./ > > /http://www.possibilityforge.com/ > > /435.635.0591 x.1004/ > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss@clusterfs.com > > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > > >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061019/e24839a2/attachment-0001.html
Jon Scottorn wrote:> Here is what reports > > modprobe libcfs > FATAL: Error inserting libcfs > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > > Here is what Dmesg Reports: > > libcfs: Unknown symbol tasklist_lock >Ok, tasklist_lock is no longer available in recent kernels. Here is a patch based on recommendations by Tom HancocK (see list archive). Also attached are some other patches I''ve needed for 2.6.18: aliasing_workaround.diff: Workaround for 2.6.18 problem in d_instantiate_unique(). See list archives for explanation. statfs.diff. Ditto. 2.6.18_nrpagecache.dpatch: nr_pagecache no longer exported in 2.6.18. 2.6.18_kern_mount.dpatch: 2.6.18 drops do_kern_mount() API. For patchless clients you will need this change. Please test further ... Regards Alastair McKinstry> > On Thu, 2006-10-19 at 11:18 -0700, Nathaniel Rutman wrote: >> Just modprobe libcfs instead of lustre (thus avoiding trying to load all >> the other lustre modules), and report the unknown symbols from dmesg. >> These will be non-lustre kernel symbols you''ll have to resolve via your >> patches somehow. >> >> Jon Scottorn wrote: >> > Done, >> > >> > This is what I get now. >> > >> > modprobe lustre >> > WARNING: Error inserting libcfs >> > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > WARNING: Error inserting lvfs >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lvfs.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > WARNING: Error inserting lnet >> > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/lnet.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > WARNING: Error inserting obdclass >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/obdclass.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > WARNING: Error inserting ptlrpc >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/ptlrpc.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > WARNING: Error inserting mdc >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/mdc.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > WARNING: Error inserting lov >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lov.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > FATAL: Error inserting lustre >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lustre.ko): Unknown >> > symbol in module, or unknown parameter (see dmesg) >> > >> > On Thu, 2006-10-19 at 11:04 -0700, Nathaniel Rutman wrote: >> >> Get rid of everything except "options lnet networks=tcp" >> >> > >> >> > >> >> > Here is what is in my modprobe.conf >> >> > >> >> > install kptlrouter /sbin/modprobe portals; /sbin/modprobe >> >> > --ignore-install kptlrouter >> >> > install ptlrpc /sbin/modprobe ksocknal; /sbin/modprobe >> >> > --ignore-install ptlrpc >> >> > install llite /sbin/modprobe lov; /sbin/modprobe osc; /sbin/modprobe >> >> > --ignore-install llite >> >> > #alias lustre llite >> >> > >> >> > # Networking options, see /sys/module/lnet/parameters >> >> > options lnet networks=tcp >> >> > # alias lustre llite -- remove this line from existing modprobe.conf >> >> > # (the llite module has been renamed to lustre) >> >> > # end Lustre modules >> >> > Not entirely sure if this is correct. >> >> >> >> >> > */Jon Scottorn/* >> > /Systems Administrator/ >> > /The Possibility Forge, Inc./ >> > /http://www.possibilityforge.com/ >> > /435.635.0591 x.1004/ >> > >> > ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Lustre-discuss mailing list >> > Lustre-discuss@clusterfs.com <mailto:Lustre-discuss@clusterfs.com> >> > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> > >> >> > */Jon Scottorn/* > /Systems Administrator/ > /The Possibility Forge, Inc./ > /http://www.possibilityforge.com/ > /435.635.0591 x.1004/ > > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >-------------- next part -------------- A non-text attachment was scrubbed... Name: tasklist_lock.diff Type: text/x-patch Size: 966 bytes Desc: not available Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061023/f5b31bbd/tasklist_lock.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: aliasing_workaround.diff Type: text/x-patch Size: 832 bytes Desc: not available Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061023/f5b31bbd/aliasing_workaround.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: statfs.diff Type: text/x-patch Size: 3134 bytes Desc: not available Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061023/f5b31bbd/statfs.bin -------------- next part -------------- #! /bin/sh /usr/share/dpatch/dpatch-run ## 2.6.18-kern-mount.dpatch by <Alastair McKinstry <mckinstry@debian.org>> ## ## All lines beginning with `## DP:'' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad lustre~/lustre-1.5.95/lustre/mds/handler.c lustre/lustre-1.5.95/lustre/mds/handler.c --- lustre~/lustre-1.5.95/lustre/mds/handler.c 2006-10-23 11:52:11.000000000 +0100 +++ lustre/lustre-1.5.95/lustre/mds/handler.c 2006-10-23 11:52:57.000000000 +0100 @@ -1876,7 +1876,7 @@ fsoptions_to_mds_flags(mds, options); } - mnt = do_kern_mount(lustre_cfg_string(lcfg, 2), 0, + mnt = vfs_kern_mount(get_fs_type(lustre_cfg_string(lcfg, 2)), 0, lustre_cfg_string(lcfg, 1), (void *)options); free_page(page); diff -urNad lustre~/lustre-1.5.95/lustre/obdclass/obd_mount.c lustre/lustre-1.5.95/lustre/obdclass/obd_mount.c --- lustre~/lustre-1.5.95/lustre/obdclass/obd_mount.c 2006-10-23 11:52:15.000000000 +0100 +++ lustre/lustre-1.5.95/lustre/obdclass/obd_mount.c 2006-10-23 11:54:18.000000000 +0100 @@ -1207,12 +1207,12 @@ /* Pre-mount ldiskfs to read the MOUNT_DATA_FILE */ CDEBUG(D_MOUNT, "Pre-mount ldiskfs %s\n", lmd->lmd_dev); - mnt = do_kern_mount("ldiskfs", s_flags, lmd->lmd_dev, 0); + mnt = vfs_kern_mount(get_fs_type("ldiskfs"), s_flags, lmd->lmd_dev, 0); if (IS_ERR(mnt)) { rc = PTR_ERR(mnt); CERROR("premount ldiskfs failed (%d), trying ext3\n", rc); /* If ldisk fails, try ext3 */ - mnt = do_kern_mount("ext3", s_flags, lmd->lmd_dev, 0); + mnt = vfs_kern_mount(get_fs_type("ext3"), s_flags, lmd->lmd_dev, 0); if (IS_ERR(mnt)) { rc = PTR_ERR(mnt); CERROR("premount ext3 failed: rc = %d\n", rc); @@ -1258,12 +1258,12 @@ CDEBUG(D_MOUNT, "kern_mount: %s %s %s\n", MT_STR(ldd), lmd->lmd_dev, options); - mnt = do_kern_mount(MT_STR(ldd), s_flags, lmd->lmd_dev, + mnt = vfs_kern_mount(get_fs_type(MT_STR(ldd)), s_flags, lmd->lmd_dev, (void *)options); free_page(page); if (IS_ERR(mnt)) { rc = PTR_ERR(mnt); - CERROR("do_kern_mount failed: rc = %d\n", rc); + CERROR("vfs_kern_mount failed: rc = %d\n", rc); GOTO(out_free, rc); } diff -urNad lustre~/lustre-1.5.95/lustre/obdfilter/filter.c lustre/lustre-1.5.95/lustre/obdfilter/filter.c --- lustre~/lustre-1.5.95/lustre/obdfilter/filter.c 2006-10-23 11:52:11.000000000 +0100 +++ lustre/lustre-1.5.95/lustre/obdfilter/filter.c 2006-10-23 11:53:16.000000000 +0100 @@ -1599,7 +1599,7 @@ } else { /* old path - used by lctl */ CERROR("Using old MDS mount method\n"); - mnt = do_kern_mount(lustre_cfg_string(lcfg, 2), + mnt = vfs_kern_mount(get_fs_type(lustre_cfg_string(lcfg, 2)), MS_NOATIME|MS_NODIRATIME, lustre_cfg_string(lcfg, 1), option); if (IS_ERR(mnt)) { -------------- next part -------------- #! /bin/sh /usr/share/dpatch/dpatch-run ## 2.6.18_nrpagecache.dpatch by <root@t3eu30.ichec.ie> ## ## All lines beginning with `## DP:'' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad lustre~/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h lustre/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h --- lustre~/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h 2006-10-18 17:00:58.000000000 +0100 +++ lustre/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h 2006-10-18 17:03:32.000000000 +0100 @@ -25,7 +25,11 @@ radix_tree_delete(&mapping->page_tree, page->index); page->mapping = NULL; mapping->nrpages--; +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)) + __dec_zone_page_state(page, NR_FILE_PAGES); +#else atomic_add(-1, &nr_pagecache); // XXX pagecache_acct(-1); +#endif #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)) write_unlock_irq(&mapping->tree_lock); #else
Hi, Thanks for the help Those patches fixed everything for the server side issues and I have that working now. Now I am tring to get the patchless client working but I keep getting this error CC [M] /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.o In file included from /root/lustre-1.5.95/lnet/include/libcfs/kp30.h:12, from /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c:39: /root/lustre-1.5.95/lnet/include/libcfs/linux/kp30.h:184:6: warning: "KLWT_SUPPORT" is not defined In file included from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, from /root/lustre-1.5.95/lustre/include/obd.h:30, from /root/lustre-1.5.95/lustre/include/linux/lustre_fsfilt.h:34, from /root/lustre-1.5.95/lustre/include/lustre_fsfilt.h:29, from /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c:40: /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: "POISON_BULK" is not defined /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c: In function ''simple_mkdir'': /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c:307: error: too few arguments to function ''vfs_mkdir'' make[6]: *** [/root/lustre-1.5.95/lustre/lvfs/lvfs_linux.o] Error 1 make[5]: *** [/root/lustre-1.5.95/lustre/lvfs] Error 2 make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 make[3]: *** [_module_/root/lustre-1.5.95] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.16'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-1.5.95'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-1.5.95'' make: *** [all] Error 2 I have applied the same patches that you provided but I still get the same error. Thanks for your advise and help Jon On Mon, 2006-10-23 at 14:20 +0100, Alastair McKinstry wrote:> Jon Scottorn wrote: > > Here is what reports > > > > modprobe libcfs > > FATAL: Error inserting libcfs > > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown > > symbol in module, or unknown parameter (see dmesg) > > > > Here is what Dmesg Reports: > > > > libcfs: Unknown symbol tasklist_lock > > > Ok, tasklist_lock is no longer available in recent kernels. Here is a patch > based on recommendations by Tom HancocK (see list archive). > > Also attached are some other patches I''ve needed for 2.6.18: > > aliasing_workaround.diff: Workaround for 2.6.18 problem in > d_instantiate_unique(). > See list archives for explanation. > > statfs.diff. Ditto. > > 2.6.18_nrpagecache.dpatch: nr_pagecache no longer exported in 2.6.18. > > 2.6.18_kern_mount.dpatch: 2.6.18 drops do_kern_mount() API. For > patchless clients you > will need this change. Please test further ... > > > Regards > Alastair McKinstry > > > > > On Thu, 2006-10-19 at 11:18 -0700, Nathaniel Rutman wrote: > >> Just modprobe libcfs instead of lustre (thus avoiding trying to load all > >> the other lustre modules), and report the unknown symbols from dmesg. > >> These will be non-lustre kernel symbols you''ll have to resolve via your > >> patches somehow. > >> > >> Jon Scottorn wrote: > >> > Done, > >> > > >> > This is what I get now. > >> > > >> > modprobe lustre > >> > WARNING: Error inserting libcfs > >> > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/libcfs.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > WARNING: Error inserting lvfs > >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lvfs.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > WARNING: Error inserting lnet > >> > (/lib/modules/2.6.18lustre1.95/kernel/net/lustre/lnet.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > WARNING: Error inserting obdclass > >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/obdclass.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > WARNING: Error inserting ptlrpc > >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/ptlrpc.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > WARNING: Error inserting mdc > >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/mdc.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > WARNING: Error inserting lov > >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lov.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > FATAL: Error inserting lustre > >> > (/lib/modules/2.6.18lustre1.95/kernel/fs/lustre/lustre.ko): Unknown > >> > symbol in module, or unknown parameter (see dmesg) > >> > > >> > On Thu, 2006-10-19 at 11:04 -0700, Nathaniel Rutman wrote: > >> >> Get rid of everything except "options lnet networks=tcp" > >> >> > > >> >> > > >> >> > Here is what is in my modprobe.conf > >> >> > > >> >> > install kptlrouter /sbin/modprobe portals; /sbin/modprobe > >> >> > --ignore-install kptlrouter > >> >> > install ptlrpc /sbin/modprobe ksocknal; /sbin/modprobe > >> >> > --ignore-install ptlrpc > >> >> > install llite /sbin/modprobe lov; /sbin/modprobe osc; /sbin/modprobe > >> >> > --ignore-install llite > >> >> > #alias lustre llite > >> >> > > >> >> > # Networking options, see /sys/module/lnet/parameters > >> >> > options lnet networks=tcp > >> >> > # alias lustre llite -- remove this line from existing modprobe.conf > >> >> > # (the llite module has been renamed to lustre) > >> >> > # end Lustre modules > >> >> > Not entirely sure if this is correct. > >> >> > >> >> > >> > */Jon Scottorn/* > >> > /Systems Administrator/ > >> > /The Possibility Forge, Inc./ > >> > /http://www.possibilityforge.com/ > >> > /435.635.0591 x.1004/ > >> > > >> > ------------------------------------------------------------------------ > >> > > >> > _______________________________________________ > >> > Lustre-discuss mailing list > >> > Lustre-discuss@clusterfs.com <mailto:Lustre-discuss@clusterfs.com> > >> > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >> > > >> > >> > > */Jon Scottorn/* > > /Systems Administrator/ > > /The Possibility Forge, Inc./ > > /http://www.possibilityforge.com/ > > /435.635.0591 x.1004/ > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss@clusterfs.com > > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > > > > > plain text document attachment (2.6.18_kern_mount.dpatch) > > #! /bin/sh /usr/share/dpatch/dpatch-run > ## 2.6.18-kern-mount.dpatch by <Alastair McKinstry <mckinstry@debian.org>> > ## > ## All lines beginning with `## DP:'' are a description of the patch. > ## DP: No description. > > @DPATCH@ > diff -urNad lustre~/lustre-1.5.95/lustre/mds/handler.c lustre/lustre-1.5.95/lustre/mds/handler.c > --- lustre~/lustre-1.5.95/lustre/mds/handler.c 2006-10-23 11:52:11.000000000 +0100 > +++ lustre/lustre-1.5.95/lustre/mds/handler.c 2006-10-23 11:52:57.000000000 +0100 > @@ -1876,7 +1876,7 @@ > fsoptions_to_mds_flags(mds, options); > } > > - mnt = do_kern_mount(lustre_cfg_string(lcfg, 2), 0, > + mnt = vfs_kern_mount(get_fs_type(lustre_cfg_string(lcfg, 2)), 0, > lustre_cfg_string(lcfg, 1), > (void *)options); > free_page(page); > diff -urNad lustre~/lustre-1.5.95/lustre/obdclass/obd_mount.c lustre/lustre-1.5.95/lustre/obdclass/obd_mount.c > --- lustre~/lustre-1.5.95/lustre/obdclass/obd_mount.c 2006-10-23 11:52:15.000000000 +0100 > +++ lustre/lustre-1.5.95/lustre/obdclass/obd_mount.c 2006-10-23 11:54:18.000000000 +0100 > @@ -1207,12 +1207,12 @@ > > /* Pre-mount ldiskfs to read the MOUNT_DATA_FILE */ > CDEBUG(D_MOUNT, "Pre-mount ldiskfs %s\n", lmd->lmd_dev); > - mnt = do_kern_mount("ldiskfs", s_flags, lmd->lmd_dev, 0); > + mnt = vfs_kern_mount(get_fs_type("ldiskfs"), s_flags, lmd->lmd_dev, 0); > if (IS_ERR(mnt)) { > rc = PTR_ERR(mnt); > CERROR("premount ldiskfs failed (%d), trying ext3\n", rc); > /* If ldisk fails, try ext3 */ > - mnt = do_kern_mount("ext3", s_flags, lmd->lmd_dev, 0); > + mnt = vfs_kern_mount(get_fs_type("ext3"), s_flags, lmd->lmd_dev, 0); > if (IS_ERR(mnt)) { > rc = PTR_ERR(mnt); > CERROR("premount ext3 failed: rc = %d\n", rc); > @@ -1258,12 +1258,12 @@ > > CDEBUG(D_MOUNT, "kern_mount: %s %s %s\n", > MT_STR(ldd), lmd->lmd_dev, options); > - mnt = do_kern_mount(MT_STR(ldd), s_flags, lmd->lmd_dev, > + mnt = vfs_kern_mount(get_fs_type(MT_STR(ldd)), s_flags, lmd->lmd_dev, > (void *)options); > free_page(page); > if (IS_ERR(mnt)) { > rc = PTR_ERR(mnt); > - CERROR("do_kern_mount failed: rc = %d\n", rc); > + CERROR("vfs_kern_mount failed: rc = %d\n", rc); > GOTO(out_free, rc); > } > > diff -urNad lustre~/lustre-1.5.95/lustre/obdfilter/filter.c lustre/lustre-1.5.95/lustre/obdfilter/filter.c > --- lustre~/lustre-1.5.95/lustre/obdfilter/filter.c 2006-10-23 11:52:11.000000000 +0100 > +++ lustre/lustre-1.5.95/lustre/obdfilter/filter.c 2006-10-23 11:53:16.000000000 +0100 > @@ -1599,7 +1599,7 @@ > } else { > /* old path - used by lctl */ > CERROR("Using old MDS mount method\n"); > - mnt = do_kern_mount(lustre_cfg_string(lcfg, 2), > + mnt = vfs_kern_mount(get_fs_type(lustre_cfg_string(lcfg, 2)), > MS_NOATIME|MS_NODIRATIME, > lustre_cfg_string(lcfg, 1), option); > if (IS_ERR(mnt)) { > > plain text document attachment (2.6.18_nrpagecache.dpatch) > > #! /bin/sh /usr/share/dpatch/dpatch-run > ## 2.6.18_nrpagecache.dpatch by <root@t3eu30.ichec.ie> > ## > ## All lines beginning with `## DP:'' are a description of the patch. > ## DP: No description. > > @DPATCH@ > diff -urNad lustre~/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h lustre/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h > --- lustre~/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h 2006-10-18 17:00:58.000000000 +0100 > +++ lustre/lustre-1.5.95/lustre/include/linux/lustre_patchless_compat.h 2006-10-18 17:03:32.000000000 +0100 > @@ -25,7 +25,11 @@ > radix_tree_delete(&mapping->page_tree, page->index); > page->mapping = NULL; > mapping->nrpages--; > +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)) > + __dec_zone_page_state(page, NR_FILE_PAGES); > +#else > atomic_add(-1, &nr_pagecache); // XXX pagecache_acct(-1); > +#endif > #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)) > write_unlock_irq(&mapping->tree_lock); > #else > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discussJon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061023/b09f67ab/attachment-0001.html
On Oct 23, 2006 14:20 +0100, Alastair McKinstry wrote:> Ok, tasklist_lock is no longer available in recent kernels. Here is a patch > based on recommendations by Tom HancocK (see list archive).In fact, the better patch is to just get rid of the use tasklist_lock and find_task_by_pid() (even though the latter is exported by the kernel and requires tasklist_lock, and there would be some hope in getting it re-exported or making some other function like ptrace_get_task_struct() renamed and exported that uses the lock internally). This would seem to be possible (and likely preferrable) to call "get_task_struct()" in lc_watchdog_add() to get a task reference for the duration of the timer, then just use lcw_task directly in lcw_dump() instead of doing the additional lookup. Then need to drop the task reference via put_task_struct() in lc_watchdog_delete().> statfs.diff. Ditto.Would probably be better to have a configure check and macro like: #if HAVE_STATFS_DENTRY_PARAM #define ll_statfs_arg(sb) (sb)->s_root #else #define ll_statfs_arg(sb) (sb) #endif and use that in the code instead of #ifdef everywhere.> 2.6.18_nrpagecache.dpatch: nr_pagecache no longer exported in 2.6.18. > > 2.6.18_kern_mount.dpatch: 2.6.18 drops do_kern_mount() API.Similarly, needs a configure check in lustre/autoconf/lustre-core.m4 and some out-of-line #define to keep code #ifdef free: #ifdef HAVE_VFS_KERN_MOUNT #define ll_vfs_kern_mount(type, flags, dev, opts) \ vfs_kern_mount(get_fs_type(type), flags, dev, opts) #else #define ll_vfs_kern_mount(type, flags, dev, opts) \ do_kern_mount(type, flags, dev, opts) #endif The reason for configure checks instead of simple kernel version checks is that vendor kernels have the habit of back-porting such changes and the kernel version check isn''t useful in that case. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
On Oct 23, 2006 13:08 -0600, Jon Scottorn wrote:> /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > "POISON_BULK" is not definedProbably use of "#if POISON_BULK" instead of "#ifdef POISON_BULK".> /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c: In function > ''simple_mkdir'': > /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c:307: error: too few > arguments to function ''vfs_mkdir''No idea... Can you investigate further, maybe "gcc -E" to get the cpp processed file. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
Jon Scottorn
2006-Oct-24 11:44 UTC
[Lustre-discuss] 1.6 beta 5 Installation Patchless Client
Ok, Got a little more info. Here is my situation. I have lustre patchless client compiled against a 2.6.16 vanilla kernel and that works fine. I then take a 2.6.16 vanilla kernel and patch linux-vservers into the kernel and then try to compile lustre patchless client again and that is when I end up with the below errors with the lvfs_linux.c. So I guess my question is does anyone know how I might make Lustre patchless client compile against a 2.6.16 kernel with vservers patched into it? Thanks, Jon On Mon, 2006-10-23 at 17:02 -0600, Andreas Dilger wrote:> On Oct 23, 2006 13:08 -0600, Jon Scottorn wrote: > > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > > "POISON_BULK" is not defined > > Probably use of "#if POISON_BULK" instead of "#ifdef POISON_BULK". > > > /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c: In function > > ''simple_mkdir'': > > /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c:307: error: too few > > arguments to function ''vfs_mkdir'' > > No idea... Can you investigate further, maybe "gcc -E" to get the > cpp processed file. > > Cheers, Andreas > -- > Andreas Dilger > Principal Software Engineer > Cluster File Systems, Inc. > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061024/c75d64c3/attachment-0001.html
Jon Scottorn
2006-Oct-24 14:44 UTC
[Lustre-discuss] 1.6 beta 5 Installation Patchless Client
Ok, I''ve got it to build against the 2.6.16 kernel with vservers patched in. Now when I try to mount the lustre FS I get a lot of unknown symbols. I run modprobe libcfs and here is what I get: libcfs: Unknown symbol vx_rmap_pid Anyone have any ideas as to how to get around this? Thanks, Jon On Tue, 2006-10-24 at 11:44 -0600, Jon Scottorn wrote:> Ok, Got a little more info. > > Here is my situation. I have lustre patchless client compiled > against a 2.6.16 vanilla kernel and that works fine. > I then take a 2.6.16 vanilla kernel and patch linux-vservers into the > kernel and then try to compile lustre patchless client again and that > is when I end up with the below errors with the lvfs_linux.c. So I > guess my question is does anyone know how I might make Lustre > patchless client compile against a 2.6.16 kernel with vservers patched > into it? > > Thanks, > > Jon > > On Mon, 2006-10-23 at 17:02 -0600, Andreas Dilger wrote: > > > On Oct 23, 2006 13:08 -0600, Jon Scottorn wrote: > > > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > > > "POISON_BULK" is not defined > > > > Probably use of "#if POISON_BULK" instead of "#ifdef POISON_BULK". > > > > > /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c: In function > > > ''simple_mkdir'': > > > /root/lustre-1.5.95/lustre/lvfs/lvfs_linux.c:307: error: too few > > > arguments to function ''vfs_mkdir'' > > > > No idea... Can you investigate further, maybe "gcc -E" to get the > > cpp processed file. > > > > Cheers, Andreas > > -- > > Andreas Dilger > > Principal Software Engineer > > Cluster File Systems, Inc. > > > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss@clusterfs.com > > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > > > > Jon Scottorn > Systems Administrator > The Possibility Forge, Inc. > http://www.possibilityforge.com > 435.635.0591 x.1004 > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discussJon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20061024/895a4312/attachment.html