Failed to install Parallels 18 Parallels-Tools on Ubuntu 22.04

Discussion in 'Linux Virtual Machine' started by slayer1, Dec 30, 2024.

  1. slayer1

    slayer1 Bit poster

    Messages:
    1
    2024-12-30T22:08:24-0800:

    Parallels Tools 18.3.3-53627 Installer started.
    2024-12-30T22:08:24-0800: Failed to setup console printk level.
    2024-12-30T22:08:25-0800: execCmd: ./install --check [0]
    2024-12-30T22:08:25-0800: execCmd: ./installer/detect-xserver.sh -v >/dev/null 2>&1 [0]
    2024-12-30T22:08:29-0800: execCmd: ./installer/pm.sh --check gtools [0]
    Started installation of Parallels Guest Tools version '18.3.3.53627'
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.8.0-50-generic

    Mon Dec 30 22:08:32 PST 2024
    Start installation or upgrade of Guest 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 12.3.0-1ubuntu1~22.04) 12.3.0"
    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/6.8.0-50-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20241230
    4: 1.10.2
    Start compile prl_tg...
    make -C /lib/modules/6.8.0-50-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-6.8.0-50-generic'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
    You are using: cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
    1: /lib/modules/6.8.0-50-generic/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20241230
    4: 1.10.2
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    In file included from ./include/linux/srcu.h:21,
    from ./include/linux/notifier.h:16,
    from ./arch/x86/include/asm/uprobes.h:13,
    from ./include/linux/uprobes.h:49,
    from ./include/linux/mm_types.h:16,
    from ./include/linux/mmzone.h:22,
    from ./include/linux/gfp.h:7,
    from ./include/linux/umh.h:4,
    from ./include/linux/kmod.h:9,
    from ./include/linux/module.h:17,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:5:
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_deinitialize':
    ./include/linux/workqueue.h:628:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
    628 | __warn_flushing_systemwide_wq(); \
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:515:9: note: in expansion of macro 'flush_scheduled_work'
    515 | flush_scheduled_work();
    | ^~~~~~~~~~~~~~~~~~~~
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o
    In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:25,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:11:
    /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_compat.h:63:17: error: too many arguments to function 'get_user_pages'
    63 | get_user_pages(_1, _2, (_3) ? FOLL_WRITE : 0, _4, _5)
    | ^~~~~~~~~~~~~~
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:126:15: note: in expansion of macro 'prl_get_user_pages'
    126 | got = prl_get_user_pages(
    | ^~~~~~~~~~~~~~~~~~
    In file included from ./include/linux/scatterlist.h:8,
    from ./include/linux/dmapool.h:14,
    from ./include/linux/pci.h:1655,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:7:
    ./include/linux/mm.h:2513:6: note: declared here
    2513 | long get_user_pages(unsigned long start, unsigned long nr_pages,
    | ^~~~~~~~~~~~~~
    make[4]: *** [scripts/Makefile.build:243: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o] Error 1
    make[3]: *** [/usr/src/linux-headers-6.8.0-50-generic/Makefile:1925: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    make[2]: Leaving directory '/usr/src/linux-headers-6.8.0-50-generic'
    make[2]: *** [Makefile:240: __sub-make] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make[1]: *** [Makefile:44: prl_tg] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    make: *** [Makefile.kmods:49: compile] Error 2
    Error: could not build kernel modules
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.8.0-50-generic
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.8.0-50-generic
    Error: failed to install Parallels Guest Tools!
    2024-12-30T22:08:35-0800: Started installation of Parallels Guest Tools version '18.3.3.53627'
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.8.0-50-generic

    Mon Dec 30 22:08:32 PST 2024
    Start installation or upgrade of Guest Tools
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
    You are using: cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
    In file included from ./include/linux/srcu.h:21,
    from ./include/linux/notifier.h:16,
    from ./arch/x86/include/asm/uprobes.h:13,
    from ./include/linux/uprobes.h:49,
    from ./include/linux/mm_types.h:16,
    from ./include/linux/mmzone.h:22,
    from ./include/linux/gfp.h:7,
    from ./include/linux/umh.h:4,
    from ./include/linux/kmod.h:9,
    from ./include/linux/module.h:17,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:5:
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_deinitialize':
    ./include/linux/workqueue.h:628:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
    628 | __warn_flushing_systemwide_wq(); \
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:515:9: note: in expansion of macro 'flush_scheduled_work'
    515 | flush_scheduled_work();
    | ^~~~~~~~~~~~~~~~~~~~
    In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:25,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:11:
    /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_compat.h:63:17: error: too many arguments to function 'get_user_pages'
    63 | get_user_pages(_1, _2, (_3) ? FOLL_WRITE : 0, _4, _5)
    | ^~~~~~~~~~~~~~
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:126:15: note: in expansion of macro 'prl_get_user_pages'
    126 | got = prl_get_user_pages(
    | ^~~~~~~~~~~~~~~~~~
    In file included from ./include/linux/scatterlist.h:8,
    from ./include/linux/dmapool.h:14,
    from ./include/linux/pci.h:1655,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:7:
    ./include/linux/mm.h:2513:6: note: declared here
    2513 | long get_user_pages(unsigned long start, unsigned long nr_pages,
    | ^~~~~~~~~~~~~~
    make[4]: *** [scripts/Makefile.build:243: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o] Error 1
    make[3]: *** [/usr/src/linux-headers-6.8.0-50-generic/Makefile:1925: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    make[2]: *** [Makefile:240: __sub-make] Error 2
    make[1]: *** [Makefile:44: prl_tg] Error 2
    make: *** [Makefile.kmods:49: compile] Error 2
    Error: could not build kernel modules
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.8.0-50-generic
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.8.0-50-generic
    Error: failed to install Parallels Guest Tools!
    2024-12-30T22:08:35-0800: execCmd: ./install --install [167]
    2024-12-30T22:08:35-0800: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2024-12-30T22:08:37-0800: Exiting with code 1
     

Share This Page