Cannot reinstall Parallels tools after updating to 17.1.2

Discussion in 'Installation and Configuration of Parallels Desktop' started by Parallels User, Mar 24, 2022.

  1. I cannot install parallels tools on my Ubuntu 22.04 "jammy" VM after applying the Parallels update 17.1.2. No new activity is recorded in the /var/log/parallels-tools-install.log file. I have shut down and started my VM multiple times and tried the "Actions|Update Parallels Tools" after each reboot. A dialog pops up asking for my password, which I enter (leaving the "sudo" radio button selected). A failure dialog comes up stating the install failed and asks to look at the /var/log/parallels-tools-install.log file...

    2022-02-26T09:47:39-0600: nt to 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
    179 | port += dev->base_addr;
    | ^~
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:183:24: warning: passing argument 2 of 'iowrite64' makes pointer from integer without a cast [-Wint-conversion]
    183 | iowrite64(val, port);
    | ^~~~
    | |
    | long unsigned int
    In file included from ./arch/arm64/include/asm/io.h:185,
    from ./include/linux/io.h:13,
    from ./include/linux/irq.h:20,
    from ./include/asm-generic/hardirq.h:17,
    from ./arch/arm64/include/asm/hardirq.h:17,
    from ./include/linux/hardirq.h:11,
    from ./include/linux/interrupt.h:11,
    from ./include/linux/pci.h:38,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:7:
    ./include/asm-generic/io.h:769:64: note: expected 'volatile void *' but argument is of type 'long unsigned int'
    769 | static inline void iowrite64(u64 value, volatile void __iomem *addr)
    | ~~~~~~~~~~~~~~~~~~~~~~~^~~~
    Skipping BTF generation for /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko due to unavailability of vmlinux
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: gcc (Ubuntu 11.2.0-14ubuntu1) 11.2.0
    You are using: cc (Ubuntu 11.2.0-16ubuntu1) 11.2.0
    Skipping BTF generation for /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.ko due to unavailability of vmlinux
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: gcc (Ubuntu 11.2.0-14ubuntu1) 11.2.0
    You are using: cc (Ubuntu 11.2.0-16ubuntu1) 11.2.0
    Skipping BTF generation for /usr/lib/parallels-tools/kmods/prl_notifier/Installation/lnx/prl_notifier/prl_notifier.ko due to unavailability of vmlinux
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: gcc (Ubuntu 11.2.0-14ubuntu1) 11.2.0
    You are using: cc (Ubuntu 11.2.0-16ubuntu1) 11.2.0
    Skipping BTF generation for /usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.ko due to unavailability of vmlinux
    Start installation of prl_tg kernel module
    Start installation of prl_fs kernel module
    Start installation of prl_fs_freeze kernel module
    Start installation of prl_notifier kernel module
    DKMS modules were added successfully
    DKMS modules for kernel 5.15.0-18-generic were built successfully
    DKMS modules for kernel 5.15.0-18-generic were installed successfully
    Parallels Guest Tools were installed successfully!
    Please, reboot your OS to finish installation of Parallels Guest Tools.
    2022-02-26T09:47:39-0600: execCmd: ./install --install [0]
    2022-02-26T09:49:05-0600: Guest OS is going to reboot.
     
  2. DebasmitaM

    DebasmitaM Forum Maven

    Messages:
    1,017
    Hello, is there any error message while trying to reinstall Parallels Tools? Is it M1 Mac or Intel Mac?
     
  3. This is an M1 Mac. Note that I was able to successfully install Parallels Tools on this VM, and have been using it like this for a while. The error started occurring today after upgrading to Parallels 17.1.2.
    The error is shown in a GUI message box:
    Title of window: "Parallels Tools Installation Agent"
    Summary: "An error has occurred while installing Parallels Tools."
    Detail: "Restart the virtual machine and try again. If the problem persists, see /var/log/parallels-tools-install.log for more information"
     
  4. Here's a screenshot of the error dialog Screen Shot 2022-03-24 at 9.29.49 PM.png
     
  5. DebasmitaM

    DebasmitaM Forum Maven

    Messages:
    1,017
    Hello, kindly recreate the issue and collect a technical report by following this KB article. Help us with 9 digits technical report Id.
     
  6. JoshuaS16

    JoshuaS16 Bit poster

    Messages:
    1
    Hi @SubahjitD! I've found a workaround for now.
    Right click the contents of the install disk and then "Open in Terminal".
    Then simply run `sudo su` to get a root shell, then `./install` and follow the prompts.
    It will probably prompt you to install a few dependencies as it did for myself.
    Hope this helps.
     

Share This Page