vmmon 和 vmnet 未安装在 Ubuntu 22.04 LTS(内核 6.5.0-21-generic)中

vmmon 和 vmnet 未安装在 Ubuntu 22.04 LTS(内核 6.5.0-21-generic)中

我正在尝试在我的设备上安装 Vmware Workstation 17。我安装了.bundle从官方网站获取的文件。gcc gcc-11 gcc-12 build-essentials通过安装apt。然后我运行命令sudo vmware-modconfig --console --install-all但发现此错误。第一个输出图像 所以我替换了 mkubecek 的 Github 仓库。它不起作用。这是VMware Player 17.5.1 build-23298084。我还能做什么??这是来自命令的日志

ahanaf@Dell-Latitude-E6440:~$ sudo vmware-modconfig --console --install-all
[sudo] password for ahanaf: 
[AppLoader] Use shipped Linux kernel AIO access library.
An up-to-date "libaio" or "libaio1" package from your system is preferred.
[AppLoader] GLib does not have GSettings support.
Stopping VMware services:
   VMware Authentication Daemon                                done
   Virtual machine monitor                                     done
make: Entering directory '/tmp/modconfig-8hCRDz/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/6.5.0-21-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-21-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/crosspage.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/memtrack.o
/tmp/modconfig-8hCRDz/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in RETHUNK build
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/moduleloop.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/sharedAreaVmmon.o
/tmp/modconfig-8hCRDz/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-8hCRDz/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/statVarsVmmon.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/bootstrap/bootstrap.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/bootstrap/monLoader.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/bootstrap/monLoaderVmmon.o
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/bootstrap/vmmblob.o
/tmp/modconfig-8hCRDz/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
  LD [M]  /tmp/modconfig-8hCRDz/vmmon-only/vmmon.o
  MODPOST /tmp/modconfig-8hCRDz/vmmon-only/Module.symvers
  CC [M]  /tmp/modconfig-8hCRDz/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-8hCRDz/vmmon-only/vmmon.ko
  BTF [M] /tmp/modconfig-8hCRDz/vmmon-only/vmmon.ko
Skipping BTF generation for /tmp/modconfig-8hCRDz/vmmon-only/vmmon.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-21-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-8hCRDz/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-8hCRDz/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-8hCRDz/vmmon-only'
make: Entering directory '/tmp/modconfig-8hCRDz/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/6.5.0-21-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-21-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/procfs.o
/tmp/modconfig-8hCRDz/vmnet-only/userif.o: warning: objtool: VNetCsumAndCopyToUser+0x2d: call to csum_partial_copy_nocheck() with UACCESS enabled
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/vnetEvent.o
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/vnetUserListener.o
  LD [M]  /tmp/modconfig-8hCRDz/vmnet-only/vmnet.o
  MODPOST /tmp/modconfig-8hCRDz/vmnet-only/Module.symvers
  CC [M]  /tmp/modconfig-8hCRDz/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/modconfig-8hCRDz/vmnet-only/vmnet.ko
  BTF [M] /tmp/modconfig-8hCRDz/vmnet-only/vmnet.ko
Skipping BTF generation for /tmp/modconfig-8hCRDz/vmnet-only/vmnet.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-21-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-8hCRDz/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-8hCRDz/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-8hCRDz/vmnet-only'
Starting VMware services:
   Virtual machine monitor                                    failed
   Virtual machine communication interface                     done
   VM communication interface socket family                    done
   Virtual ethernet                                           failed
   VMware Authentication Daemon                                done
Unable to start services

相关内容