This patch worked for me. I had to dust off some old linuxy cobwebs related to patching first. If anyone else is having trouble applying it without DKMS this is what I did:
And add one gripe point from me for the Parallels guys for making us go through this at all on a paid product that supposedly has support.
- Mount the parallel-tools cd by going to Actions | Install Parallels Tools from the main menu on your MacOS host
- Copy the whole contents of the cd to your local hard drive (should be same dir where you downloaded the patch), it should be in something like /media/username/Parallels Tools
- go to the directory where you copied the files from Parallels Tools to
- go to the kmods directory
- extract prl_mod.tar.gz with something like tar zxf prl_mod.tar.gz
- apply the patch as GM originally suggested
- cd ..
- patch -p1 < parallels-tools-16.1.x.x-kernel-5.11.x.txt. (substitute the right version numbers for your specific patch)
- Pick the default response of [n] should you run into any parts of patch that were already applied
- After the patch has been applied rename prl_mod.tar.gz to something like prl_mod.tar.gz.orig
- Create a new tarball with the patched files
- cd kmods
- tar zcf prl_mod.tar.gz *
- At this point you have patched your local copy of the parallels-tools installer
- Go to the top level dir of the local installer, cd ..
- Run the install script, sudo ./install
And add one gripe point from me for the Parallels guys for making us go through this at all on a paid product that supposedly has support.
Hi,
Seems like that time of the year when I update to the shiny new kernel in my Arch and can no longer boot my VM came again. This time it took me quite a bit of time to fix all the incompatibilities (around 2.5 hours), but I am up and running again. Attached is the patch against the latest Parallel Tools (as of this writing).
It works for me, but I am providing this as-is, so use your own judgement.
To apply the patch you need to unpack the "kmods/prl_mod.tar.gz" archive and then run "patch -p1 < /path/to/where/you/saved/parallels-tools-16.1.3.49160-kernel-5.11.1.diff". What to do next depends on your setup. You may repack the archive back and update using the official process (I never used it, so don't know how it works). If you are using DKMS, then you can just run "dkms add ." in that directory where you unpacked and patched files and it will add the modules to the current kernel.