Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Unable to install VMWare current in Leap 15.2 rc

  1. #1

    Default Unable to install VMWare current in Leap 15.2 rc

    In attempting to compile resources into the VMware application I get the follwing message: "Unable to install all modules. See log...

    The indicated log file, at the end of the log shows the following:
    "
    020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/procfs.o: warning: objtool: .text.__x86_indirect_thunk_r10+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/procfs.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/driver.o: warning: objtool: .text.__x86_indirect_thunk_r8+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/bridge.o: warning: objtool: .text.__x86_indirect_thunk_rcx+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/bridge.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: make[2]: *** [/usr/src/linux-5.3.18-lp152.19/Makefile:1644: _module_/tmp/modconfig-KjgdBC/vmnet-only] Error 2
    2020-06-27T10:38:05.523-04:00| host-2878| I005: make[1]: *** [../../../linux-5.3.18-lp152.19/Makefile:179: sub-make] Error 2
    2020-06-27T10:38:05.523-04:00| host-2878| I005: make: *** [Makefile:117: vmnet.ko] Error 2
    2020-06-27T10:38:05.523-04:00| host-2878| I005: Unable to install all modules. See log for details.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: "

    I can provide the entire log file but it's a bit long for this sort of format.

    It appears that the networking module is incompatible with some code in the Leap kernel and unable to compile. Is this something that can be addressed? Do I need to post a bug report? I've updated the BIOS in my system in case there was some sort of incompatibility there. The system is using the Leap 15.2 rc default kernel. Should this be part of a bug report?
    BrewerBob

    Real old dude, student and engineer. Lover of family, great ideas, open source software and cats.

  2. #2
    Join Date
    Sep 2012
    Posts
    5,907

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Quote Originally Posted by BrewerBob View Post
    Do I need to post a bug report?
    Complain to VMware. It is their software.

  3. #3

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Quote Originally Posted by arvidjaar View Post
    Complain to VMware. It is their software.
    I hate finger pointing.

    It worked with Kubuntu. What's your point?
    BrewerBob

    Real old dude, student and engineer. Lover of family, great ideas, open source software and cats.

  4. #4
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,876

    Default AW: Unable to install VMWare current in Leap 15.2 rc


  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,734
    Blog Entries
    2

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Don't complain to VMware yet.

    You'll find similar posts in this Forum over the many years, the reason is that the VMware installer is built to support the most recently distributed stable version of gcc. If you install on Tumbleweed or in this case a "next version" of openSUSE in Beta, VMware wouldn't have been built to support the default included gcc by default.

    To address,
    1. Install the older version of gcc that should be in the openSUSE repositories. It should install side by side with your existing gcc and not overwrite.
    2. Configure an Alternatives so you can switch between your installed gcc easily (This is better than manually swapping gcc binaries which was my very first recommendation more than a decade agao). The instructions for configuring a gcc is in my Wiki
    https://en.opensuse.org/User:Tsu2/gc...e-alternatives

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Jun 2008
    Location
    Managua
    Posts
    401

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Quote Originally Posted by tsu2 View Post
    Don't complain to VMware yet.

    You'll find similar posts in this Forum over the many years, the reason is that the VMware installer is built to support the most recently distributed stable version of gcc. If you install on Tumbleweed or in this case a "next version" of openSUSE in Beta, VMware wouldn't have been built to support the default included gcc by default.

    To address,
    1. Install the older version of gcc that should be in the openSUSE repositories. It should install side by side with your existing gcc and not overwrite.
    2. Configure an Alternatives so you can switch between your installed gcc easily (This is better than manually swapping gcc binaries which was my very first recommendation more than a decade agao). The instructions for configuring a gcc is in my Wiki
    https://en.opensuse.org/User:Tsu2/gc...e-alternatives

    TSU
    Hi, am trying to install vmware ws 15.5.6 in Leap 15.2 but I couldn't find gcc5 or gcc6 available with the command locate gcc, they aren't available in the official repos either.

  7. #7

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Quote Originally Posted by BrewerBob View Post
    In attempting to compile resources into the VMware application I get the follwing message: "Unable to install all modules. See log...

    The indicated log file, at the end of the log shows the following:
    "
    020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/procfs.o: warning: objtool: .text.__x86_indirect_thunk_r10+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/procfs.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/driver.o: warning: objtool: .text.__x86_indirect_thunk_r8+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/bridge.o: warning: objtool: .text.__x86_indirect_thunk_rcx+0x0: unsupported intra-function call
    2020-06-27T10:38:05.523-04:00| host-2878| I005: /tmp/modconfig-KjgdBC/vmnet-only/bridge.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: make[2]: *** [/usr/src/linux-5.3.18-lp152.19/Makefile:1644: _module_/tmp/modconfig-KjgdBC/vmnet-only] Error 2
    2020-06-27T10:38:05.523-04:00| host-2878| I005: make[1]: *** [../../../linux-5.3.18-lp152.19/Makefile:179: sub-make] Error 2
    2020-06-27T10:38:05.523-04:00| host-2878| I005: make: *** [Makefile:117: vmnet.ko] Error 2
    2020-06-27T10:38:05.523-04:00| host-2878| I005: Unable to install all modules. See log for details.
    2020-06-27T10:38:05.523-04:00| host-2878| I005: "

    I can provide the entire log file but it's a bit long for this sort of format.

    It appears that the networking module is incompatible with some code in the Leap kernel and unable to compile. Is this something that can be addressed? Do I need to post a bug report? I've updated the BIOS in my system in case there was some sort of incompatibility there. The system is using the Leap 15.2 rc default kernel. Should this be part of a bug report?

    1. disable secure boot
    2. install vmware modules -> https://github.com/mkubecek/vmware-h...dules/releases
    3. run -> vmware-modconfig --console --install-all
    4. run -> chmod a+rw /dev/vmnet*

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,734
    Blog Entries
    2

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Quote Originally Posted by Easgs View Post
    Hi, am trying to install vmware ws 15.5.6 in Leap 15.2 but I couldn't find gcc5 or gcc6 available with the command locate gcc, they aren't available in the official repos either.
    Hi,
    The "locate" utility like "Find" only looks for files on your system.
    If you haven't installed something on your system, "locate" won't find it.
    You instead need to do a package search for any gcc that's available, so for instance the following command
    Code:
    zypper se gcc
    When you install a new gcc side by side with whatever is default on you system, you still need to enable your choice of gcc.
    There are various ways selecting a gcc can be configured, but particularly for a system-wide configuration which would be required to install a VMware product, I recommend setting up an Alternatives, which I describe in the following Wiki article

    https://en.opensuse.org/User:Tsu2/gc...e-alternatives

    Since a compiler like gcc is used only once and hardly ever again until something needs to be compiled, you can leave whatever version enabled, typically it doesn't make a difference although one can say it might be better to return your system to system defaults after your special task.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,734
    Blog Entries
    2

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Quote Originally Posted by guestfish View Post
    1. disable secure boot
    2. install vmware modules -> https://github.com/mkubecek/vmware-h...dules/releases
    3. run -> vmware-modconfig --console --install-all
    4. run -> chmod a+rw /dev/vmnet*
    I wouldn''t recommend this method because kernel modules have to be built to the specific kernel you're running and there is no more sure way than to build the modules on demand since the kernel headers you'd be using would be matched perfectly with your kernel in use.

    Just install and use a gcc that VMware can use and typically you won't have to do anything else.

    Easy-peazy.
    And although most people won't need to build kernel modules often, you'll be set up for next time as well.

    Which does remind me to remind the @OP of this thread, install your kenrel headers...
    Many people building kernel modules the first time try to build from source which is incorrect.
    Kernel headers are needed to build kernel modules.
    Kernel source is used to build the kernel itself, not modules which are "add-ons" which can be loaded and unloaded even after boot which is different than the initrd which is loaded on boot and can't be modified once loaded by the system.
    Code:
    zypper in kernel-devel kernel-default-devel
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  10. #10

    Default Re: Unable to install VMWare current in Leap 15.2 rc

    Quote Originally Posted by tsu2 View Post
    I wouldn''t recommend this method because kernel modules have to be built to the specific kernel you're running and there is no more sure way than to build the modules on demand since the kernel headers you'd be using would be matched perfectly with your kernel in use.

    Just install and use a gcc that VMware can use and typically you won't have to do anything else.

    Easy-peazy.
    And although most people won't need to build kernel modules often, you'll be set up for next time as well.

    Which does remind me to remind the @OP of this thread, install your kenrel headers...
    Many people building kernel modules the first time try to build from source which is incorrect.
    Kernel headers are needed to build kernel modules.
    Kernel source is used to build the kernel itself, not modules which are "add-ons" which can be loaded and unloaded even after boot which is different than the initrd which is loaded on boot and can't be modified once loaded by the system.
    Code:
    zypper in kernel-devel kernel-default-devel
    TSU
    you recommend or not, this is only way to run vmware on linux! if you used vmware on linux then 100% you used this method

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •