Ubuntu 15.04(内核:3.19.0-10-generic)上的 VMWare Player 7.1.0 应用程序加载

Ubuntu 15.04(内核:3.19.0-10-generic)上的 VMWare Player 7.1.0 应用程序加载

我从以下网址下载了最新版本的 VMWare 播放器(v 7.1.0)这里。安装了捆绑包,并且安装顺利完成。

安装后,当我尝试启动 VMWare Player 时,出现以下提示: 在此处输入图片描述

继续操作会导致以下错误屏幕:
在此处输入图片描述 在此处输入图片描述

我知道这是一个老问题,例如提到过,这里这里这里.它们似乎都指向同一个解决方案这里,这种方法在过去曾对一些人来说很有效。

我尝试按照那里的说明进行操作,但首先,文件的修补vmnet-only/filter.c没有成功,因此我手动更新了文件以包含以下内容:

#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
 transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
#else
 transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
#endif

然后我重新打包并尝试启动 VMWare Player,但它仍然无法启动,并出现与之前相同的错误。以下是它指向我的日志文件的内容。

2015-04-05T13:39:03.888+05:30| vthread-4| I120: Log for VMware Workstation pid=7861 version=11.1.0 build=build-2496824 option=Release
2015-04-05T13:39:03.888+05:30| vthread-4| I120: The process is 64-bit.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Host codepage=UTF-8 encoding=UTF-8
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Host is Linux 3.19.0-10-generic Ubuntu Vivid Vervet (development branch)
2015-04-05T13:39:03.888+05:30| vthread-4| I120: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Msg_Reset:
2015-04-05T13:39:03.888+05:30| vthread-4| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: ----------------------------------------
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Msg_Reset:
2015-04-05T13:39:03.888+05:30| vthread-4| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: ----------------------------------------
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Unable to check permissions for preferences file.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: Msg_Reset:
2015-04-05T13:39:03.888+05:30| vthread-4| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
2015-04-05T13:39:03.888+05:30| vthread-4| I120: ----------------------------------------
2015-04-05T13:39:03.888+05:30| vthread-4| I120: PREF Failed to load user preferences.
2015-04-05T13:39:03.921+05:30| vthread-4| W110: Logging to /tmp/vmware-root/vmware-7861.log
2015-04-05T13:39:03.929+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Created new pathsHash.
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:03.930+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:03.930+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:03.930+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:03.934+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:03.934+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.037+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:39:04.037+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmmon module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmnet module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmblock module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vmci module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Reading in info for the vsock module.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Setting vsock to depend on vmci.
2015-04-05T13:39:04.052+05:30| vthread-4| I120: Invoking modinfo on "vmmon".
2015-04-05T13:39:04.054+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 0.
2015-04-05T13:39:04.054+05:30| vthread-4| I120: Invoking modinfo on "vmnet".
2015-04-05T13:39:04.055+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.055+05:30| vthread-4| I120: Invoking modinfo on "vmblock".
2015-04-05T13:39:04.056+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.056+05:30| vthread-4| I120: Invoking modinfo on "vmci".
2015-04-05T13:39:04.057+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.057+05:30| vthread-4| I120: Invoking modinfo on "vsock".
2015-04-05T13:39:04.058+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 0.
2015-04-05T13:39:04.067+05:30| vthread-4| I120: to be installed: vmnet status: 0
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.078+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.078+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.078+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.082+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.082+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.185+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:39:04.185+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:39:04.200+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Kernel header path retrieved from FileEntry: /lib/modules/3.19.0-10-generic/build/include
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Update kernel header path to /lib/modules/3.19.0-10-generic/build/include
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.201+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.201+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.201+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.205+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.205+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.206+05:30| vthread-4| I120: Found compiler at "/usr/bin/gcc"
2015-04-05T13:39:04.208+05:30| vthread-4| I120: Got gcc version "4.9.2".
2015-04-05T13:39:04.208+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.208+05:30| vthread-4| I120: Using user supplied compiler "/usr/bin/gcc".
2015-04-05T13:39:04.210+05:30| vthread-4| I120: Got gcc version "4.9.2".
2015-04-05T13:39:04.210+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.212+05:30| vthread-4| I120: Trying to find a suitable PBM set for kernel "3.19.0-10-generic".
2015-04-05T13:39:04.212+05:30| vthread-4| I120: No matching PBM set was found for kernel "3.19.0-10-generic".
2015-04-05T13:39:04.212+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.212+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.212+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.212+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.212+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.216+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.216+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.224+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:39:04.224+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.224+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.224+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.224+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.228+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.228+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.228+05:30| vthread-4| I120: Using temp dir "/tmp".
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:39:04.229+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:39:04.229+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:39:04.229+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:39:04.233+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:39:04.233+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:39:04.336+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:39:04.336+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:39:04.352+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:39:04.352+05:30| vthread-4| I120: Invoking modinfo on "vmnet".
2015-04-05T13:39:04.354+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:39:04.667+05:30| vthread-4| I120: Setting destination path for vmnet to "/lib/modules/3.19.0-10-generic/misc/vmnet.ko".
2015-04-05T13:39:04.667+05:30| vthread-4| I120: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2015-04-05T13:39:04.671+05:30| vthread-4| I120: Successfully extracted the vmnet source.
2015-04-05T13:39:04.671+05:30| vthread-4| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-r28NAC/vmnet-only auto-build HEADER_DIR=/lib/modules/3.19.0-10-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2015-04-05T13:39:05.864+05:30| vthread-4| W110: Failed to build vmnet.  Failed to execute the build command.
2015-04-05T13:40:27.615+05:30| vthread-4| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-05T13:40:27.615+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:40:27.615+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:40:27.615+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:40:27.615+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Using temp dir "/tmp".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Obtaining info using the running kernel.
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Setting header path for 3.19.0-10-generic to "/lib/modules/3.19.0-10-generic/build/include".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Validating path "/lib/modules/3.19.0-10-generic/build/include" for kernel release "3.19.0-10-generic".
2015-04-05T13:40:27.620+05:30| vthread-4| I120: Failed to find /lib/modules/3.19.0-10-generic/build/include/linux/version.h
2015-04-05T13:40:27.620+05:30| vthread-4| I120: /lib/modules/3.19.0-10-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-05T13:40:27.620+05:30| vthread-4| I120: using /usr/bin/gcc-4.9 for preprocess check
2015-04-05T13:40:27.625+05:30| vthread-4| I120: Preprocessed UTS_RELEASE, got value "3.19.0-10-generic".
2015-04-05T13:40:27.625+05:30| vthread-4| I120: The header path "/lib/modules/3.19.0-10-generic/build/include" for the kernel "3.19.0-10-generic" is valid.  Whoohoo!
2015-04-05T13:40:27.725+05:30| vthread-4| I120: found symbol version file /lib/modules/3.19.0-10-generic/build/Module.symvers
2015-04-05T13:40:27.725+05:30| vthread-4| I120: Reading symbol versions from /lib/modules/3.19.0-10-generic/build/Module.symvers.
2015-04-05T13:40:27.741+05:30| vthread-4| I120: Read 18765 symbol versions
2015-04-05T13:40:27.741+05:30| vthread-4| I120: Invoking modinfo on "vmnet".
2015-04-05T13:40:27.743+05:30| vthread-4| I120: "/sbin/modinfo" exited with status 256.
2015-04-05T13:40:28.060+05:30| vthread-4| I120: Setting destination path for vmnet to "/lib/modules/3.19.0-10-generic/misc/vmnet.ko".
2015-04-05T13:40:28.060+05:30| vthread-4| I120: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2015-04-05T13:40:28.064+05:30| vthread-4| I120: Successfully extracted the vmnet source.
2015-04-05T13:40:28.064+05:30| vthread-4| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-miev7l/vmnet-only auto-build HEADER_DIR=/lib/modules/3.19.0-10-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2015-04-05T13:40:29.359+05:30| vthread-4| W110: Failed to build vmnet.  Failed to execute the build command.

倒数第二行显示它正在解压vmnet-only更改filter.c文件所在的目录,但似乎更改的文件没有帮助。任何帮助都将不胜感激。

答案1

我使用的是 14.10 64 位。内核 3.19。以下步骤在 VMware Worstation 11 和 VMware Player 7.1.0 下对我有效: https://wiki.archlinux.org/index.php/VMware#3.19_kernels

答案2

我已通过以下步骤解决了该问题:

curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch

cd /usr/lib/vmware/modules/source
tar -xf vmnet.tar
patch -p0 -i /tmp/vmnet-3.19.patch
tar -cf vmnet.tar vmnet-only
rm -r *-only
vmware-modconfig --console --install-all

答案3

我遇到了同样的问题,补丁等不起作用。跑了sudo apt-get update & sudo apt-get upgrade。仍然无法工作,几个月都无法访问我的虚拟机。今天我完全删除了 VMWare 播放器

sudo vmware-installer -u vmware-player

并从下载最新的 7.1.2 软件包https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0选择次要版本 7.1.2(最新)

sh VMware-Player-7.1.2-2780323.x86_64.bundle

安装完毕并运行良好,现在我可以访问在将 ubuntu 升级到 15.04 之前工作的 VM。

答案4

http://rglinuxtech.com/?p=1281这是 archlinux 补丁的来源信息。netif.c 现在也存在一个问题,导致失败,需要在重新打包 vmnet.tar 文件之前进行单独编辑以修复。

我希望/假设 vmware 将在接下来的几天内发布一个错误修复版本,这样人们就不必经历这些麻烦。

相关内容