Page 1 of 1

[SOLVED] Mageia and parallels desktop tools

PostPosted: Feb 22nd, '14, 11:17
by sisopetron
Hi everyone,

I'm a mac user and I'd like to try mageia on Parallels desktop, a system of virtualisation like virtualbox. The installation is going on without any trouble. I have yet installed the kernel sources, gcc and all their dependencies. I have also activated sudo like in the wiki. The problem occurred when I tried to install the parallels tools, set of drivers for video, audio, mouse and keyboard. Here is the log file generated by the installer :
Code: Select all
Parallels Tools 9.0.24172.951362 Installer started.
2014-02-15T15:12:17+0100: execCmd: ./installer/pm.sh check_guest_tools 2>&1 [0]

sam fév 15 15:12:18 CET 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: Aucun fichier ou dossier de ce type
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.12.8-desktop-2.mga4/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: Entering directory '/usr/src/linux-3.12.8-desktop-2.mga4'
  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/linux-3.12.8-desktop-2.mga4'
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.12.8-desktop-2.mga4/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-3.12.8-desktop-2.mga4'
  CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
  LD [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.mod.o
  LD [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko
make[2]: Leaving directory '/usr/src/linux-3.12.8-desktop-2.mga4'
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
cp -f prl_tg/Toolgate/Guest/Linux/prl_tg/*.symvers prl_fs/SharedFolders/Guest/Linux/prl_fs ||:
cd prl_fs/SharedFolders/Guest/Linux/prl_fs && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs'
make -C /lib/modules/3.12.8-desktop-2.mga4/build M=/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs
make[2]: Entering directory '/usr/src/linux-3.12.8-desktop-2.mga4'
  LD      /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/built-in.o
  CC [M]  /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c: In function ‘prlfs_parse_mount_options’:
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c:67:11: erreur: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’
  sbi->uid = current->cred->uid;
           ^
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c:68:11: erreur: incompatible types when assigning to type ‘gid_t’ from type ‘kgid_t’
  sbi->gid = current->cred->gid;
           ^
scripts/Makefile.build:308: recipe for target '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o' failed
make[3]: *** [/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o] Error 1
Makefile:1228: recipe for target '_module_/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs' failed
make[2]: *** [_module_/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs] Error 2
make[2]: Leaving directory '/usr/src/linux-3.12.8-desktop-2.mga4'
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/Makefile.v26:13: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs'
Makefile.kmods:23: recipe for target 'installme' failed
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-02-15T15:12:20+0100: execCmd: ./install --install [143]
2014-02-15T15:12:20+0100: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2014-02-15T15:12:23+0100: Exiting with code 1


Is there anyone who can help me to solve this issue ?

Thanks

siso

Re: Mageia and parallels desktop tools

PostPosted: Feb 24th, '14, 00:34
by maskimummu
The problem is with a change made in linux kernel 3.12. I would try to apply the patch in this post http://forum.parallels.com/showthread.php?294092-Fix-Patch-for-Parallel-Tools-9-0-23350-to-support-Linux-Kernel-3-12-(Ubuntu-14-04). The patch does not seem to be specific to Ubuntu.

Re: Mageia and parallels desktop tools

PostPosted: Feb 24th, '14, 10:21
by ozky

Re: Mageia and parallels desktop tools

PostPosted: Feb 25th, '14, 10:28
by sisopetron
maskimummu : Thanks for your link. Unfortunately, the described procedure fails on the line :

Code: Select all
patch -p1 -d prl_fs < parallels-tools-linux-3.12-prl-fs-9.0.23350.941886.patch

I don't know how to fix it.

ozky : I checked all the dependencies : only glibc doesn't comply the minimum. I need 2.3.4 and I have 2.18 in mageia 4. Can you tell me how to install the good one ?

siso

Re: Mageia and parallels desktop tools

PostPosted: Feb 25th, '14, 10:49
by Ken-Bergen
sisopetron wrote:ozky : I checked all the dependencies : only glibc doesn't comply the minimum. I need 2.3.4 and I have 2.18 in mageia 4.
FWIW 18 is greater than 3.

Re: Mageia and parallels desktop tools

PostPosted: Feb 25th, '14, 16:35
by sisopetron
Thanks a lot, maskimummu, for your links : it works. In fact, applying the patch is returning an error, but we don't have to consider it. After, the installation goes smoothly.