[Gluster-devel] compiling fuse
Marian Marinov
mm at yuhu.biz
Thu Dec 20 11:36:26 UTC 2007
On Thursday 20 December 2007 13:26:03 Marian Marinov wrote:
> On Thursday 20 December 2007 13:16:37 Krishna Srinivas wrote:
> > Albert,
> >
> > --enable-kernel-module indicates whether fuse.ko should be build which
> > would be "insmod"ed into the kernel. It is need if you want to take
> > advantage of certain performance features that are there in fuse-glfs.
> > Also you will have to build fuse.ko yourself and use it in case you want
> > to NFS export the glusterfs mounted directory.
> >
> > It looks like there is some incompatibility with your kernel version
> > because of
> > which compilation is failing. What kernel are you running?
> >
> > Krishna
>
> Krishna he is using 2.6.23.1 and 2.6.23.x don't build with FUSE 2.7.0
> I wrote a patch for fuse and for fuse-glfs which fixes that issue.
>
> The patches can be found here:
> http://hydra.azilian.net/blog/patches/
>
> However I don't remember seeing a patch from fuse-2.7.1 to fuse-glfs.
> Is there one?
>
> Best regards
> Marian Marinov
> System Architect at Siteground.com
I just saw that FUSE has released 2.7.2, are we planning to do a patch for
that version?
If no one have started work on that, I could have a patch ready for 2.7.2
soon.
Regards
Marian Marinov
System Architect at Siteground.com
>
> > On Dec 20, 2007 4:35 PM, Albert Shih <Albert.Shih at obspm.fr> wrote:
> > > Hi all
> > >
> > > I'm trying to make up2date version of fuse and glusterfs.
> > >
> > > For that I try to follow the instruction find
> > >
> > >
> > > http://www.gluster.org/docs/index.php/Install_and_run_GlusterFS_v1.3_in
> > >_1 0mins
> > >
> > > On fuse-2.7.0-glfs7 when I try
> > >
> > > ./configure --prefix=/usr --enable-kernel-module
> > > make
> > >
> > > I've got :
> > >
> > > <quadri11> /usr/local/tmp/fuse-2.7.0-glfs7# make
> > > Making all in kernel
> > > make[1]: Entering directory `/usr/local/tmp/fuse-2.7.0-glfs7
> > > /kernel'
> > > make -C /usr/src/linux-2.6.23.1 SUBDIRS=`pwd` modules
> > > make[2]: Entering directory `/usr/src/linux-2.6.23.1'
> > > CC [M] /usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.o
> > > /usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.c: In function
> > > 'fuse_dev_init':
> > > /usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.c:1098: error: too
> > > many arguments to function 'kmem_cache_create'
> > > make[3]: *** [/usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.o]
> > > Error 1 make[2]: *** [_module_/usr/local/tmp/fuse-2.7.0-glfs7/kernel]
> > > Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.23.1'
> > > make[1]: *** [all-spec] Error 2
> > > make[1]: Leaving directory
> > > `/usr/local/tmp/fuse-2.7.0-glfs7/kernel' make: *** [all-recursive]
> > > Error 1
> > > <quadri11> /usr/local/tmp/fuse-2.7.0-glfs7#
> > >
> > > But it's working when I don't put the option --enable-kernel-module.
> > > What's
> > > that mean if I don't use this option ? Is that mean I use the new
> > > version of the client but old version of the kernel module ?
> > >
> > > Thanks for any help.
> > >
> > > Regards.
> > >
> > >
> > > --
> > > Albert SHIH
> > > Observatoire de Paris Meudon
> > > SIO batiment 15
> > > Heure local/Local time:
> > > Jeu 20 déc 2007 11:59:03 CET
> > >
> > >
> > > _______________________________________________
> > > Gluster-devel mailing list
> > > Gluster-devel at nongnu.org
> > > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
More information about the Gluster-devel
mailing list