1 2 Previous Next 16 Replies Latest reply on Jun 30, 2017 1:26 PM by tommyjsZ

    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

    Lachuzhnikov Lurker

      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!

        • 1. Re: 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
          dariusd Virtuoso

          I've attached a pair of patches which should apply against the contents of the original vmmon-only and vmnet-only tarballs in /usr/lib/vmware/modules/source, and should make Workstation 12.5.2 compatible with Linux kernel version 4.9.  It might work with earlier versions of Workstation with a bit more work.

           

          You might need to reinstall Workstation to restore the original tarballs if you've already modified them, then something like this (as root) should suffice...

           

          tar xf vmmon-only.tar

          patch -p0 < ws-12.5.2-linux-4.9-vmmon-only.patch

          mv vmmon-only.tar vmmon-only-orig.tar

          tar cf vmmon-only.tar vmmon-only/

           

          tar xf vmnet-only.tar

          patch -p0 < ws-12.5.2-linux-4.9-vmnet-only.patch

          mv vmnet-only.tar vmnet-only-orig.tar

          tar cf vmnet-only.tar vmnet-only/

           

          Disclaimer: I haven't actually tested this out myself!  (I need to get some sleep.    Feel free to try it out while I'm resting.)

           

          Cheers,

          --

          Darius

          • 2. Re: 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
            topokt Lurker

            That did the trick for me -- thanks!

             

            A slightly updated patch script:

             

            cp /usr/lib/vmware/modules/source/vmmon.tar .
            tar xf vmmon.tar
            patch -p0 < ws-12.5.2-linux-4.9-vmmon-only.patch
            tar cf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only
            rm -rf vmmon-only

            cp /usr/lib/vmware/modules/source/vmnet.tar .
            tar xf vmnet.tar
            patch -p0 < ws-12.5.2-linux-4.9-vmnet-only.patch
            tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
            rm -rf vmmon-only

            • 5. Re: 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
              Tobinover Lurker

              Hi,

               

              Works for me too.

              Find everything in a single script attached.

              Tested with Fedora 25 and VMware-Player-12.5.2-4638234.x86_64.

               

              Thanks

              • 7. Re: 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
                frases Novice

                You da man, DariusD!  This worked on my recently upgrade from F22->F24.  Thanks much for this!

                'sodo

                • 8. Re: 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
                  benjamind5645 Lurker

                  Thank you very much, this mostly worked for me. However, the output of "vmware-modconfig --console --install-all"  says that it was unable to start the VMware services. When I open the GUI and attempt to run a VM, it tells me that it cannot find /dev/vmmon.

                  I am running Fedora 25, Linux kernel 4.9.8. I am attaching the output of "vmware-modconfig --console --install-all" below.

                  Stopping vmware (via systemctl):                           [  OK  ]

                  make: Entering directory '/tmp/modconfig-jaFQK5/vmmon-only'

                  Using kernel build system.

                  /usr/bin/make -C /lib/modules/4.9.8-201.fc25.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

                    MODULEBUILDDIR= modules

                  make[1]: Entering directory '/usr/src/kernels/4.9.8-201.fc25.x86_64'

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/linux/driverLog.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/memtrack.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/linux/driver.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/linux/hostif.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/apic.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/hashFunc.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/vmx86.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/cpuid.o

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

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

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

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/task.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/comport.o

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

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/vmcore/moduleloop.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmmon-only/common/phystrack.o

                  /tmp/modconfig-jaFQK5/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()

                  /tmp/modconfig-jaFQK5/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()

                  /tmp/modconfig-jaFQK5/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()

                    LD [M]  /tmp/modconfig-jaFQK5/vmmon-only/vmmon.o

                    Building modules, stage 2.

                    MODPOST 1 modules

                    CC      /tmp/modconfig-jaFQK5/vmmon-only/vmmon.mod.o

                    LD [M]  /tmp/modconfig-jaFQK5/vmmon-only/vmmon.ko

                  make[1]: Leaving directory '/usr/src/kernels/4.9.8-201.fc25.x86_64'

                  /usr/bin/make -C $PWD SRCROOT=$PWD/. \

                    MODULEBUILDDIR= postbuild

                  make[1]: Entering directory '/tmp/modconfig-jaFQK5/vmmon-only'

                  make[1]: 'postbuild' is up to date.

                  make[1]: Leaving directory '/tmp/modconfig-jaFQK5/vmmon-only'

                  cp -f vmmon.ko ./../vmmon.o

                  make: Leaving directory '/tmp/modconfig-jaFQK5/vmmon-only'

                  make: Entering directory '/tmp/modconfig-jaFQK5/vmnet-only'

                  Using kernel build system.

                  /usr/bin/make -C /lib/modules/4.9.8-201.fc25.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

                    MODULEBUILDDIR= modules

                  make[1]: Entering directory '/usr/src/kernels/4.9.8-201.fc25.x86_64'

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/driver.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/hub.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/userif.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/netif.o

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

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

                                   from /tmp/modconfig-jaFQK5/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-jaFQK5/vmnet-only/net.h:38:0,

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

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

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

                  #define PCI_VENDOR_ID_VMWARE                    0x15AD

                   

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/bridge.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/procfs.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/smac_compat.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/smac.o

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/vnetEvent.o

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

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

                                   from /tmp/modconfig-jaFQK5/vmnet-only/bridge.c:52:

                  /tmp/modconfig-jaFQK5/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined

                  #define PCI_VENDOR_ID_VMWARE                    0x15AD

                   

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

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

                                   from /tmp/modconfig-jaFQK5/vmnet-only/bridge.c:51:

                  ./include/linux/pci_ids.h:2253:0: note: this is the location of the previous definition

                  #define PCI_VENDOR_ID_VMWARE  0x15ad

                   

                    CC [M]  /tmp/modconfig-jaFQK5/vmnet-only/vnetUserListener.o

                    LD [M]  /tmp/modconfig-jaFQK5/vmnet-only/vmnet.o

                    Building modules, stage 2.

                    MODPOST 1 modules

                    CC      /tmp/modconfig-jaFQK5/vmnet-only/vmnet.mod.o

                    LD [M]  /tmp/modconfig-jaFQK5/vmnet-only/vmnet.ko

                  make[1]: Leaving directory '/usr/src/kernels/4.9.8-201.fc25.x86_64'

                  /usr/bin/make -C $PWD SRCROOT=$PWD/. \

                    MODULEBUILDDIR= postbuild

                  make[1]: Entering directory '/tmp/modconfig-jaFQK5/vmnet-only'

                  make[1]: 'postbuild' is up to date.

                  make[1]: Leaving directory '/tmp/modconfig-jaFQK5/vmnet-only'

                  cp -f vmnet.ko ./../vmnet.o

                  make: Leaving directory '/tmp/modconfig-jaFQK5/vmnet-only'

                  Starting vmware (via systemctl):  Job for vmware.service failed because the control process exited with error code.

                  See "systemctl status vmware.service" and "journalctl -xe" for details.

                                                                             [FAILED]

                  Unable to start services

                  Thanks.

                  • 9. Re: 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
                    ZHUbaibai Lurker

                    NOT work for me. Please help me

                     

                    2017-02-16 12-43-27屏幕截图.png

                    kernel:

                        Linux LINUX 4.9.0-040900-generic #201612111631 SMP Sun Dec 11 21:33:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

                     

                    gcc version 6.2.0

                        

                    VMware-Workstation-Full-12.5.2-4638234.x86_64

                     

                    LOG:

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: Log for VMware Workstation pid=14981 version=12.5.2 build=build-4638234 option=Release

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: The process is 64-bit.

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: Host is Linux 4.9.0-040900-generic Ubuntu 16.04.2 LTS

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录.

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": 没有那个文件或目录.

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": 没有那个文件或目录.

                    2017-02-16T12:16:29.843+08:00| vthread-4| I125: PREF Failed to load user preferences.

                    2017-02-16T12:16:29.889+08:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-14981.log

                    2017-02-16T12:16:29.896+08:00| vthread-4| I125: Obtaining info using the running kernel.

                    2017-02-16T12:16:29.896+08:00| vthread-4| I125: Created new pathsHash.

                    2017-02-16T12:16:29.896+08:00| vthread-4| I125: Setting header path for 4.9.0-040900-generic to "/lib/modules/4.9.0-040900-generic/build/include".

                    2017-02-16T12:16:29.896+08:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-040900-generic/build/include" for kernel release "4.9.0-040900-generic".

                    2017-02-16T12:16:29.896+08:00| vthread-4| I125: Failed to find /lib/modules/4.9.0-040900-generic/build/include/linux/version.h

                    2017-02-16T12:16:29.896+08:00| vthread-4| I125: /lib/modules/4.9.0-040900-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

                    2017-02-16T12:16:29.897+08:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

                    2017-02-16T12:16:29.901+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-040900-generic".

                    2017-02-16T12:16:29.901+08:00| vthread-4| I125: The header path "/lib/modules/4.9.0-040900-generic/build/include" for the kernel "4.9.0-040900-generic" is valid.  Whoohoo!

                    2017-02-16T12:16:30.039+08:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-040900-generic/build/Module.symvers

                    2017-02-16T12:16:30.039+08:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-040900-generic/build/Module.symvers.

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Read 20681 symbol versions

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Reading in info for the vmmon module.

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Reading in info for the vmnet module.

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Reading in info for the vmblock module.

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Reading in info for the vmci module.

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Reading in info for the vsock module.

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Setting vsock to depend on vmci.

                    2017-02-16T12:16:30.060+08:00| vthread-4| I125: Invoking modinfo on "vmmon".

                    2017-02-16T12:16:30.062+08:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

                    2017-02-16T12:16:30.062+08:00| vthread-4| I125: Invoking modinfo on "vmnet".

                    2017-02-16T12:16:30.063+08:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

                    2017-02-16T12:16:30.063+08:00| vthread-4| I125: Invoking modinfo on "vmblock".

                    2017-02-16T12:16:30.064+08:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

                    2017-02-16T12:16:30.065+08:00| vthread-4| I125: Invoking modinfo on "vmci".

                    2017-02-16T12:16:30.066+08:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

                    2017-02-16T12:16:30.066+08:00| vthread-4| I125: Invoking modinfo on "vsock".

                    2017-02-16T12:16:30.067+08:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

                    2017-02-16T12:16:30.081+08:00| vthread-4| I125: to be installed: vmmon status: 0

                    2017-02-16T12:16:30.081+08:00| vthread-4| I125: to be installed: vmnet status: 0

                    2017-02-16T12:16:30.097+08:00| vthread-4| I125: Obtaining info using the running kernel.

                    2017-02-16T12:16:30.097+08:00| vthread-4| I125: Setting header path for 4.9.0-040900-generic to "/lib/modules/4.9.0-040900-generic/build/include".

                    2017-02-16T12:16:30.097+08:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-040900-generic/build/include" for kernel release "4.9.0-040900-generic".

                    2017-02-16T12:16:30.097+08:00| vthread-4| I125: Failed to find /lib/modules/4.9.0-040900-generic/build/include/linux/version.h

                    2017-02-16T12:16:30.097+08:00| vthread-4| I125: /lib/modules/4.9.0-040900-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

                    2017-02-16T12:16:30.097+08:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

                    2017-02-16T12:16:30.103+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-040900-generic".

                    2017-02-16T12:16:30.103+08:00| vthread-4| I125: The header path "/lib/modules/4.9.0-040900-generic/build/include" for the kernel "4.9.0-040900-generic" is valid.  Whoohoo!

                    2017-02-16T12:16:30.243+08:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-040900-generic/build/Module.symvers

                    2017-02-16T12:16:30.243+08:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-040900-generic/build/Module.symvers.

                    2017-02-16T12:16:30.263+08:00| vthread-4| I125: Read 20681 symbol versions

                    2017-02-16T12:16:30.263+08:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.9.0-040900-generic/build/include

                    2017-02-16T12:16:30.263+08:00| vthread-4| I125: Update kernel header path to /lib/modules/4.9.0-040900-generic/build/include

                    2017-02-16T12:16:30.263+08:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-040900-generic/build/include" for kernel release "4.9.0-040900-generic".

                    2017-02-16T12:16:30.263+08:00| vthread-4| I125: Failed to find /lib/modules/4.9.0-040900-generic/build/include/linux/version.h

                    2017-02-16T12:16:30.263+08:00| vthread-4| I125: /lib/modules/4.9.0-040900-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

                    2017-02-16T12:16:30.263+08:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

                    2017-02-16T12:16:30.269+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-040900-generic".

                    2017-02-16T12:16:30.269+08:00| vthread-4| I125: The header path "/lib/modules/4.9.0-040900-generic/build/include" for the kernel "4.9.0-040900-generic" is valid.  Whoohoo!

                    2017-02-16T12:16:30.269+08:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"

                    2017-02-16T12:16:30.272+08:00| vthread-4| I125: Got gcc version "6.2.0".

                    2017-02-16T12:16:30.272+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

                    2017-02-16T12:16:30.272+08:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".

                    2017-02-16T12:16:30.274+08:00| vthread-4| I125: Got gcc version "6.2.0".

                    2017-02-16T12:16:30.274+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

                    2017-02-16T12:16:30.276+08:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.9.0-040900-generic".

                    2017-02-16T12:16:30.276+08:00| vthread-4| I125: No matching PBM set was found for kernel "4.9.0-040900-generic".

                    2017-02-16T12:16:30.276+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

                    2017-02-16T12:16:30.276+08:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-040900-generic/build/include" for kernel release "4.9.0-040900-generic".

                    2017-02-16T12:16:30.276+08:00| vthread-4| I125: Failed to find /lib/modules/4.9.0-040900-generic/build/include/linux/version.h

                    2017-02-16T12:16:30.276+08:00| vthread-4| I125: /lib/modules/4.9.0-040900-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

                    2017-02-16T12:16:30.276+08:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

                    2017-02-16T12:16:30.281+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-040900-generic".

                    2017-02-16T12:16:30.281+08:00| vthread-4| I125: The header path "/lib/modules/4.9.0-040900-generic/build/include" for the kernel "4.9.0-040900-generic" is valid.  Whoohoo!

                    2017-02-16T12:16:30.284+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

                    2017-02-16T12:16:30.284+08:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-040900-generic/build/include" for kernel release "4.9.0-040900-generic".

                    2017-02-16T12:16:30.284+08:00| vthread-4| I125: Failed to find /lib/modules/4.9.0-040900-generic/build/include/linux/version.h

                    2017-02-16T12:16:30.284+08:00| vthread-4| I125: /lib/modules/4.9.0-040900-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

                    2017-02-16T12:16:30.284+08:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

                    2017-02-16T12:16:30.289+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-040900-generic".

                    2017-02-16T12:16:30.289+08:00| vthread-4| I125: The header path "/lib/modules/4.9.0-040900-generic/build/include" for the kernel "4.9.0-040900-generic" is valid.  Whoohoo!

                    2017-02-16T12:16:30.289+08:00| vthread-4| I125: Using temp dir "/tmp".

                    2017-02-16T12:16:30.290+08:00| vthread-4| I125: Obtaining info using the running kernel.

                    2017-02-16T12:16:30.291+08:00| vthread-4| I125: Setting header path for 4.9.0-040900-generic to "/lib/modules/4.9.0-040900-generic/build/include".

                    2017-02-16T12:16:30.291+08:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-040900-generic/build/include" for kernel release "4.9.0-040900-generic".

                    2017-02-16T12:16:30.291+08:00| vthread-4| I125: Failed to find /lib/modules/4.9.0-040900-generic/build/include/linux/version.h

                    2017-02-16T12:16:30.291+08:00| vthread-4| I125: /lib/modules/4.9.0-040900-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

                    2017-02-16T12:16:30.291+08:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

                    2017-02-16T12:16:30.296+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-040900-generic".

                    2017-02-16T12:16:30.296+08:00| vthread-4| I125: The header path "/lib/modules/4.9.0-040900-generic/build/include" for the kernel "4.9.0-040900-generic" is valid.  Whoohoo!

                    2017-02-16T12:16:30.435+08:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-040900-generic/build/Module.symvers

                    2017-02-16T12:16:30.435+08:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-040900-generic/build/Module.symvers.

                    2017-02-16T12:16:30.457+08:00| vthread-4| I125: Read 20681 symbol versions

                    2017-02-16T12:16:30.457+08:00| vthread-4| I125: Invoking modinfo on "vmmon".

                    2017-02-16T12:16:30.460+08:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

                    2017-02-16T12:16:30.460+08:00| vthread-4| I125: Invoking modinfo on "vmnet".

                    2017-02-16T12:16:30.462+08:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

                    2017-02-16T12:16:30.881+08:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.9.0-040900-generic/misc/vmmon.ko".

                    2017-02-16T12:16:30.881+08:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".

                    2017-02-16T12:16:30.889+08:00| vthread-4| I125: Successfully extracted the vmmon source.

                    2017-02-16T12:16:30.889+08:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-NoWWUa/vmmon-only auto-build HEADER_DIR=/lib/modules/4.9.0-040900-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

                    2017-02-16T12:16:33.596+08:00| vthread-4| I125: Successfully built vmmon.  Module is currently at "/tmp/modconfig-NoWWUa/vmmon.o".

                    2017-02-16T12:16:33.596+08:00| vthread-4| I125: Found the vmmon symvers file at "/tmp/modconfig-NoWWUa/vmmon-only/Module.symvers".

                    2017-02-16T12:16:33.596+08:00| vthread-4| I125: Installing vmmon from /tmp/modconfig-NoWWUa/vmmon.o to /lib/modules/4.9.0-040900-generic/misc/vmmon.ko.

                    2017-02-16T12:16:33.596+08:00| vthread-4| I125: Registering file "/lib/modules/4.9.0-040900-generic/misc/vmmon.ko".

                    2017-02-16T12:16:35.684+08:00| vthread-4| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.

                    2017-02-16T12:16:35.684+08:00| vthread-4| I125: Registering file "/usr/lib/vmware/symvers/vmmon-4.9.0-040900-generic".

                    2017-02-16T12:16:35.972+08:00| vthread-4| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.

                    2017-02-16T12:16:35.974+08:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.9.0-040900-generic/misc/vmnet.ko".

                    2017-02-16T12:16:35.974+08:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

                    2017-02-16T12:16:35.980+08:00| vthread-4| I125: Successfully extracted the vmnet source.

                    2017-02-16T12:16:35.981+08:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-NoWWUa/vmnet-only auto-build HEADER_DIR=/lib/modules/4.9.0-040900-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

                    2017-02-16T12:16:37.498+08:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.


                    Thanks!!

                    • 10. Re: 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
                      jdelsolar Novice

                      Hi there darlusd

                       

                      I made this and still have can't@ compile the module vmmon

                       

                      look here:

                       

                      VMWARE_USE_SHIPPED_LIBS=force vmware-modconfig --console --install-all

                      Stopping vmware (via systemctl):                           [  OK  ]

                      make: Entering directory '/tmp/modconfig-fo9Yk0/vmmon-only'

                      Using kernel build system.

                      /bin/make -C /lib/modules/4.9.11-200.fc25.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

                        MODULEBUILDDIR= modules

                      make[1]: Entering directory '/usr/src/kernels/4.9.11-200.fc25.x86_64'

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/linux/driverLog.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/linux/driver.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/linux/hostif.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/memtrack.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/apic.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/hashFunc.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/vmx86.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/cpuid.o

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

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

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

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/task.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/comport.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/common/phystrack.o

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

                        CC [M]  /tmp/modconfig-fo9Yk0/vmmon-only/vmcore/moduleloop.o

                      /tmp/modconfig-fo9Yk0/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()

                      /tmp/modconfig-fo9Yk0/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()

                      /tmp/modconfig-fo9Yk0/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()

                        LD [M]  /tmp/modconfig-fo9Yk0/vmmon-only/vmmon.o

                        Building modules, stage 2.

                        MODPOST 1 modules

                        CC      /tmp/modconfig-fo9Yk0/vmmon-only/vmmon.mod.o

                        LD [M]  /tmp/modconfig-fo9Yk0/vmmon-only/vmmon.ko

                      make[1]: Leaving directory '/usr/src/kernels/4.9.11-200.fc25.x86_64'

                      /bin/make -C $PWD SRCROOT=$PWD/. \

                        MODULEBUILDDIR= postbuild

                      make[1]: Entering directory '/tmp/modconfig-fo9Yk0/vmmon-only'

                      make[1]: 'postbuild' is up to date.

                      make[1]: Leaving directory '/tmp/modconfig-fo9Yk0/vmmon-only'

                      cp -f vmmon.ko ./../vmmon.o

                      make: Leaving directory '/tmp/modconfig-fo9Yk0/vmmon-only'

                      make: Entering directory '/tmp/modconfig-fo9Yk0/vmnet-only'

                      Using kernel build system.

                      /bin/make -C /lib/modules/4.9.11-200.fc25.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

                        MODULEBUILDDIR= modules

                      make[1]: Entering directory '/usr/src/kernels/4.9.11-200.fc25.x86_64'

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/driver.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/hub.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/userif.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/netif.o

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

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

                                       from /tmp/modconfig-fo9Yk0/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-fo9Yk0/vmnet-only/net.h:38:0,

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

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

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

                      #define PCI_VENDOR_ID_VMWARE                    0x15AD

                       

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/bridge.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/procfs.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/smac_compat.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/smac.o

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/vnetEvent.o

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

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

                                       from /tmp/modconfig-fo9Yk0/vmnet-only/bridge.c:52:

                      /tmp/modconfig-fo9Yk0/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined

                      #define PCI_VENDOR_ID_VMWARE                    0x15AD

                       

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

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

                                       from /tmp/modconfig-fo9Yk0/vmnet-only/bridge.c:51:

                      ./include/linux/pci_ids.h:2253:0: note: this is the location of the previous definition

                      #define PCI_VENDOR_ID_VMWARE  0x15ad

                       

                        CC [M]  /tmp/modconfig-fo9Yk0/vmnet-only/vnetUserListener.o

                        LD [M]  /tmp/modconfig-fo9Yk0/vmnet-only/vmnet.o

                        Building modules, stage 2.

                        MODPOST 1 modules

                        CC      /tmp/modconfig-fo9Yk0/vmnet-only/vmnet.mod.o

                        LD [M]  /tmp/modconfig-fo9Yk0/vmnet-only/vmnet.ko

                      make[1]: Leaving directory '/usr/src/kernels/4.9.11-200.fc25.x86_64'

                      /bin/make -C $PWD SRCROOT=$PWD/. \

                        MODULEBUILDDIR= postbuild

                      make[1]: Entering directory '/tmp/modconfig-fo9Yk0/vmnet-only'

                      make[1]: 'postbuild' is up to date.

                      make[1]: Leaving directory '/tmp/modconfig-fo9Yk0/vmnet-only'

                      cp -f vmnet.ko ./../vmnet.o

                      make: Leaving directory '/tmp/modconfig-fo9Yk0/vmnet-only'

                      Starting vmware (via systemctl):  Job for vmware.service failed because the control process exited with error code.

                      See "systemctl status vmware.service" and "journalctl -xe" for details.

                                                                                 [FAILED]

                      • 11. Re: 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
                        dariusd Virtuoso

                        Hi jdelsolar,

                         

                        In your case, the modules are building successfully but are not loading.  Do you have Secure Boot enabled in your host system's BIOS/firmware setup?  If so, either disable it and try again, or see the following KB article for instructions on how to sign the modules for use with Secure Boot: "Cannot open /dev/vmmon: No such file or directory" error when powering on a VM (2146460) | VMware KB

                         

                        Cheers,

                        --

                        Darius

                        • 12. Re: 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
                          jdelsolar Novice

                          Good morning:

                           

                          First of all, thanks for the answer:

                          i rechecked the secure boot and it is disabled, and the steps to use vmware using secure boot, (even disabled) can't go:

                           

                          [jvelarde@jvelarde ~]$ sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon)

                          [sudo] password for jvelarde:

                          sudo: /usr/src/linux-headers-4.9.12-200.fc25.x86_64/scripts/sign-file: command not found

                          [jvelarde@jvelarde ~]$

                           

                          thanks in advance

                          • 13. Re: 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
                            dariusd Virtuoso

                            If you attempt to launch VMware Workstation and then run "systemctl status vmware.service" or "journalctl -xe", are there any useful messages shown about vmware, vmmon and/or vmnet?

                             

                            Cheers,

                            --

                            Darius

                            • 14. Re: 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
                              tommyjsZ Lurker

                              dariusdTobinover

                              Your solution worked for me on:
                              Debian 9 stretch; Gnome ;  Kernel 4.9.0-3-amd64; VMware-Workstation-Full 12.5.2-4638234.x86_64; HP Zbook 17 G3

                               

                              Thank-you two for the scripts!

                               

                              Best,

                              Tommy

                              1 2 Previous Next