异常日志:

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 后无法启动的更多相关文章

  1. Ubuntu 22.04 安装 VMware Tools

    VM 下的 install VMWare Tools 终端下载 VMware Tools sudo apt install open-vm-tools-desktop -y reboot

  2. Ubuntu 14.04 安装VMware 12

    /*********************************************************************** * Ubuntu 14.04 安装VMware 12 ...

  3. vmware 8下ubuntu 13.04安装vmware tools

    在虚拟机vmware 8.0里安装了ubuntu 13.04.为了方便与主机交互,安装vmware tools. 解压后直接运行 ./vmware-install.pl 一路默认路径安装下来,到&qu ...

  4. Ubuntu 12.04安装VMware Workstation8.0.3

    2012-06-18 12:52   Ubuntu安装VMware Workstation8.0.3   由于使用Ubuntu的人比较少,网上关于Ubuntu的资料也很少,笔者在安装VMware Wo ...

  5. Ubuntu 22.04 安装 utools 时的疑难杂症

    Error: libcrypto.so.1.1 原因:libcrypto.so.1.1 该依赖的版本不对,ubuntu 默认是使用的 openssl3 的依赖 这个是 openssl1 的 wget ...

  6. Ubuntu 22.04 安装搜狗输入法

    下载搜狗输入法 下载地址https://shurufa.sogou.com/linux 也可以命令下载 wget https://ime.sogouimecdn.com/202212182151/3b ...

  7. ubuntu 22.04安装多个gcc

    sudo apt install gcc-9 g++-9 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 - ...

  8. Ubuntu 22.04 LTS 安装 0.A.D 实时策略游戏 并汉化

    众所周知,Linux生态中,能玩的正儿八经的大型游戏其实没几个,而 0.A.D 这个游戏就是这其中之一.这是一个类似于帝国时代的实时策略游戏,开源跨平台,这是其官方网站:https://play0ad ...

  9. Ubuntu 18.04 安装MySQL

    最近在写东西的时候,需要用到MySQL,在网上查了一下,都说Ubuntu18.04不能安装MySQL5.7.22, 总觉的不可能,所以自己就研究了一下,然后分享给大家 工具/原料   VMware W ...

  10. ubuntu 14.04 安装svn server (subversionedge )

    ubuntu 14.04 安装subversionedge 请仔细阅读安装包自带的readme文件! 1.先去官网,找安装包: http://subversion.apache.org/ http:/ ...

随机推荐

  1. Unity3d 动画转换中断

    翻译自https://blogs.unity3d.com/2016/07/13/wait-ive-changed-my-mind-state-machine-transition-interrupti ...

  2. sqlserver存储过程学习

    存储过程学习  一.定义变量 --简单赋值  declare @a int set @a=5  print @a     --使用select语句赋值  declare @user1 nvarchar ...

  3. adb 测试常用命令

    adb 环境安装并配置环境变量 常用命令汇总: 1.查看电脑已经连接的手机设备 adb devices 2.通过logcat日志获取应用APP入口 mac/linux:adb logcat Activ ...

  4. mariadb数据库用户管理(创建、赋权、)

    数据库查看当前用户 select user(): MariaDB [(none)]> select user(); +----------------+ | user() | +-------- ...

  5. js 时间 日期

    date.getYear(); // 获取当前年份(2 位) date.getFullYear(); // 获取完整的年份(4 位, 1970-????) date.getMonth(); // 获取 ...

  6. File、Files、Path、Paths

    一.Path.Paths 和 File.Files // Paths 工具类,用于获取 Path 实例 Path path = Paths.get("files/Data.txt" ...

  7. js任务执行顺序

    JS 线程简述 js是单线程的,一次只能执行一个任务,执行完毕后才能继续下一个. js执行任务的方式也叫作同步执行,同步和异步与我们平时理解的不太一样,平时的同步我们会认为是多个事情一起做,但是在js ...

  8. 039_External Data Source(转载)

    场景描述:很多时候在实际开发中都会遇到很多数据集成问题,如Salesforce和SAP同步数据.为了让类似问题能方便.快速地解决,Salesforce提供了"外部数据源"这样的工具 ...

  9. 宽字符集(unicode)操作函数 (转)

    字符分类: 宽字符函数 普通C函数 描述 iswalnum() isalnum() 测试字符是否为数字或字母 iswalpha() isalpha() 测试字符是否是字母 iswcntrl() isc ...

  10. c# HttpServer 的使用

    在很多的时候,我们写的应用程序需要提供一个信息说明或者告示功能,希望借助于HttpServer来发布一个简单的网站功能,但是又不想架一个臃肿的Http服务器功能, 这时候,标准框架提供的HttpSer ...