Parallel tools patch with kernel 5.10.2

Hi,
I can’t install parallel tools (vers 16) on my manjaro distr. with kernel 5.10.2.
I have a mac book pro retina with integrated graphics and nvidia
My problem is that I can’t change my resolution screen.
thanks

Hi Gnx74, welcome to the forum :+1:

To let people help you it is essential to provide more information about your issue. Please read this post how to provide the info. You seem to have 2 issues:

  1. Install parallel tools fails
  2. Change resolution

These might be related, for now only you know :slight_smile:

For the first, are you using the add/remove software tool or a cli install? Do you have the error or log output to share?

For the second, how are you trying to change the resolution? And what is the output of xrandr & inxi -Fazi

Hi Hanzel,
my goal is to have a retina resolutiion (2880x1800) on linux manjaro partition.
I don’t know if is necessary to install parallel tool for that.

I answer your questions:

1- I use cli install from a directory where I copied parallel tools, with terminal with ./install command

2- I don’t know if there is a command to change resolution.
Below the output of command:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1440 x 1050, maximum 1440 x 1050
default connected 1440x1050+0+0 0mm x 0mm
1400x1050 0.00
1440x900 0.00
800x600 0.00
1440x1050 0.00*
System:
Kernel: 5.10.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=4429ea08-7aae-4508-a7b3-447ed49a52eb rw quiet
resume=UUID=d0a1891d-3260-4d52-a086-5644e73d90c8 udev.log_priority=3
Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
Type: Laptop System: Parallels product: Parallels Virtual Platform v: N/A
serial: Chassis: type: 10 serial:
Mobo: Parallels model: Parallels Virtual Platform serial:
BIOS: Parallels v: 16.1.1 (49141) date: 11/06/2020
Battery:
ID-1: BAT0 charge: 100.0 Wh condition: 100.0/100.0 Wh (100%)
volts: 12.5/65.5 model: SMP bq20z45 type: Unknown serial: N/A status: Full
CPU:
Info: Dual Core model: Intel Core i7-3635QM bits: 64 type: MCP
arch: Ivy Bridge family: 6 model-id: 3A (58) stepping: 9 microcode: 21
L2 cache: 6 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 9583
Speed: 2395 MHz min/max: N/A Core speeds (MHz): 1: 2395 2: 2395
Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported
Type: l1tf mitigation: PTE Inversion
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
SMT Host state unknown
Type: meltdown mitigation: PTI
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full generic retpoline, STIBP: disabled, RSB filling
Type: srbds status: Unknown: Dependent on hypervisor status
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Parallels Accelerated Virtual Video Adapter driver: N/A
bus ID: 01:00.0 chip ID: 1ab8:4005
Device-2: PARALLELS Videocamera HD FaceTime (integrata) type: USB
driver: uvcvideo bus ID: 4-1:2 chip ID: 203a:fff9 serial:
Display: x11 server: X.Org 1.20.10 driver: vesa display ID: :0.0
screens: 1
Screen-1: 0 s-res: 1440x1050 s-dpi: 96 s-size: 381x278mm (15.0x10.9")
s-diag: 472mm (18.6")
Monitor-1: default res: 1440x1050
OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.3.1
compat-v: 3.1 direct render: Yes
Audio:
Device-1: Intel 82801BA/BAM AC97 Audio vendor: Parallels
driver: snd_intel8x0 v: kernel bus ID: 00:1f.4 chip ID: 8086:2445
Sound Server: ALSA v: k5.10.2-2-MANJARO
Network:
Device-1: Red Hat Virtio network vendor: Parallels driver: virtio-pci v: 1
modules: virtio_pci port: 8200 bus ID: 00:05.0 chip ID: 1af4:1000
IF-ID-1: enp0s5 state: up speed: -1 duplex: unknown mac:
IP v4: type: dynamic noprefixroute scope: global
broadcast:
IP v6: type: dynamic noprefixroute scope: global
IP v6: type: noprefixroute scope: link
WAN IP:
Drives:
Local Storage: total: 20 GiB used: 8.76 GiB (43.8%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 model: Manjaro Linux-0 SSD size: 20 GiB
block size: physical: 4096 B logical: 512 B speed: 1.5 Gb/s
serial: rev: FZR8
Partition:
ID-1: / raw size: 17.99 GiB size: 17.59 GiB (97.74%)
used: 8.76 GiB (49.8%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2
Sensors:
System Temperatures: cpu: 73.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 182 Uptime: 7h 11m wakeups: 40 Memory: 5.7 GiB
used: 2.04 GiB (35.7%) Init: systemd v: 247 Compilers: gcc: 10.2.0
Packages: pacman: 1032 lib: 342 Shell: Bash v: 5.1.0
running in: xfce4-terminal inxi: 3.2.01

many thanks

Also I post the /var/log/parallels-tools-install.log
thanks!

lun 11 gen 2021, 19:41:10, CET
Start installation or upgrade of Guest Tools
installer:%10.000000
installer:%20.000000
new version of parallels tools
Installed Guest Tools were not found
Register service to install new Guest Tools
installer:%30.000000
Perform installation into the /usr/lib/parallels-tools directory
installer:%40.000000
make: Entering directory ‘/usr/lib/parallels-tools/kmods’
Will use compiler CC=“cc”.
Compiler version “cc (GCC) 10.2.0”
cd prl_eth/pvmnet && make CC=cc
make[1]: Entering directory ‘/usr/lib/parallels-tools/kmods/prl_eth/pvmnet’
make -C /lib/modules/5.10.2-2-MANJARO/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet CC=cc
make[2]: Entering directory ‘/usr/lib/modules/5.10.2-2-MANJARO/build’
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
MODPOST /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/Module.symvers
CC [M] /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/lib/modules/5.10.2-2-MANJARO/build’
make[1]: Leaving directory ‘/usr/lib/parallels-tools/kmods/prl_eth/pvmnet’
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/5.10.2-2-MANJARO/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20210111
4: 1.7.1
Start compile prl_tg…
make -C /lib/modules/5.10.2-2-MANJARO/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/5.10.2-2-MANJARO/build’
1: /lib/modules/5.10.2-2-MANJARO/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20210111
4: 1.7.1
CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o
LD [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.o
1: /lib/modules/5.10.2-2-MANJARO/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20210111
4: 1.7.1
MODPOST /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Module.symvers
CC [M] /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/lib/modules/5.10.2-2-MANJARO/build’
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 CC=cc KBUILD_EXTRA_SYMBOLS=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Module.symvers
make[1]: Entering directory ‘/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs’
make -C /lib/modules/5.10.2-2-MANJARO/build M=/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs CC=cc
make[2]: Entering directory ‘/usr/lib/modules/5.10.2-2-MANJARO/build’
CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o
CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c: In function ‘init_buffer_descriptor’:
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:58:31: error: implicit declaration of function ‘segment_eq’ [-Werror=implicit-function-declaration]
58 | bd->user = (user == 0) ? 0 : segment_eq(get_fs(), USER_DS) ? 1 : 0;
| ^~~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:58:42: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
58 | bd->user = (user == 0) ? 0 : segment_eq(get_fs(), USER_DS) ? 1 : 0;
| ^~~~~~
| sget_fc
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:58:52: error: ‘USER_DS’ undeclared (first use in this function); did you mean ‘USER_HZ’?
58 | bd->user = (user == 0) ? 0 : segment_eq(get_fs(), USER_DS) ? 1 : 0;
| ^~~~~~~
| USER_HZ
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:58:52: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:279: /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o] Error 1
make[2]: *** [Makefile:1805: /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs] Error 2
make[2]: Leaving directory ‘/usr/lib/modules/5.10.2-2-MANJARO/build’
make[1]: *** [Makefile:36: all] Error 2
make[1]: Leaving directory ‘/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs’
make: *** [Makefile.kmods:33: compile] Error 2
make: Leaving directory ‘/usr/lib/parallels-tools/kmods’
Error: could not build kernel modules
Error during report about failed installation of parallels tools.
Error: failed to install Parallels Guest Tools!
Trying to restore previous Parallels Guest Tools installation…

Ah! You are running majnaro in a parallels VM as a guest, correct me if I’m wrong.

A good starting point to get support from parallels would be here.

Have you read this almost the first line that “Parallels Desktop supports Linux guests out of the box, but only offers support for a few Linux distributions - excluding Arch Linux.” ? and Manjaro is based on Arch.

Hi, yes I’m running on VM as guest.

I have seen parallel support, but I hope there is some workaround…

thanks a lot

The best place to look for a workaround is the supplier of the software, they are more capable to support their product. I’ve changed the category of the post to 3rd party applications and added the tag virtualization.

Hi,
I’ve patched manually the files of the parallel installation and all is ok!
The link for the procedures is

https://forum.parallels.com/threads/tools-patch-procedure.351669/

Suggest: Don’t patch with patch command but manually modify the 2 files.

1 Like

It’s good to hear that you got it working and that you left the solution for other to find in the future :heart: