Ubuntu 22.04 安装 VMWare 16.2.3 后无法启动
异常日志:
2022-06-13T03:49:56.019Z In(05) host-29676 In file included from /tmp/modconfig-XR2GVI/vmmon-only/./include/x86desc.h:33,
2022-06-13T03:49:56.019Z In(05) host-29676 from /tmp/modconfig-XR2GVI/vmmon-only/./include/modulecall.h:34,
2022-06-13T03:49:56.019Z In(05) host-29676 from /tmp/modconfig-XR2GVI/vmmon-only/common/task.c:60:
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/common/task.c: In function ‘TaskRestoreHostGDTTRLDT’:
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-06-13T03:49:56.019Z In(05) host-29676 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-06-13T03:49:56.019Z In(05) host-29676 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-06-13T03:49:56.019Z In(05) host-29676 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 69 | sizeof(expr) <= 2))
2022-06-13T03:49:56.019Z In(05) host-29676 | ~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-06-13T03:49:56.019Z In(05) host-29676 372 | _Static_assert(e, #e); \
2022-06-13T03:49:56.019Z In(05) host-29676 | ^
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/./include/vm_asm_x86.h:263:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-06-13T03:49:56.019Z In(05) host-29676 263 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-06-13T03:49:56.019Z In(05) host-29676 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/common/task.c:726:7: note: in expansion of macro ‘SET_TR’
2022-06-13T03:49:56.019Z In(05) host-29676 726 | SET_TR(tr);
2022-06-13T03:49:56.019Z In(05) host-29676 | ^~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-06-13T03:49:56.019Z In(05) host-29676 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-06-13T03:49:56.019Z In(05) host-29676 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-06-13T03:49:56.019Z In(05) host-29676 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 69 | sizeof(expr) <= 2))
2022-06-13T03:49:56.019Z In(05) host-29676 | ~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-06-13T03:49:56.019Z In(05) host-29676 372 | _Static_assert(e, #e); \
2022-06-13T03:49:56.019Z In(05) host-29676 | ^
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/./include/vm_asm_x86.h:129:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-06-13T03:49:56.019Z In(05) host-29676 129 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-06-13T03:49:56.019Z In(05) host-29676 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/common/task.c:728:7: note: in expansion of macro ‘SET_LDT’
2022-06-13T03:49:56.019Z In(05) host-29676 728 | SET_LDT(ldt);
2022-06-13T03:49:56.019Z In(05) host-29676 | ^~~~~~~
2022-06-13T03:49:56.019Z In(05) host-29676 /tmp/modconfig-XR2GVI/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
略.......
手动编译 vmnet 和 vmmon 解决
cd /usr/lib/vmware/modules/source
git clone https://github.com/mkubecek/vmware-host-modules
cd vmware-host-modules
git checkout workstation-16.2.3
make
tar -cf vmnet.tar vmnet-only
tar -cf vmmon.tar vmmon-only
mv vmnet.tar /usr/lib/vmware/modules/source/
mv vmmon.tar /usr/lib/vmware/modules/source/
vmware-modconfig --console --install-all
启动虚拟机时提示:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
解决: BIOS 中禁用 UEFI with Secure Boot
Ubuntu 22.04 安装 VMWare 16.2.3 后无法启动的更多相关文章
- Ubuntu 22.04 安装 VMware Tools
VM 下的 install VMWare Tools 终端下载 VMware Tools sudo apt install open-vm-tools-desktop -y reboot
- Ubuntu 14.04 安装VMware 12
/*********************************************************************** * Ubuntu 14.04 安装VMware 12 ...
- vmware 8下ubuntu 13.04安装vmware tools
在虚拟机vmware 8.0里安装了ubuntu 13.04.为了方便与主机交互,安装vmware tools. 解压后直接运行 ./vmware-install.pl 一路默认路径安装下来,到&qu ...
- Ubuntu 12.04安装VMware Workstation8.0.3
2012-06-18 12:52 Ubuntu安装VMware Workstation8.0.3 由于使用Ubuntu的人比较少,网上关于Ubuntu的资料也很少,笔者在安装VMware Wo ...
- Ubuntu 22.04 安装 utools 时的疑难杂症
Error: libcrypto.so.1.1 原因:libcrypto.so.1.1 该依赖的版本不对,ubuntu 默认是使用的 openssl3 的依赖 这个是 openssl1 的 wget ...
- Ubuntu 22.04 安装搜狗输入法
下载搜狗输入法 下载地址https://shurufa.sogou.com/linux 也可以命令下载 wget https://ime.sogouimecdn.com/202212182151/3b ...
- ubuntu 22.04安装多个gcc
sudo apt install gcc-9 g++-9 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 - ...
- Ubuntu 22.04 LTS 安装 0.A.D 实时策略游戏 并汉化
众所周知,Linux生态中,能玩的正儿八经的大型游戏其实没几个,而 0.A.D 这个游戏就是这其中之一.这是一个类似于帝国时代的实时策略游戏,开源跨平台,这是其官方网站:https://play0ad ...
- Ubuntu 18.04 安装MySQL
最近在写东西的时候,需要用到MySQL,在网上查了一下,都说Ubuntu18.04不能安装MySQL5.7.22, 总觉的不可能,所以自己就研究了一下,然后分享给大家 工具/原料 VMware W ...
- ubuntu 14.04 安装svn server (subversionedge )
ubuntu 14.04 安装subversionedge 请仔细阅读安装包自带的readme文件! 1.先去官网,找安装包: http://subversion.apache.org/ http:/ ...
随机推荐
- linux 服务器 重命名
vim /etc/hosts 追加 10.10.134.68 RmcbTestDB3 RmcbTestDB3 # ip 名称 名称 127.0.0.1 localhost ...
- Truenas Core安装(DOS界面)
下载ISO安装包 搜索truenas core ,找到网站www.truenascore.com,根据网站导航栏指示,点击menu--software--truenas core--download ...
- 2022-04-11内部群每日三题-清辉PMP
1.项目经理从制造商那里收到一个更新信息,说一个必要的设备修理可能会导致他们的可交付成果迟八周时间.项目经理应该怎么做? A.确定关键路径 B.实施沟通管理计划 C.执行假设情景分析 D.对项目进度赶 ...
- js - class 操作
js - class 操作 // 添加 function addClass(dom, classNameString = '') { if (!dom.className.length) dom.cl ...
- C/C++ 关键字 static 详细解析
static关键字是一个修饰符,根const类似,被它修饰的变量和函数分别被称为静态变量和静态函数,根据修饰的对象的不同,static表现出来的作用也不同. 1. C语言中的 static 在C语言中 ...
- yum install的时候提示:Loaded plugins: fastestmirror
fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了. 不能用就先别用呗,禁用掉,先yum了再说. 1.修改插件的配置文件 # vi /etc/yum/pluginco ...
- js下载文件防止白屏
思路:用js创建一个iframe,让后指定src为下载目录. var ifup = document.getElementById("xman-activity-export-downLoa ...
- java websocket详细
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring- ...
- 实验:在Arduino上使用printf格式化输出到串口
那么在pcDuino上如何用printf函数将数据从串口送出来呢?这就需要修改Arduino上的串口的库文件了.修改 步骤如下: 1.在 pcduino上arduino的库文件路径是:/usr /a ...
- C语言||一作业03
1.作业头 这个作业属于哪个课程 https://edu.cnblogs.com/campus/zswxy/SE2020-3/ 这个作业目标在哪 https://edu.cnblogs.com/cam ...