Çözüldü Debian testing/sid tabanında VMware "unable to install all modules" hatası

  • Konuyu başlatan eater
  • Başlangıç Tarihi
  • Mesaj 9
  • Görüntüleme 1.241
Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.
Çözüm
dkms paketini kur. Şunu indir ve çıkart. vmware-host-modules-w16.2.3.tar.gz

Çıkarttığın dizin içinde dkms.conf dosyası oluştur ve içine şunları ekle, dosyayı kaydet.

Kod:
PACKAGE_VERSION="16.2.3"
PACKAGE_NAME="vmware-modules"
BUILD_DIR="$dkms_tree/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"
BUILT_MODULE_NAME[0]="vmmon"
BUILT_MODULE_LOCATION[0]=""
DEST_MODULE_LOCATION[0]="/updates"
BUILT_MODULE_NAME[1]="vmnet"
BUILT_MODULE_LOCATION[1]=""
DEST_MODULE_LOCATION[1]="/updates"
MAKE[0]="make; find ${BUILD_DIR} -name '*.ko' -exec mv -v {} ${BUILD_DIR} \;"
CLEAN="make clean"
AUTOINSTALL="yes"

Dizin içinde aşağıdaki komutu çalıştır.

Kod:
sudo dkms install .

Bu şekilde yeni çekirdek kurunca da modüller otomatik eklenir. Çekirdek 5.4 ve 5.17 arasında sorunsuz kuruldu.
Onu denemiştim olmuyor.
linux-headers kur yoksa. Hangi distro oldugunu soylesen komutu yazardim...

Bir de hatada yazan log dosyasini at.
Parrot

2022-03-23T11:45:03.270Z In(05) host-4797 Log for VMware Workstation pid=4797 version=16.2.3 build=build-19376536 option=Release 2022-03-23T11:45:03.270Z In(05) host-4797 The host is 64-bit. 2022-03-23T11:45:03.270Z In(05) host-4797 Host codepage=UTF-8 encoding=UTF-8 2022-03-23T11:45:03.270Z In(05) host-4797 Host is Linux 5.16.0-12parrot1-amd64 Parrot OS 5.0 (Electric Ara) Parrot OS 5.0 (Electric Ara) 5.0 2022-03-23T11:45:03.270Z In(05) host-4797 Host offset from UTC is +03:00. 2022-03-23T11:45:03.251Z In(05) host-4797 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2022-03-23T11:45:03.251Z In(05) host-4797 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2022-03-23T11:45:03.251Z In(05) host-4797 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 2022-03-23T11:45:03.261Z In(05) host-4797 DictionaryLoad: Cannot open file "/home/kokopox/.vmware/config": No such file or directory. 2022-03-23T11:45:03.261Z In(05) host-4797 [msg.dictionary.load.openFailed] Cannot open file "/home/kokopox/.vmware/config": No such file or directory. 2022-03-23T11:45:03.261Z In(05) host-4797 PREF Optional preferences file not found at /home/kokopox/.vmware/config. Using default values. 2022-03-23T11:45:03.569Z Wa(03) host-4797 Logging to /tmp/vmware-kokopox/vmware-4797.log 2022-03-23T11:45:03.698Z In(05) host-4797 Obtaining info using the running kernel. 2022-03-23T11:45:03.698Z In(05) host-4797 Created new pathsHash. 2022-03-23T11:45:03.698Z In(05) host-4797 Setting header path for 5.16.0-12parrot1-amd64 to "/lib/modules/5.16.0-12parrot1-amd64/build/include". 2022-03-23T11:45:03.698Z In(05) host-4797 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-03-23T11:45:03.698Z In(05) host-4797 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-03-23T11:45:03.698Z In(05) host-4797 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-03-23T11:45:03.699Z In(05) host-4797 using /usr/bin/gcc-11 for preprocess check 2022-03-23T11:45:03.712Z In(05) host-4797 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-03-23T11:45:03.712Z In(05) host-4797 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-03-23T11:45:04.357Z In(05) host-4797 found symbol version file /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers 2022-03-23T11:45:04.357Z In(05) host-4797 Reading symbol versions from /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers. 2022-03-23T11:45:04.477Z In(05) host-4797 Read 23536 symbol versions 2022-03-23T11:45:04.477Z In(05) host-4797 Reading in info for the vmmon module. 2022-03-23T11:45:04.477Z In(05) host-4797 Reading in info for the vmnet module. 2022-03-23T11:45:04.477Z In(05) host-4797 Invoking modinfo on "vmmon". 2022-03-23T11:45:04.483Z In(05) host-4797 "/sbin/modinfo" exited with status 256. 2022-03-23T11:45:04.483Z In(05) host-4797 Invoking modinfo on "vmnet". 2022-03-23T11:45:04.492Z In(05) host-4797 "/sbin/modinfo" exited with status 256. 2022-03-23T11:45:04.540Z In(05) host-4797 to be installed: vmmon status: 0 2022-03-23T11:45:04.540Z In(05) host-4797 to be installed: vmnet status: 0 2022-03-23T11:45:04.569Z In(05) host-4797 Obtaining info using the running kernel. 2022-03-23T11:45:04.569Z In(05) host-4797 Setting header path for 5.16.0-12parrot1-amd64 to "/lib/modules/5.16.0-12parrot1-amd64/build/include". 2022-03-23T11:45:04.569Z In(05) host-4797 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-03-23T11:45:04.569Z In(05) host-4797 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-03-23T11:45:04.569Z In(05) host-4797 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-03-23T11:45:04.569Z In(05) host-4797 using /usr/bin/gcc-11 for preprocess check 2022-03-23T11:45:04.582Z In(05) host-4797 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-03-23T11:45:04.582Z In(05) host-4797 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-03-23T11:45:05.058Z In(05) host-4797 found symbol version file /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers 2022-03-23T11:45:05.072Z In(05) host-4797 Reading symbol versions from /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers. 2022-03-23T11:45:05.120Z In(05) host-4797 Read 23536 symbol versions 2022-03-23T11:45:05.127Z In(05) host-4797 Kernel header path retrieved from FileEntry: /lib/modules/5.16.0-12parrot1-amd64/build/include 2022-03-23T11:45:05.127Z In(05) host-4797 Update kernel header path to /lib/modules/5.16.0-12parrot1-amd64/build/include 2022-03-23T11:45:05.127Z In(05) host-4797 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-03-23T11:45:05.127Z In(05) host-4797 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-03-23T11:45:05.127Z In(05) host-4797 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-03-23T11:45:05.127Z In(05) host-4797 using /usr/bin/gcc-11 for preprocess check 2022-03-23T11:45:05.140Z In(05) host-4797 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-03-23T11:45:05.140Z In(05) host-4797 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-03-23T11:45:05.149Z In(05) host-4797 Found compiler at "/usr/bin/gcc" 2022-03-23T11:45:05.175Z In(05) host-4797 Got gcc version "10". 2022-03-23T11:45:05.175Z In(05) host-4797 GCC major version 10 does not match Kernel GCC major version 11. 2022-03-23T11:45:05.175Z In(05) host-4797 Attempting to use a compiler at location "/usr/bin/gcc-11". 2022-03-23T11:45:05.177Z In(05) host-4797 Got gcc version "11". 2022-03-23T11:45:05.177Z In(05) host-4797 The GCC version matches the kernel GCC minor version like a glove. 2022-03-23T11:45:05.180Z In(05) host-4797 Got gcc version "11". 2022-03-23T11:45:05.180Z In(05) host-4797 The GCC version matches the kernel GCC minor version like a glove. 2022-03-23T11:45:05.184Z In(05) host-4797 Trying to find a suitable PBM set for kernel "5.16.0-12parrot1-amd64". 2022-03-23T11:45:05.184Z In(05) host-4797 No matching PBM set was found for kernel "5.16.0-12parrot1-amd64". 2022-03-23T11:45:05.184Z In(05) host-4797 The GCC version matches the kernel GCC minor version like a glove. 2022-03-23T11:45:05.184Z In(05) host-4797 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-03-23T11:45:05.184Z In(05) host-4797 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-03-23T11:45:05.184Z In(05) host-4797 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-03-23T11:45:05.184Z In(05) host-4797 using /usr/bin/gcc-11 for preprocess check 2022-03-23T11:45:05.198Z In(05) host-4797 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-03-23T11:45:05.198Z In(05) host-4797 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-03-23T11:45:08.627Z In(05) host-4797 The GCC version matches the kernel GCC minor version like a glove. 2022-03-23T11:45:08.627Z In(05) host-4797 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-03-23T11:45:08.628Z In(05) host-4797 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-03-23T11:45:08.628Z In(05) host-4797 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-03-23T11:45:08.628Z In(05) host-4797 using /usr/bin/gcc-11 for preprocess check 2022-03-23T11:45:08.646Z In(05) host-4797 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-03-23T11:45:08.646Z In(05) host-4797 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-03-23T11:45:08.646Z In(05) host-4797 Using temp dir "/tmp". 2022-03-23T11:45:32.359Z In(05) host-4797 Stopping VMware services: 2022-03-23T11:45:32.359Z In(05) host-4797 VMware Authentication Daemon[71G done 2022-03-23T11:45:32.359Z In(05) host-4797 Virtual machine monitor[71G done 2022-03-23T11:45:32.359Z In(05) host-4797 make: Entering directory '/tmp/modconfig-I4vRRY/vmmon-only' 2022-03-23T11:45:32.359Z In(05) host-4797 /usr/bin/make -C /lib/modules/5.16.0-12parrot1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2022-03-23T11:45:32.359Z In(05) host-4797 MODULEBUILDDIR= modules 2022-03-23T11:45:32.359Z In(05) host-4797 make[1]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmmon-only/linux/driver.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmmon-only/linux/driverLog.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmmon-only/linux/hostif.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmmon-only/common/apic.o 2022-03-23T11:45:32.359Z In(05) host-4797 make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:45:32.359Z In(05) host-4797 make: Leaving directory '/tmp/modconfig-I4vRRY/vmmon-only' 2022-03-23T11:45:32.359Z In(05) host-4797 make: Entering directory '/tmp/modconfig-I4vRRY/vmnet-only' 2022-03-23T11:45:32.359Z In(05) host-4797 /usr/bin/make -C /lib/modules/5.16.0-12parrot1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2022-03-23T11:45:32.359Z In(05) host-4797 MODULEBUILDDIR= modules 2022-03-23T11:45:32.359Z In(05) host-4797 make[1]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/driver.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/hub.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/userif.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/netif.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/bridge.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/procfs.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/smac_compat.o 2022-03-23T11:45:32.359Z In(05) host-4797 CC [M] /tmp/modconfig-I4vRRY/vmnet-only/smac.o 2022-03-23T11:45:32.359Z In(05) host-4797 make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:45:32.359Z In(05) host-4797 make: Leaving directory '/tmp/modconfig-I4vRRY/vmnet-only' 2022-03-23T11:45:32.359Z In(05) host-4797 [AppLoader] GLib does not have GSettings support. 2022-03-23T11:45:32.359Z In(05) host-4797 Using kernel build system. 2022-03-23T11:45:32.359Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:45:32.359Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:45:32.359Z In(05) host-4797 warning: the compiler differs from the one used to build the kernel 2022-03-23T11:45:32.359Z In(05) host-4797 The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0 2022-03-23T11:45:32.359Z In(05) host-4797 You are using: gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0 2022-03-23T11:45:32.359Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:45:32.359Z In(05) host-4797 In file included from /tmp/modconfig-I4vRRY/vmmon-only/./include/vmware.h:38, 2022-03-23T11:45:32.359Z In(05) host-4797 from /tmp/modconfig-I4vRRY/vmmon-only/common/apic.c:19: 2022-03-23T11:45:32.359Z In(05) host-4797 /tmp/modconfig-I4vRRY/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:45:32.359Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:45:32.359Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:45:32.359Z In(05) host-4797 compilation terminated. 2022-03-23T11:45:32.360Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-I4vRRY/vmmon-only/common/apic.o] Error 1 2022-03-23T11:45:32.360Z In(05) host-4797 make[2]: *** Waiting for unfinished jobs.... 2022-03-23T11:45:32.360Z In(05) host-4797 In file included from /tmp/modconfig-I4vRRY/vmmon-only/./include/vmware.h:38, 2022-03-23T11:45:32.360Z In(05) host-4797 from /tmp/modconfig-I4vRRY/vmmon-only/linux/hostif.c:61: 2022-03-23T11:45:32.360Z In(05) host-4797 /tmp/modconfig-I4vRRY/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:45:32.360Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:45:32.360Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:45:32.360Z In(05) host-4797 compilation terminated. 2022-03-23T11:45:32.360Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-I4vRRY/vmmon-only/linux/hostif.o] Error 1 2022-03-23T11:45:32.360Z In(05) host-4797 In file included from /tmp/modconfig-I4vRRY/vmmon-only/./include/vmware.h:38, 2022-03-23T11:45:32.360Z In(05) host-4797 from /tmp/modconfig-I4vRRY/vmmon-only/linux/driver.c:45: 2022-03-23T11:45:32.360Z In(05) host-4797 /tmp/modconfig-I4vRRY/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:45:32.360Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:45:32.360Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:45:32.360Z In(05) host-4797 compilation terminated. 2022-03-23T11:45:32.360Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-I4vRRY/vmmon-only/linux/driver.o] Error 1 2022-03-23T11:45:32.360Z In(05) host-4797 make[1]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /tmp/modconfig-I4vRRY/vmmon-only] Error 2 2022-03-23T11:45:32.360Z In(05) host-4797 make: *** [Makefile:117: vmmon.ko] Error 2 2022-03-23T11:45:32.360Z In(05) host-4797 Using kernel build system. 2022-03-23T11:45:32.360Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:45:32.360Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:45:32.360Z In(05) host-4797 warning: the compiler differs from the one used to build the kernel 2022-03-23T11:45:32.360Z In(05) host-4797 The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0 2022-03-23T11:45:32.360Z In(05) host-4797 You are using: gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0 2022-03-23T11:45:32.360Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:45:32.360Z In(05) host-4797 /tmp/modconfig-I4vRRY/vmnet-only/driver.c: In function ‘VNetFileOpUnlockedIoctl’: 2022-03-23T11:45:32.360Z In(05) host-4797 /tmp/modconfig-I4vRRY/vmnet-only/driver.c:966:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 2022-03-23T11:45:32.360Z In(05) host-4797 966 | { 2022-03-23T11:45:32.360Z In(05) host-4797 | ^ 2022-03-23T11:45:32.360Z In(05) host-4797 /tmp/modconfig-I4vRRY/vmnet-only/driver.c:976:4: note: here 2022-03-23T11:45:32.360Z In(05) host-4797 976 | case SIOCGETAPIVERSION: 2022-03-23T11:45:32.360Z In(05) host-4797 | ^~~~ 2022-03-23T11:45:32.360Z In(05) host-4797 In file included from /tmp/modconfig-I4vRRY/vmnet-only/smac.c:61: 2022-03-23T11:45:32.360Z In(05) host-4797 /tmp/modconfig-I4vRRY/vmnet-only/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:45:32.360Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:45:32.360Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:45:32.360Z In(05) host-4797 compilation terminated. 2022-03-23T11:45:32.360Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-I4vRRY/vmnet-only/smac.o] Error 1 2022-03-23T11:45:32.360Z In(05) host-4797 make[2]: *** Waiting for unfinished jobs.... 2022-03-23T11:45:32.360Z In(05) host-4797 make[1]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /tmp/modconfig-I4vRRY/vmnet-only] Error 2 2022-03-23T11:45:32.360Z In(05) host-4797 make: *** [Makefile:117: vmnet.ko] Error 2 2022-03-23T11:45:32.360Z In(05) host-4797 Unable to install all modules. See log for details. 2022-03-23T11:45:32.360Z In(05) host-4797 2022-03-23T11:46:46.596Z In(05) host-4797 The GCC version matches the kernel GCC minor version like a glove. 2022-03-23T11:46:46.596Z In(05) host-4797 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-03-23T11:46:46.597Z In(05) host-4797 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-03-23T11:46:46.597Z In(05) host-4797 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-03-23T11:46:46.597Z In(05) host-4797 using /usr/bin/gcc-11 for preprocess check 2022-03-23T11:46:46.609Z In(05) host-4797 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-03-23T11:46:46.609Z In(05) host-4797 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-03-23T11:46:46.609Z In(05) host-4797 Using temp dir "/tmp". 2022-03-23T11:46:56.685Z In(05) host-4797 Stopping VMware services: 2022-03-23T11:46:56.685Z In(05) host-4797 VMware Authentication Daemon[71G done 2022-03-23T11:46:56.685Z In(05) host-4797 Virtual machine monitor[71G done 2022-03-23T11:46:56.685Z In(05) host-4797 make: Entering directory '/tmp/modconfig-JxcmZs/vmmon-only' 2022-03-23T11:46:56.685Z In(05) host-4797 /usr/bin/make -C /lib/modules/5.16.0-12parrot1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2022-03-23T11:46:56.685Z In(05) host-4797 MODULEBUILDDIR= modules 2022-03-23T11:46:56.685Z In(05) host-4797 make[1]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmmon-only/linux/driver.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmmon-only/linux/driverLog.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmmon-only/linux/hostif.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmmon-only/common/apic.o 2022-03-23T11:46:56.685Z In(05) host-4797 make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:46:56.685Z In(05) host-4797 make: Leaving directory '/tmp/modconfig-JxcmZs/vmmon-only' 2022-03-23T11:46:56.685Z In(05) host-4797 make: Entering directory '/tmp/modconfig-JxcmZs/vmnet-only' 2022-03-23T11:46:56.685Z In(05) host-4797 /usr/bin/make -C /lib/modules/5.16.0-12parrot1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2022-03-23T11:46:56.685Z In(05) host-4797 MODULEBUILDDIR= modules 2022-03-23T11:46:56.685Z In(05) host-4797 make[1]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/driver.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/hub.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/userif.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/netif.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/bridge.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/procfs.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/smac_compat.o 2022-03-23T11:46:56.685Z In(05) host-4797 CC [M] /tmp/modconfig-JxcmZs/vmnet-only/smac.o 2022-03-23T11:46:56.685Z In(05) host-4797 make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-03-23T11:46:56.685Z In(05) host-4797 make: Leaving directory '/tmp/modconfig-JxcmZs/vmnet-only' 2022-03-23T11:46:56.685Z In(05) host-4797 [AppLoader] GLib does not have GSettings support. 2022-03-23T11:46:56.685Z In(05) host-4797 Using kernel build system. 2022-03-23T11:46:56.685Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:46:56.685Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:46:56.685Z In(05) host-4797 warning: the compiler differs from the one used to build the kernel 2022-03-23T11:46:56.685Z In(05) host-4797 The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0 2022-03-23T11:46:56.685Z In(05) host-4797 You are using: gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0 2022-03-23T11:46:56.685Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:46:56.685Z In(05) host-4797 In file included from /tmp/modconfig-JxcmZs/vmmon-only/./include/vmware.h:38, 2022-03-23T11:46:56.685Z In(05) host-4797 from /tmp/modconfig-JxcmZs/vmmon-only/common/apic.c:19: 2022-03-23T11:46:56.685Z In(05) host-4797 /tmp/modconfig-JxcmZs/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:46:56.685Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:46:56.685Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:46:56.685Z In(05) host-4797 compilation terminated. 2022-03-23T11:46:56.685Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-JxcmZs/vmmon-only/common/apic.o] Error 1 2022-03-23T11:46:56.685Z In(05) host-4797 make[2]: *** Waiting for unfinished jobs.... 2022-03-23T11:46:56.685Z In(05) host-4797 In file included from /tmp/modconfig-JxcmZs/vmmon-only/./include/vmware.h:38, 2022-03-23T11:46:56.685Z In(05) host-4797 from /tmp/modconfig-JxcmZs/vmmon-only/linux/driver.c:45: 2022-03-23T11:46:56.685Z In(05) host-4797 /tmp/modconfig-JxcmZs/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:46:56.685Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:46:56.685Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:46:56.685Z In(05) host-4797 compilation terminated. 2022-03-23T11:46:56.685Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-JxcmZs/vmmon-only/linux/driver.o] Error 1 2022-03-23T11:46:56.685Z In(05) host-4797 In file included from /tmp/modconfig-JxcmZs/vmmon-only/./include/vmware.h:38, 2022-03-23T11:46:56.685Z In(05) host-4797 from /tmp/modconfig-JxcmZs/vmmon-only/linux/hostif.c:61: 2022-03-23T11:46:56.685Z In(05) host-4797 /tmp/modconfig-JxcmZs/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:46:56.685Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:46:56.685Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:46:56.685Z In(05) host-4797 compilation terminated. 2022-03-23T11:46:56.685Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-JxcmZs/vmmon-only/linux/hostif.o] Error 1 2022-03-23T11:46:56.685Z In(05) host-4797 make[1]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /tmp/modconfig-JxcmZs/vmmon-only] Error 2 2022-03-23T11:46:56.685Z In(05) host-4797 make: *** [Makefile:117: vmmon.ko] Error 2 2022-03-23T11:46:56.685Z In(05) host-4797 Using kernel build system. 2022-03-23T11:46:56.685Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:46:56.685Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:46:56.685Z In(05) host-4797 warning: the compiler differs from the one used to build the kernel 2022-03-23T11:46:56.685Z In(05) host-4797 The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0 2022-03-23T11:46:56.685Z In(05) host-4797 You are using: gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0 2022-03-23T11:46:56.685Z In(05) host-4797 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-03-23T11:46:56.685Z In(05) host-4797 /tmp/modconfig-JxcmZs/vmnet-only/driver.c: In function ‘VNetFileOpUnlockedIoctl’: 2022-03-23T11:46:56.685Z In(05) host-4797 /tmp/modconfig-JxcmZs/vmnet-only/driver.c:966:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 2022-03-23T11:46:56.685Z In(05) host-4797 966 | { 2022-03-23T11:46:56.685Z In(05) host-4797 | ^ 2022-03-23T11:46:56.685Z In(05) host-4797 /tmp/modconfig-JxcmZs/vmnet-only/driver.c:976:4: note: here 2022-03-23T11:46:56.685Z In(05) host-4797 976 | case SIOCGETAPIVERSION: 2022-03-23T11:46:56.685Z In(05) host-4797 | ^~~~ 2022-03-23T11:46:56.685Z In(05) host-4797 In file included from /tmp/modconfig-JxcmZs/vmnet-only/smac.c:61: 2022-03-23T11:46:56.685Z In(05) host-4797 /tmp/modconfig-JxcmZs/vmnet-only/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-03-23T11:46:56.685Z In(05) host-4797 54 | # include <stddef.h> 2022-03-23T11:46:56.685Z In(05) host-4797 | ^~~~~~~~~~ 2022-03-23T11:46:56.685Z In(05) host-4797 compilation terminated. 2022-03-23T11:46:56.685Z In(05) host-4797 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-JxcmZs/vmnet-only/smac.o] Error 1 2022-03-23T11:46:56.685Z In(05) host-4797 make[2]: *** Waiting for unfinished jobs.... 2022-03-23T11:46:56.685Z In(05) host-4797 make[1]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /tmp/modconfig-JxcmZs/vmnet-only] Error 2 2022-03-23T11:46:56.685Z In(05) host-4797 make: *** [Makefile:117: vmnet.ko] Error 2 2022-03-23T11:46:56.685Z In(05) host-4797 Unable to install all modules. See log for details. 2022-03-23T11:46:56.685Z In(05) host-4797
 
git clone https://github.com/mkubecek/vmware-host-modules.git cd vmware-host-modules git checkout player-16.0.0 make sudo make install sudo /etc/init.d/vmware start

Burada gordum, belki calisir.
 
git clone https://github.com/mkubecek/vmware-host-modules.git cd vmware-host-modules git checkout player-16.0.0 make sudo make install sudo /etc/init.d/vmware start

Burada gordum, belki calisir.
"make" çıktııs:

make *----------------------------------------------------------------------------- * Branch player-16.0.0 has been retired on 2021-06-28 and has not been * receiving any updates since. Please switch to latest 16.0.x version * available. * * Latest kernel version this branch is intended to work with is 5.13. *----------------------------------------------------------------------------- make -C vmmon-only make[1]: Entering directory '/home/kokopox/Desktop/vmware-host-modules/vmmon-only' Using kernel build system. make -C /lib/modules/5.16.0-12parrot1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0 You are using: gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found CC [M] /home/kokopox/Desktop/vmware-host-modules/vmmon-only/linux/driver.o In file included from /home/kokopox/Desktop/vmware-host-modules/vmmon-only/./include/vmware.h:38, from /home/kokopox/Desktop/vmware-host-modules/vmmon-only/linux/driver.c:46: /home/kokopox/Desktop/vmware-host-modules/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 54 | # include <stddef.h> | ^~~~~~~~~~ compilation terminated. make[3]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /home/kokopox/Desktop/vmware-host-modules/vmmon-only/linux/driver.o] Error 1 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /home/kokopox/Desktop/vmware-host-modules/vmmon-only] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' make[1]: *** [Makefile:117: vmmon.ko] Error 2 make[1]: Leaving directory '/home/kokopox/Desktop/vmware-host-modules/vmmon-only'
uname -r zaten güncel diyor.
 
dkms paketini kur. Şunu indir ve çıkart. vmware-host-modules-w16.2.3.tar.gz

Çıkarttığın dizin içinde dkms.conf dosyası oluştur ve içine şunları ekle, dosyayı kaydet.

Kod:
PACKAGE_VERSION="16.2.3"
PACKAGE_NAME="vmware-modules"
BUILD_DIR="$dkms_tree/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"
BUILT_MODULE_NAME[0]="vmmon"
BUILT_MODULE_LOCATION[0]=""
DEST_MODULE_LOCATION[0]="/updates"
BUILT_MODULE_NAME[1]="vmnet"
BUILT_MODULE_LOCATION[1]=""
DEST_MODULE_LOCATION[1]="/updates"
MAKE[0]="make; find ${BUILD_DIR} -name '*.ko' -exec mv -v {} ${BUILD_DIR} \;"
CLEAN="make clean"
AUTOINSTALL="yes"

Dizin içinde aşağıdaki komutu çalıştır.

Kod:
sudo dkms install .

Bu şekilde yeni çekirdek kurunca da modüller otomatik eklenir. Çekirdek 5.4 ve 5.17 arasında sorunsuz kuruldu.
 
Çözüm
Teşekkürler hocam oldu.
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…