2022-10-13T03:33:00.888Z In(05) host-43224 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录. 2022-10-13T03:33:00.888Z In(05) host-43224 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录. 2022-10-13T03:33:00.888Z In(05) host-43224 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 2022-10-13T03:33:00.888Z In(05) host-43224 DictionaryLoad: Cannot open file "/home/kylin/.vmware/config": 没有那个文件或目录. 2022-10-13T03:33:00.888Z In(05) host-43224 [msg.dictionary.load.openFailed] Cannot open file "/home/kylin/.vmware/config": 没有那个文件或目录. 2022-10-13T03:33:00.888Z In(05) host-43224 PREF Optional preferences file not found at /home/kylin/.vmware/config. Using default values. 2022-10-13T03:33:00.957Z Wa(03) host-43224 Logging to /tmp/vmware-kylin/vmware-43224.log 2022-10-13T03:33:00.965Z In(05) host-43224 Obtaining info using the running kernel. 2022-10-13T03:33:00.965Z In(05) host-43224 Created new pathsHash. 2022-10-13T03:33:00.965Z In(05) host-43224 Setting header path for 5.15.0-50-generic to "/lib/modules/5.15.0-50-generic/build/include". 2022-10-13T03:33:00.965Z In(05) host-43224 Validating path "/lib/modules/5.15.0-50-generic/build/include" for kernel release "5.15.0-50-generic". 2022-10-13T03:33:00.965Z In(05) host-43224 Failed to find /lib/modules/5.15.0-50-generic/build/include/linux/version.h 2022-10-13T03:33:00.965Z In(05) host-43224 /lib/modules/5.15.0-50-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-10-13T03:33:00.965Z In(05) host-43224 using /usr/bin/gcc-9 for preprocess check 2022-10-13T03:33:00.968Z In(05) host-43224 Preprocessed UTS_RELEASE, got value "5.15.0-50-generic". 2022-10-13T03:33:00.968Z In(05) host-43224 The header path "/lib/modules/5.15.0-50-generic/build/include" for the kernel "5.15.0-50-generic" is valid. ?Whoohoo! 2022-10-13T03:33:01.096Z In(05) host-43224 found symbol version file /lib/modules/5.15.0-50-generic/build/Module.symvers 2022-10-13T03:33:01.096Z In(05) host-43224 Reading symbol versions from /lib/modules/5.15.0-50-generic/build/Module.symvers. 2022-10-13T03:33:01.110Z In(05) host-43224 Read 26281 symbol versions 2022-10-13T03:33:01.110Z In(05) host-43224 Reading in info for the vmmon module. 2022-10-13T03:33:01.110Z In(05) host-43224 Reading in info for the vmnet module. 2022-10-13T03:33:01.110Z In(05) host-43224 Invoking modinfo on "vmmon". 2022-10-13T03:33:01.113Z In(05) host-43224 "/sbin/modinfo" exited with status 256. 2022-10-13T03:33:01.113Z In(05) host-43224 Invoking modinfo on "vmnet". 2022-10-13T03:33:01.115Z In(05) host-43224 "/sbin/modinfo" exited with status 256. 2022-10-13T03:33:01.125Z In(05) host-43224 to be installed: vmmon status: 0 2022-10-13T03:33:01.125Z In(05) host-43224 to be installed: vmnet status: 0 2022-10-13T03:33:01.136Z In(05) host-43224 Obtaining info using the running kernel. 2022-10-13T03:33:01.137Z In(05) host-43224 Setting header path for 5.15.0-50-generic to "/lib/modules/5.15.0-50-generic/build/include". 2022-10-13T03:33:01.137Z In(05) host-43224 Validating path "/lib/modules/5.15.0-50-generic/build/include" for kernel release "5.15.0-50-generic". 2022-10-13T03:33:01.137Z In(05) host-43224 Failed to find /lib/modules/5.15.0-50-generic/build/include/linux/version.h 2022-10-13T03:33:01.137Z In(05) host-43224 /lib/modules/5.15.0-50-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-10-13T03:33:01.137Z In(05) host-43224 using /usr/bin/gcc-9 for preprocess check 2022-10-13T03:33:01.140Z In(05) host-43224 Preprocessed UTS_RELEASE, got value "5.15.0-50-generic". 2022-10-13T03:33:01.140Z In(05) host-43224 The header path "/lib/modules/5.15.0-50-generic/build/include" for the kernel "5.15.0-50-generic" is valid. ?Whoohoo! 2022-10-13T03:33:01.273Z In(05) host-43224 found symbol version file /lib/modules/5.15.0-50-generic/build/Module.symvers 2022-10-13T03:33:01.273Z In(05) host-43224 Reading symbol versions from /lib/modules/5.15.0-50-generic/build/Module.symvers. 2022-10-13T03:33:01.287Z In(05) host-43224 Read 26281 symbol versions 2022-10-13T03:33:01.297Z In(05) host-43224 Kernel header path retrieved from FileEntry: /lib/modules/5.15.0-50-generic/build/include 2022-10-13T03:33:01.297Z In(05) host-43224 Update kernel header path to /lib/modules/5.15.0-50-generic/build/include 2022-10-13T03:33:01.297Z In(05) host-43224 Validating path "/lib/modules/5.15.0-50-generic/build/include" for kernel release "5.15.0-50-generic". 2022-10-13T03:33:01.297Z In(05) host-43224 Failed to find /lib/modules/5.15.0-50-generic/build/include/linux/version.h 2022-10-13T03:33:01.297Z In(05) host-43224 /lib/modules/5.15.0-50-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-10-13T03:33:01.297Z In(05) host-43224 using /usr/bin/gcc-9 for preprocess check 2022-10-13T03:33:01.300Z In(05) host-43224 Preprocessed UTS_RELEASE, got value "5.15.0-50-generic". 2022-10-13T03:33:11.571Z In(05) host-43224 make[2]: *** [scripts/Makefile.build:297:/tmp/modconfig-w1XHK0/vmmon-only/common/task.o] 错误 1 2022-10-13T03:33:11.571Z In(05) host-43224 make[2]: *** 正在等待未完成的任务.... 2022-10-13T03:33:11.571Z In(05) host-43224 make[1]: *** [Makefile:1900:/tmp/modconfig-w1XHK0/vmmon-only] 错误 2 2022-10-13T03:33:11.571Z In(05) host-43224 make: *** [Makefile:117:vmmon.ko] 错误 2 2022-10-13T03:33:11.571Z In(05) host-43224 Using kernel build system. 2022-10-13T03:33:11.571Z In(05) host-43224 In file included from ./include/linux/pci.h:43, 2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/compat_netdevice.h:27, 2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/netif.c:44: 2022-10-13T03:33:11.571Z In(05) host-43224 ./include/linux/pci_ids.h:2272: warning: "PCI_VENDOR_ID_VMWARE" redefined 2022-10-13T03:33:11.571Z In(05) host-43224 ?2272 | #define PCI_VENDOR_ID_VMWARE ?0x15ad 2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? | 2022-10-13T03:33:11.571Z In(05) host-43224 In file included from /tmp/modconfig-w1XHK0/vmnet-only/net.h:38, 2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/vnetInt.h:26, 2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/netif.c:43: 2022-10-13T03:33:11.571Z In(05) host-43224 /tmp/modconfig-w1XHK0/vmnet-only/vm_device_version.h:57: note: this is the location of the previous definition 2022-10-13T03:33:11.571Z In(05) host-43224 ? ?57 | #define PCI_VENDOR_ID_VMWARE ? ? ? ? ? ? ? ? ? ?0x15AD 2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? | 2022-10-13T03:33:11.572Z In(05) host-43224 In file included from ./include/linux/pci.h:43, 2022-10-13T03:33:11.572Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/compat_netdevice.h:27, 2022-10-13T03:33:11.572Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/netif.c:44: 2022-10-13T03:33:11.572Z In(05) host-43224 ./include/linux/pci_ids.h:2273: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined 2022-10-13T03:33:11.572Z In(05) host-43224 ?2273 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 2022-10-13T03:33:11.572Z In(05) host-43224 ? ? ? | ? |
安装缺失模块
需要手动去编译缺失的vmmon 和vmnet 模块
依赖一个git 开源仓库,获取仓库
#git clone https://github.com/mkubecek/vmware-host-modules
# cd vmware-host-modules
#git? branch -a
#remotes/origin/master ? remotes/origin/player ? remotes/origin/player-12.5.2 ? remotes/origin/player-12.5.5 ? remotes/origin/player-12.5.6 查看本机的vmware
vmware --version VMware Workstation 16.2.1 build-18811642
执行
git checkout workstation-16.2.1
开始编译安装后
sudo? make? sudo make? install |
最后重新加载所有vmware 模块服务
sudo /etc/init.d/vmware start
最后点开vmware可以正常启动
|