Parallels Tools problem with Linux Mint 15

autigers1970

Bit poster
I installed Mint 15 on my Mac using Parallels. But when I try to install Tools it says there was an error. Here's the log file contents:

2013-06-29T16:44:21-0500:

Parallels Tools 7.0.15107.796624 Installer started.
2013-06-29T16:44:23-0500: execCmd: ./installer/pm.sh check_guest_tools 2>&1 [1]
2013-06-29T16:44:28-0500: Hit http://archive.ubuntu.com raring Release.gpg
Get:1 http://security.ubuntu.com raring-security Release.gpg [933 B]
Get:2 http://archive.ubuntu.com raring-updates Release.gpg [933 B]
Get:3 http://packages.linuxmint.com olivia Release.gpg [197 B]
Get:4 http://security.ubuntu.com raring-security Release [40.8 kB]
Hit http://archive.ubuntu.com raring Release
Get:5 http://archive.canonical.com raring Release.gpg [933 B]
Get:6 http://packages.linuxmint.com olivia Release [17.6 kB]
Get:7 http://archive.ubuntu.com raring-updates Release [40.8 kB]
Get:8 http://archive.canonical.com raring Release [5,919 B]
Get:9 http://security.ubuntu.com raring-security/main amd64 Packages [75.0 kB]
Hit http://archive.ubuntu.com raring/main amd64 Packages
Hit http://archive.ubuntu.com raring/restricted amd64 Packages
Get:10 http://archive.canonical.com raring/partner amd64 Packages [2,728 B]
Get:11 http://packages.linuxmint.com olivia/main amd64 Packages [23.9 kB]
Hit http://archive.ubuntu.com raring/universe amd64 Packages
Hit http://archive.ubuntu.com raring/multiverse amd64 Packages
Get:12 http://security.ubuntu.com raring-security/restricted amd64 Packages [14 B]
Get:13 http://archive.canonical.com raring/partner i386 Packages [3,799 B]
Hit http://archive.ubuntu.com raring/main i386 Packages
Get:14 http://security.ubuntu.com raring-security/universe amd64 Packages [22.5 kB]
Hit http://archive.ubuntu.com raring/restricted i386 Packages
Get:15 http://packages.linuxmint.com olivia/upstream amd64 Packages [8,635 B]
Hit http://archive.ubuntu.com raring/universe i386 Packages
Get:16 http://security.ubuntu.com raring-security/multiverse amd64 Packages [1,143 B]
Get:17 http://packages.linuxmint.com olivia/import amd64 Packages [37.9 kB]
Hit http://archive.ubuntu.com raring/multiverse i386 Packages
Get:18 http://security.ubuntu.com raring-security/main i386 Packages [74.2 kB]
Hit http://archive.ubuntu.com raring/main Translation-en
Get:19 http://security.ubuntu.com raring-security/restricted i386 Packages [14 B]
Get:20 http://packages.linuxmint.com olivia/main i386 Packages [23.9 kB]
Hit http://archive.ubuntu.com raring/multiverse Translation-en
Get:21 http://security.ubuntu.com raring-security/universe i386 Packages [23.1 kB]
Hit http://archive.ubuntu.com raring/restricted Translation-en
Get:22 http://security.ubuntu.com raring-security/multiverse i386 Packages [1,403 B]
Get:23 http://packages.linuxmint.com olivia/upstream i386 Packages [8,620 B]
Hit http://archive.ubuntu.com raring/universe Translation-en
Get:24 http://security.ubuntu.com raring-security/main Translation-en [38.9 kB]
Get:25 http://archive.ubuntu.com raring-updates/main amd64 Packages [105 kB]
Get:26 http://packages.linuxmint.com olivia/import i386 Packages [38.8 kB]
Hit http://security.ubuntu.com raring-security/multiverse Translation-en
Get:27 http://archive.ubuntu.com raring-updates/restricted amd64 Packages [14 B]
Hit http://security.ubuntu.com raring-security/restricted Translation-en
Get:28 http://archive.ubuntu.com raring-updates/universe amd64 Packages [99.7 kB]
Get:29 http://security.ubuntu.com raring-security/universe Translation-en [14.8 kB]
Ign http://archive.canonical.com raring/partner Translation-en_US
Get:30 http://archive.ubuntu.com raring-updates/multiverse amd64 Packages [1,143 B]
Get:31 http://archive.ubuntu.com raring-updates/main i386 Packages [104 kB]
Ign http://archive.canonical.com raring/partner Translation-en
Get:32 http://archive.ubuntu.com raring-updates/restricted i386 Packages [14 B]
Get:33 http://archive.ubuntu.com raring-updates/universe i386 Packages [100 kB]
Get:34 http://archive.ubuntu.com raring-updates/multiverse i386 Packages [1,403 B]
Get:35 http://archive.ubuntu.com raring-updates/main Translation-en [51.3 kB]
Hit http://archive.ubuntu.com raring-updates/multiverse Translation-en
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Hit http://archive.ubuntu.com raring-updates/restricted Translation-en
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Get:36 http://archive.ubuntu.com raring-update2013-06-29T16:44:50-0500: s/universe Translation-en [54.6 kB]
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Ign http://archive.ubuntu.com raring/main Translation-en_US
Ign http://archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring/restricted Translation-en_US
Ign http://archive.ubuntu.com raring/universe Translation-en_US
Ign http://packages.linuxmint.com olivia/import Translation-en_US
Ign http://archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://packages.linuxmint.com olivia/import Translation-en
Ign http://archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://packages.linuxmint.com olivia/main Translation-en_US
Ign http://packages.linuxmint.com olivia/main Translation-en
Ign http://packages.linuxmint.com olivia/upstream Translation-en_US
Ign http://packages.linuxmint.com olivia/upstream Translation-en
Fetched 1,024 kB in 5s (183 kB/s)
Reading package lists...
Return code from apt-get update is 0
WARNING: The following packages cannot be authenticated!
linux-headers-3.8.0-19-generic
Authentication warning overridden.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 141074 files and directories currently installed.)
Preparing to replace linux-headers-3.8.0-19-generic 3.8.0-19.29 (using .../linux-headers-3.8.0-19-generic_3.8.0-19.30_amd64.deb) ...
Unpacking replacement linux-headers-3.8.0-19-generic ...
Setting up linux-headers-3.8.0-19-generic (3.8.0-19.30) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
2013-06-29T16:44:50-0500: execCmd: ./installer/pm.sh download_guest_tools 2>&1 [0]

Sat Jun 29 16:44:51 CDT 2013
Start installation or upgrade of Guest 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
awk: fatal: cannot open file `/lib/modules/3.8.0-19-generic/build/include/linux/version.h' for reading (No such file or directory)
/bin/sh: 1: [: -ge: unexpected operator
make: Entering directory `/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
awk: fatal: cannot open file `/lib/modules/3.8.0-19-generic/build/include/linux/version.h' for reading (No such file or directory)
/bin/sh: 1: [: -ge: unexpected operator
/bin/sh: 1: [: -ge: unexpected operator
make[1]: Entering directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
Makefile:41: *** Unsupported kernel version in /lib/modules/3.8.0-19-generic/build. Stop.
make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make: *** [all] Error 2
make: Leaving directory `/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2013-06-29T16:44:51-0500: execCmd: ./install --install [143]
2013-06-29T16:44:51-0500: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2013-06-29T16:44:57-0500: Exiting with code 1

What's happening here?
 
I found that there's a file called "version.h" in the package linux-libc-dev so I installed that package. The file "version.h" is in the directory /usr/include/linux so I copied it to /lib/modules/3.8.0-19-generic/build/include/linux/. I then tried again. Now the installation gets a bit further but finishes again with a heap of errors.


vr jul 19 19:46:32 CEST 2013
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/3.8.0-19-generic/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
LD /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
CC [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:66:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pvmnet_pci_init’
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:140:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pvmnet_pci_remove’
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:162:12: error: ‘pvmnet_pci_init’ undeclared here (not in a function)
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:163:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:163:25: error: ‘pvmnet_pci_remove’ undeclared here (not in a function)
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:403:13: warning: ‘pvmnet_setup’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[3]: *** [/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o] Error 1
make[2]: *** [_module_/usr/lib/parallels-tools/kmods/prl_eth/pvmnet] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make: *** [installme] Error 2
make: Leaving directory `/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2013-07-19T19:46:34+0200: execCmd: ./install --install [143]
2013-07-19T19:46:34+0200: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2013-07-19T19:46:37+0200: Exiting with code 1
 
I found that Linux Mint 15 with Mate Desktop worked fine after being installed directly from the iso using Parallels 8, but Linux Mint 15 with Cinnamon Desktop had numerous problems.
 
Back
Top