Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 182126

VMware Workstation 12.5.2 build-4638234 does not compile on Fedora 25 4.9.3-200.fc25.x86_64 #1 SMP Fri Jan 13 01:01:13 UTC 2017

$
0
0

Hi, All!
From this weekends Worstation 12.5 is not working (i think fedora is updated).

In vmmon and vmnet sorces i change function get_user_pages  to get_user_pages_remote.

But problem still here.

 

vmware-modconfig --console --install-all  Result a error.

 

Any ideas?

 

Using kernel build system.

/tmp/modconfig-HDxzxN/vmmon-only/linux/driver.c:1283:1: warning: always_inline function might not be inlinable [-Wattributes]

LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min

^~~~~~~~~~~~~~~~~~~~~~~

/tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:

/tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:1166:35: warning: passing argument 1 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]

    retval = get_user_pages_remote((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);

                                   ^

In file included from /tmp/modconfig-HDxzxN/vmmon-only/./include/compat_page.h:23:0,

                 from /tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:32:

./include/linux/mm.h:1276:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

/tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:1166:58: warning: passing argument 2 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]

    retval = get_user_pages_remote((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);

                                                          ^~~~~~~~

In file included from /tmp/modconfig-HDxzxN/vmmon-only/./include/compat_page.h:23:0,

                 from /tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:32:

./include/linux/mm.h:1276:6: note: expected ‘struct mm_struct *’ but argument is of type ‘unsigned int’

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

/tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:1166:74: warning: passing argument 5 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]

    retval = get_user_pages_remote((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);

                                                                          ^~~~~~

In file included from /tmp/modconfig-HDxzxN/vmmon-only/./include/compat_page.h:23:0,

                 from /tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:32:

./include/linux/mm.h:1276:6: note: expected ‘unsigned int’ but argument is of type ‘struct page **’

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

/tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:1166:13: error: too few arguments to function ‘get_user_pages_remote’

    retval = get_user_pages_remote((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);

             ^~~~~~~~~~~~~~~~~~~~~

In file included from /tmp/modconfig-HDxzxN/vmmon-only/./include/compat_page.h:23:0,

                 from /tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.c:32:

./include/linux/mm.h:1276:6: note: declared here

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

make[2]: *** [/tmp/modconfig-HDxzxN/vmmon-only/linux/hostif.o] Error 1

make[2]: *** Waiting for unfinished jobs....

/tmp/modconfig-HDxzxN/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section

make[1]: *** [_module_/tmp/modconfig-HDxzxN/vmmon-only] Error 2

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

Using kernel build system.

/tmp/modconfig-HDxzxN/vmnet-only/userif.c: In function ‘UserifLockPage’:

/tmp/modconfig-HDxzxN/vmnet-only/userif.c:117:35: warning: passing argument 1 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]

    retval = get_user_pages_remote(addr, 1, 1, 0, &page, NULL);

                                   ^~~~

In file included from ./include/linux/highmem.h:7:0,

                 from /tmp/modconfig-HDxzxN/vmnet-only/userif.c:26:

./include/linux/mm.h:1276:6: note: expected ‘struct task_struct *’ but argument is of type ‘VA {aka long unsigned int}’

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

/tmp/modconfig-HDxzxN/vmnet-only/userif.c:117:41: warning: passing argument 2 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]

    retval = get_user_pages_remote(addr, 1, 1, 0, &page, NULL);

                                         ^

In file included from ./include/linux/highmem.h:7:0,

                 from /tmp/modconfig-HDxzxN/vmnet-only/userif.c:26:

./include/linux/mm.h:1276:6: note: expected ‘struct mm_struct *’ but argument is of type ‘int’

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

/tmp/modconfig-HDxzxN/vmnet-only/userif.c:117:50: warning: passing argument 5 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]

    retval = get_user_pages_remote(addr, 1, 1, 0, &page, NULL);

                                                  ^

In file included from ./include/linux/highmem.h:7:0,

                 from /tmp/modconfig-HDxzxN/vmnet-only/userif.c:26:

./include/linux/mm.h:1276:6: note: expected ‘unsigned int’ but argument is of type ‘struct page **’

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

/tmp/modconfig-HDxzxN/vmnet-only/userif.c:117:13: error: too few arguments to function ‘get_user_pages_remote’

    retval = get_user_pages_remote(addr, 1, 1, 0, &page, NULL);

             ^~~~~~~~~~~~~~~~~~~~~

In file included from ./include/linux/highmem.h:7:0,

                 from /tmp/modconfig-HDxzxN/vmnet-only/userif.c:26:

./include/linux/mm.h:1276:6: note: declared here

long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,

      ^~~~~~~~~~~~~~~~~~~~~

make[2]: *** [/tmp/modconfig-HDxzxN/vmnet-only/userif.o] Error 1

make[2]: *** Waiting for unfinished jobs....

In file included from ./include/linux/pci.h:35:0,

                 from /tmp/modconfig-HDxzxN/vmnet-only/compat_netdevice.h:27,

                 from /tmp/modconfig-HDxzxN/vmnet-only/netif.c:43:

./include/linux/pci_ids.h:2253:0: warning: "PCI_VENDOR_ID_VMWARE" redefined

#define PCI_VENDOR_ID_VMWARE  0x15ad

 

In file included from /tmp/modconfig-HDxzxN/vmnet-only/net.h:38:0,

                 from /tmp/modconfig-HDxzxN/vmnet-only/vnetInt.h:26,

                 from /tmp/modconfig-HDxzxN/vmnet-only/netif.c:42:

/tmp/modconfig-HDxzxN/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition

#define PCI_VENDOR_ID_VMWARE                    0x15AD

 

make[1]: *** [_module_/tmp/modconfig-HDxzxN/vmnet-only] Error 2

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

Unable to install all modules.  See log for details.

 

 

cat vmware-24113.log

2017-01-16T11:48:13.098+02:00| modconfig| I125: Log for VMware Workstation pid=24113 version=12.5.2 build=build-4638234 option=Release

2017-01-16T11:48:13.098+02:00| modconfig| I125: The process is 64-bit.

2017-01-16T11:48:13.098+02:00| modconfig| I125: Host codepage=UTF-8 encoding=UTF-8

2017-01-16T11:48:13.098+02:00| modconfig| I125: Host is Linux 4.9.3-200.fc25.x86_64 Fedora release 25 (Twenty Five)

2017-01-16T11:48:13.097+02:00| modconfig| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2017-01-16T11:48:13.097+02:00| modconfig| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2017-01-16T11:48:13.097+02:00| modconfig| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.

2017-01-16T11:48:13.097+02:00| modconfig| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

2017-01-16T11:48:13.104+02:00| modconfig| I125: Initialized!  Lets do this thing...

2017-01-16T11:48:13.104+02:00| modconfig| I125: Obtaining info using the running kernel.

2017-01-16T11:48:13.104+02:00| modconfig| I125: Created new pathsHash.

2017-01-16T11:48:13.104+02:00| modconfig| I125: Setting header path for 4.9.3-200.fc25.x86_64 to "/lib/modules/4.9.3-200.fc25.x86_64/build/include".

2017-01-16T11:48:13.104+02:00| modconfig| I125: Validating path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for kernel release "4.9.3-200.fc25.x86_64".

2017-01-16T11:48:13.104+02:00| modconfig| I125: Failed to find /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h

2017-01-16T11:48:13.104+02:00| modconfig| I125: /lib/modules/4.9.3-200.fc25.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2017-01-16T11:48:13.104+02:00| modconfig| I125: using /bin/gcc for preprocess check

2017-01-16T11:48:13.114+02:00| modconfig| I125: Preprocessed UTS_RELEASE, got value "4.9.3-200.fc25.x86_64".

2017-01-16T11:48:13.114+02:00| modconfig| I125: The header path "/lib/modules/4.9.3-200.fc25.x86_64/build/include" for the kernel "4.9.3-200.fc25.x86_64" is valid.  Whoohoo!

2017-01-16T11:48:13.277+02:00| modconfig| I125: found symbol version file /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers

2017-01-16T11:48:13.277+02:00| modconfig| I125: Reading symbol versions from /lib/modules/4.9.3-200.fc25.x86_64/build/Module.symvers.

2017-01-16T11:48:13.295+02:00| modconfig| I125: Read 17890 symbol versions

2017-01-16T11:48:13.295+02:00| modconfig| I125: Reading in info for the vmmon module.

2017-01-16T11:48:13.295+02:00| modconfig| I125: Reading in info for the vmnet module.

2017-01-16T11:48:13.295+02:00| modconfig| I125: Reading in info for the vmblock module.

2017-01-16T11:48:13.295+02:00| modconfig| I125: Reading in info for the vmci module.

2017-01-16T11:48:13.295+02:00| modconfig| I125: Reading in info for the vsock module.

2017-01-16T11:48:13.295+02:00| modconfig| I125: Setting vsock to depend on vmci.

2017-01-16T11:48:13.305+02:00| modconfig| I125: Trying to find a suitable PBM set for kernel "4.9.3-200.fc25.x86_64".

2017-01-16T11:48:13.305+02:00| modconfig| I125: No matching PBM set was found for kernel "4.9.3-200.fc25.x86_64".

2017-01-16T11:48:13.305+02:00| modconfig| I125: Found compiler at "/bin/gcc"

2017-01-16T11:48:13.308+02:00| modconfig| I125: Got gcc version "6.3.1".

2017-01-16T11:48:13.308+02:00| modconfig| I125: The GCC version matches the kernel GCC minor version like a glove.

2017-01-16T11:48:13.308+02:00| modconfig| I125: Using temp dir "/tmp".

2017-01-16T11:48:13.350+02:00| modconfig| I125: Setting destination path for vmmon to "/lib/modules/4.9.3-200.fc25.x86_64/misc/vmmon.ko".

2017-01-16T11:48:13.351+02:00| modconfig| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".

2017-01-16T11:48:13.356+02:00| modconfig| I125: Successfully extracted the vmmon source.

2017-01-16T11:48:13.356+02:00| modconfig| I125: Building module with command "/bin/make -j4 -C /tmp/modconfig-wJncpl/vmmon-only auto-build HEADER_DIR=/lib/modules/4.9.3-200.fc25.x86_64/build/include CC=/bin/gcc IS_GCC_3=no"

2017-01-16T11:48:15.391+02:00| modconfig| W115: Failed to build vmmon.  Failed to execute the build command.

2017-01-16T11:48:15.391+02:00| modconfig| I125: Setting destination path for vmnet to "/lib/modules/4.9.3-200.fc25.x86_64/misc/vmnet.ko".

2017-01-16T11:48:15.392+02:00| modconfig| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2017-01-16T11:48:15.395+02:00| modconfig| I125: Successfully extracted the vmnet source.

2017-01-16T11:48:15.395+02:00| modconfig| I125: Building module with command "/bin/make -j4 -C /tmp/modconfig-wJncpl/vmnet-only auto-build HEADER_DIR=/lib/modules/4.9.3-200.fc25.x86_64/build/include CC=/bin/gcc IS_GCC_3=no"

2017-01-16T11:48:17.266+02:00| modconfig| W115: Failed to build vmnet.  Failed to execute the build command.

2017-01-16T11:48:17.271+02:00| modconfig| I125: We are now shutdown.  Ready to die!

 

 

Thanks!


Viewing all articles
Browse latest Browse all 182126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>