Parallels Tools fails to install for Ubuntu 17.04 VM

Discussion in 'Installation and Configuration of Parallels Desktop' started by GreggW, Apr 19, 2017.

  1. GreggW

    GreggW Bit poster

    Messages:
    2
    After creating a VM for Ubuntu 17.04 64-bit, in Parallels Desktop 11.2.3 (32663), I get the following compilation errors when trying to install Parallels Tools into the VM:

    make[2]: Entering directory '/usr/src/linux-headers-4.10.0-19-generic'
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'map_user_request':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:484:9: error: passing argument 5 of 'get_user_pages' from incompatible pointer type [-Werror=incompatible-pointer-types]
    uple->p, NULL);
    ^~~~
    In file included from ./include/linux/scatterlist.h:7:0,
    from ./include/linux/dmapool.h:14,
    from ./include/linux/pci.h:1286,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
    ./include/linux/mm.h:1293:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
    long get_user_pages(unsigned long start, unsigned long nr_pages,
    ^~~~~~~~~~~~~~
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:481:8: error: too many arguments to function 'get_user_pages'
    got = get_user_pages(
    ^~~~~~~~~~~~~~
    In file included from ./include/linux/scatterlist.h:7:0,
    from ./include/linux/dmapool.h:14,
    from ./include/linux/pci.h:1286,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
    ./include/linux/mm.h:1293:6: note: declared here
    long get_user_pages(unsigned long start, unsigned long nr_pages,

    The /var/log/parallels-tools-install.log file is attached.
     

    Attached Files:

  2. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    Ubuntu 17.04 is not supported in Parallels Desktop 11. You should upgrade PD to version 12.
     
  3. GreggW

    GreggW Bit poster

    Messages:
    2
    Thanks, I will look at purchasing PD 12.
     
  4. Swati@Parallels

    Swati@Parallels

    Messages:
    334
    That'll be great. We're here for you if you need us.
     
  5. ZevE

    ZevE Bit poster

    Messages:
    5
    What about Parallels Desktop Lite 1.2.0 (19658) from the Mac App Store? Does it support Ubuntu 17.x?
     
  6. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    > What about Parallels Desktop Lite 1.2.0 (19658) from the Mac App Store? Does it support Ubuntu 17.x?

    Though there's no official support of Ubuntu 17.04 guest in Parallels Desktop Lite 1.2.0 this distro should work ok.
     
  7. ZevE

    ZevE Bit poster

    Messages:
    5
    The upgrade from 16.10 finishes and prompts for restart, but then the VM gets stuck like this.
     

    Attached Files:

  8. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    > The upgrade from 16.10 finishes and prompts for restart, but then the VM gets stuck like this.
    Try this: in guest switch to virtual terminal (Ctrl-Alf-F1 or Ctrl-Alf-F2) and run sudo ptiagent-cmd --install && sudo reboot.
     
  9. ZevE

    ZevE Bit poster

    Messages:
    5
    Success! My Ubuntu 2x scaling setting got reset to 1x (I'm on a Retina Mac, so everything was tiny), but that was easy enough to reset. Thanks!
     
  10. ZevE

    ZevE Bit poster

    Messages:
    5
    Oops, I spoke too soon. Everything looks like it's working, but networking in the VM is non-functional. I'm using a shared network, and I duplicated this VM from another one before upgrading from Ubuntu 16.10, in case the update broke something.
     
  11. PaulChristopher@Parallels

    PaulChristopher@Parallels Product Expert Staff Member

    Messages:
    3,113
    Hi @ZevE Parallels Desktop Lite has the same basic features as Parallels Desktop Standard. However, there are some differences between Parallels Desktop Lite and Parallels Desktop for Mac, and these are listed in the tables. If you are using Parallels Desktop Lite, Bridged network will not be enabled.
     
  12. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    @ZevE, please send us problem report and post its id here. For this make VM window active and in Mac application menu go to Help -> Send Technical Data.
     
  13. ZevE

    ZevE Bit poster

    Messages:
    5
    I'm not sure what has changed, since I haven't rebooted my computer, and I had already tried rebooting Parallels, but now networking is working properly in my Ubuntu 17.04 VM with Shared Network enabled. @rkulikov do you still want a problem report?
     
  14. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    > @rkulikov do you still want a problem report?
    Until everything works I don't need problem report.
     

Share This Page