Parallels Tools fails to install for CentOS 6.10 VM

Discussion in 'Linux Virtual Machine' started by ArjunU, Dec 25, 2018.

  1. ArjunU

    ArjunU Bit poster

    Messages:
    3
    After creating a VM for CentOS 6.10 64-bit (Linux 4.4.169-1.elrepo.x86_64), in Parallels Desktop 14.1.0 for Mac Business Edition (45387), I get the following compilation errors when trying to install Parallels Tools into the VM:

    Started installation of Parallels Guest Tools version '14.1.0.45387'

    Error during report about start installation of parallels tools.
    Tue Dec 25 11:14:21 UTC 2018
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Perform installation into the /usr/lib/parallels-tools directory
    Will use compiler CC="cc".
    Compiler version "cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)"
    make: Entering directory `/usr/lib/parallels-tools/kmods'
    cd prl_eth/pvmnet && make CC=cc
    make[1]: Entering directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/4.4.169-1.el6.elrepo.x86_64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet CC=cc
    make[2]: Entering directory `/usr/src/kernels/4.4.169-1.el6.elrepo.x86_64'
    LD /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
    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/kernels/4.4.169-1.el6.elrepo.x86_64'
    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'
    make -C /lib/modules/4.4.169-1.el6.elrepo.x86_64/build SUBDIRS=/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/kernels/4.4.169-1.el6.elrepo.x86_64'
    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
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c: In function 'tg_req_map_user_pages':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:111: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type
    include/linux/mm.h:1200: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:111: error: too many arguments to function 'get_user_pages'
    make[3]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o] Error 1
    make[2]: Leaving directory `/usr/src/kernels/4.4.169-1.el6.elrepo.x86_64'
    make[2]: *** [_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make[1]: *** [prl_tg] Error 2
    make: Leaving directory `/usr/lib/parallels-tools/kmods'
    make: *** [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!
    2018-12-25T11:14:23+0000: Started installation of Parallels Guest Tools version '14.1.0.45387'
    Error during report about start installation of parallels tools.

    Tue Dec 25 11:14:21 UTC 2018
    Start installation or upgrade of Guest Tools
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c: In function 'tg_req_map_user_pages':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:111: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type
    include/linux/mm.h:1200: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:111: error: too many arguments to function 'get_user_pages'
    make[3]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o] Error 1
    make[2]: *** [_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    make[1]: *** [prl_tg] Error 2
    make: *** [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!
    2018-12-25T11:14:23+0000: execCmd: ./install --install [167]
    2018-12-25T11:14:23+0000: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2018-12-25T11:14:28+0000: Exiting with code 1
    (END)
     

    Attached Files:

  2. FrancescoL

    FrancescoL Junior Member

    Messages:
    10
    Hi ArjunU,
    the compiler issue is real.
    If you look inside the mm.h inside the Linux kernel at the version of the kernel you have loaded, you will find out that it needs 7 parameters, but get_user_pages from Parallels is using 8 parameters...
    This means that the kernel changed and Parallels Toolgate doesn't support that version. It happened to me with 4.4.0.143. I reverted back to 142.

    Fra
     
  3. ArjunU

    ArjunU Bit poster

    Messages:
    3
    Thanks @FrancescoL . I will revert to a supported version too.
     

Share This Page