Hi folks, My linux kernel is "Linux parrot 5.2.0-2parrot1-amd64 #1 SMP Debian 5.2.9-2parrot1 (2019-08-25) x86_64 GNU/Linux" I tried a lot of different solutions to install parallel tools, but my shots couldn't succeed. Error log details: make[2]: Entering directory '/usr/src/linux-headers-5.2.0-2parrot1-amd64' CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.o CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/interface.o LD [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.o Building modules, stage 2. MODPOST 1 modules CC /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.mod.o LD [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.ko make[2]: Leaving directory '/usr/src/linux-headers-5.2.0-2parrot1-amd64' make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs' cp -f prl_tg/Toolgate/Guest/Linux/prl_tg/*.symvers prl_vid/Video/Guest/Linux/kmod ||: cd prl_vid/Video/Guest/Linux/kmod && make CC=/usr/bin/gcc-8 make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod' 1: /lib/modules/5.2.0-2parrot1-amd64/build 2: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod 3: 20191022 4: 1.6.0 Start checking drm core on kernel /lib/modules/5.2.0-2parrot1-amd64/build... Result extra flags: -DPRL_DRM_ENABLED=1 -DPRL_DRM_UNIVERSAL_PLANE_INIT_X=1 -DPRL_DRM_CONNECTOR_ATTACH_ENCODER_X=1 -DPRL_DRM_ATOMIC_HELPER_CRTC_DESTROY_STATE_X=1 -DPRL_DRM_HELPER_MODE_FILL_FB_STRUCT_X=1 -DPRL_DRM_GEM_OBJECT_PUT_UNLOCKED_X=1 -DPRL_DRM_IS_CURRENT_MASTER_X=1 -DPRL_DRM_MINOR_PRIMARY_X=1 -DPRL_KMS_CRTC_GAMMA_SET_X=1 -DPRL_DRM_SET_BUSID_X=0 -DPRL_DRM_MASTER_DROP_X=1 -DPRL_DRM_VM_OPERATIONS_FAULT_X=2 -DPRL_DRM_VM_FAULT_ADDRESS_X=1 -DPRL_DRM_KREF_READ_X=1 -DPRL_DRM_ATOMIC_HELPER_BEST_ENCODER_X=0 -DPRL_DRM_DEV_PUT_X=0 -DPRL_DRM_FB_HOT_XY=1 -DPRL_DRM_FB_HELPER_INIT_X=1 -DPRL_DRM_FB_HELPER_FILL_INFO_X=1 -DPRL_DRM_DRIVER_UNLOAD_X=0 Start compile prl_vid... make -C /lib/modules/5.2.0-2parrot1-amd64/build M=/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod SRCROOT=/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod CC=/usr/bin/gcc-8 modules make[2]: Entering directory '/usr/src/linux-headers-5.2.0-2parrot1-amd64' 1: /lib/modules/5.2.0-2parrot1-amd64/build 2: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod 3: 20191022 4: 1.6.0 CC [M] /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prlvid.o CC [M] /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.o /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.c:1974:11: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types] .fault = prl_drm_ss_vm_fault, ^~~~~~~~~~~~~~~~~~~ /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.c:1974:11: note: (near initialization for 'prl_drm_ss_vm_ops.fault') /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.c:2065:11: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types] .fault = prl_drm_gem_vm_fault, ^~~~~~~~~~~~~~~~~~~~ /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.c:2065:11: note: (near initialization for 'prl_drm_gem_vm_ops.fault') cc1: some warnings being treated as errors make[5]: *** [/usr/src/linux-headers-5.2.0-2parrot1-common/scripts/Makefile.build:284: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.o] Error 1 make[4]: *** [/usr/src/linux-headers-5.2.0-2parrot1-common/Makefile:1610: _module_/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod] Error 2 make[3]: *** [Makefile:179: sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.2.0-2parrot1-amd64' make[2]: *** [Makefile:8: all] Error 2 make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod' make[1]: *** [Makefile:43: prl_vid] Error 2 make: Leaving directory '/usr/lib/parallels-tools/kmods' make: *** [Makefile.kmods:33: compile] Error 2 Error: could not build kernel modules Error during report about failed installation of parallels tools. Error: failed to install Parallels Guest Tools!
Hi, I had the same issue on Kali linux (kernel versions above 5.1 seem to be affected). Check this thread: https://forum.parallels.com/threads/never-update-parallels-and-a-kernel-on-the-same-day.348256/ Basically the parameter PRL_DRM_VM_OPERATIONS_FAULT_X needs to be force set to "0" in prl_vid/Video/Guest/Linux/kmod/test/test_drm_core.sh (prl_mod.tar.gz under kmods in the installation folder). So as a workaround: 1. copy the install folder (cp -R) to your home folder. 2. untar/unzip prl_mod.tar.gz in the kmods directory. 3. modify prl_vid/Video/Guest/Linux/kmod/test/test_drm_core.sh and look for the line with 'PRL_DRM_VM_OPERATIONS_FAULT_X' and change it to: PRL_DRM_VM_OPERATIONS_FAULT_X=0 4. retar/zip your modification to prl_mod.tar.gz 5. Run the install
Hi, an update released recently targeting the issue, please refer to this comment in the thread that @CitizenHax quoted