Fail to build kernel modules on Linux kernel v4.15+

Discussion in 'Linux Guest OS Discussion' started by LegendT, Feb 8, 2018.

Tags:
  1. LegendT

    LegendT Bit Poster

    Messages:
    3
    ```
    2018年 02月 08日 星期四 15:45:18 CST
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Perform installation into the /usr/lib/parallels-tools directory
    cat: /usr/lib/parallels-tools/kmods/../version: 没有那个文件或目录
    make: 进入目录"/usr/lib/parallels-tools/kmods"
    cd prl_eth/pvmnet && make
    make[1]: 进入目录"/usr/lib/parallels-tools/kmods/prl_eth/pvmnet"
    make -C /lib/modules/4.15.1-2-ARCH/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: 进入目录"/usr/lib/modules/4.15.1-2-ARCH/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
    Building modules, stage 2.
    MODPOST 1 modules
    FATAL: modpost: GPL-incompatible module prl_eth.ko uses GPL-only symbol 'sev_enable_key'
    make[3]: *** [scripts/Makefile.modpost:92:__modpost] 错误 1
    make[2]: *** [Makefile:1512:modules] 错误 2
    make[2]: 离开目录"/usr/lib/modules/4.15.1-2-ARCH/build"
    make[1]: *** [/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/Makefile.v26:11:all] 错误 2
    make[1]: 离开目录"/usr/lib/parallels-tools/kmods/prl_eth/pvmnet"
    make: *** [Makefile.kmods:34:installme] 错误 2
    make: 离开目录"/usr/lib/parallels-tools/kmods"
    Error: could not build kernel modules
    Error: failed to install kernel modules
    Error: failed to install Parallels Guest Tools
    ```

    Guest Linux: Arch Linux
    On 4.14 it works fine.
     
  2. Sathiya@Parallels

    Sathiya@Parallels Staff Member

    Messages:
    364
    Best Answer
    Hi Everyone,
    Parallels Desktop 13 for Mac Update 3 Hotfix 1 (13.3.1-43365) is released and it supports Ubuntu 18.04. Use this direct link to download and install the latest build.
     
    HakanK2 likes this.
  3. AlekseyT

    AlekseyT Bit Poster

    Messages:
    1
    Hello,
    Same thing here. I've downgraded linux kernel to 4.14 as workaround. Hope this problem will solve soon.
     
    madamm and LegendT like this.
  4. AlbertoP2

    AlbertoP2 Bit Poster

    Messages:
    8
    Found same issue after upgrading to 4.15 kernel. guest VM just freezes and does not boot. This happens too frequently with Parallels and new Linux kernels...

    Booting with 4.14 kernel version is a workaround for me too.
     
  5. BrianS1

    BrianS1 Bit Poster

    Messages:
    5
    Confirmed. Hope Parallels fixes this asap. Rolled back to 4.14 for now.
     
  6. AlexM11

    AlexM11 Bit Poster

    Messages:
    1
    Confirmed on Parallels Desktop Version 13.3.0 (43321) with a Fedora 27 VM running kernel 4.15.4-300 as well.

    Diagnostic info:
    $ uname -a
    Linux parallels-fedora 4.15.4-300.fc27.x86_64 #1 SMP Mon Feb 19 23:31:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    $ cat /var/log/parallels-tools-install.log

    Wed Feb 28 11:35:41 EST 2018
    Start removal of Guest Tools
    new version of parallels tools
    new version of parallels tools
    Installed Guest Tools were not found
    2018-03-01T13:47:22-0500:

    Parallels Tools 13.3.0-43321 Installer started.
    2018-03-01T13:47:22-0500: Failed to setup console printk level.
    2018-03-01T13:47:30-0500: execCmd: ./installer/pm.sh --check gtools [0]
    Started installation of Parallels Guest Tools version '13.3.0.43321'

    Thu Mar 1 13:47:33 EST 2018
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Perform installation into the /usr/lib/parallels-tools directory
    cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    cd prl_eth/pvmnet && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/4.15.4-300.fc27.x86_64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: Entering directory '/usr/src/kernels/4.15.4-300.fc27.x86_64'
    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
    Building modules, stage 2.
    MODPOST 1 modules
    FATAL: modpost: GPL-incompatible module prl_eth.ko uses GPL-only symbol 'sev_enable_key'
    make[3]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
    make[2]: *** [Makefile:1517: modules] Error 2
    make[2]: Leaving directory '/usr/src/kernels/4.15.4-300.fc27.x86_64'
    make[1]: *** [/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/Makefile.v26:11: all] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make: *** [Makefile.kmods:34: installme] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error: failed to install kernel modules
    Error: failed to install Parallels Guest Tools!
    Please, look at /var/log/parallels-tools-install.log file for more information.
    2018-03-01T13:47:35-0500: execCmd: ./install --install [143]
    2018-03-01T13:47:35-0500: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2018-03-01T13:53:08-0500: Exiting with code 1
     
    wills4 and SebastianB7 like this.
  7. SebastianB7

    SebastianB7 Bit Poster

    Messages:
    6
    Since I have a fresh install of Tumbleweed, there is no way I can revert back to an older kernel, nor do I know how could i do that.
    Can anyone advise?
     
    wills4 likes this.
  8. MtnViewJohn

    MtnViewJohn Bit Poster

    Messages:
    15
    @SebastianB7, if you can boot and get to a console you should be able to install an older kernel. Google how to do this for Tumbleweed. I'm successfully installing Parallels tools on kernel v4.14.0-2 so you don't need to go back very far in kernel versions.
     
    wills4 likes this.
  9. wills4

    wills4

    Messages:
    1
    downgrade Linux kernel to 4.14 it will help what you say, bro,
     
    Last edited by a moderator: Mar 6, 2018
  10. SebastianB7

    SebastianB7 Bit Poster

    Messages:
    6
    Thanks for the reply.
    I am googling like crazy since 1 hour but I cannot find any repo to roll back to 4.14.xxxx I will keep on trying - I must admit I am a beginner with linux although, I am hoping that the developers of Parallels will beat me to providing a fix.

    Cheers!
     
  11. MtnViewJohn

    MtnViewJohn Bit Poster

    Messages:
    15
    Yes, I have Parallels version 13.3.0 (43321) and it works with Linux kernel version 4.14, but not Linux 4.15.
     
  12. Frederick Fishel

    Frederick Fishel Bit Poster

    Messages:
    4
    Ditto for me too MBPro 15", Hig Sierra 10.3.3 and Parallels Desktop 13, I do hope this gets repaired, at least making a snapshot before running dnf upgrade lets me roll back.
     
    Last edited: Mar 12, 2018
  13. BrianS1

    BrianS1 Bit Poster

    Messages:
    5
    A month later really still no fix?
     
    NathanielE likes this.
  14. SebastianB7

    SebastianB7 Bit Poster

    Messages:
    6
    Just wait a couple of more months until Parallels 14 is released.
    Then you can pay for the upgrade and it will work for another 4-5 months and the story will repeat.

    Sounds good? :-D
     
  15. AlexanderO1

    AlexanderO1 Bit Poster

    Messages:
    1
    As soon as Parallels uses subscription model for Parallels Desktop for Mac Pro (I'm user of this one), I would expect to obtain corresponding updates in time. I have the same problem with Ubuntu 18.04 and with Debian Testing. I had the same problem with Debian Stretch past year when it was in testing status. I don't understand why I should pay every year for nothing.
     
    BrianS1 and HakanK2 like this.
  16. VincentN1

    VincentN1 Bit Poster

    Messages:
    1
    Hi Parallels support team and product management team,

    Please listen to your customer. Parallels 13 is not compatible with Ubuntu 18.04. We are not able to install "Parallels Tools". Would you guys do something to assist your customers. It's not acceptable that no one from Parallels team response to this issue. I just upgraded to Parallels 13, I think I waste my money. Very disappointed.

    Poor customers support. Parallels doesn't care the community. No help. Nothing.
     
    madamm, BrianS1 and HakanK2 like this.
  17. Parallels21

    Parallels21 Bit Poster

    Messages:
    2
    Incredible that Parallels hasn't got any support for the latest release of the most popular Linux OS, Ubuntu (18.04). You have had months to prepare for this, it's not a surprise. And no responses anywhere hear, no indication on when it will be supported. Shame on you.
     
    madamm and staylor like this.
  18. Hemnath@Parallels

    Hemnath@Parallels Parallels Support

    Messages:
    849
    Hello folks. Our engineers are working hard to add support for Ubuntu 18.04. Once it is fully supported by Parallels, we will add it to the list of supported guest OS's listed here. At this time, we do not have a fixed date for adding support for the said guest OS.
     
  19. staylor

    staylor Bit Poster

    Messages:
    4
    For what it's worth VMware Fusion worked no problem using their 30-day trial. And as an added bonus OpenGL actually works correctly which Parallels has STILL not addressed after all these years. We'll see if anything improves before the 30-days is up but I'm not seeing any reasons for sticking with Parallels after all these years.
     
  20. RodrigoM3

    RodrigoM3 Bit Poster

    Messages:
    2
    I bought Parallels just because Fusion had a sound driver problem with Ubuntu, but then I can't use the latest version of Ubuntu, oh come on....
     
  21. ChrisP13

    ChrisP13 Bit Poster

    Messages:
    12
    Dear Parallels
    Could you please confirm whether Ubuntu18 support will be added to Parallels 13?
    Thanks
     

Share This Page