You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b95d78156d | 8 years ago | |
---|---|---|
vmmon-hostif.c | 8 years ago | |
vmnet-userif.c | 8 years ago | |
README.md | 8 years ago |
README.md
Patch for Vmware 12.1.1 Kernel 4.9
Note: User at your own risk !
Vmware 12.1 modules compilation is broke since kernel 4.9. Here’s a quick and dirty patch I came up with after failing to find a solution.
Usage
-
Go to vmware modules source directory
cd /usr/lib/vmware/modules/source/
-
Extract vmmon and vmnet sources
tar xf vmnet.tar tar xf vmmon.tar
-
In the same directory, move the patch files from this repo
cp <path_to_this_repo>/vmmon-hostif.c/hostif.patch . cp <path_to_this_repo>/vmnet-user.c/userif.patch .
-
Apply patches
patch -s -p0 < hostif.patch patch -s -p0 < userif.patch
-
Recreate archives
tar -cf vmmon.tar vmmon-only tar -cf vmnet.tar vmnet-only
-
Recompile
sudo vmware-modconfig --console --install-all
Resources
Commits responsible for this error:
9beae1ea89
1e9877902d (diff-e37c5ffd9b4db050c3f7eae7d74e64c3R1230)
Ths signature of get_user_pages_remote changed, instead of passing (write=1,force=0) they are passed in a flag ( 0 |= FOLL_WRITE)