Package Details: vmware-patch 14.0.0-2

Git Clone URL: https://aur.archlinux.org/vmware-patch.git (read-only)
Package Base: vmware-patch
Description: A post-install configuration solution for VMware Workstation (Pro) and Player (Plus and Pro)
Upstream URL: https://wiki.archlinux.org/index.php/VMware#Configuration
Licenses: GPL
Submitter: oliv
Maintainer: rains
Last Packager: rains
Votes: 205
Popularity: 2.521330
First Submitted: 2011-01-31 12:49
Last Updated: 2017-10-11 15:54

Pinned Comments

rains commented on 2017-10-08 10:11

for 12.5.7 users, you can manually make vmware-patch_12.5.7-3 package by following commands.
% git clone https://aur.archlinux.org/vmware-patch.git
% cd vmware-patch
% git checkout 34468bb29eb613538bc180ef39a3ecf37fd54393
% makepkg -Cf
% yaourt -U vmware-patch-12.5.7-3-x86_64.pkg.tar.xz

Latest Comments

frat commented on 2017-10-17 14:55

sudo vmware-patch -f 17-10-17 22:53
==> Patching VMware Workstation v14.0.0 for kernel 4.13.6-1-ARCH..
cp: -r not specified; omitting directory 'source-14.0.0/vmci-only'

and start the vmware with error:
Failed to open device "/dev/vmci": ?????????
Please make sure that the kernel module 'vmci' is loaded.
Module 'DevicePowerOn' power on failed.
Failed to start the virtual machine.

Tarr commented on 2017-10-16 10:28

Something seems to be totally bonkers with kernel and vmware-version detection. It tried to apply the 14.0 patches to 12.5.7, and it applied the 4.13 patches to the lts kernel. The later even with the suggested git version.

rains commented on 2017-10-15 12:36

@vagelis the latest version doesn't work on 12.5.7. but you can make the 12.5.7 package by yourself. if you still have questions, please feel free to let me know.

vagelis commented on 2017-10-15 09:05

Trying to patch after installation of VMware-Player-12.5.7-5813279.x86_64.bundle I got this: Patching VMware Workstation Player v12.5.7 for kernel 4.13.3-1-ARCH..
-> Backing up..
-> [vmci]
1 out of 7 hunks FAILED -- saving rejects to file vmci-only/linux/driver.c.rej
==> error: Failed to apply 'vmci-14.0.0-4.13.3.patch'

driver.c.rej Below

--- vmci-only/linux/driver.c
+++ vmci-only/linux/driver.c
@@ -2503,7 +2530,7 @@ vmci_exit(void)

if (guestDeviceInit) {
pci_unregister_driver(&vmci_driver);
- vfree(data_buffer);
+ kvfree(data_buffer);
data_buffer = NULL;
guestDeviceInit = FALSE;
}

When trying to vmware-modconfig --console --install-all I got the following:

/tmp/modconfig-cdBPig/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
/tmp/modconfig-cdBPig/vmnet-only/bridge.c:639:14: error: passing argument 1 of ‘atomic_inc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
atomic_inc(&clone->users);
^
In file included from ./include/linux/atomic.h:4:0,
from ./include/linux/rcupdate.h:38,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-cdBPig/vmnet-only/bridge.c:25:
./arch/x86/include/asm/atomic.h:89:29: note: expected ‘atomic_t * {aka struct <anonymous> *}’ but argument is of type ‘refcount_t * {aka struct refcount_struct *}’
static __always_inline void atomic_inc(atomic_t *v)
^~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:302: /tmp/modconfig-cdBPig/vmnet-only/bridge.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1512: _module_/tmp/modconfig-cdBPig/vmnet-only] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.13.3-1-ARCH/build'
make: *** [Makefile:120: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-cdBPig/vmnet-only'
Unable to install all modules. See log for details.

Any ideas?

rains commented on 2017-10-12 12:12

@all hi, guys. the new release should be ok.
Thanks to @AlexKornitzer @mkasu.

mkasu commented on 2017-10-10 09:10

I can confirm, that the approach by @AlexKornitzer also works for VMWare Player 14. Thanks!

(For the patching, you'll still need to add "&& [[ $ver != 14.* ]]" to line 149 in vmware-patch for it to work for the Player)

boennhoff commented on 2017-10-10 08:24

Thanks @AlexKornitzer, it works!

Having:
- VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
- vmware-patch-14.0.0-1
- linux-4.13.4-1

The workaround is (as root):
# vmware-patch -fv
# vmware-modconfig --console --build-mod vmci
# vmware-modconfig --console --install-all

I think we could either wait until the compilation scripts are fixed by Vmware or @rains adds the workaround to the package - who's first? :-)

AlexKornitzer commented on 2017-10-09 15:01

Yeah was just about to say it seems that vmware-modconfig is not realising that vmci needs rebuilding. I found that specifying to rebuild it first solved the problem.

```
vmware-modconfig --console --build-mod vmci
vmware-modconfig --console --install-all
```

boennhoff commented on 2017-10-09 13:12

It's not working for me either, using:
* VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
* vmware-patch-14.0.0-1
* linux-4.13.4-1

vmware-patch fails when starting the VMware services: "Virtual machine communication interface failed".
The VMCI module seems to be the problem. It's not even built.
"vmware-modconfig --console --install-all" produces the same problem (after running vmware-unpatch).

# find /lib/modules -name 'vm*.ko'
/lib/modules/4.13.4-1-ARCH/misc/vmmon.ko
/lib/modules/4.13.4-1-ARCH/misc/vmnet.ko

# find /usr/lib/vmware/modules -type f -exec md5sum {} \;
e2ed032b842a23e0edd2423383b306c1 /usr/lib/vmware/modules/source/vmci.tar
72272c7fb2f9e87b90b08359de0008d2 /usr/lib/vmware/modules/source/vmmon.bkp
9c41b9bbec1a5b11778ada993b1364f6 /usr/lib/vmware/modules/source/vmnet.bkp
79cf7c3573e90fa81cba2bc13115d98e /usr/lib/vmware/modules/source/vmblock.tar
ffdf44457dfd7d7b10c34fbd67248cfc /usr/lib/vmware/modules/source/vmnet.tar
52d07faf0c0ad50a62635878b4041d81 /usr/lib/vmware/modules/source/vmmon.tar
e21e0553e46623c764bbd630657a6270 /usr/lib/vmware/modules/source/vsock.tar
0d7c84c3b611bedce3303c24aa666c64 /usr/lib/vmware/modules/patches/vmci-10.0.4-3.14.patch
3c165edb6847fc9bfa04657f346ac4cc /usr/lib/vmware/modules/patches/vmmon-12.5.7-4.13.3.patch
a176c9e7f6fb0a994249dcbb47390040 /usr/lib/vmware/modules/patches/vsock-10.0.6-4.1.patch
1e264a2aa92c8786e87bda86026f7e4c /usr/lib/vmware/modules/patches/vsock-11.1.2-4.2.patch
7acdc91c88c64d55bd775d2fcdc1b242 /usr/lib/vmware/modules/patches/vmmon-12.5.2-4.9.patch
905d6daa87b314e541eec00ca4f927c6 /usr/lib/vmware/modules/patches/vmmon-11.1.2-4.2.patch
86a889febd9bdf88e458244195d604a4 /usr/lib/vmware/modules/patches/vsock-10.0.4-3.14.patch
5eb0567825f0dea3d7c9f21038463de9 /usr/lib/vmware/modules/patches/vmnet-12.5.2-4.9.patch
4eca49060d2373c259a0c045520de9f9 /usr/lib/vmware/modules/patches/vmmon-10.0.4-3.14.patch
2dbd8389e1a275ea734dcedba8510df1 /usr/lib/vmware/modules/patches/vsock-10.0.6-3.19.patch
ced58cf32a21adfe21d612366c52116a /usr/lib/vmware/modules/patches/vmci-14.0.0-4.13.3.patch
3c165edb6847fc9bfa04657f346ac4cc /usr/lib/vmware/modules/patches/vmmon-14.0.0-4.13.3.patch
298e1b59a9e729525cc3fa9d06f127eb /usr/lib/vmware/modules/patches/vmmon-10.0.5-3.14.patch
d980b5092aeee55edc6dbafb843d886f /usr/lib/vmware/modules/patches/vmnet-10.0.1-3.13.patch
43dee79cc5f5980372e16a20962b3105 /usr/lib/vmware/modules/patches/vmnet-10.0.6-3.17.patch
d5ba75849a3946851506ecbaa9ff3bb5 /usr/lib/vmware/modules/patches/vmci-10.0.6-4.0.patch
0a8dbce269c7ac34a63453435a4a9fad /usr/lib/vmware/modules/patches/vmci-10.0.6-3.19.patch
a2c3e2bbbe6dcbf66737a5e33df5b892 /usr/lib/vmware/modules/patches/vmnet-12.5.7-4.13.patch
36727e319ce5379e5227f618401fd313 /usr/lib/vmware/modules/patches/vmblock-11.1.2-4.2.patch
acd25c0daccb62af8abf750e6369ae25 /usr/lib/vmware/modules/patches/vmnet-10.0.4-3.14.patch
eca2542e4c484ea2ca06b7e9c065b8af /usr/lib/vmware/modules/patches/vmnet-14.0.0-4.13.3.patch
eca2542e4c484ea2ca06b7e9c065b8af /usr/lib/vmware/modules/patches/vmnet-12.5.7-4.13.3.patch
350679df90d266fe7dd343922622c39e /usr/lib/vmware/modules/patches/vmnet-11.1.0-3.19.patch
2c1d8433b698376c228e650741ba6be5 /usr/lib/vmware/modules/patches/vmnet-11.1.2-4.2.patch
1893542f8144aa0bb96f5433b9c34158 /usr/lib/vmware/modules/patches/vsock-10.0.6-3.15.patch
133f3ba5c19ceb00a4ae8f44dc08352a /usr/lib/vmware/modules/patches/vmci-12.0.0-4.2.patch
19f0c57fb59452d344061a1e09261ee9 /usr/lib/vmware/modules/source-14.0.0/vmci.tar
72272c7fb2f9e87b90b08359de0008d2 /usr/lib/vmware/modules/source-14.0.0/vmmon.bkp
9c41b9bbec1a5b11778ada993b1364f6 /usr/lib/vmware/modules/source-14.0.0/vmnet.bkp
79cf7c3573e90fa81cba2bc13115d98e /usr/lib/vmware/modules/source-14.0.0/vmblock.tar
6b31756745a5ff3f27a7e28279bdfe04 /usr/lib/vmware/modules/source-14.0.0/vmnet.tar
aa913e6700ffda1bbe73762ff097adcd /usr/lib/vmware/modules/source-14.0.0/vmmon.tar
e21e0553e46623c764bbd630657a6270 /usr/lib/vmware/modules/source-14.0.0/vsock.tar
bfc389fa366678071600b998e8333a58 /usr/lib/vmware/modules/modules.xml

# LC_ALL=C sudo vmware-patch -fv
==> Patching VMware Workstation v14.0.0 for kernel 4.13.4-1-ARCH..
-> [vmci]
-> Extracting archives..
-> Patching..
patching file vmci-only/linux/driver.c
patching file vmci-only/linux/vmciKernelIf.c
patching file vmci-only/shared/compat_module.h
patching file vmci-only/shared/vm_device_version.h
patching file vmci-only/shared/vmci_kernel_if.h
-> Recreating archives..
-> [vmmon]
-> Extracting archives..
-> Patching..
patching file vmmon-only/linux/hostif.c
Hunk #1 succeeded at 93 with fuzz 2 (offset -6 lines).
Hunk #2 succeeded at 1547 (offset -78 lines).
-> Recreating archives..
-> [vmnet]
-> Extracting archives..
-> Patching..
patching file vmnet-only/userif.c
-> Recreating archives..
==> Installing modules..
[AppLoader] Use shipped PC/SC Lite smart card framework.
An up-to-date "pcsc-lite-libs" or "libpcsclite1" package from your system is preferred.
[AppLoader] GLib does not have GSettings support.
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
make: Entering directory '/tmp/modconfig-QDoJy1/vmmon-only'
Using kernel build system.
/sbin/make -C /lib/modules/4.13.4-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/4.13.4-1-ARCH/build'
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/task.o
In file included from ./arch/x86/include/asm/processor.h:4:0,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./arch/x86/include/asm/mmu.h:4,
from ./arch/x86/include/asm/desc.h:6,
from /tmp/modconfig-QDoJy1/vmmon-only/common/task.c:70:
./arch/x86/include/asm/processor-flags.h:37:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-QDoJy1/vmmon-only/common/task.c:53:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86_basic_defs.h:78:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFF

CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/hashFunc.o
In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./arch/x86/include/asm/mmu.h:4,
from ./arch/x86/include/asm/desc.h:6,
from /tmp/modconfig-QDoJy1/vmmon-only/common/task.c:70:
./arch/x86/include/asm/msr-index.h:569:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.h:32:0,
from /tmp/modconfig-QDoJy1/vmmon-only/common/task.c:51:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86msr.h:115:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x140

CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/common/phystrack.o
In file included from /tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.h:32:0,
from /tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/rcupdate.h:40,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/irqflags.h:4:0,
from ./include/linux/irqflags.h:15,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

CC [M] /tmp/modconfig-QDoJy1/vmmon-only/vmcore/moduleloop.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoader.o
In file included from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm.h:43:0,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/rcupdate.h:40,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from ./include/linux/binfmts.h:4,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/irqflags.h:4:0,
from ./include/linux/irqflags.h:15,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from ./include/linux/binfmts.h:4,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

/tmp/modconfig-QDoJy1/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove()+0x1a: unknown stack-related register move
/tmp/modconfig-QDoJy1/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove()+0x0: stack state mismatch: cfa1=6+16 cfa2=7+8
CC [M] /tmp/modconfig-QDoJy1/vmmon-only/bootstrap/bootstrap.o
In file included from /tmp/modconfig-QDoJy1/vmmon-only/./common/vmx86.h:32:0,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/driver.h:32,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/driver.c:47:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./include/linux/wait.h:8,
from ./include/linux/wait_bit.h:7,
from ./include/linux/fs.h:5,
from ./include/linux/highmem.h:4,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-QDoJy1/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/driver.c:49:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF

In file included from ./arch/x86/include/asm/processor.h:4:0,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./include/linux/wait.h:8,
from ./include/linux/wait_bit.h:7,
from ./include/linux/fs.h:5,
from ./include/linux/highmem.h:4,
from /tmp/modconfig-QDoJy1/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:37:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

/tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_MapMPNInPTE()+0x10: unknown stack-related register move
/tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_MapMPNInPTE()+0x0: stack state mismatch: cfa1=6+16 cfa2=7+8
/tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_CopyFromBlob()+0x19: unknown stack-related register move
/tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_CopyFromBlob()+0x0: stack state mismatch: cfa1=6+16 cfa2=7+8
/tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_IsPrivileged()+0xb: unknown stack-related register move
/tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_IsPrivileged()+0x0: stack state mismatch: cfa1=6+16 cfa2=7+8
/tmp/modconfig-QDoJy1/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: .text: unexpected end of section
/tmp/modconfig-QDoJy1/vmmon-only/linux/driver.c:981:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/modconfig-QDoJy1/vmmon-only/./common/vmx86.h:32:0,
from /tmp/modconfig-QDoJy1/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-QDoJy1/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from ./arch/x86/include/asm/msr.h:4:0,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:52,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/rcupdate.h:40,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-QDoJy1/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:569:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

/tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.o: warning: objtool: Vmx86GetMSR()+0x6: unknown stack-related register move
/tmp/modconfig-QDoJy1/vmmon-only/common/vmx86.o: warning: objtool: Vmx86GetMSR()+0x0: stack state mismatch: cfa1=6+16 cfa2=7+8
LD [M] /tmp/modconfig-QDoJy1/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-QDoJy1/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-QDoJy1/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/lib/modules/4.13.4-1-ARCH/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-QDoJy1/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-QDoJy1/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-QDoJy1/vmmon-only'
make: Entering directory '/tmp/modconfig-QDoJy1/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/4.13.4-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/4.13.4-1-ARCH/build'
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/driver.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/hub.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/userif.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/netif.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/bridge.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/procfs.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/smac.o
CC [M] /tmp/modconfig-QDoJy1/vmnet-only/vnetEvent.o
In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-QDoJy1/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QDoJy1/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2260:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad

In file included from /tmp/modconfig-QDoJy1/vmnet-only/net.h:38:0,
from /tmp/modconfig-QDoJy1/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QDoJy1/vmnet-only/netif.c:42:
/tmp/modconfig-QDoJy1/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD

In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-QDoJy1/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QDoJy1/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2261:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

In file included from /tmp/modconfig-QDoJy1/vmnet-only/net.h:38:0,
from /tmp/modconfig-QDoJy1/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QDoJy1/vmnet-only/netif.c:42:
/tmp/modconfig-QDoJy1/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

CC [M] /tmp/modconfig-QDoJy1/vmnet-only/vnetUserListener.o
In file included from /tmp/modconfig-QDoJy1/vmnet-only/net.h:38:0,
from /tmp/modconfig-QDoJy1/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QDoJy1/vmnet-only/bridge.c:53:
/tmp/modconfig-QDoJy1/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:36:0,
from /tmp/modconfig-QDoJy1/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QDoJy1/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2260:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad

In file included from /tmp/modconfig-QDoJy1/vmnet-only/net.h:38:0,
from /tmp/modconfig-QDoJy1/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QDoJy1/vmnet-only/bridge.c:53:
/tmp/modconfig-QDoJy1/vmnet-only/vm_device_version.h:73:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-QDoJy1/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QDoJy1/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

LD [M] /tmp/modconfig-QDoJy1/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-QDoJy1/vmnet-only/vmnet.mod.o
LD [M] /tmp/modconfig-QDoJy1/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/lib/modules/4.13.4-1-ARCH/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-QDoJy1/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-QDoJy1/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-QDoJy1/vmnet-only'
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface failed
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
VMware Authentication Daemon done
Unable to start services
==> error: Unable to build. See:
* /tmp/vmware-root/vmware-modconfig*.log

rains commented on 2017-10-08 10:11

for 12.5.7 users, you can manually make vmware-patch_12.5.7-3 package by following commands.
% git clone https://aur.archlinux.org/vmware-patch.git
% cd vmware-patch
% git checkout 34468bb29eb613538bc180ef39a3ecf37fd54393
% makepkg -Cf
% yaourt -U vmware-patch-12.5.7-3-x86_64.pkg.tar.xz

All comments