rhino-linux / os

Rhino Linux ISO Builder.
GNU General Public License v3.0
53 stars 10 forks source link

BUG: Parallels Tools Installation Failure on Rhino Linux with Kernel 6.6.7 #68

Closed ylluminate closed 5 months ago

ylluminate commented 11 months ago

Rhino Linux Version: Rhino Linux 2023.4 (mainline) - devel

Platform: arm64 via MacBookPro18,2 (M1 Max) with macOS 14 via Parallels 19.2.0 (54827)

Describe the bug Parallels Tools installation fails on Linux kernel version 6.6.7-060607-generic. The process halts during the compilation of kernel modules, particularly encountering issues with fixdep (which can be manually compiled) and then genksyms (which then seems to fail with all attempts to manually compile), part of the kernel headers.

To Reproduce Steps to reproduce the behavior:

  1. Attempt installation of Parallels Tools using the provided script (used the shell-based version via sudo ./media/u/Parallels\ Tools/install -i --verbose.
  2. Install build-essential, linux-headers-$(uname -r), and gcc-13.
  3. Encounter error: modprobe: FATAL: Module prl_tg not found.
  4. Manually compile kernel modules from /usr/lib/parallels-tools/kmods.
  5. Rebuild fixdep successfully, but face linking errors with genksyms due to undefined references to yydebug.

Expected behavior Successful compilation of genksyms and completion of the Parallels Tools installation process.

Additional context

During the initial install attempt the following came from the parallels-tools-install.log:

/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[4]: *** [scripts/Makefile.build:243: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 126
make[4]: *** Deleting file '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o'

After manually compiling that, I got the following:

/bin/sh: 1: scripts/genksyms/genksyms: Exec format error
make[4]: *** [scripts/Makefile.build:243: /home/u/tmp/prl_mod/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 126
make[4]: *** Deleting file '/home/u/tmp/prl_mod/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o'

When I tried to compile genksyms manually I experienced the error shared above pertaining to genksyms.

oklopfer commented 11 months ago

BTW this probably looks like a PRL tools issue, and not an us issue (I can't find any mention of them supporting 6.6 series at all)