Can't install Parallels Tools on CentOS 7 1804

Discussion in 'Linux Virtual Machine' started by ErlingJ, May 14, 2018.

  1. ErlingJ

    ErlingJ Junior Member

    Messages:
    11
    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?
     
  2. AugustF1

    AugustF1 Bit poster

    Messages:
    1
    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.
     
  3. JasonB19

    JasonB19 Bit poster

    Messages:
    2
    Khaoth likes this.
  4. ErlingJ

    ErlingJ Junior Member

    Messages:
    11
    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.
     
    Khaoth, MikeO3, GlenK1 and 1 other person like this.
  5. dklima

    dklima Bit poster

    Messages:
    2
    I can confirm that @ErlingJ method worked.

    Thank you erlingj :)
     
  6. MikeB17

    MikeB17 Bit poster

    Messages:
    1
    +1 for @ErlingJ's solution. Worked like a charm! :)
     
  7. Klaus Youm

    Klaus Youm Bit poster

    Messages:
    1
  8. Khaoth

    Khaoth Bit poster

    Messages:
    1
  9. weshmen

    weshmen Bit poster

    Messages:
    1
  10. MaximN1

    MaximN1 Bit poster

    Messages:
    7
    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
     

Share This Page