Fedora 30 Kernel 5.3.7 - Guest Tools not able to install - Fails on prl_vid (Video) kmod

Discussion in 'Linux Virtual Machine' started by MaartenZ, Oct 26, 2019.

  1. MaartenZ

    MaartenZ Bit poster

    Messages:
    1
    My guest system:
    Linux fedora 5.3.7-200.fc30.x86_64 #1 SMP Fri Oct 18 20:13:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    System is not using X-server, ssh access only.
    (assuming fedora 31 and fedora rawhide suffer same issue due to new kernel)

    Error: (when running ./installer/install-cli.sh -i)
    Code:
    Started installation of Parallels Guest Tools version '15.1.0.47107'
    
    Sat Oct 26 21:40:40 CEST 2019
    Start installation or upgrade of Guest Tools
    /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]
     1974 |  .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]
     2065 |  .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[3]: *** [scripts/Makefile.build:281: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.o] Error 1
    make[2]: *** [Makefile:1630: _module_/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod] Error 2
    make[1]: *** [Makefile:43: prl_vid] Error 2
    make: *** [Makefile.kmods:33: compile] Error 2
    Error: could not build kernel modules
    Error: failed to install Parallels Guest Tools!
    Verbose output (when running ./installer/install-cli.sh -i --verbose) at: https://pastebin.com/4BxcVa4X
     

Share This Page