Package Details: vmware-modules-dkms 308.0-13

Git Clone URL: https://aur.archlinux.org/vmware-modules-dkms.git (read-only)
Package Base: vmware-modules-dkms
Description: VMware Workstation kernel modules (DKMS)
Upstream URL: http://www.vmware.com/
Licenses: GPL2
Conflicts: open-vm-tools-modules
Submitter: Raansu
Maintainer: SwooshyCueb
Last Packager: SwooshyCueb
Votes: 11
Popularity: 3.004064
First Submitted: 2015-09-21 08:45
Last Updated: 2017-01-30 03:15

Latest Comments

TrakTrakTrugui commented on 2017-01-30 00:50

Thank you, works nicely in 4.9.6-1-ARCH

aasoft commented on 2017-01-29 03:04

The following successfully compiled for me on 4.9.6-1-ARCH.

Untar vmmon.tar and vmnet.tar, apply the patches below, tar them back.

# tar xpf vmmon.tar
# tar xpf vmnet.tar

# mv vmmon.tar vmmon.tar.old
# mv vmnet.tar vmnet.tar.old

# tar cf vmmon.tar vmmon-only
# tar cf vmnet.tar vmnet-only

Patches:
################################

diff -u -r vmmon-only/linux/hostif.c vmmon-new/linux/hostif.c
--- vmmon-only/linux/hostif.c 2016-11-11 23:15:51.000000000 -0800
+++ vmmon-new/linux/hostif.c 2017-01-28 18:56:51.665442691 -0800
@@ -1163,7 +1163,7 @@

down_read(&current->mm->mmap_sem);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0)
- retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
+ retval = get_user_pages((unsigned long)uvAddr, numPages, 0, ppages, NULL);
#else
retval = get_user_pages(current, current->mm, (unsigned long)uvAddr,
numPages, 0, 0, ppages, NULL);


diff -u -r vmnet-only/userif.c vmnet-new/userif.c
--- vmnet-only/userif.c 2016-11-11 23:15:55.000000000 -0800
+++ vmnet-new/userif.c 2017-01-28 18:57:00.872006425 -0800
@@ -114,7 +114,7 @@

down_read(&current->mm->mmap_sem);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0)
- retval = get_user_pages(addr, 1, 1, 0, &page, NULL);
+ retval = get_user_pages(addr, 1, FOLL_WRITE, &page, NULL);
#else
retval = get_user_pages(current, current->mm, addr,
1, 1, 0, &page, NULL);

SwooshyCueb commented on 2017-01-23 18:58

Still having problems with vsock's symbol versions. If anyone has any elegant solutions I'm open for ideas.

SwooshyCueb commented on 2017-01-23 18:35

updated for 4.9

mobad commented on 2017-01-20 02:52

Doesn't work with 4.9.

/tmp/modconfig-QCwpbE/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:
/tmp/modconfig-QCwpbE/vmmon-only/linux/hostif.c:1166:67: error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [-Werror=incompatible-pointer-types]
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
^~~~~~
In file included from /tmp/modconfig-QCwpbE/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-QCwpbE/vmmon-only/linux/hostif.c:32:
./include/linux/mm.h:1280:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/tmp/modconfig-QCwpbE/vmmon-only/linux/hostif.c:1166:13: error: too many arguments to function ‘get_user_pages’
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);

To fix the following needs to be changed in many places:
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
to:
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, ppages, NULL);

The "write" parameter was removed.

Also, could you remove "linux" from makedepends as it forces people using other kernels like "linux-ck" to install "linux".

Most other dkms modules I've seen don't have "linux" as a makedepends.

SwooshyCueb commented on 2016-09-21 21:32

Okay it looks like there's a problem with the vsock and vmblock modules. They build fine, but modprobe fails. It might be a day or two before I can look into this.

SwooshyCueb commented on 2016-09-18 22:05

Taking over maintenance of this package again, as it seems nobody else is willing currently. Just updated to work with VMWare Workstation 12.5 and Linux 4.7.1. Let me know if you have any issues.

SwooshyCueb commented on 2016-07-16 21:49

Disowned package because I cannot currently update it regularly. Whomever decides to maintain it in the future, if you'd like to add me as co-maintainer I can help out from time to time

SwooshyCueb commented on 2016-07-15 16:50

I'm not going to be able to update this for some time. Should I disown the package, or would someone like to be added as co-maintainer?

anaveragehuman commented on 2016-07-04 02:46

In /etc/udev/rules.d/60-vmware.rules, 660 needs to be surrounded with double-quotes. It is currently only correct on line 2.


KERNEL=="vmci", GROUP="vmware", MODE="660"
KERNEL=="vmw_vmci", GROUP="vmware", MODE="660"
KERNEL=="vmmon", GROUP="vmware", MODE="660"
KERNEL=="vsock", GROUP="vmware", MODE="660"

All comments