[OSX/KALI] Parallel Tools build failing on printer-driver

Andrew24

Bit poster
HOST: OSX 10.12.6
GUEST: KALI 2017-1
PARALLELS: 11.2.3

After manually installing the required dependencies requested by Parallel Tools:
linux-headers-4.12.0-kali1-amd64, dkms, kpartx, printer-driver-postscript-hp

The installer fails to recognise that I've installed the printer-driver and gives me
the log output below. I've tried creating the link described in another forum but that
didn't seem to work. The log output seems to suggest more serious implications.

Any help would be appreciated.



2017-09-17T01:11:54+0100:

Parallels Tools 11.2.3-32663 Installer started.
2017-09-17T01:11:54+0100: Failed to setup console printk level.
2017-09-17T01:11:55+0100: o printer-driver-postscript-hp
2017-09-17T01:11:55+0100: execCmd: ./installer/pm.sh --check gtools [0]
Hit:1 http://ftp.hands.com/kali kali-rolling InRelease
Reading package lists...
Return code from apt-get update is 0
2017-09-17T01:12:01+0100: execCmd: ./installer/pm.sh --install gtools --logfile /var/log/parallels-tools-install.log [0]
Started installation of Parallels Guest Tools version '11.2.3.32663'

Sun 17 Sep 01:12:01 BST 2017
Start installation or upgrade of Guest Tools
new version of parallels tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
Start installation of prl_eth kernel module
make: Entering directory '/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make -C /lib/modules/4.12.0-kali1-amd64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
LD /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
CC [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
cd prl_tg/Toolgate/Guest/Linux/prl_tg && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
make -C /lib/modules/4.12.0-kali1-amd64/build SUBDIRS=/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 modules
make[2]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
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 /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmapool.h:14,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pci.h:1286,
from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342: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 /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmapool.h:14,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pci.h:1286,
from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o' failed
make[5]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
/usr/src/linux-headers-4.12.0-kali1-common/Makefile:1532: recipe for target '_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg' failed
make[4]: *** [_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Makefile.v26:29: recipe for target 'prl_tg' failed
make[1]: *** [prl_tg] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
Makefile.kmods:34: recipe for target 'installme' failed
make: *** [installme] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2017-09-17T01:12:03+0100: execCmd: ./install --install [143]
2017-09-17T01:12:03+0100: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2017-09-17T01:12:05+0100: Exiting with code 1
 
Linux kernel 4.12 is not supported in Parallels Desktop 11. You should either upgrade to Parallels Desktop 13 or use older kernel.
 
Linux kernel 4.12 is not supported in Parallels Desktop 11. You should either upgrade to Parallels Desktop 13 or use older kernel.

What is with Parallels Desktop 12? I used the workaround and it works, but some updates later I had the same issue and the workaround didn't work again
 
Anything new on this topic?
After trying so many things, I still get the same error after trying to install Parallels Tools on Kali:
When I start the installation process, I'm asked to install the "printer-driver-postscript-hp" components, but after downloading and installing, the procedure stops with an error...
Any tip?
 
Hi rkulikov, I get the following message:
"An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information."
I've been trying to post this log onto here twice in the past few days but it doesn't seem to get validated by moderators.
 
Back
Top