Installing Parallels Tools on Ubuntu 6.06 under Parallels 5

Discussion in 'Linux Virtual Machine' started by Matt Campbell, Jan 12, 2010.

  1. Matt Campbell

    Matt Campbell Bit poster

    Messages:
    1
    Hey All,

    I am trying to install Parallels Tools on a Ubuntu 6.06.2 Server VM that I converted from a VMWare Fusion 2 VM. I know this is an older version of Ubunutu, but it is still support by Canonical as it is an LTS version. I need to stick with this version in order to match my production environment. When I run the parallels tools install I get the following error message in the installer log: (log is included here and attached)

    2010-01-12T09:15:37-0600:

    Parallels Tools 5.0.9308.543312 Installer started.
    2010-01-12T09:15:40-0600: execCmd: ./installer/pm.sh check_guest_tools 2>&1 [1]
    2010-01-12T09:15:42-0600: Get:1 http://security.ubuntu.com dapper-security Release.gpg [189B]
    Get:2 http://us.archive.ubuntu.com dapper Release.gpg [189B]
    Get:3 http://us.archive.ubuntu.com dapper-updates Release.gpg [189B]
    Hit http://security.ubuntu.com dapper-security Release
    Hit http://us.archive.ubuntu.com dapper Release
    Hit http://security.ubuntu.com dapper-security/main Packages
    Hit http://us.archive.ubuntu.com dapper-updates Release
    Hit http://security.ubuntu.com dapper-security/restricted Packages
    Hit http://security.ubuntu.com dapper-security/main Sources
    Hit http://us.archive.ubuntu.com dapper/main Packages
    Hit http://us.archive.ubuntu.com dapper/restricted Packages
    Hit http://us.archive.ubuntu.com dapper/main Sources
    Hit http://security.ubuntu.com dapper-security/restricted Sources
    Hit http://us.archive.ubuntu.com dapper/restricted Sources
    Hit http://us.archive.ubuntu.com dapper-updates/main Packages
    Hit http://us.archive.ubuntu.com dapper-updates/restricted Packages
    Hit http://us.archive.ubuntu.com dapper-updates/main Sources
    Hit http://us.archive.ubuntu.com dapper-updates/restricted Sources
    Fetched 3B in 0s (3B/s)
    Reading package lists...
    E: Couldn't find package dkms
    2010-01-12T09:15:42-0600: execCmd: ./installer/pm.sh download_guest_tools 2>&1 [0]

    Tue Jan 12 09:15:42 CST 2010
    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
    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/2.6.15-51-server/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: Entering directory `/usr/src/linux-headers-2.6.15-51-server'
    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
    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/linux-headers-2.6.15-51-server'
    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/2.6.15-51-server/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/linux-headers-2.6.15-51-server'
    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:604: sorry, unimplemented: inlining failed in call to ‘put_vtg_buffer’: function body not available
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:710: sorry, unimplemented: called from here
    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/linux-headers-2.6.15-51-server'
    make[1]: *** [prl_tg] Error 2
    make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make: *** [all] Error 2
    make: Leaving directory `/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error: failed to install kernel modules
    2010-01-12T09:15:46-0600: execCmd: ./install --install [143]
    2010-01-12T09:15:46-0600: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.


    The error message is the same if I have the VM configured as Ubuntu Linux or as Other Linux 2.6.

    Any ideas on how I can get tools to work on this version or if I might get an older version from somewhere that will at least provide some performance improvements?

    Thanks,

    Matt
     

    Attached Files:

  2. hkoster1

    hkoster1 Member

    Messages:
    43
    Are the error messages not self-explanatory? Have a look at the /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c file, you'll notice that the offending put_vtg_buffer function is first declared inline in line 604. It is then called in line 710, which is inside the function prl_tg_write specified in lines 606 - 719. The put_vtg_buffer function is itself specified in lines 727 - 733.

    Now, apparently, the compiler hiccups at this... the way a compiler handles inline functions is not part of the standard.
    What you could try is to remove the inline specifier in line 604 (just edit out the word 'inline') -- this will make the program slightly less efficient -- then redo the compilation.

    Running the install script in /media/cdrom will likely overwrite any changes you make in the above directory, so you will either have to plow through the /media/cdrom/install script (and any scripts it calls) to disable expansion of the code, or use the "module-assistant" programme to compile the prl_tg.ko module by hand. I'll leave the details as an exercise.
     

Share This Page