Package Details: vmware-modules-dkms 308.0-8

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: 3
Popularity: 0.508601
First Submitted: 2015-09-21 08:45
Last Updated: 2016-05-26 06:35

Latest Comments

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!