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:/ ...
随机推荐
- cc1
基础 cc接口及类介绍 Transformer接口 Defines a functor interface implemented by classes that transform one obje ...
- curl 与 header 及 file_get_countents 访问内容时的区别
在开发中 想用curl 或者是file_get_contents 模拟请求或者是获取数据时 ,经常会发现获取到的内容与想象中的不一样,主要原因在与这两个走得host要走外网,在内网及测试环境下host ...
- lvm 扩容操作
lsblk查看sda分区信息: 查看vgroot大小: sda磁盘447G,vgroot用300G左右而已,如果分区vg不足,需要手动进行扩容操作: 1. 首先新建一个sda4分区: 默认的地方直接 ...
- django:django同步数据库的时候app models表没有成功创建
解决方式: python3 manage.py makemigrations --empty managerbook # managerbook就是你的app名字,此处要写成自己的app名字 pyt ...
- C#实现Bitmap旋转
原文链接 Rotate180FlipNone 指定不进行翻转的 180 度旋转.Rotate180FlipX 指定后接水平翻转的 180 度旋转.Rotate180FlipXY 指定后接水平翻转和垂直 ...
- 【Docker】清理磁盘占用
查看磁盘空间占用 # /var/lib/docker # du -sh * 快速清理 简单清除不使用的镜像及容器 docker system prune docker system prune -a ...
- 【shell脚本实战】脚本#35 分析每个用户使用的磁盘空间大小
#!/bin/bash #设置 一个变量代表临界值,看看是否能超过这个值,单位是MB MAXDISKUSAGE=20000 #cut -d: -f1,3 /etc/passwd | awk -F: ' ...
- 保护IIS Web服务器安全的技巧
首先,开发一套安全策略 保护Web服务器的第一步是确保网络管理员清楚安全策略中的每一项制度.如果公司高层没有把服务器的安全看作是必须被保护的资产,那么保护工作是完全没有意义的.这项工作需要长期的努力. ...
- ansiable学习
ansiable是用来做什么的? Ansible是一个配置管理和配置工具,是运维开发人员的批操作利器. ansiable是怎样实现高效的? 在一台机器上配置好模板,通过ssh在其他机器上按照模板执行. ...
- Leecode-每日一题-题目448. 找到所有数组中消失的数字
今天重新开始刷leecode 为了致敬我的偶像,还是选择把做题笔记发在博客园上 题目448. 找到所有数组中消失的数字 给定一个范围在 1 ≤ a[i] ≤ n ( n = 数组大小 ) 的 整型数 ...