Hi,
I am running Parallels 16.1.3 (49160) on an Intel-based Big Sur 11.5.1 machine and my Ubuntu 20.04 LTS guest used to work just fine. Yesterday, I put that virtual machine to sleep and fireing it up this morning, the screen resolution is back to what it used to be before installing Parallels tools.
So, I decided to reinstall Parallels tools, but to no avail. As can be seen from the error log below, the problem is due to TIF_IA32 being undeclared:
Started installation of Parallels Guest Tools version '16.1.3.49160'
Previous version was not found. Nothing to backup.
installer:%0.000000
Error during report about start installation of parallels tools.
Mon Aug 9 10:14:42 NZST 2021
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 (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.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.11.0-25-generic/build
M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet CC=cc
make[2]: Entering directory '/usr/src/linux-headers-5.11.0-25-generic'
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/src/linux-headers-5.11.0-25-generic'
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.11.0-25-generic/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20210809
4: 1.7.1
Start compile prl_tg...
make -C /lib/modules/5.11.0-25-generic/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/src/linux-headers-5.11.0-25-generic'
1: /lib/modules/5.11.0-25-generic/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20210809
4: 1.7.1
CC [M]
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
In file included from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:78,
from ./include/linux/spinlock.h:51,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
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_write':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:43:21:
error: 'TIF_IA32' undeclared (first use in this function)
43 | ((test_thread_flag(TIF_IA32)) && (nbytes ==
sizeof(compat_uptr_t)))
| ^~~~~~~~
./include/linux/thread_info.h:131:45: note: in definition of macro
'test_thread_flag'
131 | test_ti_thread_flag(current_thread_info(), flag)
| ^~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:247:43:
note: in expansion of macro 'PRL_32BIT_COMPAT_TEST'
247 | if ((nbytes != sizeof(TG_REQUEST *)) && !PRL_32BIT_COMPAT_TEST)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:43:21:
note: each undeclared identifier is reported only once for each function
it appears in
43 | ((test_thread_flag(TIF_IA32)) && (nbytes ==
sizeof(compat_uptr_t)))
| ^~~~~~~~
./include/linux/thread_info.h:131:45: note: in definition of macro
'test_thread_flag'
131 | test_ti_thread_flag(current_thread_info(), flag)
| ^~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:247:43:
note: in expansion of macro 'PRL_32BIT_COMPAT_TEST'
247 | if ((nbytes != sizeof(TG_REQUEST *)) && !PRL_32BIT_COMPAT_TEST)
| ^~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:287:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o]
Error 1
make[2]: *** [Makefile:1848:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error
2
make[2]: Leaving directory '/usr/src/linux-headers-5.11.0-25-generic'
make[1]: *** [Makefile:43: prl_tg] Error 2
make[1]: Leaving directory
'/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
make: *** [Makefile.kmods:31: 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...
Has anyone come across this issue? Is there a fix for it?
Cheers, Alan.