Hi, I ran the command "./llmount.sh" in the directory " ../lustre.X/lustre/tests/" , but it couldn''t run successful. It gave: ------------------------------------------------------------------------- insmod: error inserting ''.....libcfs.ko'': -1 Invalid module format libcfs: version magic "...custom" should be "smp" ------------------------------------------------------------------------- I have changed the "custom" to "smp" in autoMakefile but it didn''t work! I don''t know how to solve ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20060806/5bb88e4c/attachment.html
Hi, Please make sure the lustre was built with the kernel of your system. I think you can find how to do it in this mailing list. thanks wangdi lixiangna wrote:> Hi, > I ran the command "./llmount.sh" in the directory " > ../lustre.X/lustre/tests/" , but it couldn''t run successful. It gave: > ------------------------------------------------------------------------- > insmod: error inserting ''.....libcfs.ko'': -1 Invalid module format > libcfs: version magic "...custom" should be "smp" > ------------------------------------------------------------------------- > I have changed the "custom" to "smp" in autoMakefile but it didn''t work! > I don''t know how to solve ? > > > > > > > > ? ? ? ? ? ? ? ? ? ? 3G ? ? ? > 3G ? ? ? ??20 ? ? ? ? ? ?? ? ? ? ? ? RSS ? ? ? ? > ? ? ?? ? ? ? ? <http://www.126.com/> > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
Hi, Thanks very much! I modified the makefile and "version.h"of the kernel, the "smp" problem is solved. but the version magic still not match. It says : version magic ''...gcc-3.4'' should be ''...gcc-3.3''. What should I do then? thanks Best wishes Li, Xiangna -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20060807/1c9585e2/attachment.html
Hi, You should rebuild kernel and lustre with same gcc version. Thanks wangdi lixiangna wrote:> Hi, > Thanks very much! I modified the makefile and "version.h"of the > kernel, the "smp" problem is solved. but the version magic still not > match. It says : > version magic ''...gcc-3.4'' should be ''...gcc-3.3''. What should I do > then? thanks > Best wishes > Li, Xiangna > > > > > > > > ? ? ? ? ? ? ? ? ( ? ) . > ? ? ? ? ! ? ?? ? ? ? ? , ? ? ? ? ? ? ? ? ( ? ? ) > <http://adtaobao.allyes.com/main/adfclick?db=adtaobao&bid=600,597,58&cid=30015,198,1&sid=32501&show=ignore&url=http://www.taobao.com/vertical/under_wear.php> > > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
And that version should be gcc-3.3, not 3.4. wangdi wrote:>Hi, > >You should rebuild kernel and lustre with same gcc version. > >Thanks >wangdi > >lixiangna wrote: > > >>Hi, >>Thanks very much! I modified the makefile and "version.h"of the >>kernel, the "smp" problem is solved. but the version magic still not >>match. It says : >>version magic ''...gcc-3.4'' should be ''...gcc-3.3''. What should I do >>then? thanks >>Best wishes >>Li, Xiangna >> >> >> >> >> >> >> >>? ? ? ? ? ? ? ? ( ? ) . >>? ? ? ? ! ? ?? ? ? ? ? , ? ? ? ? ? ? ? ? ( ? ? ) >><http://adtaobao.allyes.com/main/adfclick?db=adtaobao&bid=600,597,58&cid=30015,198,1&sid=32501&show=ignore&url=http://www.taobao.com/vertical/under_wear.php> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>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 > > >