Ubuntu 20.04.1 LTS
VMware Player 15.5.6 内部版本-16341506
内核:5.8.0-36-generic
我重新安装了 VmWare Playe,然后应用了https://github.com/baryonix/vmware-host-modules/tree/fixes-for-5.8
但是当我在没有包装器的情况下启动时,我收到 vmmon 错误,即使我的安全启动已被禁用(正如这篇 vm-ware 文章所建议的:https://kb.vmware.com/s/article/2146460)
$ /usr/lib/vmware/bin/vmplayer
Could not open /dev/vmmon: Cannot open /dev/vmmon: No such file or directory.
请确保内核模块‘vmmon’已加载。
我发现你可以手动加载模块,所以我就这么做了
$ sudo modprobe -a
现在我至少可以加载我的虚拟机,但是 vmnet 模块似乎不起作用。获取错误
Could not connect 'Ethernet0' to virtual network '/dev/vmnet8
这似乎是相关的日志输出:
2021-01-11T15:32:41.807+01:00| vcpu-0| I005: VNET: 'ethernet0' enable link state propagation, lsp.state = 5
2021-01-11T15:32:41.807+01:00| vcpu-0| I005: VNET: MACVNetPortOpenDevice: Ethernet0: can't open vmnet device (No such file or directory)
2021-01-11T15:32:41.807+01:00| vcpu-0| I005: VNET: MACVNetPort_Connect: Ethernet0: can't open data fd
2021-01-11T15:32:41.808+01:00| vcpu-0| I005: Msg_Post: Warning
2021-01-11T15:32:41.808+01:00| vcpu-0| I005: [msg.vnet.connectvnet] Could not connect 'Ethernet0' to virtual network '/dev/vmnet8'. More information can be found in the vmware.log file.
2021-01-11T15:32:41.808+01:00| vcpu-0| I005: [msg.device.startdisconnected] Virtual device 'Ethernet0' will start disconnected.
我找到了一种解决方法,但它很烦人,正如所指出的那样这里 启动虚拟机然后:
$ sudo modprobe vmnet && sudo vmware-networks --start
下面建议的 sudo systemctl start vmware-networks.service 对我来说不起作用。
答案1
VMWare 15.5 显然存在内核 5.8 问题。一种解决方案是安装软件包grub-customizer
并将 Grub 设置为使用内核 5.4 作为标准 - 然后 VMWare 将再次工作。
干杯,Wolfram