10 天后,我尝试打开 VMware,但它停止工作了。由于 Ubuntu 不太好用,我尝试使用几篇文章中的解决方案来解决问题,但同样的问题出现了,从终端运行时显示错误消息。附件中还有几个文件,其中包含日志和错误消息的屏幕截图:
对话框中的消息是:
在运行 VMware 之前,必须编译几个模块并将其加载到正在运行的内核中。
终端的内容为:
mohit@:~/Downloads$ vmware
Gtk-Message: 12:22:38.926: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: 12:22:43.386: GtkDialog mapped without a transient parent. This is discouraged.
Stopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: Entering directory '/tmp/modconfig-gBfrut/vmmon-only'
/usr/bin/make -C /lib/modules/5.0.0-27-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.0-27-generic'
CC [M] /tmp/modconfig-gBfrut/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/common/task.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/vmcore/moduleloop.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/bootstrap/monLoaderVmmon.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/bootstrap/monLoader.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/bootstrap/vmmblob.o
CC [M] /tmp/modconfig-gBfrut/vmmon-only/bootstrap/bootstrap.o
scripts/Makefile.build:284: recipe for target '/tmp/modconfig-gBfrut/vmmon-only/linux/hostif.o' failed
Makefile:1606: recipe for target '_module_/tmp/modconfig-gBfrut/vmmon-only' failed
make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-27-generic'
Makefile:110: recipe for target 'vmmon.ko' failed
make: Leaving directory '/tmp/modconfig-gBfrut/vmmon-only'
make: Entering directory '/tmp/modconfig-gBfrut/vmnet-only'
/usr/bin/make -C /lib/modules/5.0.0-27-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.0-27-generic'
CC [M] /tmp/modconfig-gBfrut/vmnet-only/driver.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/hub.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/userif.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/netif.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/bridge.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/procfs.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/smac.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/vnetEvent.o
CC [M] /tmp/modconfig-gBfrut/vmnet-only/vnetUserListener.o
scripts/Makefile.build:284: recipe for target '/tmp/modconfig-gBfrut/vmnet-only/userif.o' failed
Makefile:1606: recipe for target '_module_/tmp/modconfig-gBfrut/vmnet-only' failed
make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-27-generic'
Makefile:110: recipe for target 'vmnet.ko' failed
make: Leaving directory '/tmp/modconfig-gBfrut/vmnet-only'
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done
请建议我该如何解决这个问题。
***LOG FILE MESSAGE**************************
2019-09-06T12:03:16.571+10:00| modconfig| I125: Log for VMware Workstation pid=6753 version=15.0.2 build=build-10952284 option=Release
2019-09-06T12:03:16.571+10:00| modconfig| I125: The process is 64-bit.
2019-09-06T12:03:16.571+10:00| modconfig| I125: Host codepage=UTF-8 encoding=UTF-8
2019-09-06T12:03:16.571+10:00| modconfig| I125: Host is Linux 5.0.0-27-generic Ubuntu 18.04.3 LTS
2019-09-06T12:03:16.570+10:00| modconfig| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-09-06T12:03:16.570+10:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2019-09-06T12:03:16.570+10:00| modconfig| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2019-09-06T12:03:16.570+10:00| modconfig| I125: DictionaryLoad: Cannot open file "/home/mohit/.vmware/config": No such file or directory.
2019-09-06T12:03:16.570+10:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/mohit/.vmware/config": No such file or directory.
2019-09-06T12:03:16.570+10:00| modconfig| I125: PREF Optional preferences file not found at /home/mohit/.vmware/config. Using default values.
2019-09-06T12:03:16.607+10:00| modconfig| I125: Initialized! Lets do this thing...
2019-09-06T12:03:16.607+10:00| modconfig| I125: Obtaining info using the running kernel.
2019-09-06T12:03:16.607+10:00| modconfig| I125: Created new pathsHash.
2019-09-06T12:03:16.607+10:00| modconfig| I125: Setting header path for 5.0.0-27-generic to "/lib/modules/5.0.0-27-generic/build/include".
2019-09-06T12:03:16.607+10:00| modconfig| I125: Validating path "/lib/modules/5.0.0-27-generic/build/include" for kernel release "5.0.0-27-generic".
2019-09-06T12:03:16.607+10:00| modconfig| I125: using /usr/bin/gcc-7 for preprocess check
2019-09-06T12:03:16.615+10:00| modconfig| I125: Preprocessed UTS_RELEASE, got value "5.0.0-27-generic".
2019-09-06T12:03:16.615+10:00| modconfig| I125: The header path "/lib/modules/5.0.0-27-generic/build/include" for the kernel "5.0.0-27-generic" is valid. Whoohoo!
2019-09-06T12:03:16.725+10:00| modconfig| I125: found symbol version file /lib/modules/5.0.0-27-generic/build/Module.symvers
2019-09-06T12:03:16.725+10:00| modconfig| I125: Reading symbol versions from /lib/modules/5.0.0-27-generic/build/Module.symvers.
2019-09-06T12:03:16.742+10:00| modconfig| I125: Read 23264 symbol versions
2019-09-06T12:03:16.742+10:00| modconfig| I125: Reading in info for the vmmon module.
2019-09-06T12:03:16.742+10:00| modconfig| I125: Reading in info for the vmnet module.
2019-09-06T12:03:16.742+10:00| modconfig| I125: Reading in info for the vmci module.
2019-09-06T12:03:16.742+10:00| modconfig| I125: Reading in info for the vsock module.
2019-09-06T12:03:16.742+10:00| modconfig| I125: Setting vsock to depend on vmci.
2019-09-06T12:03:16.758+10:00| modconfig| I125: Trying to find a suitable PBM set for kernel "5.0.0-27-generic".
2019-09-06T12:03:16.758+10:00| modconfig| I125: No matching PBM set was found for kernel "5.0.0-27-generic".
2019-09-06T12:03:16.758+10:00| modconfig| I125: Found compiler at "/usr/bin/gcc"
2019-09-06T12:03:16.760+10:00| modconfig| I125: Got gcc version "7".
2019-09-06T12:03:16.760+10:00| modconfig| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-09-06T12:03:16.760+10:00| modconfig| I125: Using temp dir "/tmp".
2019-09-06T12:03:17.149+10:00| modconfig| I125: Setting destination path for vmmon to "/lib/modules/5.0.0-27-generic/misc/vmmon.ko".
2019-09-06T12:03:17.149+10:00| modconfig| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2019-09-06T12:03:17.153+10:00| modconfig| I125: Successfully extracted the vmmon source.
2019-09-06T12:03:17.153+10:00| modconfig| I125: Building module with command "/usr/bin/make -j12 -C /tmp/modconfig-vKs08g/vmmon-only auto-build HEADER_DIR=/lib/modules/5.0.0-27-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2019-09-06T12:03:18.526+10:00| modconfig| W115: Failed to build vmmon. Failed to execute the build command.
2019-09-06T12:03:18.526+10:00| modconfig| I125: Setting destination path for vmnet to "/lib/modules/5.0.0-27-generic/misc/vmnet.ko".
2019-09-06T12:03:18.526+10:00| modconfig| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2019-09-06T12:03:18.529+10:00| modconfig| I125: Successfully extracted the vmnet source.
2019-09-06T12:03:18.529+10:00| modconfig| I125: Building module with command "/usr/bin/make -j12 -C /tmp/modconfig-vKs08g/vmnet-only auto-build HEADER_DIR=/lib/modules/5.0.0-27-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2019-09-06T12:03:20.123+10:00| modconfig| W115: Failed to build vmnet. Failed to execute the build command.
2019-09-06T12:03:20.132+10:00| modconfig| I125: We are now shutdown. Ready to die!
******************