Ubuntu 19.10 and Parallels Tools

Discussion in 'Linux Virtual Machine' started by MagneA, Oct 20, 2019.

  1. MagneA

    MagneA Bit poster

    Messages:
    3
    Hi,
    Installed the latest Ubuntu release (19.10). Installation of the Parallels Tools is not working.
    Getting a message: "An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information."

    Errors like "incompatible-pointer-types" and "could not build kernel modules" appears.
    Just not ready for latest kernel that ships with the new Ubuntu and flavors?

    Code:
    Started installation of Parallels Guest Tools version '15.1.0.47107'
    Hit:1 http://no.archive.ubuntu.com/ubuntu eoan InRelease
    Hit:2 http://no.archive.ubuntu.com/ubuntu eoan-updates InRelease
    Hit:3 http://no.archive.ubuntu.com/ubuntu eoan-backports InRelease
    Hit:4 http://security.ubuntu.com/ubuntu eoan-security InRelease
    Reading package lists...
    Return code from apt-get update is 0
    debconf: unable to initialize frontend: Dialog
    debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
    debconf: falling back to frontend: Readline
    Selecting previously unselected package zlib1g-dev:amd64.
    (Reading database ...
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 145483 files and directories currently installed.)
    Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1ubuntu3_amd64.deb ...
    Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1ubuntu3) ...
    Selecting previously unselected package libelf-dev:amd64.
    Preparing to unpack .../libelf-dev_0.176-1.1_amd64.deb ...
    Unpacking libelf-dev:amd64 (0.176-1.1) ...
    Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1ubuntu3) ...
    Setting up libelf-dev:amd64 (0.176-1.1) ...
    Processing triggers for man-db (2.8.7-3) ...
    Hit:1 http://no.archive.ubuntu.com/ubuntu eoan InRelease
    Hit:2 http://no.archive.ubuntu.com/ubuntu eoan-updates InRelease
    Hit:3 http://no.archive.ubuntu.com/ubuntu eoan-backports InRelease
    Hit:4 http://security.ubuntu.com/ubuntu eoan-security InRelease
    Reading package lists...
    Return code from apt-get update is 0
    debconf: unable to initialize frontend: Dialog
    debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
    debconf: falling back to frontend: Readline
    Selecting previously unselected package dkms.
    (Reading database ...
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 145523 files and directories currently installed.)
    Preparing to unpack .../dkms_2.7.1-4ubuntu2_all.deb ...
    Unpacking dkms (2.7.1-4ubuntu2) ...
    Setting up dkms (2.7.1-4ubuntu2) ...
    Processing triggers for man-db (2.8.7-3) ...
    Previous version was not found. Nothing to backup.
    installer:%0.000000
    Error during report about start installation of parallels tools.
    
    Sat Oct 19 12:32:26 CEST 2019
    Start installation or upgrade of Guest Tools
    installer:%10.000000
    installer:%20.000000
    new version of parallels tools
    Installed Guest Tools were not found
    Register service to install new Guest Tools
    installer:%30.000000
    Perform installation into the /usr/lib/parallels-tools directory
    installer:%40.000000
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    Will use compiler CC="cc".
    Compiler version "cc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008"
    cd prl_eth/pvmnet && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/5.3.0-18-generic/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet CC=cc
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
      CC [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
    make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-18-generic'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20191019
    4: 1.6.0
    Start compile prl_tg...
    make -C /lib/modules/5.3.0-18-generic/build M=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg CC=cc modules
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20191019
    4: 1.6.0
      CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
      CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.o
      Building modules, stage 2.
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20191019
    4: 1.6.0
      MODPOST 1 modules
      CC      /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.mod.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko
    make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-18-generic'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    cp -f prl_tg/Toolgate/Guest/Linux/prl_tg/*.symvers prl_fs/SharedFolders/Guest/Linux/prl_fs ||:
    cd prl_fs/SharedFolders/Guest/Linux/prl_fs && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs'
    make -C /lib/modules/5.3.0-18-generic/build M=/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs CC=cc
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
      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.3.0-18-generic'
    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=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod
    3: 20191019
    4: 1.6.0
    Start checking drm core on kernel /lib/modules/5.3.0-18-generic/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.3.0-18-generic/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=cc modules
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod
    3: 20191019
    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]
     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:290: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.o] Error 1
    make[2]: *** [Makefile:1653: _module_/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod] Error 2
    make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-18-generic'
    make[1]: *** [Makefile:43: prl_vid] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod'
    make: *** [Makefile.kmods:33: compile] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error during report about failed installation of parallels tools.
    Error: failed to install Parallels Guest Tools!
    Trying to restore previous Parallels Guest Tools installation...
    2019-10-19T12:35:30+0200:
    
    Parallels Tools 15.1.0-47107 Installer started.
    2019-10-19T12:35:30+0200: Failed to setup console printk level.
    2019-10-19T12:35:33+0200: execCmd: ./install --check [0]
    2019-10-19T12:35:33+0200: execCmd: ./installer/detect-xserver.sh -v >/dev/null 2>&1 [0]
    2019-10-19T12:35:42+0200: execCmd: ./installer/pm.sh --check gtools [0]
    Started installation of Parallels Guest Tools version '15.1.0.47107'
    
    Error during report about start installation of parallels tools.
    Sat Oct 19 12:35:46 CEST 2019
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Register service to install new Guest Tools
    Perform installation into the /usr/lib/parallels-tools directory
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    Will use compiler CC="cc".
    Compiler version "cc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008"
    cd prl_eth/pvmnet && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/5.3.0-18-generic/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet CC=cc
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
      CC [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
    make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-18-generic'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20191019
    4: 1.6.0
    Start compile prl_tg...
    make -C /lib/modules/5.3.0-18-generic/build M=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg CC=cc modules
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20191019
    4: 1.6.0
      CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
      CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.o
      Building modules, stage 2.
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20191019
    4: 1.6.0
      MODPOST 1 modules
      CC      /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.mod.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko
    make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-18-generic'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    cp -f prl_tg/Toolgate/Guest/Linux/prl_tg/*.symvers prl_fs/SharedFolders/Guest/Linux/prl_fs ||:
    cd prl_fs/SharedFolders/Guest/Linux/prl_fs && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs'
    make -C /lib/modules/5.3.0-18-generic/build M=/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs CC=cc
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
      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.3.0-18-generic'
    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=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod
    3: 20191019
    4: 1.6.0
    Start checking drm core on kernel /lib/modules/5.3.0-18-generic/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.3.0-18-generic/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=cc modules
    make[2]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
    1: /lib/modules/5.3.0-18-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod
    3: 20191019
    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]
     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[2]: Leaving directory '/usr/src/linux-headers-5.3.0-18-generic'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod'
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    make[3]: *** [scripts/Makefile.build:290: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.o] Error 1
    make[2]: *** [Makefile:1653: _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 during report about failed installation of parallels tools.
    Error: failed to install Parallels Guest Tools!
    2019-10-19T12:36:10+0200: Started installation of Parallels Guest Tools version '15.1.0.47107'
    Error during report about start installation of parallels tools.
    
    Sat Oct 19 12:35:46 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:290: /usr/lib/parallels-tools/kmods/prl_vid/Video/Guest/Linux/kmod/prldrm.o] Error 1
    make[2]: *** [Makefile:1653: _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 during report about failed installation of parallels tools.
    Error: failed to install Parallels Guest Tools!
    2019-10-19T12:36:10+0200: execCmd: ./install --install [167]
    2019-10-19T12:36:10+0200: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2019-10-19T12:36:37+0200: Exiting with code 1
    
     
  2. r00tnix

    r00tnix Bit poster

    Messages:
    1
    I have this same thing happening to me, so must be the fact it is new kernel and version.
     
  3. Argelian

    Argelian Member

    Messages:
    26
    The weird thing is I have tried it as well and there seems to at least be mouse integration and you can set the video resolution to what the Mac you have PD15 installed on supports. One thing though it seems as if PD15 with the latest Catalina supplemental patch causes me to have a kernel panic and reboot the machine but only seems to pop up if I've ever ran any of the VM's i have setup.
     
  4. jhfenton

    jhfenton Junior Member

    Messages:
    11
    MagneA likes this.
  5. MagneA

    MagneA Bit poster

    Messages:
    3
  6. mbw

    mbw Bit poster

    Messages:
    4
    FYI - worked fine on Kali.
     
  7. IvanD@Parallels

    IvanD@Parallels Staff Member

    Messages:
    23
    Hello Everyone,

    Parallels released an update for Parallels Desktop 15 which resolves the issue discussed here. Download it and update Parallels Tools afterwards to resolve the issue.
     
    MagneA likes this.
  8. MartinH29

    MartinH29 Bit poster

    Messages:
    4
    Thank you, thank you. This appears to have worked for me (with Ubuntu 19.10).
     

Share This Page