Parallels Version 11.2.3 (32663) tools installation fails on Ubuntu 16.04.2

Discussion in 'Linux Virtual Machine' started by tom_seddon, Jul 31, 2017.

  1. tom_seddon

    tom_seddon Junior Member

    Messages:
    11
    uname -a output (N.B., copied by eye): Linux tom-ubuntuvm 4.10.0-28-generic #32 16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    The log is attached, but the key part seems to be this compile error when building the C code:
    Code:
    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:1287,
                    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:1287,
                    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,
         ^
    
    I wonder if this is related to this previously-reported Ubuntu 17 problem: https://forum.parallels.com/threads/parallels-tools-fails-to-install-for-ubuntu-17-04-vm.340545/
    Thanks,
    --Tom
     

    Attached Files:

  2. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    Parallels Desktop 11.2.3 doesn't support guest Linux kernel 4.10. You should switch back to kernel 4.4 or upgrade to Parallels Desktop 12.
     
  3. tom_seddon

    tom_seddon Junior Member

    Messages:
    11
    Well, I did wonder if that was the response I'd get, even though Parallels 11 is supposed to support Ubuntu 16.04!
    You might want to add some notes to the supported guest OSs list.
    Thanks,
    --Tom
     

Share This Page