首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行ubuntu20.04客户操作系统时出错:“客户操作系统禁用了CPU。”

运行ubuntu20.04客户操作系统时出错:“客户操作系统禁用了CPU。”
EN

Unix & Linux用户
提问于 2021-02-25 14:53:23
回答 1查看 859关注 0票数 1

我正在vmware esxi服务器(6.5)中运行一台虚拟机ubuntu20.04(5.11.0-051100通用内核)机器。

在使用python代码时,该代码将连接到另一台计算机,并使用pexpect模块执行命令,但客户操作系统崩溃时会出现以下错误。

代码语言:javascript
复制
The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.

详细日志

代码语言:javascript
复制
9:13:59.142Z| vcpu-1| I125: AHCI-VMM: sata0:28: Exiting COMRESET state.
9:13:59.449Z| vcpu-0| I125: AHCI-USER: Already in check condition 02 3a 01
9:13:59.498Z| vmx| I125: CDROM sata0:0: CMD 0x5a (MODE SENSE(10)) FAILED (key 0x5 asc 0x20 ascq 0)
9:14:01.415Z| svga| I125: SVGA hiding SVGA
9:14:01.417Z| vcpu-1| I125: Guest: vmwgfx: In Tree-Unknown
9:14:01.417Z| vcpu-1| I125: Guest: vmwgfx: Module Version: 2.18.0
9:14:01.417Z| svga| I125: SVGA enabling SVGA
9:14:01.432Z| svga| I125: SVGA-ScreenMgr: Screen type changed to ScreenTarget
9:14:01.959Z| vcpu-0| I125: Tools: Running status rpc handler: 0 => 1.
9:14:01.959Z| vcpu-0| I125: Tools: Changing running status: 0 => 1.
9:14:01.959Z| vcpu-0| I125: Tools: Removing Tools inactivity timer.
9:14:02.413Z| vcpu-2| I125: VMXNET3 user: Ethernet0 Driver Info: version = 17104896 gosBits = 2 gosType = 1, gosVer = 0, gosMisc = 0
9:14:22.960Z| vcpu-0| I125: Tools: Tools heartbeat timeout.
9:14:22.960Z| vcpu-0| I125: Tools: Running status rpc handler: 1 => 0.
9:14:22.960Z| vcpu-0| I125: Tools: Changing running status: 1 => 0.
9:14:47.608Z| vcpu-3| I125: APIC THERMLVT write: 0x10000
9:14:47.608Z| vcpu-2| I125: APIC THERMLVT write: 0x10000
9:14:47.608Z| vcpu-1| I125: APIC THERMLVT write: 0x10000
**9:14:47.608Z| vcpu-0| I125: APIC THERMLVT write: 0x10000
9:14:47.608Z| vcpu-0| I125: Vix: [2898800 vmxCommands.c:7212]: VMAutomation_HandleCLIHLTEvent. Do nothing.
9:14:47.608Z| vcpu-0| I125: MsgHint: msg.monitorevent.halt
9:14:47.608Z| vcpu-0| I125+ The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.**
9:14:47.608Z| vcpu-0| I125+

对此错误进行了一些搜索,并应用了一些与此错误相关的解决方法。

  • 将内核升级到5.11.0-051100-通用内核。
  • 在modprobe.blacklist=intel_powerclamp文件中设置/etc/default/grub
  • Ubuntu 20.04.vmx文件中设置cpuid.1.eax =“0000:0000:0001:0000:0110:1010:0101”
  • 在vhv.enable文件中启用Ubuntu 20.04.vmx = "true“。

但这些都解决不了这个问题。有人能帮上忙吗。

EN

回答 1

Unix & Linux用户

发布于 2021-05-01 14:43:00

我是同样的问题,解决方案是改变网络适配器,使用E1000E而不是VMXNET。你可以试试,祝你好运。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/636372

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档