Fail to build kernel modules on Linux kernel v4.15+

LegendT

Bit poster
```
2018年 02月 08日 星期四 15:45:18 CST
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: 没有那个文件或目录
make: 进入目录"/usr/lib/parallels-tools/kmods"
cd prl_eth/pvmnet && make
make[1]: 进入目录"/usr/lib/parallels-tools/kmods/prl_eth/pvmnet"
make -C /lib/modules/4.15.1-2-ARCH/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: 进入目录"/usr/lib/modules/4.15.1-2-ARCH/build"
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
FATAL: modpost: GPL-incompatible module prl_eth.ko uses GPL-only symbol 'sev_enable_key'
make[3]: *** [scripts/Makefile.modpost:92:__modpost] 错误 1
make[2]: *** [Makefile:1512:modules] 错误 2
make[2]: 离开目录"/usr/lib/modules/4.15.1-2-ARCH/build"
make[1]: *** [/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/Makefile.v26:11:all] 错误 2
make[1]: 离开目录"/usr/lib/parallels-tools/kmods/prl_eth/pvmnet"
make: *** [Makefile.kmods:34:installme] 错误 2
make: 离开目录"/usr/lib/parallels-tools/kmods"
Error: could not build kernel modules
Error: failed to install kernel modules
Error: failed to install Parallels Guest Tools
```

Guest Linux: Arch Linux
On 4.14 it works fine.
 
Found same issue after upgrading to 4.15 kernel. guest VM just freezes and does not boot. This happens too frequently with Parallels and new Linux kernels...

Booting with 4.14 kernel version is a workaround for me too.
 
Confirmed on Parallels Desktop Version 13.3.0 (43321) with a Fedora 27 VM running kernel 4.15.4-300 as well.

Diagnostic info:
$ uname -a
Linux parallels-fedora 4.15.4-300.fc27.x86_64 #1 SMP Mon Feb 19 23:31:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cat /var/log/parallels-tools-install.log

Wed Feb 28 11:35:41 EST 2018
Start removal of Guest Tools
new version of parallels tools
new version of parallels tools
Installed Guest Tools were not found
2018-03-01T13:47:22-0500:

Parallels Tools 13.3.0-43321 Installer started.
2018-03-01T13:47:22-0500: Failed to setup console printk level.
2018-03-01T13:47:30-0500: execCmd: ./installer/pm.sh --check gtools [0]
Started installation of Parallels Guest Tools version '13.3.0.43321'

Thu Mar 1 13:47:33 EST 2018
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
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.15.4-300.fc27.x86_64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: Entering directory '/usr/src/kernels/4.15.4-300.fc27.x86_64'
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
FATAL: modpost: GPL-incompatible module prl_eth.ko uses GPL-only symbol 'sev_enable_key'
make[3]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
make[2]: *** [Makefile:1517: modules] Error 2
make[2]: Leaving directory '/usr/src/kernels/4.15.4-300.fc27.x86_64'
make[1]: *** [/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/Makefile.v26:11: all] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make: *** [Makefile.kmods:34: installme] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
Error: failed to install Parallels Guest Tools!
Please, look at /var/log/parallels-tools-install.log file for more information.
2018-03-01T13:47:35-0500: execCmd: ./install --install [143]
2018-03-01T13:47:35-0500: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2018-03-01T13:53:08-0500: Exiting with code 1
 
Since I have a fresh install of Tumbleweed, there is no way I can revert back to an older kernel, nor do I know how could i do that.
Can anyone advise?
 
@SebastianB7, if you can boot and get to a console you should be able to install an older kernel. Google how to do this for Tumbleweed. I'm successfully installing Parallels tools on kernel v4.14.0-2 so you don't need to go back very far in kernel versions.
 
downgrade Linux kernel to 4.14 it will help what you say, bro,
 
Last edited by a moderator:
@SebastianB7, if you can boot and get to a console you should be able to install an older kernel. Google how to do this for Tumbleweed. I'm successfully installing Parallels tools on kernel v4.14.0-2 so you don't need to go back very far in kernel versions.

Thanks for the reply.
I am googling like crazy since 1 hour but I cannot find any repo to roll back to 4.14.xxxx I will keep on trying - I must admit I am a beginner with linux although, I am hoping that the developers of Parallels will beat me to providing a fix.

Cheers!
 
Ditto for me too MBPro 15", Hig Sierra 10.3.3 and Parallels Desktop 13, I do hope this gets repaired, at least making a snapshot before running dnf upgrade lets me roll back.
 
Last edited:
As soon as Parallels uses subscription model for Parallels Desktop for Mac Pro (I'm user of this one), I would expect to obtain corresponding updates in time. I have the same problem with Ubuntu 18.04 and with Debian Testing. I had the same problem with Debian Stretch past year when it was in testing status. I don't understand why I should pay every year for nothing.
 
Hi Parallels support team and product management team,

Please listen to your customer. Parallels 13 is not compatible with Ubuntu 18.04. We are not able to install "Parallels Tools". Would you guys do something to assist your customers. It's not acceptable that no one from Parallels team response to this issue. I just upgraded to Parallels 13, I think I waste my money. Very disappointed.

Poor customers support. Parallels doesn't care the community. No help. Nothing.
 
Incredible that Parallels hasn't got any support for the latest release of the most popular Linux OS, Ubuntu (18.04). You have had months to prepare for this, it's not a surprise. And no responses anywhere hear, no indication on when it will be supported. Shame on you.
 
Hello folks. Our engineers are working hard to add support for Ubuntu 18.04. Once it is fully supported by Parallels, we will add it to the list of supported guest OS's listed here. At this time, we do not have a fixed date for adding support for the said guest OS.
 
For what it's worth VMware Fusion worked no problem using their 30-day trial. And as an added bonus OpenGL actually works correctly which Parallels has STILL not addressed after all these years. We'll see if anything improves before the 30-days is up but I'm not seeing any reasons for sticking with Parallels after all these years.
 
I bought Parallels just because Fusion had a sound driver problem with Ubuntu, but then I can't use the latest version of Ubuntu, oh come on....
 
Back
Top