Package Details: vmware-patch 15.5.1-1

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
Keywords: patch vmci vmmon vmnet vmware
Licenses: GPL
Submitter: oliv
Maintainer: None
Last Packager: lfleischer
Votes: 208
Popularity: 0.31
First Submitted: 2011-01-31 12:49
Last Updated: 2019-11-23 15:07

Required by (0)

Sources (41)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 ... Next › Last »

jaro3 commented on 2017-10-25 09:32

reinstalling doesn't help :-(

vmware-patch -f
==> Patching VMware Workstation v14.0.0 for kernel 4.13.3-pf..
cp: -r not specified; omitting directory 'source-14.0.0/vmmon-only'
cp: -r not specified; omitting directory 'source-14.0.0/vmnet-only'

kernel 4.13.8-1-ARCH
vmware-patch 14.0.0-2

khjay commented on 2017-10-19 20:07

Same issue as frat...
Uninstalling then re running vmware-patch solved problem
Hope this helps

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
```