keysorsoze
Contributor
Contributor

Cannot get shared files support working

Hello all,

I've been searching for a resolution to this for the last few hours and have yet to figure it out. I need to get shared file support working but it looks like the vmhgfs module isn't compiling under CentOS 7.3

I'm Running:

VMware Tools 10.0.10 build-4301679 for Linux

CentOS Linux release 7.3.1611 (Core)

Kernel: 3.10.0-514.2.2.el7.x86_64

Fusion 8.5.3 on MacOS 10.12.1

When tools attempts to compile the vmhgfs module it fails here:

Searching for a valid kernel header path...

Detected the kernel headers at

"/lib/modules/3.10.0-514.2.2.el7.x86_64/build/include".

The path "/lib/modules/3.10.0-514.2.2.el7.x86_64/build/include" appears to be a

valid path to the 3.10.0-514.2.2.el7.x86_64 kernel headers.

Would you like to change it? [no]

Using kernel build system.

make: Entering directory `/tmp/modconfig-HiaNmD/vmhgfs-only'

/bin/make -C /lib/modules/3.10.0-514.2.2.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/kernels/3.10.0-514.2.2.el7.x86_64'

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/message.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/dir.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/rpcout.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/filesystem.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/cpName.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/link.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/request.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/hgfsUtil.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/file.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/bdhandler.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/transport.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/module.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/super.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/stubs.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/fsutil.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/cpNameLinux.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/hgfsBd.o

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/backdoorGcc64.o

/tmp/modconfig-HiaNmD/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbIn()+0xd: duplicate frame pointer save

/tmp/modconfig-HiaNmD/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbOut()+0xd: duplicate frame pointer save

  CC [M]  /tmp/modconfig-HiaNmD/vmhgfs-only/page.o

/tmp/modconfig-HiaNmD/vmhgfs-only/page.c: In function ‘HgfsWbRequestWait’:

/tmp/modconfig-HiaNmD/vmhgfs-only/page.c:1649:23: warning: passing argument 3 of ‘wait_on_bit’ makes integer from pointer without a cast [enabled by default]

                       TASK_UNINTERRUPTIBLE);

                       ^

In file included from include/linux/mmzone.h:9:0,

                 from include/linux/gfp.h:5,

                 from include/linux/mm.h:9,

                 from include/linux/pagemap.h:7,

                 from /tmp/modconfig-HiaNmD/vmhgfs-only/page.c:28:

include/linux/wait.h:1044:1: note: expected ‘unsigned int’ but argument is of type ‘int (*)(void *)’

wait_on_bit(void *word, int bit, unsigned mode)

^

/tmp/modconfig-HiaNmD/vmhgfs-only/page.c:1649:23: error: too many arguments to function ‘wait_on_bit’

                       TASK_UNINTERRUPTIBLE);

                       ^

In file included from include/linux/mmzone.h:9:0,

                 from include/linux/gfp.h:5,

                 from include/linux/mm.h:9,

                 from include/linux/pagemap.h:7,

                 from /tmp/modconfig-HiaNmD/vmhgfs-only/page.c:28:

include/linux/wait.h:1044:1: note: declared here

wait_on_bit(void *word, int bit, unsigned mode)

^

make[2]: *** [/tmp/modconfig-HiaNmD/vmhgfs-only/page.o] Error 1

make[1]: *** [_module_/tmp/modconfig-HiaNmD/vmhgfs-only] Error 2

make[1]: Leaving directory `/usr/src/kernels/3.10.0-514.2.2.el7.x86_64'

make: *** [vmhgfs.ko] Error 2

make: Leaving directory `/tmp/modconfig-HiaNmD/vmhgfs-only'

The filesystem driver (vmhgfs module) is used only for the shared folder

feature. The rest of the software provided by VMware Tools is designed to work

independently of this feature.

Any one have any idea what needs to get files need to get pached to get this to compile?

Thanks

0 Kudos
1 Reply
amzhang
VMware Employee
VMware Employee

Hi keysorsozekeysorsoze,

Welcome to Fusion community! 

I've already reported this problem to our internal bug system.

Thanks for your post.

Thanks,

Amanda

0 Kudos