Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178776

VMware Workstation 12.5.7 build-5813279.x86_64 does not compile on openSUSE-Leap-42.3-DVD-x86_64

$
0
0

Hello all

 

I installed VMware-Workstation-Full-12.5.7-5813279 on openSUSE-Leap-42.3-DVD-x86_64

 

The installation goes fine but both vmnet-only and vmmon-only modules error out when compiling which means that VMware "Virtual machine monitor" and "Virtual ethernet " services fail to start.

 

I was wondering if there are any patchs or work arounds.

TIA

James

 

# specs

VMware Workstation Version : 12.5.7

Release Date : 2017-06-22

Bundle : VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle

openSUSE-Leap-42.3-DVD-x86_64

uname -a : Linux linux-6l9t 4.4.75-1-default #1 SMP Fri Jul 7 11:28:32 UTC 2017 (0b7a836) x86_64 x86_64 x86_64 GNU/Linux

 

Log details are below.

# Compiling the vmnet and vmmon modules....

# You are in /tmp/vmware/source...

Compiling the vmnet module...

vmnet-only/

vmnet-only/smac_compat.h

vmnet-only/vmware_pack_init.h

vmnet-only/smac_compat.c

vmnet-only/userif.c

vmnet-only/netdev_has_dev_net.c

vmnet-only/compat_autoconf.h

vmnet-only/compat_skbuff.h

vmnet-only/Makefile.kernel

vmnet-only/compat_module.h

vmnet-only/vm_basic_asm_x86.h

vmnet-only/vm_basic_types.h

vmnet-only/netdev_has_net.c

vmnet-only/x86cpuid.h

vmnet-only/vnetKernel.h

vmnet-only/driver-config.h

vmnet-only/smac.c

vmnet-only/Makefile.normal

vmnet-only/monitorAction_exported.h

vmnet-only/vm_basic_asm_x86_64.h

vmnet-only/COPYING

vmnet-only/procfs.c

vmnet-only/smac.h

vmnet-only/compat_sock.h

vmnet-only/vm_basic_defs.h

vmnet-only/vmnetInt.h

vmnet-only/vnet.h

vmnet-only/geninclude.c

vmnet-only/netif.c

vmnet-only/vm_basic_asm_x86_common.h

vmnet-only/community_source.h

vmnet-only/bridge.c

vmnet-only/vm_atomic.h

vmnet-only/vnetFilterInt.h

vmnet-only/nfhook_uses_skb.c

vmnet-only/vm_basic_asm.h

vmnet-only/compat_version.h

vmnet-only/vmware_pack_begin.h

vmnet-only/vm_device_version.h

vmnet-only/net.h

vmnet-only/vm_assert.h

vmnet-only/hub.c

vmnet-only/vnetFilter.h

vmnet-only/vnetEvent.h

vmnet-only/Makefile

vmnet-only/vnetEvent.c

vmnet-only/compat_netdevice.h

vmnet-only/driver.c

vmnet-only/vmware_pack_end.h

vmnet-only/includeCheck.h

vmnet-only/skblin.c

vmnet-only/vnetUserListener.c

vmnet-only/vnetInt.h

vmnet-only/vm_oui.h

Using kernel build system.

make -C /lib/modules/4.4.75-1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory '/usr/src/linux-4.4.75-1-obj/x86_64/default'

  CC [M]  /tmp/vmware/source/vmnet-only/driver.o

  CC [M]  /tmp/vmware/source/vmnet-only/hub.o

  CC [M]  /tmp/vmware/source/vmnet-only/userif.o

/tmp/vmware/source/vmnet-only/userif.c: In function ‘UserifLockPage’:

/tmp/vmware/source/vmnet-only/userif.c:125:28: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]

                            1, 1, 0, &page, NULL);

                            ^

In file included from /usr/src/linux-4.4.75-1/include/linux/highmem.h:7:0,

                 from /tmp/vmware/source/vmnet-only/userif.c:26:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/tmp/vmware/source/vmnet-only/userif.c:125:28: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]

                            1, 1, 0, &page, NULL);

                            ^

In file included from /usr/src/linux-4.4.75-1/include/linux/highmem.h:7:0,

                 from /tmp/vmware/source/vmnet-only/userif.c:26:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/tmp/vmware/source/vmnet-only/userif.c:125:28: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]

                            1, 1, 0, &page, NULL);

                            ^

In file included from /usr/src/linux-4.4.75-1/include/linux/highmem.h:7:0,

                 from /tmp/vmware/source/vmnet-only/userif.c:26:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: expected ‘struct page **’ but argument is of type ‘int’

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/tmp/vmware/source/vmnet-only/userif.c:125:28: warning: passing argument 5 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]

                            1, 1, 0, &page, NULL);

                            ^

In file included from /usr/src/linux-4.4.75-1/include/linux/highmem.h:7:0,

                 from /tmp/vmware/source/vmnet-only/userif.c:26:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/tmp/vmware/source/vmnet-only/userif.c:125:28: error: too many arguments to function ‘get_user_pages’

                            1, 1, 0, &page, NULL);

                            ^

In file included from /usr/src/linux-4.4.75-1/include/linux/highmem.h:7:0,

                 from /tmp/vmware/source/vmnet-only/userif.c:26:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: declared here

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/usr/src/linux-4.4.75-1/scripts/Makefile.build:259: recipe for target '/tmp/vmware/source/vmnet-only/userif.o' failed

make[4]: *** [/tmp/vmware/source/vmnet-only/userif.o] Error 1

/usr/src/linux-4.4.75-1/Makefile:1428: recipe for target '_module_/tmp/vmware/source/vmnet-only' failed

make[3]: *** [_module_/tmp/vmware/source/vmnet-only] Error 2

Makefile:150: recipe for target 'sub-make' failed

make[2]: *** [sub-make] Error 2

Makefile:24: recipe for target '__sub-make' failed

make[1]: *** [__sub-make] Error 2

make[1]: Leaving directory '/usr/src/linux-4.4.75-1-obj/x86_64/default'

Makefile:120: recipe for target 'vmnet.ko' failed

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

Finished compiling the vmnet module...

ls: cannot access 'vmnet.o': No such file or directory

Copying the vmnet module to /lib/modules/4.4.75-1-default/kernel/drivers/misc/...

cp: cannot stat './vmnet.o': No such file or directory

Compiling the vmmon module...

vmmon-only/

vmmon-only/Makefile.kernel

vmmon-only/Makefile.normal

vmmon-only/COPYING

vmmon-only/include/

vmmon-only/include/vmware_pack_init.h

vmmon-only/include/cpuid_info.h

vmmon-only/include/x86apic.h

vmmon-only/include/uccostTable.h

vmmon-only/include/x86vt-vmcs-fields.h

vmmon-only/include/compat_spinlock.h

vmmon-only/include/compat_autoconf.h

vmmon-only/include/compat_module.h

vmmon-only/include/vm_basic_asm_x86.h

vmmon-only/include/vm_basic_types.h

vmmon-only/include/overheadmem_types.h

vmmon-only/include/vm_asm_x86_64.h

vmmon-only/include/x86cpuid.h

vmmon-only/include/ptsc.h

vmmon-only/include/driver-config.h

vmmon-only/include/usercalldefs.h

vmmon-only/include/pcip_defs.h

vmmon-only/include/vm_basic_math.h

vmmon-only/include/compat_highmem.h

vmmon-only/include/monitorAction_exported.h

vmmon-only/include/vm_basic_asm_x86_64.h

vmmon-only/include/compat_pci.h

vmmon-only/include/cpu_defs.h

vmmon-only/include/modulecall.h

vmmon-only/include/x86vt.h

vmmon-only/include/iocontrols.h

vmmon-only/include/x86cpuid_asm.h

vmmon-only/include/vm_basic_defs.h

vmmon-only/include/rateconv.h

vmmon-only/include/compat_pgtable.h

vmmon-only/include/vmware.h

vmmon-only/include/x86sel.h

vmmon-only/include/x86types.h

vmmon-only/include/circList.h

vmmon-only/include/versioned_atomic.h

vmmon-only/include/address_defs.h

vmmon-only/include/memDefaults.h

vmmon-only/include/vm_time.h

vmmon-only/include/vm_basic_asm_x86_common.h

vmmon-only/include/x86desc.h

vmmon-only/include/pgtbl.h

vmmon-only/include/vm_asm.h

vmmon-only/include/pageLock_defs.h

vmmon-only/include/mon_assert.h

vmmon-only/include/community_source.h

vmmon-only/include/vm_atomic.h

vmmon-only/include/contextinfo.h

vmmon-only/include/vmmem_shared.h

vmmon-only/include/perfctr_generic.h

vmmon-only/include/crossgdt.h

vmmon-only/include/compat_interrupt.h

vmmon-only/include/vm_basic_asm.h

vmmon-only/include/vcpuset_types.h

vmmon-only/include/compat_version.h

vmmon-only/include/vmware_pack_begin.h

vmmon-only/include/compat_kernel.h

vmmon-only/include/compat_page.h

vmmon-only/include/numa_defs.h

vmmon-only/include/initblock.h

vmmon-only/include/vm_assert.h

vmmon-only/include/x86segdescrs.h

vmmon-only/include/modulecallstructs.h

vmmon-only/include/compat_cred.h

vmmon-only/include/x86vendor.h

vmmon-only/include/x86vtinstr.h

vmmon-only/include/x86_basic_defs.h

vmmon-only/include/vcpuid.h

vmmon-only/include/basic_initblock.h

vmmon-only/include/pagelist.h

vmmon-only/include/vmware_pack_end.h

vmmon-only/include/includeCheck.h

vmmon-only/include/compat_sched.h

vmmon-only/include/compat_ioport.h

vmmon-only/include/pshare_ext.h

vmmon-only/include/x86perfctr.h

vmmon-only/include/compat_semaphore.h

vmmon-only/include/vcpuset.h

vmmon-only/include/x86msr.h

vmmon-only/include/vm_asm_x86.h

vmmon-only/include/hashFunc.h

vmmon-only/include/x86svm.h

vmmon-only/include/vmm_constants.h

vmmon-only/autoconf/

vmmon-only/autoconf/tsc_khz.c

vmmon-only/autoconf/geninclude.c

vmmon-only/autoconf/smpcall.c

vmmon-only/README

vmmon-only/Makefile

vmmon-only/linux/

vmmon-only/linux/hostif.c

vmmon-only/linux/driver.h

vmmon-only/linux/driverLog.h

vmmon-only/linux/vmhost.h

vmmon-only/linux/driverLog.c

vmmon-only/linux/hostif_priv.h

vmmon-only/linux/driver.c

vmmon-only/linux/vmmonInt.h

vmmon-only/vmcore/

vmmon-only/vmcore/driver_vmcore.h

vmmon-only/vmcore/moduleloop.c

vmmon-only/common/

vmmon-only/common/hostif.h

vmmon-only/common/memtrack.h

vmmon-only/common/apic.h

vmmon-only/common/vmx86.h

vmmon-only/common/vmx86.c

vmmon-only/common/phystrack.h

vmmon-only/common/memtrack.c

vmmon-only/common/comport.c

vmmon-only/common/hashFunc.c

vmmon-only/common/phystrack.c

vmmon-only/common/hostKernel.h

vmmon-only/common/hostifGlobalLock.h

vmmon-only/common/task.h

vmmon-only/common/cpuid.h

vmmon-only/common/cpuid.c

vmmon-only/common/hostifMem.h

vmmon-only/common/comport.h

vmmon-only/common/apic.c

vmmon-only/common/task.c

Using kernel build system.

make -C /lib/modules/4.4.75-1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory '/usr/src/linux-4.4.75-1-obj/x86_64/default'

  CC [M]  /tmp/vmware/source/vmmon-only/linux/driver.o

/tmp/vmware/source/vmmon-only/linux/driver.c:1291:1: warning: always_inline function might not be inlinable [-Wattributes]

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

^

  CC [M]  /tmp/vmware/source/vmmon-only/linux/hostif.o

/tmp/vmware/source/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:

/tmp/vmware/source/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]

                            numPages, 0, 0, ppages, NULL);

                            ^

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

                 from /tmp/vmware/source/vmmon-only/linux/hostif.c:32:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/tmp/vmware/source/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]

                            numPages, 0, 0, ppages, NULL);

                            ^

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

                 from /tmp/vmware/source/vmmon-only/linux/hostif.c:32:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/tmp/vmware/source/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]

                            numPages, 0, 0, ppages, NULL);

                            ^

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

                 from /tmp/vmware/source/vmmon-only/linux/hostif.c:32:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: expected ‘struct page **’ but argument is of type ‘unsigned int’

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/tmp/vmware/source/vmmon-only/linux/hostif.c:1174:28: error: too many arguments to function ‘get_user_pages’

                            numPages, 0, 0, ppages, NULL);

                            ^

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

                 from /tmp/vmware/source/vmmon-only/linux/hostif.c:32:

/usr/src/linux-4.4.75-1/include/linux/mm.h:1264:6: note: declared here

long get_user_pages(unsigned long start, unsigned long nr_pages,

      ^

/usr/src/linux-4.4.75-1/scripts/Makefile.build:259: recipe for target '/tmp/vmware/source/vmmon-only/linux/hostif.o' failed

make[4]: *** [/tmp/vmware/source/vmmon-only/linux/hostif.o] Error 1

/usr/src/linux-4.4.75-1/Makefile:1428: recipe for target '_module_/tmp/vmware/source/vmmon-only' failed

make[3]: *** [_module_/tmp/vmware/source/vmmon-only] Error 2

Makefile:150: recipe for target 'sub-make' failed

make[2]: *** [sub-make] Error 2

Makefile:24: recipe for target '__sub-make' failed

make[1]: *** [__sub-make] Error 2

make[1]: Leaving directory '/usr/src/linux-4.4.75-1-obj/x86_64/default'

Makefile:120: recipe for target 'vmmon.ko' failed

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

Finished compiling the vmmon module...

ls: cannot access 'vmmon.o': No such file or directory

Copying the vmmon module to /lib/modules/4.4.75-1-default/kernel/drivers/misc/...

cp: cannot stat 'vmmon.o': No such file or directory

Loading new module dependencies...

Restarting vmware...

Stopping VMware services:

   VMware Authentication Daemon                                        done

   VM communication interface socket family                            done

   Virtual machine communication interface                             done

   Virtual machine monitor                                             done

   Blocking file system                                                done

Starting VMware services:

   Virtual machine monitor                                            failed

   Virtual machine communication interface                             done

   VM communication interface socket family                            done

   Blocking file system                                                done

   Virtual ethernet                                                   failed


Viewing all articles
Browse latest Browse all 178776

Trending Articles



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