Package Details: vmware-modules-dkms 308.0-9

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: 4
Popularity: 0.188569
First Submitted: 2015-09-21 08:45
Last Updated: 2016-09-18 22:01

Latest Comments

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"

phant0m commented on 2016-06-29 15:58

No, it's still doesn't build correctly:

/var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.c:746:40: error: passing argument 5 of ‘VMCIContext_InitContext’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&user, &vmciLinux->context);

z3t0 commented on 2016-06-25 00:00

Hi, I am new to Arch and AUR so I do not know how I can contribute to the PKGBUILD but I was able to get vmware 12 to run without this package by following the solution at.

1) vmmon.tar
- untar
- change ./vmmon-only/linux/hostif.c
- replace all:
"get_user_pages" to "get_user_pages_remote"
- tar and replace original
2) vmnet.tar
- untar
- change ./vmnet-only/userif.c
- replace all:
"get_user_pages" to "get_user_pages_remote"
- tar and replace original

Successful compiled on FC23 FC24, FC25 (kernel 4.7) ARCH 4.6.2-1

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

SwooshyCueb commented on 2016-06-23 03:40

Seems to build fine for 4.6.2-2, at least on my end. If you're still having issues, let me know, and some build logs would be nice

SwooshyCueb commented on 2016-06-10 04:01

I plan on looking into this tomorrow. Haven't actually been able to test my 4.6 support yet, so thanks for the feedback.

s1kx commented on 2016-06-09 21:12

I have the same problem as doblerone with VMWare Workstation 12.1.0.

doblerone commented on 2016-06-09 08:47

Since the update to kernel 4.6.1-2, I'm not able to launch VMPlayer. I reinstalled the new version of the Player (12.1.1) but it fails when it's building the virtual machine monitor and virtual network device.

SwooshyCueb commented on 2016-05-26 05:49

Should be updated for 4.5. Working on a few tweaks and also 4.6 support.

If you compiled this previously by just commenting out the .follow_link assignment (or using a patch that effectively does the same thing) you'll want to update, as the new patch should make proper use of .follow_link's replacement.

anaveragehuman commented on 2016-05-22 16:07

It seems like you can simplify the package function:

package() {
# make folder for dkms
install -m755 -d ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
install -D -m0644 ${srcdir}/60-vmware.rules ${pkgdir}/etc/udev/rules.d/60-vmware.rules

for file in {dkms.conf,Makefile}; do
install -D -m0644 ${srcdir}/$file ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/$file
done

for patch in {vmblock,vmci,vmmon,vmnet,vsock,inode}; do
install -D -m0644 ${srcdir}/$patch.patch ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/$patch.patch
done
}

zxalexis commented on 2016-05-12 18:40

New patch for Kernel 4.5+ is here: https://forums.gentoo.org/viewtopic-t-1040880-start-0.html

# vmware-modules-308.1.0-inode.patch
--- a/vmblock-only/linux/inode.c 2016-03-18 18:27:18.844594271 -0400
+++ b/vmblock-only/linux/inode.c 2016-03-18 18:29:21.846590637 -0400
@@ -63,7 +63,11 @@ static struct inode_operations LinkInode
struct inode_operations LinkInodeOps = {
#endif
.readlink = InodeOpReadlink,
- .follow_link = InodeOpFollowlink,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
+ .follow_link = InodeOpFollowlink
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
+ .follow_link = InodeOpFollowlink
+#endif
};

/*

sproche72 commented on 2016-05-11 12:10

The drivers don't compile immediately in Arch Linux with kernel 4.5. However, I have found where the error is (an assignment to a missing field) and commented out that assignment.

drws commented on 2016-04-18 16:47

There is probably linux-lts missing for the linux dependency and linux-lts-headers for the linux-headers dependency. There are however more exotic variants such as linux-lts310-ck-headers satisfying the dependency... is there a specific reason a generic -lts variant is missing?

SwooshyCueb commented on 2016-02-22 01:28

Yeah, it's out of date again. Might be a bit before I can fix it, as my main PC is currently on its way back from a repair depot.

dummys commented on 2016-01-06 12:27

pacman up2date.

Can't build:

Building module:
cleaning build area...
make KERNELRELEASE=4.3.3-2-ARCH KVERSION=4.3.3-2-ARCH....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.3.3-2-ARCH (x86_64)
Consult /var/lib/dkms/vmware-modules/308.0/build/make.log for more information.
error: command failed to execute correctly


make.log:

DKMS make.log for vmware-modules-308.0 for kernel 4.3.3-2-ARCH (x86_64)
Wed Jan 6 12:06:54 CET 2016
tar xf /usr/lib/vmware/modules/source/vmblock.tar
mv vmblock-only vmblock
chmod -R +w vmblock
if [ -e vmblock.patch ] ; then \
patch -p1 < vmblock.patch ; \
fi;
patching file vmblock/linux/control.c
patching file vmblock/linux/dentry.c
patching file vmblock/linux/file.c
patching file vmblock/linux/inode.c
patching file vmblock/shared/compat_namei.h
make VM_UNAME=4.3.3-2-ARCH VM_KBUILD=yes -C vmblock
make[1]: Entering directory '/var/lib/dkms/vmware-modules/308.0/build/vmblock'
Using kernel build system.
make -C /lib/modules/4.3.3-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/4.3.3-2-ARCH/build'
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/filesystem.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/dentry.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/file.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/block.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/inode.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/super.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/module.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/stubs.o
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/linux/control.o
LD [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/vmblock.o
Building modules, stage 2.
MODPOST 1 modules
CC /var/lib/dkms/vmware-modules/308.0/build/vmblock/vmblock.mod.o
LD [M] /var/lib/dkms/vmware-modules/308.0/build/vmblock/vmblock.ko
make[2]: Leaving directory '/usr/lib/modules/4.3.3-2-ARCH/build'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[2]: Entering directory '/var/lib/dkms/vmware-modules/308.0/build/vmblock'
make[2]: 'postbuild' is up to date.
make[2]: Leaving directory '/var/lib/dkms/vmware-modules/308.0/build/vmblock'
cp -f vmblock.ko ./../vmblock.o
make[1]: Leaving directory '/var/lib/dkms/vmware-modules/308.0/build/vmblock'
mv vmblock.o vmblock.ko
tar xf /usr/lib/vmware/modules/source/vmci.tar
mv vmci-only vmci
chmod -R +w vmci
if [ -e vmci.patch ] ; then \
patch -p1 < vmci.patch ; \
fi;
patching file vmci/linux/driver.c
patching file vmci/linux/vmciKernelIf.c
patching file vmci/shared/vm_device_version.h
patching file vmci/shared/vmci_kernel_if.h
make VM_UNAME=4.3.3-2-ARCH VM_KBUILD=yes -C vmci
make[1]: Entering directory '/var/lib/dkms/vmware-modules/308.0/build/vmci'
Using kernel build system.
make -C /lib/modules/4.3.3-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/4.3.3-2-ARCH/build'
CC [M] /var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.o
/var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.c:746:40: warning: passing argument 5 of ‘VMCIContext_InitContext’ from incompatible pointer type [-Wincompatible-pointer-types]
&user, &vmciLinux->context);
^
In file included from /var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.c:73:0:
/var/lib/dkms/vmware-modules/308.0/build/vmci/./common/vmciContext.h:47:5: note: expected ‘VMCIHostUser * {aka struct <anonymous> *}’ but argument is of type ‘uid_t * {aka unsigned int *}’
int VMCIContext_InitContext(VMCIId cid, VMCIPrivilegeFlags flags,
^
/var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.c: In function ‘vmci_exit’:
/var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.c:2495:14: error: void value not ignored as it ought to be
retval = misc_deregister(&linuxState.misc);
^
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.o' failed
make[3]: *** [/var/lib/dkms/vmware-modules/308.0/build/vmci/linux/driver.o] Error 1
Makefile:1378: recipe for target '_module_/var/lib/dkms/vmware-modules/308.0/build/vmci' failed
make[2]: *** [_module_/var/lib/dkms/vmware-modules/308.0/build/vmci] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.3.3-2-ARCH/build'
Makefile:120: recipe for target 'vmci.ko' failed
make[1]: *** [vmci.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/vmware-modules/308.0/build/vmci'
Makefile:17: recipe for target 'vmci.ko' failed
make: *** [vmci.ko] Error 2

SwooshyCueb commented on 2015-10-11 05:21

Updated for 308.0 (the version included with Workstation 12)
I don't know if it works with earlier versions, as I don't have any to test against.

Raansu commented on 2015-09-21 09:39

BROKEN, CAN SOMEONE PLEASE TAKE OVER AND FIX

Raansu commented on 2015-09-21 08:52

Adopted and updated for AUR4, let me know if there are any issues.

Raansu commented on 2015-09-21 08:52

Adopted and updated for AUR4, let me know if there are any issues!