Can't install Parallels Tools on CentOS 7 1804

ErlingJ

Junior Member
My CentOS 7 VM is broken after update to the newest CentOS release (1804). The Parallels Tools did not install successfully after the OS update, and the installer recommended re-install. Tried that, but the build failed (due to declarations missing in the latest kernel headers it seems), and now I can't boot the VM. This is with Parallels Desktop 12. Is there reason to believe that version 13 works with the latest CentOS 7 release?
 
Same issue here, with Parallels Desktop 13.3.0 and "no updates available". I don't think the tools changed that much between versions but, if ever, now would be the time. I ran a "yum update", the manager updated 710 packages and after a restart, I didn't have my PSF-shared volumes. Updating the tools fails with a compiler error while building the kernel module, if I read the log correctly.
 
I don't know if this will help but i used the below fix on Fedora 26. Most users are having the issue on kernels past 4.14. I know Cent OS is on 3.10 but sometimes Red Hat moves upstream code into their kernel. I have haven't updated my CentOS VM yet and will probably wait.

https://gist.github.com/rudolfratusinski/a4d9e3caff11a4d9d81d2e84abc9afbf

That seems to be a fix for something else. However, a similar procedure seems to resolve the CentOS issue (at least with tools version 12.2.1.41615):

* Create a snapshot of the VM just in case
* Update to CentOS 7.5.1804, i.e. sudo yum update, then reboot
* Ignore the Parallels Tools install failed alert (i.e. don't panic)
* Insert prl_tools_lin.iso (of Parallels Desktop.app/Contents/Resources/Tools)
* Copy all content of the inserted CD to a new empty folder, e.g. ~/prl_tools_fix
* cd ~/prl_tools_fix, then chmod +x install
* cd ./installer, then chmod +x installer.* *.sh prl_*
* cd ../kmods, then tar -xzf prl_mod.tar.gz; rm prl_mod.tar.gz
* Edit ./prl_eth/pvmnet/pvmnet.c: replace ndo_change_mtu with ndo_change_mtu_rh74
* Zip back result: tar -zcvf prl_mod.tar.gz . dkms.conf Makefile.kmods
* cd ../, then sudo ./install.

This worked for me, I'm at CentOS 1804. YMMV.
 
Not work.

Code:
make[2]: Entering directory `/usr/src/kernels/3.10.0-862.14.4.el7.x86_64'
  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:399:2: error: unknown field 'ndo_change_mtu_rh74' specified in initializer
  .extended.ndo_change_mtu_rh74 = eth_change_mtu,
  ^
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:399:2: warning: initialization from incompatible pointer type [enabled by default]
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:399:2: warning: (near initialization for 'pvmnet_netdev_ops.extended.ndo_set_vf_trust') [enabled by default]
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/kernels/3.10.0-862.14.4.el7.x86_64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make: *** [installme] Error 2
 
Back
Top