Parallels Tools fails to install for Ubuntu 17.04 VM

GreggW

Bit poster
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.
 

Attachments

What about Parallels Desktop Lite 1.2.0 (19658) from the Mac App Store? Does it support Ubuntu 17.x?
 
> 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.
 
The upgrade from 16.10 finishes and prompts for restart, but then the VM gets stuck like this.
 

Attachments

  • Screen Shot 2017-08-04 at 12.11.53 PM.png
    Screen Shot 2017-08-04 at 12.11.53 PM.png
    275.4 KB · Views: 7
> 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.
 
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!
 
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.
 
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.
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.
 
@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.
 
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?
 
Back
Top