VMware Workstation

 View Only
Expand all | Collapse all

Follow-Up on VMware Workstation Linux Issues and Next Steps

  • 1.  Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted Aug 19, 2024 10:31 PM

    Hi All,

    Thank you for bringing this issue with Workstation to our attention in such detail. I completely understand your frustration and how this ongoing problem is affecting you, 

    I want to assure you that this matter has been raised Internally. The PMs who are closely involved with the Workstation have informed us that they will follow up on the current situation with the Workstation on Linux and will provide us with an update after catching up with the team regarding Linux support.

    Please know that we take your concerns very seriously, and we're committed to finding a resolution. I will let you know of any developments. If you have any more questions or concerns, please feel free to reach out to me directly.

    Thank you for your continued support. We value your trust and are working to ensure it remains well-placed.

    Best regards,

    Julia Klaus 

    --

    Customer and Community Division,

    Broadcom 



  • 2.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted Aug 20, 2024 09:49 AM

    Dear Julia,

    Thank you for reaching out to the user community with this update, and for reaching out to the project managers who would have to initiate the fixes needed to restore VMWare Workstation on Linux to full working order.  

    I'm grateful for the steps you've taken to advocate on our behalf.

    Regards,

    Yilmaz Rona




  • 3.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted Aug 20, 2024 01:53 PM

    Good Afternoon Julia,

    Thank you for reaching out.

    Now that Workstation Pro is now available as a personal use license, could Broadcom publish the Linux system requirements for the modules that need to be compiled to access the kernel?

    There are members of the community that are familiar with compiling C and linking objects to create executable code. If we are aware of the dependencies of these modules, the community may be able to pinpoint the source of the issue with suggested solutions for members and the Broadcom development teams. I saw in the log file, there was a search for configuration files, if we could explicitly define these dependencies in a configuration file, we might not have to download patches from githubs on the internet.

    In this case there have been community members that have helped other members get their installations up and running again. Given that there are many flavors of Linux and they are being continually updated, having more eyes on these kind of issues would be beneficial for customer experience.

    This seem to be great community, please help us get the tools to help one another.

    Regards and respect

    Gary Fargusson




  • 4.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted Aug 20, 2024 11:51 PM

    Hi Yilmaz, Gary,

    Our engineering team has updated us that this issue stems from the fact that our product release timelines and those of the various Linux distributions don't always align. This means that changes upstream can lead to incompatibility. To address this in the long term, the team is studying solutions that need to be approached from several angles:

    1. Up-to-date public-facing documentation for when such incidents occur.
    2. An official VMware/Broadcom process for delivering out-of-band patches to address issues with newer kernels.

    This problem isn't new and has always been a challenge, so they are trying to understand if something specific is making it more prevalent or causing issues in the field.

    Additionally, the team is working on reproducing the networking issues reported, and they will inform us if they need to reach out for additional details or help with reproducing; however, If someone in the community happens to have any up-to-date documentation or wants to reproduce the issue on different versions of Linux and share their findings, I will gladly pass that information along to the engineering team and check if they can use it as. "Up-to-date public-facing documentation for when such incidents occur." 

    I have also raised Gary's question, "could Broadcom publish the Linux system requirements for the modules that need to be compiled to access the kernel?" I'm waiting for answers on this one, as I'm not sure on the policies to release this kind of information. 

    Also, feel free to chime in if you think you can contribute to the solutions.

    Thanks,


    -Julia




  • 5.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted Aug 21, 2024 12:08 PM
    Edited by goldeneye_007 Aug 21, 2024 12:25 PM

    "Our engineering team has updated us that this issue stems from the fact that our product release timelines and those of the various Linux distributions don't always align."

    While that may be true, it does not excuse the lengthy delays that occur after the problem arises. For at least the last 3 versions, the 'fix' is a simple munge of a compile script that an intern could do. I am hopeful what you are saying is actually happening, but forgive me if I am doubtful. 

    As for the original poster, This is the current procedure that works for me, use at your own risk, it utilizes the github repo of mkubecek who has provided patches for many versions that have compilation errors.

    cd /tmp
    sudo bash
    git clone github.com/mkubecek/vmware-host-modules.git cd vmware-host-modules git switch workstation-17.5.1 

    This will create a folder in your current directory /vmware-host-modules/

    Look inside the sub directory /vmmon-only/include/ for this file 'pgtbl.h'
     
     91#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
     92             pte_t *pte = pte_offset_kernel(pmd, addr);
     93 #else
     94             pte_t *pte = pte_offset_map(pmd, addr);
     95 #endif
    ...

    line 94: replace pte_offset_map with pte_offset_kernel to make kernel version check invalid

     94             pte_t *pte = pte_offset_kernel(pmd, addr);

    Next look inside the sub directory /vmnet-only/ for this file 'bridge.c'

    ...
      28
      29 #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 10)
      30 #include <net/gso.h>
      31 #endif
    ...

    line 28: add #include <net/gso.h> so that net/gso.h will be included anyway

      28 #include <net/gso.h>

      
      The files should look like this:
      
        pgtbl.h

    ...
     91#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
     92             pte_t *pte = pte_offset_kernel(pmd, addr);
     93 #else
     94             pte_t *pte = pte_offset_kernel(pmd, addr);//replace "pte_offset_map" with "pte_offset_kernel" to make kernel version check invalid
     95 #endif
    ...

        bridge.c

    ...
      28 #include <net/gso.h> //add this line so that net/gso.h will be included anyway
      29 #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 10)
      30 #include <net/gso.h>
      31 #endif

    MAKE SURE YOU HAVE kernel_source for your running kernel installed or you won't be able to compile.

    Depending on your setup you may also have to install 'make' and 'gcc'.

    Now execute

      make clean

      make

      make install

    Try and launch VMware Workstation if there are no errors. This method has been posted numerous places on the internet. The github gets updated from time to time so these instructions may be partially out of date so you may have to tweak them to suit your situation. This set of instructions basically just comments out some version checking. 

    It seems to work for many, but not for all. There isn't really a consistent basis for why it works for some and not others. If you have a fairly vanilla and clean distro it will likely work. If it doesn't, no harm, just delete the downloaded git files and wait for an official patch. Be aware, it might be months away. 




  • 6.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted Sep 01, 2024 08:17 PM

    Hi Julia,

    what is the solution from Broadcom regarding the "complile error"?

    I cannot run VMWare Workstation anymore! This is very critical!

    Can you please provide some information if there will be a fix or not?

    Will there be a fix implemented into the next VMWare Workstation install file release? If yes, when will the new install package be released?

    The suggested "workaround" is not acceptable at all. The workaround suggests to download "some untrusty files from github". THIS IS NOT ACCEPTABLE! We cannot just install some untrusted files from "somebody from github". I hope you understand this.

    Looking forward to your answer, thank you in advance.




  • 7.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted Sep 04, 2024 02:42 AM

    Nearly every Linux user of Workstation is aware of mkubeck's patches.  And a different person before him.  and before that one.  and Petr, going waaaaaayyyy back to the early 2000's.  If you are uncomfortable running the patchset provided by these dedicated users (who I do believe provide all their source so that you can vet it yourself), then go back to the official VMware solution... only run on Supported hosts!




  • 8.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted 25 days ago

    Dear @RDPetruska,

    I get your point, and of course the "community is providing patches" is a nice thing.

    However a) I simply don't have the time to review source code (to make sure that I don't introduce malware / backdoors to our company) and b) I just expect that such issues get resolved by the vendor (Broadcom) in a professional manner.

    PS: I'm running Ubuntu 20.04, which is supported - see https://knowledge.broadcom.com/external/article?legacyId=80807

    On this page it is also mentioned that "(Supported until Ubuntu 24.04 with Kernel version 6.8.0-40-generic)", which might be true for 24.04., but on 20.04 with Kernel "6.8.0-40-generic" you simply get the error message when trying to compile.

    @Julia Klaus can you please provide an update?

    Thanks in advance!




  • 9.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted 25 days ago

    I would also be surprised if 'good will' patches continue to be provided. Broadcom isn't making any friends.




  • 10.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted 25 days ago

    Hi all,

    I want to provide an update on the situation regarding urgent patches for newer kernels.

    First, Workstation Pro 17.6 was released on September 3, 2024, and it includes fixes for compilation issues up to Linux kernel version 6.8. You can review the detailed release notes and knowledge base articles here:

    While these updates address many of the issues users were facing, I recognize that some concerns still remain, particularly around access to the products. The GTO team has confirmed that export compliance checks occur when users register at support.broadcom.com. These checks filter for factors like banned countries and free access, which is causing delays.

    We are discussing escalating to the legal, privacy, and infosec teams to find a quicker solution for the compliance review process. I appreciate your patience and understanding while we work through these challenges.

    Thank you for your continued support, and I hope the recent fixes bring some positivity back to the community. I'll provide further updates as more information becomes available.

    Best regards,


    Julia




  • 11.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted 24 days ago

    Good evening Julia,

    I fear that there are issues with the Linux release of Workstation Pro 17.6. I have installed it on Ubuntu 22.X (Jellyfish) and have experienced it consuming resources until the kernel can no longer fork new processes. At that point, the host has to be turned off with a hard power down. I reverted back to Workstation 17.5.2 (with the github patch) and do not see the instability.

    I created a sandbox system with a fresh install of Ubuntu 22.04 LTS workstation with the ISO downloaded from Ubuntu and Workstation Pro 17.6. It reproduces the issue and there are no other components to provide interference. The system runs fine until I start a VM, then I start seeing loopback resources being spawned during the operation of the VM. It appears that these processes accumulate to the point where they consume all the resources of the system and it cannot continue to operate. No new applications may be stated or no new tabs added to an open browser.

    This is a serious stability issue which is going to generate as much angst as the original 17.5.2 compile issue.

    Regards 




  • 12.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted 25 days ago
    Edited by Julia Klaus 25 days ago

    WS Pro was released on 3 Sept, 2024 with the compilation issues fixed till
    the Linux hosts till 6.8 Kernel version. Please look into WS 17.6 Pro RN
    and host KB details links below.
    https://docs.vmware.com/en/VMware-Workstation-Pro/17.6/rn/vmware-workstation-176-pro-release-notes/index.html
    https://knowledge.broadcom.com/external/article?legacyId=80807
    --
    Customer and Community Division, Broadcom 
    julia.klaus@broacom.com

    --
    This electronic communication and the information and any files transmitted
    with it, or attached to it, are confidential and are intended solely for
    the use of the individual or entity to whom it is addressed and may contain
    information that is confidential, legally privileged, protected by privacy
    laws, or otherwise restricted from disclosure to anyone else. If you are
    not the intended recipient or the person responsible for delivering the
    e-mail to the intended recipient, you are hereby notified that any use,
    copying, distributing, dissemination, forwarding, printing, or copying of
    this e-mail is strictly prohibited. If you received this e-mail in error,
    please return the e-mail to the sender, delete it from your computer, and
    destroy any printed copy of it.




  • 13.  RE: Follow-Up on VMware Workstation Linux Issues and Next Steps

    Posted 13 days ago

    Hi Julia,

    as others reported in several threads, 17.6 kills Linux hosts running Kernel 6.8 (e.g. Ubuntu 24.04 or as in my case Mint 22 that bases on Ubuntu 24.04). The host becomes unresponsive within minutes and can only be powered off and on again.

    Are the devs aware of that problem? And when will there be a fix?

    Thanks and best regards

    Ben