我升级到最新版本的 Ubuntu (19.10),现在 VMware Player 在运行 VMware Kernel Module Updater 时将无法工作——“无法启动服务”。所以,我查看了日志文件(见下文)并看到最后一行 '2020-02-05T14:29:19.554-08:00| 主机-6114| W115: 无法构建 vmmon。无法执行构建命令。'。我认为这是问题所在(只有一个?)但在线搜索根本没有帮助。我尝试卸载 VMware 并重新安装,但没有成功。知道我需要做什么吗?
谢谢,瑞安
2020-02-05T14:29:16.794-08:00| host-6114| I125: Log for VMware Workstation pid=6114 version=15.1.0 build=build-13591040 option=Release
2020-02-05T14:29:16.794-08:00| host-6114| I125: The process is 64-bit.
2020-02-05T14:29:16.794-08:00| host-6114| I125: Host codepage=UTF-8 encoding=UTF-8
2020-02-05T14:29:16.794-08:00| host-6114| I125: Host is Linux 5.3.0-29-generic Ubuntu 19.10
2020-02-05T14:29:16.794-08:00| host-6114| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2020-02-05T14:29:16.794-08:00| host-6114| I125: DictionaryLoad: Cannot open file "/home/tacchino/.vmware/config": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/tacchino/.vmware/config": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: PREF Optional preferences file not found at /home/tacchino/.vmware/config. Using default values.
2020-02-05T14:29:16.827-08:00| host-6114| W115: Logging to /tmp/vmware-root/vmware-6114.log
2020-02-05T14:29:16.846-08:00| host-6114| I125: Obtaining info using the running kernel.
2020-02-05T14:29:16.846-08:00| host-6114| I125: Created new pathsHash.
2020-02-05T14:29:16.846-08:00| host-6114| I125: Setting header path for 5.3.0-29-generic to "/lib/modules/5.3.0-29-generic/build/include".
2020-02-05T14:29:16.846-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:16.846-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:16.846-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:16.846-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:16.852-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:16.852-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:16.984-08:00| host-6114| I125: found symbol version file /lib/modules/5.3.0-29-generic/build/Module.symvers
2020-02-05T14:29:16.984-08:00| host-6114| I125: Reading symbol versions from /lib/modules/5.3.0-29-generic/build/Module.symvers.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Read 23594 symbol versions
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vmmon module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vmnet module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vmci module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vsock module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Setting vsock to depend on vmci.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Invoking modinfo on "vmmon".
2020-02-05T14:29:17.004-08:00| host-6114| I125: "/sbin/modinfo" exited with status 256.
2020-02-05T14:29:17.004-08:00| host-6114| I125: Invoking modinfo on "vmnet".
2020-02-05T14:29:17.007-08:00| host-6114| I125: "/sbin/modinfo" exited with status 0.
2020-02-05T14:29:17.007-08:00| host-6114| I125: Invoking modinfo on "vmci".
2020-02-05T14:29:17.009-08:00| host-6114| I125: "/sbin/modinfo" exited with status 256.
2020-02-05T14:29:17.009-08:00| host-6114| I125: Invoking modinfo on "vsock".
2020-02-05T14:29:17.014-08:00| host-6114| I125: "/sbin/modinfo" exited with status 0.
2020-02-05T14:29:17.031-08:00| host-6114| I125: to be installed: vmmon status: 0
2020-02-05T14:29:17.042-08:00| host-6114| I125: Obtaining info using the running kernel.
2020-02-05T14:29:17.042-08:00| host-6114| I125: Setting header path for 5.3.0-29-generic to "/lib/modules/5.3.0-29-generic/build/include".
2020-02-05T14:29:17.042-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.042-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.042-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.042-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.049-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.049-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.187-08:00| host-6114| I125: found symbol version file /lib/modules/5.3.0-29-generic/build/Module.symvers
2020-02-05T14:29:17.187-08:00| host-6114| I125: Reading symbol versions from /lib/modules/5.3.0-29-generic/build/Module.symvers.
2020-02-05T14:29:17.203-08:00| host-6114| I125: Read 23594 symbol versions
2020-02-05T14:29:17.205-08:00| host-6114| I125: Kernel header path retrieved from FileEntry: /lib/modules/5.3.0-29-generic/build/include
2020-02-05T14:29:17.205-08:00| host-6114| I125: Update kernel header path to /lib/modules/5.3.0-29-generic/build/include
2020-02-05T14:29:17.205-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.205-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.205-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.205-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.212-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.212-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.213-08:00| host-6114| I125: Found compiler at "/usr/bin/gcc"
2020-02-05T14:29:17.215-08:00| host-6114| I125: Got gcc version "9".
2020-02-05T14:29:17.215-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.217-08:00| host-6114| I125: Got gcc version "9".
2020-02-05T14:29:17.218-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.220-08:00| host-6114| I125: Trying to find a suitable PBM set for kernel "5.3.0-29-generic".
2020-02-05T14:29:17.220-08:00| host-6114| I125: No matching PBM set was found for kernel "5.3.0-29-generic".
2020-02-05T14:29:17.220-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.221-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.221-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.221-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.221-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.227-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.227-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.227-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.227-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.227-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.227-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.227-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.234-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.234-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.234-08:00| host-6114| I125: Using temp dir "/tmp".
2020-02-05T14:29:17.238-08:00| host-6114| I125: Obtaining info using the running kernel.
2020-02-05T14:29:17.238-08:00| host-6114| I125: Setting header path for 5.3.0-29-generic to "/lib/modules/5.3.0-29-generic/build/include".
2020-02-05T14:29:17.238-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.238-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.238-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.238-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.243-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.243-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.375-08:00| host-6114| I125: found symbol version file /lib/modules/5.3.0-29-generic/build/Module.symvers
2020-02-05T14:29:17.375-08:00| host-6114| I125: Reading symbol versions from /lib/modules/5.3.0-29-generic/build/Module.symvers.
2020-02-05T14:29:17.391-08:00| host-6114| I125: Read 23594 symbol versions
2020-02-05T14:29:17.391-08:00| host-6114| I125: Invoking modinfo on "vmmon".
2020-02-05T14:29:17.395-08:00| host-6114| I125: "/sbin/modinfo" exited with status 256.
2020-02-05T14:29:18.125-08:00| host-6114| I125: Setting destination path for vmmon to "/lib/modules/5.3.0-29-generic/misc/vmmon.ko".
2020-02-05T14:29:18.125-08:00| host-6114| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2020-02-05T14:29:18.135-08:00| host-6114| I125: Successfully extracted the vmmon source.
2020-02-05T14:29:18.135-08:00| host-6114| I125: Building module with command "/usr/bin/make -j16 -C /tmp/modconfig-hPYqox/vmmon-only auto-build HEADER_DIR=/lib/modules/5.3.0-29-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2020-02-05T14:29:19.554-08:00| host-6114| W115: Failed to build vmmon. Failed to execute the build command.
您可以基于mkucebek 的 GitHub 存储库为 VMware 主机模块补丁创建一个脚本,使其可执行,并在每次需要时运行它。通常在您安装新内核时。我已针对您安装的版本 VMware Player 15.1.0 对其进行了修改:
VMware 社区也接受了相同的解决方法作为解决方案。
我在这里遇到同样的问题。只是试图打开我的 VMWare 工作站,它要求重新构建:
screenshot 几秒钟后,监视器和网络设备出现故障,我检查了日志并得到了与 Ryan 相似的结果。
Ubuntu 18.04 和内核 5.3.0-28-generic 在这里。
上面的 github 也适用于 VMWare Workstation?-- 使用工作站运行它
编辑:上面的脚本返回了与以前相同的错误,所以我终于通过升级 VMWare Workstation 来恢复并运行所有内容。
下载最新的 VMware-Workstation-Full-15.5.0-14665864.x86_64.bundle 然后:
工作就像一个魅力,干杯。