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: 180
Popularity: 1.570407
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

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!

Michael

quarters commented on 2016-06-09 02:46

Pandor

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

Mike,

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!
Michael

theforeigner commented on 2016-06-06 10:26

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

Pandor commented on 2016-06-02 18:40

VMware Workstation 12.1.1 build-3770994
kernel 4.6.1-2-ARCH


vmmon and vmnet need patching to compile:
in vmmon-only/linux/hostif.c && vmnet-only/userif.c replace "get_user_pages" with "get_user_pages_remote"

kupiakos commented on 2016-05-09 18:14

You can't automatically build VMWare with GCC 6 at the moment.

See https://communities.vmware.com/thread/509702?start=30&tstart=0 on how to build the modules manually.

miau9202 commented on 2016-05-08 18:20

https://communities.vmware.com/thread/516751?start=0&tstart=0

this will fix vmnet compile error.

All comments