Package Details: vmware-patch 12.0.0-4

Git Clone URL: (read-only)
Package Base: vmware-patch
Description: A post-install configuration solution for VMware Workstation (Pro) and Player (Plus and Pro)
Upstream URL:
Licenses: GPL
Submitter: oliv
Maintainer: Det
Last Packager: Det
Votes: 184
Popularity: 2.229540
First Submitted: 2011-01-31 12:49
Last Updated: 2015-10-13 20:22

Required by (0)

Sources (24)

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

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:

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

Ba7a7chy commented on 2016-06-14 07:30

For all people needing this :)

Step 1)
tar xvf /usr/lib/vmware/modules/source/vmmon.tar
vim vmmon-only/linux/hostif.c (change "get_user_pages" with "get_user_pages_remote")
tar cvf /usr/lib/vmware/modules/sources/vmmon.tar

Step 2)
tar xvf /usr/lib/vmware/modules/source/vmnet.tar
vim vmnet-only/netif.c (change "get_user_pages" with "get_user_pages_remote")
tar cvf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only

Step 3)
sudo vmware-modconfig --install-all --console

teacher4711 commented on 2016-06-10 07:47

Thank you very much for the detailed instructions!


quarters commented on 2016-06-09 02:46


Thank you soooo much for the pointers! That did the trick after scouring the web for wikis and other packages like vmware-modules-dkms and after trying to compile each module manually and sifting through logs(ugh!).

And konig, I JUST saw your comment after Pandor's even though yours is on the top. I'm surprised that this fix only became necessary for me today when I had been "pacman -Syu"-ing on a daily basis well before this issue with the new kernel was reported a few days ago here.

Thanks again!

konig commented on 2016-06-08 19:36


The files in question are compressed - those are located under /usr/lib/vmware/modules/source

run this command first tar xvf /usr/lib/vmware/modules/source/vmmon.tar
It will create a folder vmmon-only. once you're done with chnages to hostif.c
run this command tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only

Repeat the steps for vmnet.tar and rebuild the modules by executing this command as root vmware-modconfig --console --install-all or just re-open vmware workstation/player.

teacher4711 commented on 2016-06-08 11:58

Can anyone please be more specific as to
a) the path where to find the files to patch
b) the tar commands to extract and pack the files
c) any other commands to re-run the build-process of the modules?

Thank you!

theforeigner commented on 2016-06-06 10:26

Thank you, Pandor! Your fix works. A shame this package isn't updated anymore.

All comments