[patch] Support for kernel 5.13 (Parallels Tools 16.5.1.49187)

Discussion in 'Linux Virtual Machine' started by (GalaxyMaster), Jul 23, 2021.

Tags:
  1. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
    OK, Arch Linux just introduced the 5.13 kernel, so I was expecting to patch the tools. The fix is quite minor and was investigated and solved by other member of this community. However, I also needed to have the shared folder execution patch to be able to execute binaries and script from the mounted macOS folder.

    I am including three patch files here, choose your own destiny :)
    1. parallels-tools-16.5.1.49187-kernel-5.13-fixes.txt - this patch contains a fix to support kernels 5.13+ with the current version of Parallel Tools
    2. parallels-tools-16.5.0.49183-shared-folders-exec.txt - I created this patch for an older version, but it still applies cleanly -- this is support for executable files on the shared folders
    3. parallels-tools-16.5.1.49187-combined.txt - two of the above combined into one (for lazy people) :)
    Have fun :)
     

    Attached Files:

    ArminH5, wmnf_90 and YuryZ like this.
  2. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
    I just checked -- the credits for investigating and fixing the tools for 5.13 go to @Evan123 (I just wrapped the solution into conditionals, so it will work on older kernels too).
     
  3. Mark Fine

    Mark Fine Pro

    Messages:
    482
  4. WillianJ1

    WillianJ1 Bit poster

    Messages:
    1
    Any tips for installing these patches? First time trying to do that. I appreciate the help.

    Thanks.
     
  5. Mark Fine

    Mark Fine Pro

    Messages:
    482
    Just found some time to apply it all... thanks again!
     
  6. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
    There is a thread re: how to do it.
     
  7. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
  8. BobW11

    BobW11 Member

    Messages:
    86
  9. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
    Well, it is scripted on my side, but systems are different: I am using DKMS, some people don't. Even if I provide my scripts it will just make the process even more confusing for some people (e.g. I am using DKMS on a system that originally didn't have it), so it is a catch 22 case :)
     
  10. YuryZ

    YuryZ Bit poster

    Messages:
    6
    Oh man, why Parallels just can't keep up with the new kernel versions themselves... we are paying customers after all... Anyways, thanks a lot!
     
    FrancoB2 likes this.
  11. RizzoA

    RizzoA Bit poster

    Messages:
    7
    Is this for arch Linux arm?
     
  12. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
    With the release of Parallels Desktop 17 (and the corresponding tools), no patches are required for kernels 5.13. Parallels addressed everything that was being fixed in my patches, including the execution of scripts/binaries from the shared folders. Moreover, they did it in a nicer way. Splendid! :).
     
  13. ReynierP

    ReynierP Member

    Messages:
    29
    @(GalaxyMaster) weird, I have Fedora 34 and as soon as I install the latest Parallels Tools my VM becomes unusable meaning it never starts just stay forever on a black screen, any advice? I can try one more time and attach logs if that helps somehow if you're willing to take a look
     
  14. ShawnC4

    ShawnC4 Member

    Messages:
    23
    How long are you waiting for it to start? My f34 VM takes about 3-4 minutes to get started. FYI I think this delay started happening with kernel 5.10 or 5.11.
     
  15. ReynierP

    ReynierP Member

    Messages:
    29
    @ShawnC4 more than that and worse it never start after that black screen, I am running `kernel-5.13.8-200.fc34.x86_64`
     
  16. ShawnC4

    ShawnC4 Member

    Messages:
    23
    Do you see the "Press escape for boot options" prompt, and if so can you try any of the previous kernels that you might have?
     
  17. ReynierP

    ReynierP Member

    Messages:
    29
    @ShawnC4 already tried that no luck, currently I am removing the old ones 13.7 and 13.6 and see if somehow that helps me to install the latest Parallels Tools
     
  18. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
    I stumbled upon something like that when I updated the modules and for some reason DKMS did not update everything considering some modules from the previous version to be already up to date. This resulted in my VM getting numerous kernel exceptions coming from prl_vid. I booted the system into the single mode (by providing "systemd.unit=rescue.target" too the kernel at boot) and then removed /lib/modules/<my_kernel_version>/extra/prl_*, followed by re-installing the modules from the new tools. This solved the issue for me. If you can get logs from the VM, look at "dmesg" first.
     
  19. ReynierP

    ReynierP Member

    Messages:
    29
    That didn't work either for me :( I had to install Fedora 34 from scratch. Thanks anyway
     
  20. ArminH5

    ArminH5 Bit poster

    Messages:
    1
    Thanks! This fixed my Ubuntu install after it recently broke when updating to kernel v.5.13. (I'm still using Parallels Desktop 16.)
     

Share This Page