vmware-player-modules 2.0.5_109488-1
http://www.vmware.com/products/player/
Kernel modules for VMware Player
unsupported :: modules
Responsabile: helios
Voti: 98
Licenza: custom
Ultimo aggiornamento: Fri, 12 Sep 2008 10:40:42 +0000
Data di primo invio: Sun, 26 Nov 2006 23:23:59 +0000
Archivio :: File :: PKGBUILD
Questo pacchetto è stato contrassegnato come non aggiornato.
Richiesto da vmware-player
stativ: thanks for the info. I guess I'll install it according to the wiki page: http://wiki.archlinux.org/index.php/Installing_VMware
But I must say that it is quite ugly. For example stuff like this "mkdir -p /etc/rc.d/vmware.d/rc{0,1,2,3,4,5,6}.d" will be a pain to undo if I ever uninstall.
bostonvaulter: they do, but not from AUR. Unfortunately changes brought by 3.0 (I think) made it impossible to package. So if you want to use vmware you must install it in "classic way" using installer. There's also wiki page about it.
Doesn't build for me on i386. Do people not use vmware on Arch?
I can confirm it doesn't work with 2.6.27-ARCH on x86_64
/root/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only/./include/compat_semaphore.h:5:27: Fehler: asm/semaphore.h: Datei oder Verzeichnis nicht gefunden
make[2]: *** [/root/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only/linux/driver.o] Fehler 1
Doesn't build with 2.6.27 kernel
There is any problem with the Kernel 2.26.27 with this package? Because when I update to kernel 2.6.27 the vmware stop to working. When I try to reinstall the vmware-player-modules there is an error. Because I have update the vmware-player package.
thanx for the package! =)
thanks thotypous....works great :)
Hi,
I have created patches for kernel 2.6.26 and updated the package.
It's available at: http://matias.archlinux-br.org/files/aur/vmware-player-modules.tar.gz
This package has already been updated. It only needs vmblock.patch and should work with kernel 2.6.25. Do you have any problems with it?
I had do delete the last hunk of the vmnet patch linked below by 6xx.
Could pizzapunk update this package, so we have a common base?
Working patches for 2.6.25:
http://bbs.archlinux.org/viewtopic.php?pid=360415#p360415
doesn't work with linux kernel 2.6.25 !!
Updated for kernel 2.6.24
I also had to add VMWARE_VER=VME_V6 to the make line.
Otherwise I just adjusted the 115 any-any release to look like the (unofficial?) 116 version. See http://bbs.archlinux.org/viewtopic.php?id=43730
I tried modify following part of PKGBUILD and it works for me (only i686 modified)
=============================
if [ $CARCH = "i686" ]; then
source=(http://download3.vmware.com/software/vmplayer/VMware-player-2.0.2-59824.i386.tar.gz http://vmkernelnewbies.googlegroups.com/web/vmware-any-any-update-116.tgz)
md5sums=('0c108db615943d71b78f18826611acce 3a2e2cb8c3d662190198c77c4a656dbb')
elif [ $CARCH = "x86_64" ]; then
source=(http://download3.vmware.com/software/vmplayer/VMware-player-2.0.2-59824.x86_64.tar.gz)
md5sums=('f59a77f3e3b8e87591eff605c4bbb796')
fi
build() {
cd $startdir/src/vmware-player-distrib/lib/modules/source
cp $startdir/src/vmware-any-any-update116/vm*.tar .
# Build and install the kernel modules
=============================
then install package and run /usr/bin/vmware-config.pl
Updated: version 2.0.2
Worked for me too, although I left the depends('kernel26') in from the old PKGBUILD
this PKGBUILD work for me (WARNING: you must update vmware-player package too):
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Change this to proper kernel release
_kernver=`uname -r`
pkgname=vmware-player-modules
pkgver=2.0.2_59824
pkgrel=1
pkgdesc="Kernel modules for VMware Player"
arch=('i686')
url="http://www.vmware.com/products/player/"
license=('custom')
depends=()
conflicts=('vmware-workstation-modules' 'vmware-server-modules')
install=$pkgname.install
source=(http://download3.vmware.com/software/vmplayer/VMware-player-2.0.2-59824.i386.tar.gz \
http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update114.tar.gz)
md5sums=('0c108db615943d71b78f18826611acce'
'34377ba9387804329c4a94619cc7efac')
build() {
cd $startdir/src/vmware-player-distrib/lib/modules/source
cp $startdir/src/vmware-any-any-update114/vmnet.tar .
# Build and install the kernel modules
for module in vmmon vmblock vmnet; do
tar xf $module.tar
make -C $module-only HEADER_DIR=/lib/modules/$_kernver/build/include VMWARE_VER=VME_V6 || return 1
install -D -m644 $module-only/$module.ko $startdir/pkg/lib/modules/$_kernver/misc/$module.ko
done
# License
mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
install -m644 $startdir/src/vmware-player-distrib/doc/{EULA,open_source_licenses.txt} \
$startdir/pkg/usr/share/licenses/$pkgname
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='$_kernver'/" $startdir/$pkgname.install
}
Just confirming GerBra's method works with my 2.6.23-ARCH kernel on x86_64 (I'm running an AMD processor) using VMWare Player 2.0.0 build 45731.
I switched my pkgbuild to use any-any-114 (and changed the md5sum) and changed the cp line to *.tar, recompiled, and everything is working nicely again.
I had already tweaked the pkgbuild to download VMware-player-2.0.0-45731.x86_64.tar.gz.
As well and any-to-any 114, I also had to update to VMWare Player 2.0.2-59824 to get this to build with kernel 2.6.23.1-4
Addition:
You must also change one line in PKGBUILD:
cp $startdir/src/vmware-any-any-update114/*.tar .
We need all modified modules tar's, not only
the vmnet module.
When updating this to any-to-any 114, then
the modules build also fine with 2.6.23.
Updated to any-any 113
Updated for kernel 2.6.22
Thanks Nicoco, that worked perfectly here.
I made this updated PKGBUILD, using the patch for kernel 2.6.22
You may be interested in cleaning the sh***y code I wrote ;)
# Contributor: Alexander Fehr <pizzapunk@gmail.com>
# Change this to proper kernel release
_kernver=`uname -r`
pkgname=vmware-player-modules
pkgver=2.0.0_45731
pkgrel=2
pkgdesc="Kernel modules for VMware Player"
arch=('i686')
url="http://www.vmware.com/products/player/"
license=('custom')
depends=('kernel26')
conflicts=('vmware-workstation-modules' 'vmware-server-modules')
install=$pkgname.install
source=(http://npw.net/~phbaer/vmware-workstation-6.0_linux-kernel-2.6.22.patch http://download3.vmware.com/software/vmplayer/VMware-player-2.0.0-45731.i386.tar.gz)
md5sums=('dfe1c52058320628030476ced35efc8a' '090b02f6a49dd3a4e8617f68e1d2dc7b')
build() {
cd $startdir/src/vmware-player-distrib/lib/modules/source/
# Build and install the kernel modules
for module in vmnet; do
tar xf $module.tar
#Patch for 2.6.22 kernel
patch -p0 < $startdir/src/vmware-workstation-6.0_linux-kernel-2.6.22.patch
make -C $module-only HEADER_DIR=/lib/modules/$_kernver/build/include || return 1
install -D -m644 $module-only/$module.ko $startdir/pkg/lib/modules/$_kernver/misc/$module.ko
done
for module in vmmon vmblock; do
tar xf $module.tar
make -C $module-only HEADER_DIR=/lib/modules/$_kernver/build/include || return 1
install -D -m644 $module-only/$module.ko $startdir/pkg/lib/modules/$_kernver/misc/$module.ko
done
# License
mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
install -m644 $startdir/src/vmware-player-distrib/doc/{EULA,open_source_licenses.txt} \
$startdir/pkg/usr/share/licenses/$pkgname
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='$_kernver'/" $startdir/$pkgname.install
}
I apologize, any-any patch doesn't work but I have found another patch and it works! http://npw.net/2007/05/17/vmware-workstation-60-on-linux-2622/
Please add newest any-any update http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update110.tar.gz for get it working with kernel 2.6.22
Updated: version 2.0.0
Strange. I re-downloaded the files again, and the next run of makepkg suceeds. The difference is clearly that now the compilation is no longer done using the \"standard build system\" as above, but \"using 2.6.x kernel build system\". So, sorry for bothering you, it works fine now.
What kernel do you use? With the standard arch kernel 2.6.20.10 it compiles just fine.
Hello! I tried to use the latest build (1.04), but compilation fails:
Using standalone build system.
./autoconf/geninclude.c:1:28: error: linux/autoconf.h: No such file or directory
make: Entering directory `/var/abs/local/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only\'
.././autoconf/geninclude.c:1:28: error: linux/autoconf.h: No such file or directory
make[1]: Entering directory `/var/abs/local/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only/driver-2.6.20-ARCH\'
Dependencies for memtrack.c
In file included from .././common/memtrack.c:16:
.././include/driver-config.h:26:2: error: #error \"No Module support in this kernel. Please configure with CONFIG_MODULES\"
In file included from .././include/modulecall.h:22,
from .././common/vmx86.h:18,
from .././common/memtrack.c:28:
.././include/vcpuset.h:74:27: error: asm/bitops.h: No such file or directory
make[1]: *** [memtrack.d] Error 1
make[1]: Leaving directory `/var/abs/local/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only/driver-2.6.20-ARCH\'
make: *** [deps] Error 2
make: Leaving directory `/var/abs/local/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only\'
==> ERROR: Build Failed. Aborting...
Any idea what went wrong?
Updated: version 1.0.4
Updated: package only .ko files
For me it compiles just fine with kernel 2.6.20.7-1. Maybe you can look here: http://bugs.archlinux.org/task/6506
Dont work with kernel 2.6.20.7-1 for me :(.... a lot of errors while makepkg...
In file included from /var/tmp/aurbuild/build/vmware-player-modules.16028/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only/linux/driver.c:11:
./include/linux/kernel.h:117: error: expected declaration specifiers or \'...\' before \'va_list\'
/var/tmp/aurbuild/build/vmware-player-modules.16028/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only/linux/driver.c: In function \'LinuxDriverError\':
#etc....
make[1]: Leaving directory `/usr/src/linux-2.6.20-ARCH\'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/var/tmp/aurbuild/build/vmware-player-modules.16028/vmware-player-modules/src/vmware-player-distrib/lib/modules/source/vmmon-only\'
... :((
Updated: make it work with kernel 2.6.20
For anyone using the 2.6.20 kernel, you need the following patch:
--- compat_kernel.h 2006-11-13 13:06:18.000000000 -0800
+++ ../../vmmon-only.20/include/compat_kernel.h 2006-12-22 07:02:59.000000000 -0800
@@ -18,7 +18,9 @@
* provided by x86-64, arm and other (but not by i386).
*/
#define __NR_compat_exit __NR_exit
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static inline _syscall1(int, compat_exit, int, exit_code);
+#endif
/*
Works fine after that.
Should probably find out version of running kernel automatically via uname.
the patch may not be necessary, i\'ve just changed the _kernver= from 2.6.18-ARCH to 2.6.19-ARCH and the modules build
When is the patch going to be applied to make the modules work with 2.6.19?
New PKGBUILD, version 1.0.3-34682, split from vmware-player
v1.6.0