相关疑难解决方法(0)

在 18.04 上安装 VMware:无法构建 vmmon

我正在尝试按照https://help.ubuntu.com/community/VMware/Player上的说明安装 VMware

我收到一条错误消息,提示我查看日志文件,其中包含:

Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
Successfully extracted the vmmon source.
Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-GoVdrH/vmmon-only auto-build HEADER_DIR=/lib/modules/4.15.0-22-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
Failed to build vmmon.  Failed to execute the build command.
Run Code Online (Sandbox Code Playgroud)

为了弄清楚到底出了什么问题,我vmware-modconfig --console --install-all在命令行上运行,它显示了这些错误:

./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull

                      ^
/tmp/modconfig-3S1CBa/vmmon-only/linux/driver.c:256:12: error: ‘struct timer_list’ has no member named ‘data’
    tscTimer.data     = 0;
    unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
                               ^~~~~~~~~~~~~~~~~
                               global_numa_state
/tmp/modconfig-3S1CBa/vmmon-only/linux/driver.c: In function …
Run Code Online (Sandbox Code Playgroud)

vmware 18.04

10
推荐指数
3
解决办法
4万
查看次数

内核 3.19 的“无法构建 vmnet”

因为这个答案仅适用于内核 3.13,所以我想分享Failed to build vmnet内核 3.19 及更早版本的问题的解决方案。因此,这不是我的实际问题,只是为了帮助未来的读者。

当我第一次想运行 VMware Workstation 或 VMware Player 时,它需要在内核级别部署一些包,但它失败并出现这行错误。

无法构建 vmnet。无法执行构建命令。

我应该怎么做才能解决这个问题?

vmware kernel

9
推荐指数
1
解决办法
1万
查看次数

Ubuntu 14.04 上的 VMWare Workstation 6.5.5:未找到内核头文件

通过运行安装sudo ./VMware-Workstation-6.5.5-328052.x86_64.bundle成功完成。

但是,在尝试运行时vmware,会显示以下错误消息框:

在此处输入图片说明

单击确定然后显示另一个错误消息框:

在此处输入图片说明

在控制台上有以下日志:

Logging to /tmp/vmware-root/setup-15921.log
modinfo: ERROR: Module vmmon not found.
modinfo: ERROR: Module vmnet not found.
modinfo: ERROR: Module vmblock not found.
modinfo: ERROR: Module vmci not found.
filename:       /lib/modules/3.13.0-43-generic/kernel/net/vmw_vsock/vsock.ko
license:        GPL v2
version:        1.0.1.0-k
description:    VMware Virtual Socket Family
author:         VMware, Inc.
srcversion:     DEF0E4AC6D739CEE581C08F
depends:        
intree:         Y
vermagic:       3.13.0-43-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        55:AB:2F:E2:8E:D5:C6:0D:F9:58:71:50:D1:73:4C:92:0E:A7:B8:18
sig_hashalgo:   sha512
modinfo: ERROR: Module vmmon not found.
modinfo: ERROR: Module vmnet …
Run Code Online (Sandbox Code Playgroud)

14.04 vmware-workstation

6
推荐指数
1
解决办法
2155
查看次数

标签 统计

vmware ×2

14.04 ×1

18.04 ×1

kernel ×1

vmware-workstation ×1