vmware-modules: forked due to #462666

This commit is contained in:
Anton Bolshakov 2014-08-07 03:19:23 +00:00
parent 878fb7d4b8
commit bc5e94c8a6
21 changed files with 1914 additions and 0 deletions

View file

@ -0,0 +1,701 @@
# ChangeLog for app-emulation/vmware-modules
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/ChangeLog,v 1.122 2014/06/09 15:24:07 dilfridge Exp $
09 Jun 2014; Andreas K. Huettel <dilfridge@gentoo.org>
vmware-modules-271.3.ebuild, vmware-modules-279.1-r1.ebuild,
vmware-modules-279.2.ebuild:
Apply filldir patch really only from 3.11 on, bug 512830
07 Jun 2014; Andreas K. Huettel <dilfridge@gentoo.org>
-files/264-3.2.0.patch, -files/264-d-make-root.patch,
-files/264-makefile-include.patch, -files/264-3.8.0.patch,
-files/264-jobserver.patch, -files/264-makefile-kernel-dir.patch,
-files/264-3.10.0.patch, -files/264-apic.patch, -files/264-netdevice.patch,
-files/264-newline.patch, -files/264-putname.patch:
Clean up
07 Jun 2014; Andreas K. Huettel <dilfridge@gentoo.org>
vmware-modules-271.3.ebuild, vmware-modules-279.1-r1.ebuild,
vmware-modules-279.2.ebuild, +files/271-vfsfollowlink.patch,
+files/279-vfsfollowlink.patch:
Conditionally add patch for kernel 3.12, bug 488072
07 Jun 2014; Andreas K. Huettel <dilfridge@gentoo.org>
vmware-modules-271.3.ebuild, vmware-modules-279.1-r1.ebuild,
vmware-modules-279.2.ebuild:
Apply patch already for 3.10.25, bug 483410
07 Jun 2014; Andreas K. Huettel <dilfridge@gentoo.org>
vmware-modules-271.3.ebuild, vmware-modules-279.1-r1.ebuild,
vmware-modules-279.2.ebuild, +files/271-filldir.patch,
+files/279-filldir.patch:
Conditionally add patch for kernel 3.11, bug 483410
*vmware-modules-279.2 (19 Apr 2014)
19 Apr 2014; Andreas K. Huettel <dilfridge@gentoo.org>
-vmware-modules-279.0.ebuild, -vmware-modules-279.1.ebuild,
+vmware-modules-279.2.ebuild:
Version bump; remove old
*vmware-modules-279.1-r1 (12 Apr 2014)
12 Apr 2014; Andreas K. Huettel <dilfridge@gentoo.org>
+vmware-modules-279.1-r1.ebuild, metadata.xml:
Version bump to make some modules optional, bug 501536
*vmware-modules-271.3 (12 Apr 2014)
12 Apr 2014; Andreas K. Huettel <dilfridge@gentoo.org>
-vmware-modules-264.5.ebuild, -vmware-modules-271.2.ebuild,
+vmware-modules-271.3.ebuild:
Version bump, bug 497816; remove old
27 Dec 2013; Andreas K. Huettel <dilfridge@gentoo.org>
+files/264-newline.patch, vmware-modules-264.5.ebuild:
Add cosmetic patch for bug 439280
23 Nov 2013; Magnus Granberg <zorry@gentoo.org> vmware-modules-279.0.ebuild,
vmware-modules-279.1.ebuild, +files/279-hardened.patch:
Update hardned patch for 279.X #491342
*vmware-modules-279.1 (06 Nov 2013)
06 Nov 2013; Andreas K. Huettel <dilfridge@gentoo.org>
+vmware-modules-279.1.ebuild:
Version bump
02 Nov 2013; Andreas K. Huettel <dilfridge@gentoo.org>
-files/279-3.10.0.patch, vmware-modules-279.0.ebuild:
Re-add keywords after testing
02 Nov 2013; Andreas K. Huettel <dilfridge@gentoo.org>
files/279-vmblock.patch, vmware-modules-279.0.ebuild:
Apply proper patches. Tested with 3.10.7-gentoo-r1.
22 Oct 2013; Andreas K. Huettel <dilfridge@gentoo.org>
-files/238-2.6.39.patch, -files/238-makefile-kernel-dir.patch,
-files/238-3.2.0.patch, -files/238-d-make-root.patch,
-files/238-jobserver.patch, -files/238-makefile-include.patch,
-files/238-netdevice.patch, -files/238-sema.patch,
-files/238-unlocked_ioctl.patch, -vmware-modules-238.6.ebuild:
Drop old
*vmware-modules-279.0 (19 Oct 2013)
19 Oct 2013; Andreas K. Huettel <dilfridge@gentoo.org>
+files/279-3.10.0.patch, +files/279-apic.patch,
+files/279-makefile-include.patch, +files/279-makefile-kernel-dir.patch,
+files/279-netdevice.patch, +files/279-putname.patch,
+files/279-vmblock.patch, +vmware-modules-279.0.ebuild:
Version bump, added without keywords for testing. Bug 484098. Thanks to Billy
DeVincentis for the files.
11 Aug 2013; Andreas K. Huettel <dilfridge@gentoo.org>
+files/264-3.10.0.patch, +files/271-3.10.0.patch,
vmware-modules-264.5.ebuild, vmware-modules-271.2.ebuild:
Add contributed patches for kernel 3.10.0, see bug 470896
23 Jun 2013; Andreas K. Huettel <dilfridge@gentoo.org>
+files/264-3.8.0.patch, -vmware-modules-264.4.ebuild,
vmware-modules-264.5.ebuild:
Remove old; add patch to build 264 with kernel 3.8, bug 458228
21 Jun 2013; Andreas K. Huettel <dilfridge@gentoo.org>
vmware-modules-238.6.ebuild, vmware-modules-264.5.ebuild,
vmware-modules-271.2.ebuild:
Add support for epatch_user, bug 459182
16 Jun 2013; Vadim Kuznetsov vadimk@gentoo.org metadata.xml:
dropped myself as a maintainer. maintainer needed
*vmware-modules-271.2 (10 Mar 2013)
10 Mar 2013; Vadim Kuznetsov vadimk@gentoo.org +vmware-modules-271.2.ebuild,
-vmware-modules-271.1-r1.ebuild, -vmware-modules-271.1.ebuild:
vmware desktop 9.0.2 version bump. Bugs 459566, 458228, 460908.
*vmware-modules-264.5 (07 Jan 2013)
07 Jan 2013; Vadim Kuznetsov vadimk@gentoo.org +files/264-putname.patch,
+vmware-modules-264.5.ebuild:
vmware desktop 8.0.5 version bump
22 Dec 2012; Vadim Kuznetsov vadimk@gentoo.org vmware-modules-271.1-r1.ebuild:
apply patch to kernel gte 3.7.0
*vmware-modules-271.1-r1 (16 Dec 2012)
16 Dec 2012; Vadim Kuznetsov vadimk@gentoo.org +files/271-putname.patch,
+vmware-modules-271.1-r1.ebuild:
putname patch. Bug 447154.
12 Dec 2012; Samuli Suominen <ssuominen@gentoo.org>
vmware-modules-238.6.ebuild, vmware-modules-264.4.ebuild,
vmware-modules-271.1.ebuild:
Use udev.eclass and udev_dorules to install rules into correct directory wrt
#433912 by Martin von Gagern
*vmware-modules-271.1 (09 Dec 2012)
09 Dec 2012; Vadim Kuznetsov vadimk@gentoo.org +files/271-apic.patch,
+files/271-makefile-include.patch, +files/271-makefile-kernel-dir.patch,
+files/271-netdevice.patch, +files/271-vmmon.patch,
+vmware-modules-271.1.ebuild:
vmware desktop 9.0.1 version bump.bugs 432918, 443022
*vmware-modules-238.6 (17 Jun 2012)
*vmware-modules-264.4 (17 Jun 2012)
17 Jun 2012; Vadim Kuznetsov vadimk@gentoo.org +vmware-modules-238.6.ebuild,
+vmware-modules-264.4.ebuild, -vmware-modules-238.5-r1.ebuild,
-vmware-modules-264.3.ebuild:
bump vmware desktop. bug 421269
01 Jun 2012; Zac Medico <zmedico@gentoo.org> vmware-modules-238.5-r1.ebuild,
vmware-modules-264.3.ebuild:
inherit user for enewgroup
24 May 2012; Vadim Kuznetsov vadimk@gentoo.org +files/238-d-make-root.patch,
vmware-modules-238.5-r1.ebuild:
Andrew Dean's patch of 238 vmware modules for 3.4.0 kernel. Bug 411853
22 May 2012; Vadim Kuznetsov vadimk@gentoo.org +files/264-d-make-root.patch,
vmware-modules-264.3.ebuild:
d_make_root patch for 3.4 kernel. Bug 411853.
07 May 2012; Vadim Kuznetsov vadimk@gentoo.org +files/264-apic.patch:
missing patch. Bug 414831
*vmware-modules-264.3 (05 May 2012)
05 May 2012; Vadim Kuznetsov vadimk@gentoo.org +vmware-modules-264.3.ebuild,
-files/264.2-3.2.0.patch, -vmware-modules-264.2-r1.ebuild,
files/264-3.2.0.patch, metadata.xml:
VMware desktop build 703057
*vmware-modules-264.2-r1 (26 Mar 2012)
*vmware-modules-238.5-r1 (26 Mar 2012)
26 Mar 2012; Vadim Kuznetsov vadimk@gentoo.org
+vmware-modules-238.5-r1.ebuild, +vmware-modules-264.2-r1.ebuild,
-vmware-modules-238.5.ebuild, -vmware-modules-264.2.ebuild:
udev rules moved to /lib/udev/rules.d
24 Mar 2012; Vadim Kuznetsov <vadimk@gentoo.org> +files/hardened.patch,
-vmware-modules-264.1.ebuild, vmware-modules-264.2.ebuild:
patch for hardened
12 Mar 2012; Vadim Kuznetsov <vadimk@gentoo.org> +files/264.2-3.2.0.patch:
missing patch
*vmware-modules-264.2 (10 Mar 2012)
10 Mar 2012; Vadim Kuznetsov <vadimk@gentoo.org> +vmware-modules-264.2.ebuild:
vmware desktop version bump
10 Jan 2012; Vadim Kuznetsov <vadimk@gentoo.org> +files/238-3.2.0.patch,
+files/238-netdevice.patch, vmware-modules-238.5.ebuild:
patches for 3.1.x and 3.2 kernels. Bug 395305
06 Jan 2012; Vadim Kuznetsov <vadimk@gentoo.org> files/264-3.2.0.patch:
fixed patch for 3.2.0 kernel . Bug 397733.
06 Jan 2012; Vadim Kuznetsov <vadimk@gentoo.org> +files/264-3.2.0.patch,
vmware-modules-264.1.ebuild:
added patch for 3.2 kernel
05 Dec 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-files/1.0.0.25-autoconf-generated.patch,
-files/1.0.0.25-makefile-include.patch,
-files/1.0.0.25-makefile-kernel-dir.patch, -files/1.0.0.25-sema.patch,
-vmware-modules-1.0.0.25-r3.ebuild, -files/1.0.0.25-sk_sleep.patch,
-vmware-modules-1.0.0.25-r4.ebuild, -files/1.0.0.25-unlocked_ioctl.patch,
-files/sched_h-2.6.32.patch, -files/apic.patch:
removed old version. bug 385727.
*vmware-modules-264.1 (03 Dec 2011)
03 Dec 2011; Vadim Kuznetsov <vadimk@gentoo.org> +files/264-jobserver.patch,
+files/264-makefile-include.patch, +files/264-netdevice.patch,
+vmware-modules-264.1.ebuild, +files/264-makefile-kernel-dir.patch:
vmware desktop version bump
19 Oct 2011; Vadim Kuznetsov <vadimk@gentoo.org> -files/208-sema.patch,
-files/208-sk_sleep.patch, -files/208-unlocked_ioctl.patch,
-vmware-modules-208.2.ebuild:
208 vmware modules removed
17 Oct 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-vmware-modules-238.4.ebuild, -vmware-modules-238.4-r1.ebuild:
cleanup
*vmware-modules-238.5 (08 Oct 2011)
08 Oct 2011; Vadim Kuznetsov <vadimk@gentoo.org>
+vmware-modules-238.5.ebuild:
version bump
*vmware-modules-238.4-r1 (04 Sep 2011)
04 Sep 2011; Vadim Kuznetsov <vadimk@gentoo.org> +files/238-2.6.39.patch,
+vmware-modules-238.4-r1.ebuild:
Bug 368139
18 Jul 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-vmware-modules-238.3-r8.ebuild:
bug 374599
*vmware-modules-238.4 (15 Apr 2011)
15 Apr 2011; Vadim Kuznetsov <vadimk@gentoo.org>
+vmware-modules-238.4.ebuild:
version bump
09 Apr 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-files/1.0.0.24-autoconf-generated.patch,
-files/1.0.0.24-kernel-2.6.29.patch, -files/1.0.0.24-kernel-2.6.30.patch,
-files/1.0.0.24-makefile-kernel-dir.patch, -files/1.0.0.24-sema.patch,
-files/1.0.0.24-sk_sleep.patch, -files/1.0.0.24-vmnet-2.6.31.patch,
-files/1.0.0.24-unlocked_ioctl.patch, -vmware-modules-1.0.0.24-r3.ebuild:
1.0.0.24 is replaced by 208.2
30 Mar 2011; Vadim Kuznetsov <vadimk@gentoo.org> files/208-sema.patch:
corrected sema patch
*vmware-modules-208.2 (27 Mar 2011)
27 Mar 2011; Vadim Kuznetsov <vadimk@gentoo.org> +files/208-sema.patch,
+files/208-sk_sleep.patch, +files/208-unlocked_ioctl.patch,
+vmware-modules-208.2.ebuild:
vmware kernel modules for vmware server 2 host
*vmware-modules-238.3-r8 (27 Mar 2011)
27 Mar 2011; Vadim Kuznetsov <vadimk@gentoo.org> +files/238-jobserver.patch,
+files/238-makefile-include.patch, +files/238-makefile-kernel-dir.patch,
+files/238-sema.patch, +files/238-unlocked_ioctl.patch,
+vmware-modules-238.3-r8.ebuild:
vmware kernel modules of the vmware player 3.1.3 or workstation 7.1.3 host
*vmware-modules-1.0.0.25-r4 (18 Mar 2011)
18 Mar 2011; Vadim Kuznetsov <vadimk@gentoo.org>
+vmware-modules-1.0.0.25-r4.ebuild:
BKL check, updated udev rules, better sed
16 Mar 2011; Vadim Kuznetsov <vadimk@gentoo.org>
vmware-modules-1.0.0.24-r3.ebuild, vmware-modules-1.0.0.25-r3.ebuild:
patched for 2.6.38
16 Mar 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-vmware-modules-1.0.0.25-r1.ebuild,
cleanup
16 Mar 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-files/patches/000_all_makefile-include-directory.patch,
-files/patches/020_all_epoll-def-warnings.patch,
-vmware-modules-1.0.0.15-r2.ebuild,
-files/patches/vmmon/035_all_kernel-2.6.25.patch,
-files/patches/vmmon/040_all_kernel-2.6.27.patch,
-files/patches/vmnet/021_all_wireless_fix.patch,
-files/patches/vmblock/010_all_kernel-2.6.25.patch,
-files/patches/vmnet/025_all_kernel-2.6.25.patch,
-files/patches/vmnet/030_all_kernel-2.6.27.patch,
-files/patches/vmmon/030_all_fix-linux-headers.patch:
Bug 354383
17 Feb 2011; Thomas Kahle <tomka@gentoo.org>
vmware-modules-1.0.0.25-r3.ebuild:
x86 stable per bug 352421
11 Feb 2011; Vadim Kuznetsov <vadimk@gentoo.org>
vmware-modules-1.0.0.15-r2.ebuild:
back to testing
11 Feb 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-vmware-modules-1.0.0.24-r1.ebuild, -vmware-modules-1.0.0.24-r2.ebuild,
-vmware-modules-1.0.0.25-r2.ebuild:
clean up
11 Feb 2011; Vadim Kuznetsov <vadimk@gentoo.org>
-vmware-modules-1.0.0.15-r1.ebuild:
clean up
25 Jan 2011; Markos Chandras <hwoarang@gentoo.org>
vmware-modules-1.0.0.25-r3.ebuild:
Stable on amd64 wrt bug #352421
*vmware-modules-1.0.0.24-r3 (15 Jan 2011)
15 Jan 2011; Vadim Kuznetsov <vadimk@gentoo.org> +files/1.0.0.24-sema.patch,
+vmware-modules-1.0.0.24-r3.ebuild:
Bugs 345145, 351592.
Thanks Mateusz Dziadko, c1pher.
*vmware-modules-1.0.0.25-r3 (13 Jan 2011)
13 Jan 2011; Vadim Kuznetsov <vadimk@gentoo.org> +files/1.0.0.25-sema.patch,
+vmware-modules-1.0.0.25-r3.ebuild:
Bug 345145 and 349649 and 351592
Thanks to Mateusz Dziadko, Dane Smith and bugs et al.
*vmware-modules-1.0.0.24-r2 (21 Nov 2010)
21 Nov 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+files/1.0.0.24-unlocked_ioctl.patch, +vmware-modules-1.0.0.24-r2.ebuild,
vmware-modules-1.0.0.25-r2.ebuild:
unlocked_ioctl patch
*vmware-modules-1.0.0.25-r2 (21 Nov 2010)
21 Nov 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+files/1.0.0.25-unlocked_ioctl.patch, +vmware-modules-1.0.0.25-r2.ebuild:
updated unlocked_ioctl patch
21 Nov 2010; Vadim Kuznetsov <vadimk@gentoo.org>
-files/1.0.0.26-ioctl-2.6.36.patch, -files/1.0.0.26-iommu_map.patch,
-files/1.0.0.26-makefile-include.patch,
-files/1.0.0.26-makefile-kernel-dir.patch, -files/1.0.0.26-sk_sleep.patch,
-vmware-modules-1.0.0.26.ebuild:
replaced by vmware-modules-235 (in overlay)
05 Nov 2010; Fabio Erculiani <lxnay@gentoo.org>
vmware-modules-1.0.0.25-r1.ebuild, vmware-modules-1.0.0.26.ebuild,
+files/1.0.0.26-ioctl-2.6.36.patch:
add 2.6.36 Linux kernel support
04 Aug 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+files/1.0.0.24-sk_sleep.patch, vmware-modules-1.0.0.24-r1.ebuild,
+files/1.0.0.25-sk_sleep.patch, vmware-modules-1.0.0.25-r1.ebuild,
+files/1.0.0.26-iommu_map.patch, vmware-modules-1.0.0.26.ebuild,
+files/1.0.0.26-sk_sleep.patch:
patches for 2.6.35 kernel. Bug 322245, Bug 330019
03 May 2010; Vadim Kuznetsov <vadimk@gentoo.org>
vmware-modules-1.0.0.25-r1.ebuild, vmware-modules-1.0.0.26.ebuild,
+files/apic.patch:
Bugs 274529, 317583
Thanks to Mikhail Zolotaryov for the patch.
*vmware-modules-1.0.0.26 (28 Feb 2010)
28 Feb 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+files/1.0.0.26-makefile-include.patch, -vmware-modules-1.0.0.25.ebuild,
+files/1.0.0.26-makefile-kernel-dir.patch,
+vmware-modules-1.0.0.26.ebuild:
vmware-modules for VMware Workstation 7.0.x and Player 3.0.x
26 Feb 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+files/1.0.0.24-autoconf-generated.patch,
vmware-modules-1.0.0.24-r1.ebuild,
+files/1.0.0.25-autoconf-generated.patch,
vmware-modules-1.0.0.25-r1.ebuild:
Bug 301320
*vmware-modules-1.0.0.25-r1 (13 Feb 2010)
13 Feb 2010; Patrick Lauer <patrick@gentoo.org>
+vmware-modules-1.0.0.25-r1.ebuild:
Small fix for header changes in 2.6.33 and later
02 Jan 2010; Vadim Kuznetsov <vadimk@gentoo.org>
-vmware-modules-1.0.0.24.ebuild, vmware-modules-1.0.0.24-r1.ebuild,
vmware-modules-1.0.0.25.ebuild, +files/sched_h-2.6.32.patch:
Bug 295955
30 Oct 2009; Vadim Kuznetsov vadimk@gentoo.org
-files/1.0.0.23-makefile-kernel-dir.patch,
-vmware-modules-1.0.0.23.ebuild, -vmware-modules-1.0.0.23-r1.ebuild,
-files/1.0.0.23-r1-kernel-2.6.29.patch:
cleanup
25 Sep 2009; Markus Meier <maekke@gentoo.org>
vmware-modules-1.0.0.25.ebuild:
amd64 stable, bug #282213
*vmware-modules-1.0.0.24-r1 (22 Sep 2009)
22 Sep 2009; Vadim Kuznetsov vadimk@gentoo.org
+vmware-modules-1.0.0.24-r1.ebuild, +files/1.0.0.24-vmnet-2.6.31.patch:
vmnet patch for 2.6.31 kernel. Bug 274173, comment 15.
02 Sep 2009; Vadim Kuznetsov vadimk@gentoo.org
-files/patches/vmmon/050_all_kernel-2.6.29.patch,
-files/patches/vmnet/040_all_kernel-2.6.29.patch:
revert previous commit. Bug 273173
28 Aug 2009; Vadim Kuznetsov vadimk@gentoo.org
+files/patches/vmmon/050_all_kernel-2.6.29.patch,
+files/patches/vmnet/040_all_kernel-2.6.29.patch:
bugs 264098, 273173. 1.0.0.15-r2 patches suggested in 272173
25 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
vmware-modules-1.0.0.25.ebuild:
stable x86, security bug 282213
*vmware-modules-1.0.0.25 (22 Aug 2009)
22 Aug 2009; Vadim Kuznetsov vadimk@gentoo.org
+files/1.0.0.25-makefile-include.patch, +vmware-modules-1.0.0.25.ebuild,
+files/1.0.0.25-makefile-kernel-dir.patch:
Version bump. modules for vmware-{workstation,player}-{6.2}.5.3
03 Jul 2009; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Fix e-mail address.
*vmware-modules-1.0.0.24 (14 Jun 2009)
14 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
+vmware-modules-1.0.0.24.ebuild, +files/1.0.0.24-kernel-2.6.29.patch,
+files/1.0.0.24-kernel-2.6.30.patch,
+files/1.0.0.24-makefile-kernel-dir.patch, metadata.xml:
Bugs 268099, 270150, 273750. New ebuild without vmware-mod eclass.
*vmware-modules-1.0.0.23-r1 (16 May 2009)
16 May 2009; Mike Auty <ikelos@gentoo.org>
+vmware-modules-1.0.0.23-r1.ebuild,
+files/1.0.0.23-r1-kernel-2.6.29.patch:
Version bump vmware-modules for 2.6.29 support.
22 Feb 2009; Mike Auty <ikelos@gentoo.org>
-files/1.0.0.20-vmblock-2.6.26-2.patch,
-files/1.0.0.20-makefile-kernel-dir.patch,
-files/1.0.0.20-vmblock-2.6.26-1.patch,
-files/1.0.0.20-vmmon-2.6.26.patch, -files/1.0.0.20-vmnet-2.6.26.patch,
-files/1.0.0.22-makefile-kernel-dir.patch,
-vmware-modules-1.0.0.20.ebuild, -vmware-modules-1.0.0.22.ebuild:
Clear out old versions of vmware-modules that are no longer needed due to
the removal of insecure versions of vmware products (bug 245941).
14 Jan 2009; Mike Auty <ikelos@gentoo.org>
files/patches/vmnet/030_all_kernel-2.6.27.patch:
Third time lucky, more patches for < 2.6.26 kernels.
14 Jan 2009; Mike Auty <ikelos@gentoo.org>
files/patches/vmnet/030_all_kernel-2.6.27.patch:
Add patch to try and fix bug 254768.
12 Jan 2009; Mike Auty <ikelos@gentoo.org> Manifest:
Fix up vmware-modules-1.0.0.15 patches for kernels older than 2.6.27.
12 Jan 2009; Markus Meier <maekke@gentoo.org>
vmware-modules-1.0.0.23.ebuild:
amd64/x86 stable, bug #245941
11 Jan 2009; Markus Meier <maekke@gentoo.org>
vmware-modules-1.0.0.15-r2.ebuild:
amd64/x86 stable, bug #236167
10 Jan 2009; Mike Auty <ikelos@gentoo.org>
-files/1.0.0.17-update115-nasty-hack.patch,
-vmware-modules-1.0.0.16-r1.ebuild, -vmware-modules-1.0.0.17.ebuild,
-vmware-modules-1.0.0.17-r1.ebuild:
Clear out old modules for products no longer in the tree.
*vmware-modules-1.0.0.15-r2 (10 Jan 2009)
10 Jan 2009; Mike Auty <ikelos@gentoo.org>
+files/patches/vmmon/040_all_kernel-2.6.27.patch,
+files/patches/vmnet/030_all_kernel-2.6.27.patch,
+vmware-modules-1.0.0.15-r2.ebuild:
Add in vmware-modules-1.0.0.15-r2. Should compile on kernels up to and
including 2.6.28, big thanks go to Tim Yamin for help with the patches.
*vmware-modules-1.0.0.23 (09 Nov 2008)
09 Nov 2008; Mike Auty <ikelos@gentoo.org>
+files/1.0.0.23-makefile-kernel-dir.patch, vmware-modules-1.0.0.20.ebuild,
vmware-modules-1.0.0.22.ebuild, +vmware-modules-1.0.0.23.ebuild:
Add in vmware-modules-1.0.0.23 for vmware-workstation-6.5 and
vmware-player-2.5.
*vmware-modules-1.0.0.22 (30 Sep 2008)
30 Sep 2008; Mike Auty <ikelos@gentoo.org>
+files/1.0.0.20-vmblock-2.6.26-1.patch,
+files/1.0.0.20-vmblock-2.6.26-2.patch,
+files/1.0.0.20-vmmon-2.6.26.patch,
+files/1.0.0.22-makefile-kernel-dir.patch,
+files/1.0.0.20-vmnet-2.6.26.patch, -vmware-modules-1.0.0.11-r1.ebuild,
-vmware-modules-1.0.0.13-r1.ebuild, vmware-modules-1.0.0.20.ebuild,
+vmware-modules-1.0.0.22.ebuild:
Remove old unused versions, fix up 1.0.0.20 bugs and put in a new version
for workstation 6.0.5 and player 2.0.5.
18 Jun 2008; Mike Auty <ikelos@gentoo.org>
+files/1.0.0.20-makefile-kernel-dir.patch, vmware-modules-1.0.0.20.ebuild:
Fix kernel build directories (bug 227941).
*vmware-modules-1.0.0.20 (14 Jun 2008)
14 Jun 2008; Mike Auty <ikelos@gentoo.org> +vmware-modules-1.0.0.20.ebuild:
Add in vmware-modules-1.0.0.20 for workstation 6.0.4 and player 2.0.4.
26 Apr 2008; Mike Auty <ikelos@gentoo.org>
+files/patches/vmblock/010_all_kernel-2.6.25.patch,
+files/patches/vmmon/035_all_kernel-2.6.25.patch,
+files/patches/vmnet/025_all_kernel-2.6.25.patch:
Add patches for -r1 ebuilds to ensure they work on 2.6.25 and older
kernels.
31 Jan 2008; Mike Auty <ikelos@gentoo.org> ChangeLog:
Re-sign digestless manifest.
*vmware-modules-1.0.0.17-r1 (26 Jan 2008)
26 Jan 2008; Mike Auty <ikelos@gentoo.org>
+files/1.0.0.17-update115-nasty-hack.patch,
+files/patches/vmmon/030_all_fix-linux-headers.patch,
+files/patches/vmnet/021_all_wireless_fix.patch,
+vmware-modules-1.0.0.17-r1.ebuild:
Bump vmware-modules to any-any115, and apply fixes for wireless and 2.6.24.
25 Nov 2007; Mike Auty <ikelos@gentoo.org>
-files/1.0.0.16-kernel-2.6.22.patch, -vmware-modules-1.0.0.16.ebuild,
vmware-modules-1.0.0.17.ebuild:
Bump to vmware-any-any-update114. Also update 1.0.0.17 to use the latest
vmware-player package.
14 Oct 2007; Mike Auty <ikelos@gentoo.org>
vmware-modules-1.0.0.16-r1.ebuild:
Add vmblock module building to vmware-modules-1.0.0.16-r1
*vmware-modules-1.0.0.17 (14 Oct 2007)
14 Oct 2007; Mike Auty <ikelos@gentoo.org> vmware-modules-1.0.0.16.ebuild,
+vmware-modules-1.0.0.17.ebuild:
Add the latest modules for vmware-workstation-6.0.1
*vmware-modules-1.0.0.16-r1 (16 Sep 2007)
16 Sep 2007; Mike Auty <ikelos@gentoo.org>
-files/1.0.0.15-gcc4-ignore-pedantic-errors.patch,
+vmware-modules-1.0.0.16-r1.ebuild:
Adding in vmware-modules-1.0.0.16-r1, now that vmware-any-any-update can
handle workstation 6. Also cleaned out an old patch for 1.0.0.15.
28 Jul 2007; Mike Auty <ikelos@gentoo.org>
+files/1.0.0.16-kernel-2.6.22.patch, vmware-modules-1.0.0.16.ebuild:
Redigest for vmware-any-any-update112.
12 Jul 2007; Chris Gianelloni <wolf31o2@gentoo.org>
-vmware-modules-1.0.0.11.ebuild, vmware-modules-1.0.0.11-r1.ebuild,
-vmware-modules-1.0.0.13.ebuild, vmware-modules-1.0.0.13-r1.ebuild:
Marking 1.0.0.11-r1 and 1.0.0.13-r1 stable on amd64/x86 since the changes
from the previous ebuilds is just the placement of a variable, and the
current stable versions didn't work properly.
*vmware-modules-1.0.0.16 (24 Jun 2007)
24 Jun 2007; Mike Auty <ikelos@gentoo.org>
+vmware-modules-1.0.0.16.ebuild:
Add in the latest modules for vmware-player-2 and vmware-workstation-6.
28 Apr 2007; Mike Auty <ikelos@gentoo.org>
-files/patches/010_all_makefile-vm-build-no-unused-warnings.patch:
Remove unnecessary patch, that's now part of any-any109.
28 Apr 2007; Mike Auty <ikelos@gentoo.org>
files/digest-vmware-modules-1.0.0.11,
files/digest-vmware-modules-1.0.0.11-r1,
files/digest-vmware-modules-1.0.0.13,
files/digest-vmware-modules-1.0.0.13-r1,
files/digest-vmware-modules-1.0.0.15-r1, Manifest:
Redigest for vmware-any-any109.
04 Mar 2007; Mike Auty <ikelos@gentoo.org>
-vmware-modules-1.0.0.15.ebuild:
Bump vmware-any-any to 108. Remove old vmware-server module ebuild.
05 Feb 2007; Mike Auty <ikelos@gentoo.org>
vmware-modules-1.0.0.15-r1.ebuild:
Vmware-any-any bump to support 2.6.20 and fix a copyright date.
17 Dec 2006; Mike Frysinger <vapier@gentoo.org>
+files/patches/010_all_makefile-vm-build-no-unused-warnings.patch,
+files/patches/020_all_epoll-def-warnings.patch:
Fix building with newer kernels #146004.
01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
vmware-modules-1.0.0.15-r1.ebuild:
Stable on amd64/x86 for vmware-workstation-5.5.3.
01 Dec 2006; Mike Auty <ikelos@gentoo.org>
files/digest-vmware-modules-1.0.0.11,
files/digest-vmware-modules-1.0.0.11-r1,
files/digest-vmware-modules-1.0.0.13,
files/digest-vmware-modules-1.0.0.13-r1,
files/digest-vmware-modules-1.0.0.15-r1, Manifest:
Redigest for vmware-any-any105.
30 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
-vmware-modules-1.0.0.8.ebuild:
Removed verion 0.0.8 since we have removed the only VMware product (VMware
Workstation 3.2.1) that used it.
*vmware-modules-1.0.0.15-r1 (17 Oct 2006)
*vmware-modules-1.0.0.13-r1 (17 Oct 2006)
*vmware-modules-1.0.0.11-r1 (17 Oct 2006)
17 Oct 2006; Mike Auty <ikelos@gentoo.org>
+vmware-modules-1.0.0.11-r1.ebuild, +vmware-modules-1.0.0.13-r1.ebuild,
+vmware-modules-1.0.0.15-r1.ebuild:
Version bump for all vmware-modules to fix for bug 149679, thanks to Jason
Urbank.
22 Sep 2006; Mike Auty <ikelos@gentoo.org>
files/patches/000_all_makefile-include-directory.patch:
Updated patch fixing bug #148613, thanks to Alon Bar-Lev.
13 Sep 2006; Mike Auty <ikelos@gentoo.org>
+files/1.0.0.15-gcc4-ignore-pedantic-errors.patch,
vmware-modules-1.0.0.15.ebuild:
Add a patch to fix compilation against kernels <= 2.6.16 with gcc-4.1.
Closes bug #146004.
28 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org>
vmware-modules-1.0.0.8.ebuild:
Stable on x86 for vmware-workstation.
27 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org>
vmware-modules-1.0.0.11.ebuild:
Stable on amd64 and x86 for vmware-workstation.
25 Aug 2006; Mike Auty <ikelos@gentoo.org>
files/digest-vmware-modules-1.0.0.8, files/digest-vmware-modules-1.0.0.11,
files/digest-vmware-modules-1.0.0.13, Manifest:
Redigested for vmware-any-any-update104.
22 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org>
vmware-modules-1.0.0.13.ebuild:
Stable on amd64 and x86 for vmware-workstation and vmware-player.
19 Aug 2006; Mike Auty <ikelos@gentoo.org> vmware-modules-1.0.0.15.ebuild:
Update vmware-modules to use the latest vmware-server package.
08 Aug 2006; Mike Auty <ikelos@gentoo.org>
files/digest-vmware-modules-1.0.0.8, files/digest-vmware-modules-1.0.0.11,
files/digest-vmware-modules-1.0.0.13, Manifest:
Make use of vmware-any-any103, which fixes kernel problems on 2.6.18, and
also two patches for problems with the kernel build system, thanks to Georgi
Georgiev <chutz (at) gg3.net> and Alon Bar-Lev <alon.barlev (at) gmail.com>.
Closes bug #142855.
*vmware-modules-1.0.0.13 (31 Jul 2006)
*vmware-modules-1.0.0.11 (31 Jul 2006)
*vmware-modules-1.0.0.8 (31 Jul 2006)
31 Jul 2006; Mike Auty <ikelos@gentoo.org> +vmware-modules-1.0.0.8.ebuild,
+vmware-modules-1.0.0.11.ebuild, +vmware-modules-1.0.0.13.ebuild,
vmware-modules-1.0.0.15.ebuild:
Add in vmware-modules for workstation and player products.
*vmware-modules-1.0.0.15 (31 Jul 2006)
31 Jul 2006; Mike Auty <ikelos@gentoo.org>
+files/patches/000_all_makefile-include-directory.patch, +metadata.xml,
+vmware-modules-1.0.0.15.ebuild:
Initial commit of vmware-modules, as used by several vmware-packages.

View file

@ -0,0 +1,20 @@
AUX 279-3.15-lindrv-ioctrl.patch 478 SHA256 425a7c33cc34746f1b0cdae632e5635e1b46a9f22092bb297c71109df89e7607 SHA512 f69c79fe57aa69a985cb2c17b6f160b629b3101a644116d3bb690c711f8e5eead2738fc5a4e4d7efbf67cbb6c0958a3d411581075a30092a479c6ad9e772441e WHIRLPOOL 880ea48f658bf93379a3ac8aa3a229a36fc9b88de03e0dcd061ac5d0c9ce2e4c84c453ec77dfff0a4d8f16fec919aee4bddb7e7defd11dc02044d14388136401
AUX 279-3.15-vfsreadlink.patch 383 SHA256 8334f5b7ed420344ee1797e4699fa3a858027aafe2be24d1618b9850d7f99bc0 SHA512 a2ccb4e11c3898b1a3d2950b76bd90108632dbb2528e70a9cdea0d777e8b0e8f91af3631a7e4f1a8b90fc2e802f970bf0f5c16c07bf5599a4ee0400554f15565 WHIRLPOOL b154ef49ed2c2086c3f811f4d106c0863d02dd1a54cad2f736217eff96e82abf352090ca3d6603d3c6fae59b4a35664e5fb167baf8450f6a021ae456b0aedffa
AUX 279-3.15-vsock2.patch 1843 SHA256 3456b28abb8042de97d3e427bcb117fb831ad5a3d4a533b92550b56a126c9be1 SHA512 cd8215462f8cd6c15236e6d97f818e2b25d3f9e1c22b4b26b389fc6ccb11d0feaeca921b260b6de10cd25d63da1c5793d2b4855ba382f3e83c47fbb71e74b6ec WHIRLPOOL fc3bb8de960024faa070dfcd0c08d2472529d286f6e426de119734f4fbccf2c086f4930cb5f5bbe23116a2812cc3d89122fb089a9c7aeb53ab9c8dcd8a53d76a
AUX 279-apic.patch 302 SHA256 60e7df881281fedcabe9ea4427b324b5e1142a1a2b6ab5236ac0843bd1051048 SHA512 003240043e5875d8c6425c146e708eb3c3d8be7fa48a2ac42b3071f00dafdbd51f7796d6f884298b135adccaf8a3eac32fd82b34a436a724da125dac5f6261d7 WHIRLPOOL 4707d0ddd532d5ec27ee2ba3d0fb25c1972bbc9f958b4b89f2f5cceffdf955ba88cd1be0cde046aa5fa688d52faeab5ccf3f03bbccb3e9b088abc37ad579e8e0
AUX 279-filldir.patch 2485 SHA256 539e8940b47cb7a5f39ab2ba6f18ceb290a2627c81bd6daead6e5850aec02a63 SHA512 e5f85031f459a79a0f64b15224ae8c1ef23892ef159a37955b9c2a2b13ab6e892325a5aeedd4fd2969da3b187cedcaea8fc41540638d02cf56dce2d3e9194937 WHIRLPOOL a455300e72624e4f9c8d3dc79fa5c3ab1b288e79a04483503006a61d44bc83bf14faf0bfa753f82a70dbd23f870b2f6bfe1b06d23792eb1522a7265799ce03eb
AUX 279-getname.patch 534 SHA256 3fab9c78fea98bfb1c3fca47fd22ed93dacd04d1d9fd6b1de3b164f58201292e SHA512 ae41bad1322ba26d4d9a3c87bf4552a52ca350c5c6530c06b7ea7878cb7fa2cbfc5a51a1acacafe684b54cd0bc7fa33a38bb95b52a307c034b6083e4050beab6 WHIRLPOOL 50b4d6494081b76130f362590d67502ae4b13610855d90fafc4d0b88f2996eea6ff782456b9f2f0be2a34b89b3b461afb6fb8573ee0393c1587dc49bad1acbda
AUX 279-hardened.patch 3334 SHA256 198c182b626aeeb0c6e6558e6982b6d9cd2f11bf03515f72972842f5c773e52c SHA512 eb6829742c44677c6d475894a2a996a87feb1c2ab9afda6a045333fc5befb1c2551ea17ec33e665542d322fb43195b6cfcd576665a73cfc82d66a98579521cf3 WHIRLPOOL d8fde574d68978a4850f06469e5a6dfe21acd0a68b744f3f37ffeb98d5f8786eedeb9fb435e1b141044a23fb142ae44879ee09a45229f2be1c84ef744c15cb7a
AUX 279-inode_patch.patch 604 SHA256 650b7c1d22ecdefcb35145d4b8b08f5b21d1194450c02b6b9742083615697e1e SHA512 e031b69d7886c233b139c04910c7258d0d875ca850f64c81afc80f81465a8a2ce0c2763ddb4e6923bad90e9142934b5e6c6db4a054cd81acaff12281e589a949 WHIRLPOOL fe95759620f63ab6e12b775dbb04c3daf5d23b842191e0354992c63a009bbda2cd618760fbb9a43183ad40fb565120556e53a408ad306ba32133b84eb3476c45
AUX 279-makefile-include.patch 2501 SHA256 208121855fe18ecb279ff40f2833463559363461c2170d32c17040211a01f169 SHA512 c498c025c7eb025f6554cee683242dd73e4a284e4b28c95b75339f4f4a912a156acc1845881fbd78bf399c2092af7413f5d6c4782cd066527ea275518b411c1d WHIRLPOOL e03a6d7139ab7b309e0ca1527cb8b52a8f84f5f5d997a510305d2a6ccdd39f33b18c7276df8ac78d92d2a17a66236f582baaa5e374069d3912090544908a0338
AUX 279-makefile-kernel-dir.patch 2153 SHA256 d76b1028d21b804836e36478d243cd7914435a34f3fe014058e0a9cc7a020653 SHA512 f18339dc8ac4c864b0c2fb234ad2db8f4638a5cd28e8fd11b5593c82107925b41b42e0d0acac52232a373780d79a3e397f70886534cdf889055e86cfda718f62 WHIRLPOOL 70c869bf4efab6843856addd0c5f5a295ed2fe38f9fc2a8ab2ca55523cd39cb92018d6bd0dac75658fa0f5260962c98f0bbd001593f3f11c2d204c693061c5b6
AUX 279-netdevice.patch 833 SHA256 8f17ce379abda45a8f94e1dcd6e43367273f97f76edd41f9941beb3b1730a751 SHA512 b4ec7c1694968a1843f10e8bfe0dbfdc99bd3b5fc1391456d91a3648b848b82df681a0748d967afa19e728c4d19b79b6a3cb9fd3e15a52a5cab048a6ac9b06a9 WHIRLPOOL b0cabe2ec1b8ca52d427c02593d6057c98d4ed00c578d006de65460138c37a5be76a7938d85f5a35eb6f49ee5e34065ce62b60a51b0ccf021639a59b27aeac8a
AUX 279-putname.patch 394 SHA256 b8103d3c72c24696e974e49dcdcdf2d5a2b2c2fdd5f6ca050842b840e906ba77 SHA512 86a0a0ec3ff225940190056e85d498fd7eb260bcc52882fea8921398f572bc46f56c3f2941d3f3d1587a07bc72c8885cbddacf632d2b5fed7d8c9d284399d6d8 WHIRLPOOL e1e8afcafe00131fd6d90b61e5d911da69d7c26b7fd19be085eb5cfd23c2ab19784ae5ddf18928f9cc4a178d87c6d51e8de27dfab8507e2d57fc18868fde9f45
AUX 279-vfsfollowlink.patch 1219 SHA256 b195f6492a172f682d55fb506ba02c473fd924bb47dc0d1359dd5de163b4da22 SHA512 b675f68175be0b7003d2f80c54dce05a064f8d5bd8744d40571d3d1e0153c01f909e37e0403e53f23a6d61383a9b054c40a2a9ffa95dd765eeffb0c7e739ff1d WHIRLPOOL 3e108ee29c2050029c6079f652e2670529a9f6b220524db214c7dadba3dcaef8fa1ab261f0e10ffa7506456d9f3cccc954bf6a82960e78ebd120c1eb2aac68e8
AUX 279-vmblock.patch 1041 SHA256 217d27619ac782711686cffee44fbc4bbb40eb0657f335357ad1b0d064f30a35 SHA512 e8e565b677110090cb5bdb7c18d3e97c31049d846b82ee0406aa27dbfa9af8afc39512f1314d49edd6108ec576f3cbc565921de8dfdaaefe2822029ef98c303c WHIRLPOOL 769d0cffcb186d6110de049db963e20e049ef11d92b872c1a6ecfe262acad6c17f456376d219ce01e22839ddcb6a21a2d3e995d797f4c962a0838318dc6f56f9
AUX 279-vmware-3.14.patch 3825 SHA256 0c65febe10f2758969f4b8fd5f9dbeab46bd5749d6dfe406deaf9838a984d648 SHA512 d7c61cc508f4b35859e0bd7fd47ea60e7aa899382eaff62ada63d2d760ea6463f65fdbc0568d0a100977d53b09c4a27923b158971a11a35d450f123e63ce9abb WHIRLPOOL 70a80cad1fac4fad6c50a0c0ce4a2089fc72bb1b91adb4ed60938fcf4637d2280a6490d24fa76a090931ba3ee54cc7de9d517f49ee9ea1bea6ca33151a277af8
AUX 279-vmware-vsock-3.15.patch 1070 SHA256 2c777b034fb594e3e4f8c8408483bc89b2f83765f2509b1b1fbfae83ca0fe52b SHA512 bf2d8248db439a3032813d5035b31f5e7f8e29a329f0b27b50533a3ef41aea2fd530b4abcd064150cb611114426b86f166cbcdbb23ce4bab9c1848e7ea44d5f2 WHIRLPOOL 3f8517fc51e9259f674a55556c9773be4847f907a4ca89ff86b31b7e7df405babe06037083386ba447ad7dd93365de44afff8e4b0a17ba51efd7cfbcf65ac4ed
AUX VMWare-Arch-WiKi.txt 13120 SHA256 6388d2317deef96c813d6a53539c96eb8a1f1460e1b8be89ba554c18c66a98c5 SHA512 cda0d932a1115a7a6c5437c52efb11637812d0806c5fe38617020b73993f166390c5e54078c4c3e4c2957adda687d6448dc6e179e6b2480a22ebdeaa39b595bd WHIRLPOOL a949d706d32537da0451fc78ae4035980c99b175513d9fda775fa7c76f431f155d1b9369568a1a3c6b700d0d9e33132b540256306c580436a47808642a010bd8
EBUILD vmware-modules-279.2-r1.ebuild 3329 SHA256 6b8e7913a0a06c3682c1eaffa72685c8ea4823a89fd5b6eb04863d15870cd3df SHA512 6bddf620753e74eb1b6d37f67b33192858148d66113925f52a4b36b8ab9fac2bfb0bb31f4dada0f9d6d695f863a6bae016621070a0dc60e8e43fbe8dc2fab038 WHIRLPOOL 84d722e04c8f9992811991120f7691e8d2cce92df2084154ac4d2275229a35d7efda29d6db77c8aa4043062a2f65e512492cc0eaf49a7f48142fc45db3fa3e1f
MISC ChangeLog 27008 SHA256 c801550eb2d8a030b56e1f9ae168696f2341cdcc3e5db9b36d3abd8b03e391e7 SHA512 4cd7584abf3f5fef8d8a5c0a83c6b598c3371de1cdecc8fb7e5d08f4716b5e8d25aa012884faa028023a94d425940cc9da6241b1d50416db810e53fdde7cd33a WHIRLPOOL 32b5696cf9b0a6113b896b4b1b0c03d9ad67510180dcfee7a4871bd1f8e6c7f17b6fbbf25fb8313dc35ff980504feb3127e83c8fe3b17a0fe06951f377afb6f4
MISC metadata.xml 626 SHA256 df85fe94586e898742dda5a30bf95be1c66bded72b9b679b4bda9fb3113bb94a SHA512 5c16977fa1e95f123891324b24d20161bfbfa5f4a38371374290e635bba33cbbc933761f44b826503c37e4bb2295c4026356eddc6aef091c07dc17f773f538ec WHIRLPOOL f83d377fa941fbcfe25dfc83ad276f55782c1e9bdff6dc7ae147be667d7129ae55dae6c19c18544dc27123977d3aa6273f185b4cced70ab841e87a04a4fcae82

View file

@ -0,0 +1,11 @@
--- vmci-only/linux/driver.c.orig 2014-04-15 01:41:40.000000000 +0400
+++ vmci-only/linux/driver.c 2014-08-06 14:57:29.000000000 +0400
@@ -737,7 +737,7 @@
goto init_release;
}
- user = current_uid();
+ user = current_uid().val;
retval = VMCIContext_InitContext(initBlock.cid, initBlock.flags,
0 /* Unused */, vmciLinux->userVersion,
&user, &vmciLinux->context);

View file

@ -0,0 +1,12 @@
--- vmblock-only/linux/inode.c.orig 2014-08-06 13:28:35.000000000 +0400
+++ vmblock-only/linux/inode.c 2014-08-06 14:05:54.000000000 +0400
@@ -177,7 +177,11 @@
return -EINVAL;
}
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 14, 99)
return vfs_readlink(dentry, buffer, buflen, iinfo->name);
+#else
+ return readlink_copy(buffer, buflen, iinfo->name);
+#endif
}

View file

@ -0,0 +1,48 @@
diff -rupN vsock-only/linux/af_vsock.c vsock-only-mod/linux/af_vsock.c
--- vsock-only/linux/af_vsock.c 2014-04-15 03:11:41.000000000 +0530
+++ vsock-only-mod/linux/af_vsock.c 2014-05-27 21:39:51.081284121 +0530
@@ -2869,7 +2869,8 @@ __VSockVmciCreate(struct net *net,
vsk->connectTimeout = psk->connectTimeout;
} else {
vsk->trusted = capable(CAP_NET_ADMIN);
- vsk->owner = current_uid();
+ kuid_t kern_uid = current_uid();
+ vsk->owner = kern_uid.val;
vsk->queuePairSize = VSOCK_DEFAULT_QP_SIZE;
vsk->queuePairMinSize = VSOCK_DEFAULT_QP_SIZE_MIN;
vsk->queuePairMaxSize = VSOCK_DEFAULT_QP_SIZE_MAX;
diff -rupN vsock-only/linux/notify.c vsock-only-mod/linux/notify.c
--- vsock-only/linux/notify.c 2014-04-15 03:11:41.000000000 +0530
+++ vsock-only-mod/linux/notify.c 2014-05-27 21:36:56.713291909 +0530
@@ -516,7 +516,7 @@ VSockVmciHandleWrote(struct sock *sk,
PKT_FIELD(vsk, sentWaitingRead) = FALSE;
#endif
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
diff -rupN vsock-only/linux/notifyQState.c vsock-only-mod/linux/notifyQState.c
--- vsock-only/linux/notifyQState.c 2014-04-15 03:11:41.000000000 +0530
+++ vsock-only-mod/linux/notifyQState.c 2014-05-27 21:38:52.561286734 +0530
@@ -164,7 +164,7 @@ VSockVmciHandleWrote(struct sock *sk,
struct sockaddr_vm *dst, // IN: unused
struct sockaddr_vm *src) // IN: unused
{
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
--- vsock-only/linux/notifyQState.c.orig 2014-04-15 01:41:41.000000000 +0400
+++ vsock-only/linux/notifyQState.c 2014-08-06 15:08:43.000000000 +0400
@@ -566,7 +566,7 @@
}
/* See the comment in VSockVmciNotifyPktSendPostEnqueue */
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
return err;

View file

@ -0,0 +1,12 @@
diff --git a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c
index f1f4b10..c43242f 100644
--- a/vmmon-only/linux/hostif.c
+++ b/vmmon-only/linux/hostif.c
@@ -55,6 +55,7 @@
#include <linux/kthread.h>
#include <linux/wait.h>
+#include <asm/apic.h>
#include "vmware.h"
#include "x86apic.h"

View file

@ -0,0 +1,91 @@
diff --git a/vmblock-only/linux/file.c b/vmblock-only/linux/file.c
index d7ac1f6..5499169 100644
--- a/vmblock-only/linux/file.c
+++ b/vmblock-only/linux/file.c
@@ -38,46 +38,6 @@ typedef u64 inode_num_t;
typedef ino_t inode_num_t;
#endif
-/* Specifically for our filldir_t callback */
-typedef struct FilldirInfo {
- filldir_t filldir;
- void *dirent;
-} FilldirInfo;
-
-
-/*
- *----------------------------------------------------------------------------
- *
- * Filldir --
- *
- * Callback function for readdir that we use in place of the one provided.
- * This allows us to specify that each dentry is a symlink, but pass through
- * everything else to the original filldir function.
- *
- * Results:
- * Original filldir's return value.
- *
- * Side effects:
- * Directory information gets copied to user's buffer.
- *
- *----------------------------------------------------------------------------
- */
-
-static int
-Filldir(void *buf, // IN: Dirent buffer passed from FileOpReaddir
- const char *name, // IN: Dirent name
- int namelen, // IN: len of dirent's name
- loff_t offset, // IN: Offset
- inode_num_t ino, // IN: Inode number of dirent
- unsigned int d_type) // IN: Type of file
-{
- FilldirInfo *info = buf;
-
- /* Specify DT_LNK regardless */
- return info->filldir(info->dirent, name, namelen, offset, ino, DT_LNK);
-}
-
-
/* File operations */
/*
@@ -166,11 +126,10 @@ FileOpOpen(struct inode *inode, // IN
static int
FileOpReaddir(struct file *file, // IN
- void *dirent, // IN
- filldir_t filldir) // IN
+ struct dir_context *ctx) // IN
{
int ret;
- FilldirInfo info;
+
struct file *actualFile;
if (!file) {
@@ -184,12 +143,10 @@ FileOpReaddir(struct file *file, // IN
return -EINVAL;
}
- info.filldir = filldir;
- info.dirent = dirent;
-
- actualFile->f_pos = file->f_pos;
- ret = vfs_readdir(actualFile, Filldir, &info);
- file->f_pos = actualFile->f_pos;
+ /* Ricky Wong Yung Fei:
+ * Manipulation of pos is now handled internally by iterate_dir().
+ */
+ ret = iterate_dir(actualFile, ctx);
return ret;
}
@@ -237,7 +194,7 @@ FileOpRelease(struct inode *inode, // IN
struct file_operations RootFileOps = {
- .readdir = FileOpReaddir,
+ .iterate = FileOpReaddir,
.open = FileOpOpen,
.release = FileOpRelease,
};

View file

@ -0,0 +1,21 @@
--- vmblock-only/linux/control.c.orig 2014-08-06 13:28:35.000000000 +0400
+++ vmblock-only/linux/control.c 2014-08-06 15:35:00.000000000 +0400
@@ -279,11 +279,17 @@
int i;
int retval;
- name = getname(buf);
+ name = __getname();
if (IS_ERR(name)) {
return PTR_ERR(name);
}
+ i = strncpy_from_user(name, buf, PATH_MAX);
+ if (i < 0 || i == PATH_MAX) {
+ __putname(name);
+ return -EINVAL;
+ }
+
for (i = strlen(name) - 1; i >= 0 && name[i] == '/'; i--) {
name[i] = '\0';
}

View file

@ -0,0 +1,113 @@
diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
index b21dd44..960c2aa 100644
--- a/vmmon-only/linux/driver.c
+++ b/vmmon-only/linux/driver.c
@@ -178,7 +178,22 @@ static struct vm_operations_struct vmuser_mops = {
#endif
};
-static struct file_operations vmuser_fops;
+static struct file_operations vmuser_fops = {
+ .owner = THIS_MODULE,
+ .poll = LinuxDriverPoll,
+#ifdef HAVE_UNLOCKED_IOCTL
+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
+#else
+ .ioctl = LinuxDriver_Ioctl,
+#endif
+#ifdef HAVE_COMPAT_IOCTL
+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
+#endif
+ .open = LinuxDriver_Open,
+ .release = LinuxDriver_Close,
+ .mmap = LinuxDriverMmap
+};
+
static struct timer_list tscTimer;
/*
@@ -357,27 +372,6 @@ init_module(void)
spin_lock_init(&linuxState.pollListLock);
#endif
- /*
- * Initialize the file_operations structure. Because this code is always
- * compiled as a module, this is fine to do it here and not in a static
- * initializer.
- */
-
- memset(&vmuser_fops, 0, sizeof vmuser_fops);
- vmuser_fops.owner = THIS_MODULE;
- vmuser_fops.poll = LinuxDriverPoll;
-#ifdef HAVE_UNLOCKED_IOCTL
- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
-#else
- vmuser_fops.ioctl = LinuxDriver_Ioctl;
-#endif
-#ifdef HAVE_COMPAT_IOCTL
- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
-#endif
- vmuser_fops.open = LinuxDriver_Open;
- vmuser_fops.release = LinuxDriver_Close;
- vmuser_fops.mmap = LinuxDriverMmap;
-
#ifdef VMX86_DEVEL
devel_init_module();
linuxState.minor = 0;
diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
index b12b982..40bd4cf 100644
--- a/vmnet-only/driver.c
+++ b/vmnet-only/driver.c
@@ -165,7 +165,22 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
unsigned int iocmd, unsigned long ioarg);
#endif
-static struct file_operations vnetFileOps;
+static struct file_operations vnetFileOps = {
+ .owner = THIS_MODULE,
+ .read = VNetFileOpRead,
+ .write = VNetFileOpWrite,
+ .poll = VNetFileOpPoll,
+#ifdef HAVE_UNLOCKED_IOCTL
+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
+#else
+ .ioctl = VNetFileOpIoctl,
+#endif
+#ifdef HAVE_COMPAT_IOCTL
+ .compat_ioctl = VNetFileOpUnlockedIoctl,
+#endif
+ .open = VNetFileOpOpen,
+ .release = VNetFileOpClose
+};
/*
* Utility functions
@@ -476,28 +491,6 @@ init_module(void)
goto err_proto;
}
- /*
- * Initialize the file_operations structure. Because this code is always
- * compiled as a module, this is fine to do it here and not in a static
- * initializer.
- */
-
- memset(&vnetFileOps, 0, sizeof vnetFileOps);
- vnetFileOps.owner = THIS_MODULE;
- vnetFileOps.read = VNetFileOpRead;
- vnetFileOps.write = VNetFileOpWrite;
- vnetFileOps.poll = VNetFileOpPoll;
-#ifdef HAVE_UNLOCKED_IOCTL
- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
-#else
- vnetFileOps.ioctl = VNetFileOpIoctl;
-#endif
-#ifdef HAVE_COMPAT_IOCTL
- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
-#endif
- vnetFileOps.open = VNetFileOpOpen;
- vnetFileOps.release = VNetFileOpClose;
-
retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
if (retval) {
LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",

View file

@ -0,0 +1,14 @@
diff -Nurp work.orig/vmblock-only/linux/inode.c work/vmblock-only/linux/inode.c
--- work.orig/vmblock-only/linux/inode.c 2013-10-18 17:56:11.000000000 +0000
+++ work/vmblock-only/linux/inode.c 2013-11-14 16:44:41.079398115 +0000
@@ -135,7 +135,8 @@ InodeOpLookup(struct inode *dir, //
inode->i_size = INODE_TO_IINFO(inode)->nameLen;
inode->i_version = 1;
inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
- inode->i_uid = inode->i_gid = 0;
+ inode->i_uid = KUIDT_INIT(0);
+ inode->i_gid = KGIDT_INIT(0);
inode->i_op = &LinkInodeOps;
d_add(dentry, inode);

View file

@ -0,0 +1,65 @@
diff --git a/vmblock-only/Makefile.kernel b/vmblock-only/Makefile.kernel
index ab7a727..e3ec9d2 100644
--- a/vmblock-only/Makefile.kernel
+++ b/vmblock-only/Makefile.kernel
@@ -19,7 +19,7 @@
INCLUDE += -I$(SRCROOT)/include
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachecreate.c, -DVMW_KMEMCR_HAS_DTOR, )
EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachector.c, -DVMW_KMEMCR_CTOR_HAS_3_ARGS, )
diff --git a/vmci-only/Makefile.kernel b/vmci-only/Makefile.kernel
index ba343ee..861ea83 100644
--- a/vmci-only/Makefile.kernel
+++ b/vmci-only/Makefile.kernel
@@ -21,7 +21,7 @@ CC_OPTS += -DVMCI
INCLUDE += -I$(SRCROOT)/shared -I$(SRCROOT)/common -I$(SRCROOT)/linux
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
obj-m += $(DRIVER).o
diff --git a/vmmon-only/Makefile.kernel b/vmmon-only/Makefile.kernel
index 8770d1d..c4746c3 100644
--- a/vmmon-only/Makefile.kernel
+++ b/vmmon-only/Makefile.kernel
@@ -22,7 +22,7 @@ CC_OPTS += -DVMMON -DVMCORE
INCLUDE := -I$(SRCROOT)/include -I$(SRCROOT)/common -I$(SRCROOT)/linux \
-I$(SRCROOT)/vmcore
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/smpcall.c, -DVMW_HAVE_SMP_CALL_3ARG, )
diff --git a/vmnet-only/Makefile.kernel b/vmnet-only/Makefile.kernel
index d1e3133..665d428 100644
--- a/vmnet-only/Makefile.kernel
+++ b/vmnet-only/Makefile.kernel
@@ -19,7 +19,7 @@
INCLUDE := -I$(SRCROOT)
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_net.c,-DVMW_NETDEV_HAS_NET, )
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_dev_net.c,-DVMW_NETDEV_HAS_DEV_NET, )
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/nfhook_uses_skb.c,-DVMW_NFHOOK_USES_SKB, )
diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
index b4629ee..264b8cb 100644
--- a/vsock-only/Makefile.kernel
+++ b/vsock-only/Makefile.kernel
@@ -25,7 +25,7 @@ INCLUDE += -I$(SRCROOT)/include
INCLUDE += -I$(SRCROOT)/linux
INCLUDE += -I$(SRCROOT)/common
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/netcreate_num_params.c, -DVMW_NETCREATE_KERNARG, )

View file

@ -0,0 +1,85 @@
diff --git a/vmblock-only/Makefile b/vmblock-only/Makefile
index 2b81323..746c8b8 100644
--- a/vmblock-only/Makefile
+++ b/vmblock-only/Makefile
@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
ifdef LINUXINCLUDE
HEADER_DIR = $(LINUXINCLUDE)
else
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR)
endif
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
DRIVER := vmblock
PRODUCT := ws
diff --git a/vmci-only/Makefile b/vmci-only/Makefile
index 8e9c5be..6ec828b 100644
--- a/vmci-only/Makefile
+++ b/vmci-only/Makefile
@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
ifdef LINUXINCLUDE
HEADER_DIR = $(LINUXINCLUDE)
else
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR)
endif
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
DRIVER := vmci
PRODUCT := ws
diff --git a/vmmon-only/Makefile b/vmmon-only/Makefile
index 5bd867b..91a83d4 100644
--- a/vmmon-only/Makefile
+++ b/vmmon-only/Makefile
@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
ifdef LINUXINCLUDE
HEADER_DIR = $(LINUXINCLUDE)
else
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR)
endif
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
DRIVER := vmmon
PRODUCT := @@PRODUCT@@
diff --git a/vmnet-only/Makefile b/vmnet-only/Makefile
index d4eb73c..c7c6d38 100644
--- a/vmnet-only/Makefile
+++ b/vmnet-only/Makefile
@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
ifdef LINUXINCLUDE
HEADER_DIR = $(LINUXINCLUDE)
else
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR)
endif
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
DRIVER := vmnet
PRODUCT := @@PRODUCT@@
diff --git a/vsock-only/Makefile b/vsock-only/Makefile
index 93dd61d..9765696 100644
--- a/vsock-only/Makefile
+++ b/vsock-only/Makefile
@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
ifdef LINUXINCLUDE
HEADER_DIR = $(LINUXINCLUDE)
else
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR)
endif
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
DRIVER := vsock
PRODUCT := ws

View file

@ -0,0 +1,24 @@
diff --git a/vmnet-only/compat_netdevice.h b/vmnet-only/compat_netdevice.h
index 7a56304..9ff4548 100644
--- a/vmnet-only/compat_netdevice.h
+++ b/vmnet-only/compat_netdevice.h
@@ -47,6 +47,19 @@
# define net_device device
#endif
+/* it looks like these have been removed from the kernel 3.1
+ * probably because the "transition" is considered complete.
+ * so to keep this source compatible we just redefine them like they were
+ * previously
+ */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
+#define HAVE_ALLOC_NETDEV /* feature macro: alloc_xxxdev
+ functions are available. */
+#define HAVE_FREE_NETDEV /* free_netdev() */
+#define HAVE_NETDEV_PRIV /* netdev_priv() */
+#define HAVE_NETIF_QUEUE
+#define HAVE_NET_DEVICE_OPS
+#endif
/*
* SET_MODULE_OWNER appeared sometime during 2.3.x. It was setting

View file

@ -0,0 +1,13 @@
diff --git a/vmblock-only/linux/control.c b/vmblock-only/linux/control.c
index 79716bd..2dd83fe 100644
--- a/vmblock-only/linux/control.c
+++ b/vmblock-only/linux/control.c
@@ -293,7 +293,7 @@ ExecuteBlockOp(const char __user *buf, // IN: buffer with name
retval = i < 0 ? -EINVAL : blockOp(name, blocker);
- putname(name);
+ __putname(name);
return retval;
}

View file

@ -0,0 +1,30 @@
diff -Naur a/linux/inode.c b/linux/inode.c
--- a/vmblock-only/linux/inode.c 2013-10-03 04:29:47.471339204 -0400
+++ b/vmblock-only/linux/inode.c 2013-10-03 04:31:56.607334636 -0400
@@ -36,7 +36,7 @@
/* Inode operations */
static struct dentry *InodeOpLookup(struct inode *dir,
- struct dentry *dentry, struct nameidata *nd);
+ struct dentry *dentry, unsigned int flags);
static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
@@ -75,7 +75,7 @@
static struct dentry *
InodeOpLookup(struct inode *dir, // IN: parent directory's inode
struct dentry *dentry, // IN: dentry to lookup
- struct nameidata *nd) // IN: lookup intent and information
+ unsigned int flags) // IN: lookup intent and information
{
char *filename;
struct inode *inode;
@@ -221,7 +221,7 @@
goto out;
}
- ret = vfs_follow_link(nd, iinfo->name);
+ nd_set_link(nd, iinfo->name);
out:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)

View file

@ -0,0 +1,23 @@
diff -ruN work.orig/vmblock-only/linux/control.c work/vmblock-only/linux/control.c
--- work.orig/vmblock-only/linux/control.c 2013-11-02 18:05:39.960226399 +0100
+++ work/vmblock-only/linux/control.c 2013-11-02 18:09:11.760231432 +0100
@@ -208,17 +208,14 @@
VMBlockSetProcEntryOwner(controlProcMountpoint);
/* Create /proc/fs/vmblock/dev */
- controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME,
- VMBLOCK_CONTROL_MODE,
- controlProcDirEntry);
- if (!controlProcEntry) {
+ controlProcEntry = proc_create(VMBLOCK_CONTROL_DEVNAME, VMBLOCK_CONTROL_MODE, controlProcDirEntry, &ControlFileOps);
+ if (controlProcEntry == NULL) {
Warning("SetupProcDevice: could not create " VMBLOCK_DEVICE "\n");
remove_proc_entry(VMBLOCK_CONTROL_MOUNTPOINT, controlProcDirEntry);
remove_proc_entry(VMBLOCK_CONTROL_PROC_DIRNAME, NULL);
return -EINVAL;
}
- controlProcEntry->proc_fops = &ControlFileOps;
return 0;
}

View file

@ -0,0 +1,82 @@
diff -rupN vmci-only/linux/driver.c vmci-only/linux/driver.c
--- vmci-only/linux/driver.c 2014-03-31 18:49:14.840009422 +0100
+++ vmci-only/linux/driver.c 2014-03-31 18:49:21.385009439 +0100
@@ -737,7 +737,7 @@ LinuxDriver_Ioctl(struct inode *inode,
goto init_release;
}
- user = current_uid();
+ user = from_kuid(current_user_ns(), current_uid());
retval = VMCIContext_InitContext(initBlock.cid, initBlock.flags,
0 /* Unused */, vmciLinux->userVersion,
&user, &vmciLinux->context);
diff -rupN vmci-only/shared/vm_assert.h vmci-only/shared/vm_assert.h
--- vmci-only/shared/vm_assert.h 2014-03-31 18:49:14.841009422 +0100
+++ vmci-only/shared/vm_assert.h 2014-03-31 18:49:21.385009439 +0100
@@ -256,6 +256,7 @@ void WarningThrottled(uint32 *count, con
__FILE__, __LINE__, __FUNCTION__, \
_fix))
#else
+ #undef DEPRECATED /* in <linux/printk.h> since 3.14.0 */
#define DEPRECATED(_fix) do {} while (0)
#endif
diff -rupN vmmon-only/include/vm_assert.h vmmon-only/include/vm_assert.h
--- vmmon-only/include/vm_assert.h 2014-03-31 18:49:14.835009422 +0100
+++ vmmon-only/include/vm_assert.h 2014-03-31 18:49:21.380009439 +0100
@@ -256,6 +256,7 @@ void WarningThrottled(uint32 *count, con
__FILE__, __LINE__, __FUNCTION__, \
_fix))
#else
+ #undef DEPRECATED /* in <linux/printk.h> since 3.14.0 */
#define DEPRECATED(_fix) do {} while (0)
#endif
diff -rupN vmmon-only/linux/driver.c vmmon-only/linux/driver.c
--- vmmon-only/linux/driver.c 2014-03-31 18:49:14.834009422 +0100
+++ vmmon-only/linux/driver.c 2014-03-31 18:49:21.379009439 +0100
@@ -1338,7 +1338,9 @@ LinuxDriverReadTSC(void *data, // OUT:
*-----------------------------------------------------------------------------
*/
-__attribute__((always_inline)) static Bool
+#include <linux/compiler-gcc.h>
+
+__always_inline static Bool
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
{
TSCDelta tscDelta;
diff -rupN vmnet-only/vm_assert.h vmnet-only/vm_assert.h
--- vmnet-only/vm_assert.h 2014-03-31 18:49:14.845009422 +0100
+++ vmnet-only/vm_assert.h 2014-03-31 18:49:21.390009439 +0100
@@ -256,6 +256,7 @@ void WarningThrottled(uint32 *count, con
__FILE__, __LINE__, __FUNCTION__, \
_fix))
#else
+ #undef DEPRECATED /* in <linux/printk.h> since 3.14.0 */
#define DEPRECATED(_fix) do {} while (0)
#endif
diff -rupN vsock-only/linux/af_vsock.c vsock-only/linux/af_vsock.c
--- vsock-only/linux/af_vsock.c 2014-03-31 18:49:14.837009422 +0100
+++ vsock-only/linux/af_vsock.c 2014-03-31 18:49:21.381009439 +0100
@@ -2869,7 +2869,7 @@ __VSockVmciCreate(struct net *net,
vsk->connectTimeout = psk->connectTimeout;
} else {
vsk->trusted = capable(CAP_NET_ADMIN);
- vsk->owner = current_uid();
+ vsk->owner = from_kuid(current_user_ns(), current_uid());
vsk->queuePairSize = VSOCK_DEFAULT_QP_SIZE;
vsk->queuePairMinSize = VSOCK_DEFAULT_QP_SIZE_MIN;
vsk->queuePairMaxSize = VSOCK_DEFAULT_QP_SIZE_MAX;
diff -rupN vsock-only/shared/vm_assert.h vsock-only/shared/vm_assert.h
--- vsock-only/shared/vm_assert.h 2014-03-31 18:49:14.839009422 +0100
+++ vsock-only/shared/vm_assert.h 2014-03-31 18:49:21.382009439 +0100
@@ -256,6 +256,7 @@ void WarningThrottled(uint32 *count, con
__FILE__, __LINE__, __FUNCTION__, \
_fix))
#else
+ #undef DEPRECATED /* in <linux/printk.h> since 3.14.0 */
#define DEPRECATED(_fix) do {} while (0)
#endif

View file

@ -0,0 +1,34 @@
diff -rupN vsock-only/linux/notify.c vsock-only/linux/notify.c
--- vsock-only/linux/notify.c 2014-04-15 03:11:41.000000000 +0530
+++ vsock-only/linux/notify.c 2014-05-27 21:36:56.713291909 +0530
@@ -516,7 +516,7 @@ VSockVmciHandleWrote(struct sock *sk,
PKT_FIELD(vsk, sentWaitingRead) = FALSE;
#endif
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
diff -rupN vsock-only/linux/notifyQState.c vsock-only/linux/notifyQState.c
--- vsock-only/linux/notifyQState.c 2014-04-15 03:11:41.000000000 +0530
+++ vsock-only/linux/notifyQState.c 2014-05-27 21:38:52.561286734 +0530
@@ -164,7 +164,7 @@ VSockVmciHandleWrote(struct sock *sk,
struct sockaddr_vm *dst, // IN: unused
struct sockaddr_vm *src) // IN: unused
{
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
@@ -566,7 +566,7 @@ VSockVmciNotifyPktRecvPostDequeue(struct
}
/* See the comment in VSockVmciNotifyPktSendPostEnqueue */
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
return err;

View file

@ -0,0 +1,396 @@
https://wiki.archlinux.org/index.php/VMware
VMware
Jump to: navigation, search
Related articles
Category:Hypervisors
Installing Arch Linux in VMware
Moving an existing install into (or out of) a virtual machine
This article is about installing VMware in Arch Linux; you may also be interested in Installing Arch Linux in VMware.
Note: This article supports only the latest major VMware versions, meaning VMware Workstation 10 and VMware Player (Plus) 6.
Contents
1 Installation
2 Configuration
2.1 VMware module patches and installation
2.1.1 3.14 kernels and up
2.1.2 3.15 kernels
2.2 init.d script
2.3 Systemd service
3 Launching the application
4 Tips and tricks
4.1 Entering the Workstation License Key
4.1.1 From terminal
4.1.2 From GUI
4.2 Extracting the VMware BIOS
4.2.1 Using the modified BIOS
4.3 Using DKMS to manage the modules
4.3.1 Preparation
4.3.2 Build configuration
4.3.2.1 1) Using Git
4.3.2.2 2) Manual setup
4.3.3 Installation
5 Troubleshooting
5.1 /dev/vmmon not found
5.2 Kernel headers for version 3.x-xxxx were not found. If you installed them[...]
5.3 USB devices not recognized
5.4 The installer fails to start
5.5 Incorrect login/password when trying to access VMware remotely
5.6 Issues with ALSA output
5.7 Kernel-based Virtual Machine (KVM) is running
5.8 Guests have incorrect system clocks or are unable to boot: "[...]timeTracker_user.c:234 bugNr=148722"
6 Uninstallation
Installation
1. Install the correct dependencies:
fuse - the vmware-vmblock-fuse service is favored over the vmblock module, which is not built anymore without disabling fuse in the kernel
gtkmm - for the GUI
linux-headers - for module compilation
2. Download the latest VMware Workstation or VMware Player (Plus) (or a beta version, if available).
3. Start the installation (--eulas-agreed skips the EULAs):
# sh VMware-edition-version.release.architecture.bundle --eulas-agreed
Tip: Some other useful flags:
--console - Use the console UI.
-I, --ignore-errors - Ignore fatal errors.
4. For the System service scripts directory, use /etc/init.d (the default).
Note: During the installation you will get an error about "No rc*.d style init script directories" being given. This can be safely ignored, since Arch has moved to systemd.
Tip: To (re)build the modules from terminal later on, use:
# vmware-modconfig --console --install-all
Configuration
Tip: There is also a package called vmware-patch in the AUR with the intention of trying to automate this section (it also supports older VMware versions).
VMware module patches and installation
VMware Workstation 10.0.3 and Player (Plus) 6.0.3 support kernels up to 3.13.
3.14 kernels and up
Since the 3.14 kernel the vmci and vsock modules will fail to build.
A patch (along with some warning fixes) can be found here:
$ curl http://pastie.org/pastes/9090538/download -o /tmp/vmware-3.14.patch
Extract module sources:
$ cd /usr/lib/vmware/modules/source
# for i in vmci vmmon vmnet vsock; do tar -xf $i.tar; done
Apply the patch:
$ patch -p0 -i /tmp/vmware-3.14.patch
Re-create the archives:
$ for i in *-only; do tar -cf ${i/-only}.tar $i; done
Remove the leftovers:
$ rm -r *-only
Rebuild modules:
# vmware-modconfig --console --install-all
Note: Tar does not support multiple operations, hence the for loop is being used.
3.15 kernels
On 3.15 kernel the vsock module requires an additional patch:
$ curl http://pastie.org/pastes/9311773/download -o /tmp/vmware-vsock-3.15.patch
Extract module sources:
$ cd /usr/lib/vmware/modules/source
# tar -xf vsock.tar
Apply the patch:
# patch -p0 -i /tmp/vmware-vsock-3.15.patch
Re-create the archives:
# tar -cf vsock.tar vsock-only
Remove the leftovers:
# rm -r vsock-only
Rebuild modules:
# vmware-modconfig --console --install-all
init.d script
5. The Virtual machine communication interface (vmci) and VM communication interface socket family (vsock) services are are known to fail on startup, due to the main init.d script incorrectly handling the inclusion of the in-kernel drivers.
This can be fixed by only defining the bundled ones:
# sed -i 's/mod=$(vmwareRealModName $vmci $vmci_alias)/mod=vmci/' /etc/init.d/vmware
# sed -i 's/mod=$(vmwareRealModName $vsock $vsock_alias)/mod=vsock/' /etc/init.d/vmware
Systemd service
6. (Optional) Instead of using # /etc/init.d/vmware {start|stop|status|restart} directly to manage the services you may also create a .service file (or files):
/etc/systemd/system/vmware.service
[Unit]
Description=VMware daemon
[Service]
ExecStart=/etc/init.d/vmware start
ExecStop=/etc/init.d/vmware stop
PIDFile=/var/lock/subsys/vmware
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
After which you can enable it on boot, with:
# systemctl enable vmware
Launching the application
To open VMware Workstation:
$ vmware
or VMware Player (Plus):
$ vmplayer
Tips and tricks
Entering the Workstation License Key
From terminal
# /usr/lib/vmware/bin/vmware-vmx-debug --new-sn XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Where XXXXX-XXXXX-XXXXX-XXXXX-XXXXX is your license key.
Note: The -debug binary informs the user of an incorrect license.
From GUI
If the above does not work, you can try:
# /usr/lib/vmware/bin/vmware-enter-serial
Extracting the VMware BIOS
$ objcopy /usr/lib/vmware/bin/vmware-vmx -O binary -j bios440 --set-section-flags bios440=a bios440.rom.Z
$ perl -e 'use Compress::Zlib; my $v; read STDIN, $v, '$(stat -c%s "./bios440.rom.Z")'; $v = uncompress($v); print $v;' < bios440.rom.Z > bios440.rom
Using the modified BIOS
If and when you decide to modify the extracted BIOS you can make your virtual machine use it by moving it to ~/vmware/Virtual_machine_name:
$ mv bios440.rom ~/vmware/Virtual_machine_name/
then adding the name to the Virtual_machine_name.vmx file:
~/vmware/Virtual_machine_name/Virtual_machine_name.vmx
bios440.filename = "bios440.rom"
Using DKMS to manage the modules
The Dynamic Kernel Module Support (DKMS) can be used to manage Workstation modules and to void from re-running vmware-modconfig each time the kernel changes. The following example uses a custom Makefile to compile and install the modules through vmware-modconfig. Afterwards they are removed from the current kernel tree.
Preparation
First install dkms from the official repositories.
Then create a source directory for the Makefile and the dkms.conf:
# mkdir /usr/src/vmware-modules-10/
Build configuration
Fetch the files with git or use the ones below.
1) Using Git
$ cd /tmp
$ git clone git://github.com/bawaaaaah/dkms-workstation.git
$ sed -i 's/9/10/' dkms-workstation/dkms.conf
# cp dkms-workstation/Makefile dkms-workstation/dkms.conf /usr/src/vmware-modules-10/
2) Manual setup
The dkms.conf describes the module names and the compilation/installation procedure. AUTOINSTALL="yes" tells the modules to be recompiled/installed automatically each time:
/usr/src/vmware-modules-10/dkms.conf
PACKAGE_NAME="vmware-modules"
PACKAGE_VERSION="10"
MAKE[0]="make all"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="vmmon"
BUILT_MODULE_LOCATION[0]="modules"
BUILT_MODULE_NAME[1]="vmnet"
BUILT_MODULE_LOCATION[1]="modules"
BUILT_MODULE_NAME[2]="vmblock"
BUILT_MODULE_LOCATION[2]="modules"
BUILT_MODULE_NAME[3]="vmci"
BUILT_MODULE_LOCATION[3]="modules"
BUILT_MODULE_NAME[4]="vsock"
BUILT_MODULE_LOCATION[4]="modules"
DEST_MODULE_LOCATION[0]="/extra/vmware"
DEST_MODULE_LOCATION[1]="/extra/vmware"
DEST_MODULE_LOCATION[2]="/extra/vmware"
DEST_MODULE_LOCATION[3]="/extra/vmware"
DEST_MODULE_LOCATION[4]="/extra/vmware"
AUTOINSTALL="yes"
and now the Makefile:
/usr/src/vmware-modules-10/Makefile
KERNEL := $(KERNELRELEASE)
HEADERS := /usr/lib/modules/$(KERNEL)/build/include
GCC := $(shell vmware-modconfig --console --get-gcc)
DEST := /lib/modules/$(KERNEL)/vmware
TARGETS := vmmon vmnet vmblock vmci vsock
LOCAL_MODULES := $(addsuffix .ko, $(TARGETS))
all: $(LOCAL_MODULES)
mkdir -p modules/
mv *.ko modules/
rm -rf $(DEST)
depmod
$(HEADERS)/linux/version.h:
ln -s $(HEADERS)/generated/uapi/linux/version.h $(HEADERS)/linux/version.h
%.ko: $(HEADERS)/linux/version.h
vmware-modconfig --console --build-mod -k $(KERNEL) $* $(GCC) $(HEADERS) vmware/
cp -f $(DEST)/$@ .
clean: rm -rf modules/
Installation
The modules can then be installed with:
# dkms install vmware-modules/10 -k $(uname -r)
Troubleshooting
/dev/vmmon not found
The full error is:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
This means that at least the vmmon VMware service is not running. If using the systemd service from step 6. it should be (re)started.
Kernel headers for version 3.x-xxxx were not found. If you installed them[...]
Install the headers (linux-headers).
Note: Upgrading the kernel and the headers will require you to boot to the new kernel to match the version of the headers. This is a relatively common error.
USB devices not recognized
Tip: Also handled by vmware-patch.
If VMware services are running (see step 6. for a systemd service), your installation is missing the vmware-USBArbitrator script. To readd it manually see this forum post.
You may also manually extract the VMware bundle and copy the vmware-USBArbitrator script from destination_folder/vmware-usbarbitrator/etc/init.d/ to /etc/init.d/:
$ sh VMware-edition-version.release.architecture.bundle --extract /tmp/vmware-bundle/
# cp /tmp/vmware-bundle/vmware-usbarbitrator/etc/init.d/vmware-USBArbitrator /etc/init.d/
The installer fails to start
If you just get back to the prompt when opening the .bundle, then you probably have a deprecated or broken version of the VMware installer and it should removed (you may also refer to the uninstallation section of this article):
# rm -r /etc/vmware-installer/
Incorrect login/password when trying to access VMware remotely
VMware Workstation 10 provides the possibility to remotely manage Shared VMs through the vmware-workstation-server service. However, this will fail with the error "incorrect username/password" due to incorrect PAM configuration of the vmware-authd service. To fix it, edit /etc/pam.d/vmware-authd like this:
/etc/pam.d/vmware-authd
#%PAM-1.0
auth required pam_unix.so
account required pam_unix.so
password required pam_permit.so
session required pam_unix.so
and restart the vmware systemd service.
Now you can connect to the server with the credentials provided during the installation.
Note: libxslt may be required for starting virtual machines.
Issues with ALSA output
To fix sound quality issues or enabling proper HD audio output, first run:
$ aplay -L
If interested in playing 5.1 surround sound from the guest, look for surround51:CARD=vendor_name,DEV=num, if experiencing quality issues, look for front:CARD=vendor_name,DEV=num. Finally put the name in the .vmx:
~/vmware/Virtual_machine_name/Virtual_machine_name.vmx
sound.fileName="surround51:CARD=Live,DEV=0"
sound.autodetect="FALSE"
OSS emulation should also be disabled.
Kernel-based Virtual Machine (KVM) is running
To disable KVM on boot, you can use something like:
/etc/modprobe.d/vmware.conf
blacklist kvm
blacklist kvm-amd # For AMD CPUs
blacklist kvm-intel # For Intel CPUs
Guests have incorrect system clocks or are unable to boot: "[...]timeTracker_user.c:234 bugNr=148722"
This is due to incomplete support of power management features (Intel SpeedStep and AMD PowerNow!/Cool'n'Quiet) in VMware Linux that vary the CPU frequency. In March 2012, the maximum frequency Performance governor in the kernel was replaced in favor of the dynamic Ondemand with the release of linux 3.3-1 package. When the host CPU frequency changes, the Guest system clock runs too quickly or too slowly, but may also render it unbootable.
To prevent this, the maximum host CPU frequency can be specified, and Time Stamp Counter (TSC) disabled, in the global configuration:
/etc/vmware/config
host.cpukHz = "X" # The maximum speed in KHz, e.g. 3GHz is "3000000".
host.noTSC = "TRUE" # Keep the Guest system clock accurate even when
ptsc.noTSC = "TRUE" # the time stamp counter (TSC) is slow.
Tip: To periodically correct the time (once per minute), in the Options tab of VMware Tools, enable: "Time synchronization between the virtual machine and the host operating system".
Uninstallation
To uninstall VMware you need the product name (either vmware-workstation or vmware-player). To list all the installed products:
$ vmware-installer -l
and uninstall with (--required skips the confirmation):
# vmware-installer -u product --required
Remember to also disable and remove the vmware service:
# systemctl disable vmware
You may also want to have a look at the module directories in /usr/lib/modules/kernel_name/misc/ for any leftovers.
Category:
Hypervisors

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>vmware</herd>
<longdescription>
VMware kernel modules.
</longdescription>
<use>
<flag name="pax_kernel">Apply patch needed for pax enabled kernels</flag>
<flag name="vmci">Build the Virtual Machine Communication Interface module; disable this if you want to use the module from the mainline kernel</flag>
<flag name="vsock">Build the VMware VMCI transport for Virtual Sockets; disable this if you want to use the module from the mainline kernel</flag>
</use>
</pkgmetadata>

View file

@ -0,0 +1,106 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-279.2.ebuild,v 1.5 2014/06/09 15:24:07 dilfridge Exp $
EAPI=5
inherit eutils flag-o-matic linux-info linux-mod user versionator udev
PV_MAJOR=$(get_major_version)
PV_MINOR=$(get_version_component_range 2)
DESCRIPTION="VMware kernel modules"
HOMEPAGE="http://www.vmware.com/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pax_kernel +vmci +vsock"
RDEPEND=""
DEPEND="${RDEPEND}
|| ( =app-emulation/vmware-player-6.0.${PV_MINOR}*
=app-emulation/vmware-workstation-10.0.${PV_MINOR}* )"
S=${WORKDIR}
pkg_setup() {
CONFIG_CHECK="~HIGH_RES_TIMERS"
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
CONFIG_CHECK="${CONFIG_CHECK} BKL"
fi
if use vmci ; then
CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI"
else
CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI"
fi
if use vsock ; then
CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI_VSOCKETS"
else
CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI_VSOCKETS"
fi
linux-info_pkg_setup
linux-mod_pkg_setup
VMWARE_GROUP=${VMWARE_GROUP:-vmware}
VMWARE_MODULE_LIST_ALL="vmblock vmmon vmnet vmci vsock"
VMWARE_MODULE_LIST="vmblock vmmon vmnet"
use vmci && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} vmci"
use vsock && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} vsock"
VMWARE_MOD_DIR="${PN}-${PVR}"
BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
enewgroup "${VMWARE_GROUP}"
filter-flags -mfpmath=sse
for mod in ${VMWARE_MODULE_LIST}; do
MODULE_NAMES="${MODULE_NAMES} ${mod}(misc:${S}/${mod}-only)"
done
}
src_unpack() {
cd "${S}"
for mod in ${VMWARE_MODULE_LIST_ALL}; do
tar -xf /opt/vmware/lib/vmware/modules/source/${mod}.tar
done
}
src_prepare() {
epatch "${FILESDIR}/${PV_MAJOR}-makefile-kernel-dir.patch"
epatch "${FILESDIR}/${PV_MAJOR}-makefile-include.patch"
epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch"
use pax_kernel && epatch "${FILESDIR}/${PV_MAJOR}-hardened.patch"
epatch "${FILESDIR}/${PV_MAJOR}-apic.patch"
kernel_is ge 3 7 0 && epatch "${FILESDIR}/${PV_MAJOR}-putname.patch"
kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-vmblock.patch"
kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-filldir.patch"
kernel_is ge 3 12 0 && epatch "${FILESDIR}/${PV_MAJOR}-vfsfollowlink.patch"
#kernel_is ge 3 14 0 && epatch "${FILESDIR}/${PV_MAJOR}-vmware-3.14.patch"
#kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-vmware-vsock-3.15.patch"
epatch "${FILESDIR}/${PV_MAJOR}-inode_patch.patch"
epatch "${FILESDIR}/${PV_MAJOR}-3.15-vfsreadlink.patch"
kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-lindrv-ioctrl.patch"
kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-vsock2.patch"
kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-getname.patch"
# Allow user patches so they can support RC kernels and whatever else
epatch_user
}
src_install() {
linux-mod_src_install
local udevrules="${T}/60-vmware.rules"
cat > "${udevrules}" <<-EOF
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
EOF
udev_dorules "${udevrules}"
}