Package Details: vmware-patch 12.0.0-4

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: Det
Last Packager: Det
Votes: 184
Popularity: 0.591645
First Submitted: 2011-01-31 12:49
Last Updated: 2015-10-13 20:22

Required by (0)

Sources (24)

  • common-functions.sh
  • vmblock-11.1.2-4.2.patch
  • vmci-10.0.4-3.14.patch
  • vmci-10.0.6-3.19.patch
  • vmci-10.0.6-4.0.patch
  • vmci-12.0.0-4.2.patch
  • vmmon-10.0.4-3.14.patch
  • vmmon-10.0.5-3.14.patch
  • vmmon-11.1.2-4.2.patch
  • vmnet-10.0.1-3.13.patch
  • vmnet-10.0.4-3.14.patch
  • vmnet-10.0.6-3.17.patch
  • vmnet-11.1.0-3.19.patch
  • vmnet-11.1.2-4.2.patch
  • vmware-patch.sh
  • vmware-unpatch.sh
  • vmware-usbarbitrator.service
  • vmware-workstation.service
  • vmware.service
  • vsock-10.0.4-3.14.patch
  • vsock-10.0.6-3.15.patch
  • vsock-10.0.6-3.19.patch
  • vsock-10.0.6-4.1.patch
  • vsock-11.1.2-4.2.patch

Latest Comments

bioshacker001 commented on 2016-11-29 19:04

Remember that this package is for people who don't want to use the latest VMware. For instance, I need VMware 7 for Unity Mode.

boennhoff commented on 2016-11-07 09:10

VMware-Workstation-Full-12.5.1-4542065.x86_64 is released and it contains fixed modules sources. So vmware-patch should work again without patching the sources.

koproliet commented on 2016-11-01 11:16

Even though the package is no longer maintained, still great help here, thx everyone.
Just reversed my way through all of the below changes to get it to work on kernel 4.8.

BinaryMn commented on 2016-10-23 19:46

I had to make the manual changes described at https://www.reddit.com/r/linuxquestions/comments/41y30m/vmware_install_problems/czerdmf/ to get vmmon to build successfully on 4.8.4-1, in case anyone else runs into the same problem.

boennhoff commented on 2016-10-19 20:00

And again it fails with linux 4.8... Found a solution on http://rglinuxtech.com/?p=1788 and applied it like this (being root):

# cd /usr/lib/vmware/modules/source
# tar xvf vmmon.tar
# sed -i 's/unsigned int anonPages = global_page_state(NR_ANON_PAGES);/unsigned int anonPages = global_page_state(NR_ANON_MAPPED);/' vmmon-only/linux/hostif.c
# tar cvf vmmon.tar vmmon-only
# vmware-patch -fv

Is there somebody out there who could take over the maintenance of this essential package? pleassse ;-)

theginger commented on 2016-10-12 05:33

@kupiakos @rakotomandimby

Thanks Guys! This fixed it for me.

kupiakos commented on 2016-08-17 03:33

Integrating the solution by Mihamina Rakotomandimby:

# Extract
cd /usr/lib/vmware/modules/source
tar xvf vmmon.tar
tar xvf vmnet.tar
# Patch
sed -i 's/get_user_pages(/get_user_pages_remote(/' vmmon-only/linux/hostif.c vmnet-only/userif.c
sed -i 's/dev->trans_start = jiffies;/netif_trans_update(dev);/' vmnet-only/netif.c
# Recreate
tar cvf vmmon.tar vmmon-only
tar cvf vmnet.tar vmnet-only
# Rebuild
vmware-modconfig --install-all --console

rakotomandimby commented on 2016-08-16 07:54

Here is a solution: http://mihamina.rktmb.org/2016/08/vmware-netdevice-transstart.html

frat commented on 2016-08-16 07:53

for linux 4.7
/usr/lib/vmware/modules/source/vmnet-only/netif.c:468:7: error:‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?
dev->trans_start = jiffies;
any help?

yetAnotherZero commented on 2016-06-15 17:01

@Ba7a7chy your instructions needed a little modification to work on my system ;)

The below was tested with VMWare Workstation 12 12.1.1 build-3770994 with linux 4.6.2-1-ARCH
I'm also modifying for lazy copy/pasters like myself

# Step 1: Extract source
tar xvf /usr/lib/vmware/modules/source/{vmmon,vmnet}.tar

# Step 2: Patch source -- overly specific match so we don't accidentally double-patch
# You could also use vim to change get_user_pages to get_user_pages_remote
sed -i 's/get_user_pages(/get_user_pages_remote(/' vmmon-only/linux/hostif.c vmnet-only/userif.c

# Step 3: Replace source
tar cvf /usr/lib/vmware/modules/sources/vmmon.tar vmmon-only
tar cvf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only

# Step 4: Rebuild
sudo vmware-modconfig --install-all --console

All comments