Skip to main content
Topic: Parallels Tools installing problem (Read 241 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Parallels Tools installing problem

Hi everyone
I have a problem with installing parallels tools
I use Parallels Desktop 18.1.0 and when I try to install parallels tools in virtual machine I get error

/var/log/parallels-tools-install.log
Code: [Select]
Parallels Tools 18.1.0-53311 Installer started.
2024-08-18T15:53:46+0300: Failed to setup console printk level.
2024-08-18T15:53:47+0300: execCmd: ./install --check [0]
2024-08-18T15:53:47+0300: execCmd: ./installer/detect-xserver.sh -v >/dev/null 2>&1 [0]
2024-08-18T15:53:48+0300: execCmd: ./installer/pm.sh --check gtools [0]
Started installation of Parallels Guest Tools version '18.1.0.53311'
egrep: warning: egrep is obsolescent; using grep -E
modprobe: FATAL: Module prl_tg not found in directory /usr/lib/modules/6.10.3-artix1-2

duminică 18 august 2024, 15:53:48 +0300
Start installation or upgrade of Guest Tools
Installed Guest Tools were not found
Register service to install new Guest Tools
Perform installation into the /usr/lib/parallels-tools directory
make: Entering directory '/usr/lib/parallels-tools/kmods'
Will use compiler CC="cc".
Compiler version "cc (GCC) 14.2.1 20240805"
cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=cc
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
1: /lib/modules/6.10.3-artix1-2/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20240818
4: 1.10.2
Start compile prl_tg...
make -C /lib/modules/6.10.3-artix1-2/build M=/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 CC=cc modules
make[2]: Entering directory '/usr/lib/modules/6.10.3-artix1-2/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (GCC) 14.2.1 20240805
  You are using:           cc (GCC) 14.2.1 20240805
1: /lib/modules/6.10.3-artix1-2/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20240818
4: 1.10.2
  CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
In file included from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:22,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/umh.h:4,
                 from ./include/linux/kmod.h:9,
                 from ./include/linux/module.h:17,
                 from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:5:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_deinitialize':
./include/linux/workqueue.h:724:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  724 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:515:9: note: in expansion of macro 'flush_scheduled_work'
  515 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
  CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o
In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:25,
                 from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:11:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c: In function 'tg_req_map_user_pages':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:63:17: error: too many arguments to function 'get_user_pages'
   63 |                 get_user_pages(_1, _2, (_3) ? FOLL_WRITE : 0, _4, _5)
      |                 ^~~~~~~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:126:15: note: in expansion of macro 'prl_get_user_pages'
  126 |         got = prl_get_user_pages(
      |               ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/scatterlist.h:8,
                 from ./include/linux/dmapool.h:14,
                 from ./include/linux/pci.h:1650,
                 from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:7:
./include/linux/mm.h:2545:6: note: declared here
 2545 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:244: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o] Error 1
make[3]: *** [/usr/lib/modules/6.10.3-artix1-2/build/Makefile:1934: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
make[2]: Leaving directory '/usr/lib/modules/6.10.3-artix1-2/build'
make[2]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
make[1]: *** [Makefile:43: prl_tg] Error 2
make: *** [Makefile.kmods:49: compile] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
modprobe: FATAL: Module prl_tg not found in directory /usr/lib/modules/6.10.3-artix1-2
modprobe: FATAL: Module prl_tg not found in directory /usr/lib/modules/6.10.3-artix1-2
Error: failed to install Parallels Guest Tools!
2024-08-18T15:53:51+0300: Started installation of Parallels Guest Tools version '18.1.0.53311'
egrep: warning: egrep is obsolescent; using grep -E
modprobe: FATAL: Module prl_tg not found in directory /usr/lib/modules/6.10.3-artix1-2

duminică 18 august 2024, 15:53:48 +0300
Start installation or upgrade of Guest Tools
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (GCC) 14.2.1 20240805
  You are using:           cc (GCC) 14.2.1 20240805
In file included from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:22,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/umh.h:4,
                 from ./include/linux/kmod.h:9,
                 from ./include/linux/module.h:17,
                 from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:5:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_deinitialize':
./include/linux/workqueue.h:724:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  724 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:515:9: note: in expansion of macro 'flush_scheduled_work'
  515 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:25,
                 from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:11:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c: In function 'tg_req_map_user_pages':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:63:17: error: too many arguments to function 'get_user_pages'
   63 |                 get_user_pages(_1, _2, (_3) ? FOLL_WRITE : 0, _4, _5)
      |                 ^~~~~~~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:126:15: note: in expansion of macro 'prl_get_user_pages'
  126 |         got = prl_get_user_pages(
      |               ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/scatterlist.h:8,
                 from ./include/linux/dmapool.h:14,
                 from ./include/linux/pci.h:1650,
                 from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:7:
./include/linux/mm.h:2545:6: note: declared here
 2545 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:244: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o] Error 1
make[3]: *** [/usr/lib/modules/6.10.3-artix1-2/build/Makefile:1934: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
make[2]: *** [Makefile:240: __sub-make] Error 2
make[1]: *** [Makefile:43: prl_tg] Error 2
make: *** [Makefile.kmods:49: compile] Error 2
Error: could not build kernel modules
modprobe: FATAL: Module prl_tg not found in directory /usr/lib/modules/6.10.3-artix1-2
modprobe: FATAL: Module prl_tg not found in directory /usr/lib/modules/6.10.3-artix1-2
Error: failed to install Parallels Guest Tools!
2024-08-18T15:53:51+0300: execCmd: ./install --install [167]
2024-08-18T15:53:51+0300: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2024-08-18T15:54:06+0300: Exiting with code 1