Parallels Tools Support for Red Hat Enterprise Linux 7

Discussion in 'Linux Virtual Machine' started by nbritton, Jul 7, 2014.

  1. nbritton

    nbritton Bit poster

    Messages:
    3
    I'm running Parallels Desktop for Mac version 8 and I can't get Parallels Tools installed on my Red Hat Enterprise Linux 7 guest.

    [root@localhost Parallels Tools]# uname -a && cat /etc/redhat-release
    Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    CentOS Linux release 7.0.1406 (Core)

    [root@localhost Parallels Tools]# cat /var/log/parallels-tools-install.log
    2014-07-07T13:45:51-0400:

    Parallels Tools 8.0.18619.1001606 Installer started.
    2014-07-07T13:45:51-0400: Failed to setup console printk level.
    2014-07-07T13:45:56-0400: execCmd: ./installer/pm.sh check_guest_tools 2>&1 [1]
    2014-07-07T13:46:04-0400: Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * base: mirror.umd.edu
    No package dkms available.
    Error: Nothing to do
    2014-07-07T13:46:04-0400: execCmd: ./installer/pm.sh download_guest_tools 2>&1 [0]

    Mon Jul 7 13:46:04 EDT 2014
    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.10.0-123.el7.x86_64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: Entering directory `/usr/src/kernels/3.10.0-123.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
    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/kernels/3.10.0-123.el7.x86_64'
    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/3.10.0-123.el7.x86_64/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/kernels/3.10.0-123.el7.x86_64'
    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 ‘prl_tg_write’:
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:796:9: error: implicit declaration of function ‘PDE’ [-Werror=implicit-function-declaration]
    struct tg_dev *dev = PDE(ino)->data;
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:796:31: error: invalid type argument of ‘->’ (have ‘int’)
    struct tg_dev *dev = PDE(ino)->data;
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function ‘prl_tg_init_one’:
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:1303:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
    p = create_proc_entry(proc_file, S_IWUGO, NULL);
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:1303:4: warning: assignment makes pointer from integer without a cast [enabled by default]
    p = create_proc_entry(proc_file, S_IWUGO, NULL);
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:1305:4: error: dereferencing pointer to incomplete type
    p->proc_fops = board_info[dev->board].fops;
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:1306:4: error: dereferencing pointer to incomplete type
    p->data = dev;
    ^
    cc1: some warnings being treated as errors
    make[3]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
    make[2]: *** [_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    make[2]: Leaving directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
    make[1]: *** [prl_tg] Error 2
    make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make: *** [installme] Error 2
    make: Leaving directory `/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error: failed to install kernel modules
    2014-07-07T13:46:06-0400: execCmd: ./install --install [143]
    2014-07-07T13:46:06-0400: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2014-07-07T13:46:18-0400: Exiting with code 1
    [root@localhost Parallels Tools]#
     
    Last edited: Jul 7, 2014
  2. nbritton

    nbritton Bit poster

    Messages:
    3
    Parallels Tools seems to have issues with recent versions of Fedora as well: http://forum.parallels.com/showthread.php?281638-Parallels-Tools-support-for-Fedora-17-and-18

    The new issue appears to be with kernel version 3.10, and newer. Kernel version 3.10 was released in June 2013. Parallels Desktop for Mac version 8 was released in September 2012. Parallels Desktop for Mac version 9 was released in September 2013. Kernel version 3.10 was, timely, released within one year of the release of Parallels Desktop for Mac version 8, and before the release of Parallels Desktop for Mac version 9. For those reasons, I request a fix be backported to Parallels Tools version 8.
     
  3. nbritton

    nbritton Bit poster

    Messages:
    3
    If you install Parallels Tools version 9 within the RHEL 7 guest it will work. Parallels version 8 complains that the Parallels Tools version is out of date and the Ptiagent64 (Parallels Update Agent) errors out, but other then that everything appears to be fully functional. The mouse works, the display is not fuzzy, and shared folders work... that's all I really care about.

    If you're wondering how to get and install Parallels Tools version 9, when using Parallels Desktop for Mac version 8, here is how:

    1. Download a copy of Parallels Desktop for Mac version 9: http://trial.parallels.com/index.php
    2. Mount the downloaded dmg disk image file by double clicking on it.
    3. Open a Terminal session, on the Mac host, and run: cp -p /Volumes/"Parallels Desktop 9"/"Parallels Desktop.app"/Contents/Resources/Tools/prl-tools-lin.iso ~/Documents/Parallels/"Parallels Tools Linux Version 9.iso";
    4. In parallels, connect the cd-rom image that you just copied to ~/Documents/Parallels/Parallels Tools Linux Version 9.iso to the guest, i.e. Parallels > Devices > CD/DVD 1 > Connect image... > Documents/Parallels/Parallels Tools Linux Version 9.iso
    5. In the guest, the cd-rom should automount, so just open a terminal session and run: sudo /run/media/*/Parallels\ Tools/install​
     
    Last edited: Jul 9, 2014
  4. dmw3

    dmw3 Bit poster

    Messages:
    8
    Running into a similar issue with Parallels 10 and RHEL 7, when installing it comes up with an error when trying to download required components:
    GCC
    Kernel sources
    Checked and these are already installed but the installer insists that they be downloaded.
    Any help anyone?
    RHEL 7 was running fine under Parallels version 9 and the Parallels Tools installed without problems.
     
  5. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    If the problem is still actual, please share Tools installation log (/var/log/parallels-tools-install.log).
     

Share This Page