VMware Workstation

 View Only
Expand all | Collapse all

Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

  • 1.  Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jan 12, 2022 11:24 PM

    After upgrading to the 5.16 kernel on my main machine:
    uname -a :

    5.16.0-arch1-1 #1 SMP PREEMPT Mon, 10 Jan 2022 20:11:47 +0000 x86_64 GNU/Linux

    I found that recompiling the vmmon  module fails with

     

    /tmp/modconfig-lXl0QD/vmnet-only/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory
    43 | #include <stdarg.h>

    There are more errors, all based on not finding the stdarg.h header file. Now, the linux-headers have been installed, and compiling on the previous kernel worked ok.

     

    When starting workstation pro (vmware --version: VMware Workstation 16.2.1 build-18811642) it offers to recompile the modules

    phiroict_0-1642028145234.png

    Which then fails with:

    phiroict_1-1642028178230.png

    So this looks like more customers may run into as the 5.16 becomes more current.

    Rebuilding on the commandline with:

    vmware-modconfig --console --install-al

    Results in the same error, it looks like the process does not find the linux headers anymore. The header missing is in the source directory

    cd /usr/src/linux/include
    find . -name stdarg.h -type f
    ./linux/stdarg.h

    Which leads me to believe that the Makefile does not look into that directory when building. Can somebody point me to where the kernel headers path for compiling is set? 

     



  • 2.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jan 13, 2022 12:17 AM

    There are some build issues with 5.16 kernel and also an older bug which affects vmmon with any kernel >= 5.11. You can use workstation-16.2.1 branch from this repository  until VMware fixes the issues.



  • 3.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1
    Best Answer

    Posted Jan 14, 2022 03:27 AM

    How did you install VMware: by .bundle or Arch package? I've been using aur/vmware-workstation and it's never failed me, including with the latest 5.16 kernel.



  • 4.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jan 14, 2022 03:34 AM

    Ah, did not even consider that one, will try that and will let you know, Thanks!

     



  • 5.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jan 14, 2022 03:56 AM

    Yes, that did the trick,

    I uninstalled the bundle

    sudo ./VMware-Workstation-Full-16.2.1-18811642.x86_64.bundle -u vmware-workstation

    Then followed the instructions from https://computingforgeeks.com/install-vmware-workstation-on-arch-linux-manjaro/ (Works on Arco as well)
    Thanks !



  • 6.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jan 25, 2022 11:39 PM
    # CPATH=/usr/src/linux/include vmware-modconfig --console --install-all

    this assumes `/usr/src/linux/include` points to the include directory from the current kernel source tree (kernel headers)

     

    -krunch3r

     



  • 7.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 07, 2022 02:10 AM

    Thank You so much!!! Was trying to figure this out for awhile on the latest Fedora 35 update. Your fix worked with the following:

    sudo CPATH=/usr/src/kernels/5.16.5-200.fc35.x86_64/include/linux vmware-modconfig --console --install-all

    I was freaking out lol. 



  • 8.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 07, 2022 04:21 AM

    > sudo CPATH=/usr/src/kernels/5.16.5-200.fc35.x86_64/include/linux vmware-modconfig --console --install-all

    Thank you for providing that command. I don't really know what that command is actually doing. But it did work. When I launched VMware again, it didn't ask for vmmon and vmnet updates anymore and launched VMWare Workstation without an issue.

    What I don't understand is, why vmnet and vmnet modules SUCKS so much!? In each kernel update, it tends to break. Is it because these two modules are proprietary and need continuous maintenance!?

    Does every user have to google or post in the VMware community to find hacks/workaround after module update?!
    Aren't modules-update supposed to be rolled after proper testing?  And most importantly, if we know that "hacks" like this works, then doesn't VMware should use it to patch the update?!

    Annoyed user.



  • 9.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 07, 2022 01:10 PM

    This worked for me on Fedora 35 running kernel: 5.16.5-200.fc35.x86_64

    I updated the aforementioned command to include the current running kernel as this may change:

    sudo CPATH=/usr/src/kernels/$(uname -r)/include/linux vmware-modconfig --console --install-all

     



  • 10.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 17, 2022 06:02 PM

     Thank you very much, I have fixed it with this command!!!



  • 11.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Mar 27, 2022 10:59 AM

    Thank you !

     

    This solution worked for me on Fedora 35 with kernel  5.16.16-200.fc35.x86_64 and installing using VMware-Player-Full-16.2.3-19376536.x86_64.bundle from the VMware website. I had to install kernel-headers, kernel-devel  and tools

     

     

     



  • 12.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Mar 27, 2022 02:31 PM

    for debian testing i had to use this command :

    sudo CPATH=/usr/lib/gcc/x86_64-linux-gnu/11/include vmware-modconfig --console --install-all

     



  • 13.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Mar 31, 2022 10:35 PM

     wrote:

    for debian testing i had to use this command :

    sudo CPATH=/usr/lib/gcc/x86_64-linux-gnu/11/include vmware-modconfig --console --install-all

     


    Thank You.

    For Fedora 35 (5.16.18-200.fc35.x86_64) this works for me:

    # CPATH=/usr/lib/gcc/x86_64-redhat-linux/11/include/ vmware-modconfig --console --install-all




  • 14.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Apr 18, 2022 11:32 AM

    This also solved my problem, thanks!



  • 15.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Oct 14, 2022 08:01 PM

    I just tried the above.  1 step forward, 2 steps back.  This is with Pop!OS (Ubuntu based, Linux version 5.19.0-76051900-generic )

     

    sudo CPATH=/usr/lib/gcc/x86_64-linux-gnu/11/include vmware-modconfig --console --install-all

     From the very long log that was generated, the first error appeared here:

    16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
    |
    /tmp/modconfig-nA1t21/vmmon-only/linux/hostif.c: In function ‘isVAReadable’:
    /tmp/modconfig-nA1t21/vmmon-only/linux/hostif.c:2363:4: error: unknown type name ‘mm_segment_t’
    2363 | mm_segment_t old_fs;
    | ^~~~~~~~~~~~
    /tmp/modconfig-nA1t21/vmmon-only/linux/hostif.c:2365:13: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
    2365 | old_fs = get_fs();
    | ^~~~~~
    | sget_fc
    /tmp/modconfig-nA1t21/vmmon-only/linux/hostif.c:2366:4: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
    2366 | set_fs(KERNEL_DS);
    | ^~~~~~
    | sget_fc
    /tmp/modconfig-nA1t21/vmmon-only/linux/hostif.c:2366:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNEL_2_1’?
    2366 | set_fs(KERNEL_DS);
    | ^~~~~~~~~

    The second was here:

    tmp/modconfig-nA1t21/vmnet-only/driver.c:976:4: note: here
    976 | case SIOCGETAPIVERSION:
    | ^~~~
    /tmp/modconfig-nA1t21/vmnet-only/netif.c: In function ‘VNetNetIfReceive’:
    /tmp/modconfig-nA1t21/vmnet-only/netif.c:348:4: error: implicit declaration of function ‘netif_rx_ni’; did you mean ‘netif_rx’? [-Werror=implicit-function-declaration]
    348 | netif_rx_ni(skb);
    | ^~~~~~~~~~~
    | netif_rx

    Reading the other posts here, I'm getting the feeling I just wasted my money!  Originally I wanted VMWare because it worked well on my WIndows 7 environments, but you can't upgrade on Windows 7 and my Win 7 machines are end of life, and I was trying to avoid Windows 10.  I'd have got the bare metal version of VMWare if I could have found a vendor for it.

    -Hugh Ferguson

     

     



  • 16.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Oct 14, 2022 08:28 PM

    the path in CPATH does not appear to be the path to the kernel headers. what thought have you given to trying other paths?



  • 17.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted May 16, 2022 02:36 AM

    Thanks this works for me on kernel 5.17.6-300.fc36.x86_64 on latest Fedora 36 uisng `CPATH=/usr/lib/gcc/x86_64-redhat-linux/12/include/ vmware-modconfig --console --install-all`


     



  • 18.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted May 23, 2022 01:00 AM

    For anyone trying this on recent versions of Debian SID, the below commands should pull the correct kernel image path and compile the needed vmware tools

     

    kernelv=$(uname -r) && sudo CPATH=/usr/src/linux-headers-${kernelv::-5}common/include/linux vmware-modconfig --console --install-all

     



  • 19.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 18, 2022 09:46 AM
    sudo CPATH=/usr/src/kernels/$(uname -r)/include/linux vmware-modconfig --console --install-all

    I'm getting compile errors on Fedora 36 kernel-5.18.11-200.fc36.x86_64 in vmnet.

    aussiedan

     



  • 20.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 18, 2022 09:22 PM

    AFAIK, this workaround/method does not work anymore with 5.18 kernel series.

    For now, i can dispense with vmware.

    Regards



  • 21.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 18, 2022 09:24 PM

    AFAIK, this workaround/method does not work anymore with 5.18 kernel series.

    For now, i can dispense with vmware.

    Regards



  • 22.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 20, 2023 07:26 PM

    Anyone having issues with 5.19? I am running Ubuntu 22.04.1

    A recent update caused compilation errors with the missing stddef.h, etc. I tried the command noted above:
    CPATH=/usr/src/linux-headers-5.19.0-32-generic/include/linux vmware-modconfig --console --install-all

    And I am seeing overall errors, not include errors. For example:

     

    /tmp/modconfig-ViNjeX/vmmon-only/linux/hostif.c: In function ‘isVAReadable’:
    /tmp/modconfig-ViNjeX/vmmon-only/linux/hostif.c:2363:4: error: unknown type name ‘mm_segment_t’
     2363 |    mm_segment_t old_fs;
          |    ^~~~~~~~~~~~
    /tmp/modconfig-ViNjeX/vmmon-only/linux/hostif.c:2365:13: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
     2365 |    old_fs = get_fs();
          |             ^~~~~~
          |             sget_fc
    /tmp/modconfig-ViNjeX/vmmon-only/linux/hostif.c:2366:4: error: implicit declaration of function ‘set_fs’; did you mean
    sget_fc’? [-Werror=implicit-function-declaration]
     2366 |    set_fs(KERNEL_DS);
          |    ^~~~~~
          |    sget_fc
    /tmp/modconfig-ViNjeX/vmmon-only/linux/hostif.c:2366:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNEL_2_1’?
     2366 |    set_fs(KERNEL_DS);
          |           ^~~~~~~~~
          |           KERNEL_2_1

     



  • 23.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 24, 2023 12:59 PM

    I have the same problem on 5.19... When I execute the following command

    sudo CPATH=/usr/src/linux-headers-5.19.0-32-generic/include/linux vmware-modconfig --console --install-all

    I get the following error:

    ...
    /tmp/modconfig-AUerGs/vmmon-only/linux/hostif.c: In function ‘isVAReadable’:
    /tmp/modconfig-AUerGs/vmmon-only/linux/hostif.c:2363:4: error: unknown type name ‘mm_segment_t’
     2363 |    mm_segment_t old_fs;
          |    ^~~~~~~~~~~~
    /tmp/modconfig-AUerGs/vmmon-only/linux/hostif.c:2365:13: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
     2365 |    old_fs = get_fs();
    
    ...


  • 24.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 24, 2023 01:57 PM

    For me the following steps solved the issue:

    wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.4.tar.gz
    tar xzvf vmware-host-modules-workstation-16.2.4
    cd vmware-host-modules-workstation-16.2.4/
    make
    sudo make install
    sudo systemctl restart vmware.service

     



  • 25.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 25, 2023 03:59 AM

    I ended up going back to good ol Oracle VirtualBox, runs Windows fantastic. 3D acceleration is buggy, but I'm using my VM for development and in that use case, it works great. I can't get behind a company that expects me to buy support to submit a ticket when it breaks... that's just... not right IMO. Good luck to you all though!



  • 26.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Apr 08, 2024 12:48 AM

    make produces error:

    In file included from /home/will/Downloads/vmware-host-modules-workstation-16.2.4/vmmon-only/common/vmx86.c:56:
    ./arch/x86/include/asm/timex.h: In function ‘random_get_entropy’:
    ./arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Werror=implicit-function-declaration]
    12 | return random_get_entropy_fallback();
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    | random_get_entropy



  • 27.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Feb 15, 2022 10:53 PM

    Many thanks (what a great forum) I'm in the middle of a project rushing to finish some testing and the latest Fed35 updates killed my VMware Workstation argh!!!!! Now fixed.



  • 28.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jan 26, 2022 01:09 PM

    Please edit the line starting with scsi0:0.redo - it makes you look like a spammer ....

    Ulli



  • 29.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jan 26, 2022 05:57 PM

    Hi Ulli. It is (was) spam and I've removed the post.

    André



  • 30.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 23, 2022 11:06 PM
    EXTRA_CFLAGS += -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include/
     

    to the beginning of Makefile in rtl8723au directory.



  • 31.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 27, 2022 08:24 AM

    No, using userspace includes, whether glibc ones or gcc ones, is exactly what's wrong. Kernel code should not include userspace header files. The correct solution is to replace all "#include <stdarg.h>" with "#include <linux/stdarg.h>" and the same for stddef.h.



  • 32.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 27, 2022 02:59 PM

    Don't mean to hijack but I'm having the same issue with 5.15.0.41 Generic on Ubuntu 20.04 with Workstation Pro 16.2.3

    Happened after an Ubuntu update - stranded without my VM Admin workstation...  Grrr. Any assistance would be wonderful as this is a bit above my skill level.

    Attachment(s)

    log
    vmware-11027.log   33 KB 1 version


  • 33.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 27, 2022 10:28 PM

    Hi Bazagee,

    I am also a Linux novice (to put it lightly), but here is what I did, and it seems to have worked (for now, anyway),  I read about the incompatibility of 16.2.3 with kernel 5.15 (and VMWare's intent on releasing a new minor: 16.3.4), so I waited until my WS gave me the update availability popup.  Another user posted that the upgrade worked for them with the new kernel (I didn't check if their host was Windows or Linux; it was Windows... so I dodged a bullet).  In any case, I allowed WS to upgrade while still on 5.13, and then allowed the OS to upgrade the kernel to 5.15.  Everything went smoothly, and all modules compiled successfully.  My VMs are running nominally, but after reading the increasing number of complaints I am going to stay put as long as everything appears to be working.

    The way it's looking, the 16.3.4 "update" was noting more than a hacked band-aid to address the new kernel, but it's looking as if the same problem will arise when the kernel is updated again.  VMWare needs to address this as a generic fix (in addition to a whole host of other unresolved issues), instead of their current practice of sweeping stuff under the rug and hoping no-one will notice.

    You might try rebooting your Ubuntu to the GRUB menu, and selecting the 5.13 kernel.  That will allow your WS to start.  Allow WS to update to 16.2.4, and then reboot to the current kernel.... and stay put (set your Ubuntu upgrades to manual, so it doesn't upgrade your kernel automatically and potentially break your WS again).

    VMWare is (hopefully) bound to realize that if they don't fix their issues, someone else will step in to fill the Linux VM void and take their thunder (at least I am hoping such).  Good luck!



  • 34.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 28, 2022 12:05 AM

    Mongo.

    Thanks for the info I'll try flipping the kernel as instructed from grub.. didn't know that was a thing.. lol. So much to learn.

    Ive used setup with qemu KVM and others at different time to try and create the 'Ultimate' development platform switching seemlessly between linux desktops running a VM guest in each. Not so seemless however. Stuff always seems to break. They all have their nuances. The only thing I haven't tried is running from a Windows host..  but thats look more and more attractive.

    I hope you are right about vmware pulling up there development socks.. with the sale off to Broardcom as the new parent company we'll have to see how the roadmap is redrawn.

    Fingers crossed. I'll report back tomorrow. Thanks again.



  • 35.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 28, 2022 07:52 AM

    I installed 16.2.4 but am still getting compile errors on Fedora 36 kernel 5.18.13-200.

    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:289: /tmp/modconfig-f2fgem/vmnet-only/bridge.o] Error 1
    make[1]: *** [Makefile:1842: /tmp/modconfig-f2fgem/vmnet-only] Error 2
    make[1]: Leaving directory '/usr/src/kernels/5.18.13-200.fc36.x86_64'
    make: *** [Makefile:117: vmnet.ko] Error 2
    make: Leaving directory '/tmp/modconfig-f2fgem/vmnet-only'
    Unable to install all modules.  See log for details.

     



  • 36.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 30, 2022 05:48 PM

    On Fedora 36 (5.18.13-200.fc36.x86_64); this method worked for me.

    1. Download VMware WS 16.2.4; and install it.

    2. I did this to fix the module problem:

    mkdir /opt/vmware
    
    cd /opt/vmware
    
    git clone https://github.com/mkubecek/vmware-host-modules.git
    
    cd vmware-host-modules/
    
    git checkout workstation-16.2.4
    
    make VM_UNAME=$(uname -r)
    
    make install 

     

    3. Check:

    systemctl restart vmware
    systemctl status vmware

     

    HTH,

    Regards



  • 37.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Aug 05, 2022 05:09 PM

    running 5.14, received the following when following your instructions:

    ’ with type ‘void(struct net_device *, const u8 *, size_t)’ {aka ‘void(struct net_device *, const unsigned char *, long unsigned int)’}

     4639 | __dev_addr_set(struct net_device *dev, const u8 *addr, size_t len)

          | ^~~~~~~~~~~~~~

    /opt/vmware/vmware-host-modules/vmnet-only/netif.c:95:13: error: redefinition of ‘dev_addr_set

       95 | static void dev_addr_set(struct net_device *dev, const u8 *addr)

          |             ^~~~~~~~~~~~

    In file included from /opt/vmware/vmware-host-modules/vmnet-only/netif.c:29:

    ./include/linux/netdevice.h:4644:20: note: previous definition of ‘dev_addr_set’ with type ‘void(struct net_device *, const u8 *)’ {aka ‘void(struct net_device *, const unsigned char *)’}

     4644 | static inline void dev_addr_set(struct net_device *dev, const u8 *addr)

          |                    ^~~~~~~~~~~~

    make[3]: *** [scripts/Makefile.build:271: /opt/vmware/vmware-host-modules/vmnet-only/netif.o] Error 1

    make[2]: *** [Makefile:1862: /opt/vmware/vmware-host-modules/vmnet-only] Error 2

    make[2]: Leaving directory '/usr/src/kernels/5.14.0-70.17.1.el9_0.x86_64'

    make[1]: *** [Makefile:117: vmnet.ko] Error 2

    make[1]: Leaving directory '/opt/vmware/vmware-host-modules/vmnet-only'

    make: *** [Makefile:21: vmnet-only] Error 2

    [root@BobsLinux vmware-host-modules]# 



  • 38.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Aug 18, 2022 07:43 PM

    On fedora workstation 16 Kernel: 5.18.17-200.fc36.x86_64  

    Your solution resolved my problem! Thank you! 



  • 39.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Nov 05, 2022 02:15 PM

    This solution worked for me twice (in case this gets posted out of order, I mean the solution of using this repo: https://github.com/mkubecek/vmware-host-modules.git)

    The first time I tried it, I didn't restart the VM Ware server but a reboot fixed everything.

    The second time, I needed to do this because I got some OS updates which required a recompile of VMWare (I sometimes forget that in the Linux world, even paid product is often DIY).  Then a systemctl restart was all I needed (not even a reboot). WOOHOO!!

    -Hugh

    PS why is mkubecek's fix not integrated into the core product for Linux given that it's essential if you're running any Linux OS that's < 2 yrs old.



  • 40.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 06, 2023 06:30 AM

    This worked for me, thank you so much



  • 41.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 06, 2023 08:34 PM

    When every other method failed, this one worked for me! Workstation Pro 16.2.3, kernel 6.3.12, PCLinuxOS.

    Thank you!



  • 42.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Oct 02, 2023 11:24 PM

    I cannot believe that one major release later, and now on Kernel 6.5.4, this is STILL the go-to solution.

    I just had to use it when I got a kernel upgrade and it wouldn't compile the modules. Tried upgrading to VMWare 17.0.2 from 17.0.1 to no avail.  Used https://github.com/mkubecek/vmware-host-modules and checked out the 17.0.2 branch, and BAM! it worked.

    I'm running Pop!OS 22.04

    Once again, this should NOT be the solution, but IT IS!

    -Hugh Ferguson



  • 43.  RE: Compiling vmmon module fails on linux kernel 5.16.0-arch1-1

    Posted Jul 28, 2022 02:24 PM

    Mongo - your instructions worked perfectly rolling back (starting) the old kernel in Grub, updating Workstation, booting back into the lastest kernel then let the compiling vmmon vmnet - thanks for the help. Most appreciated.

    Updates where set to manual but I fell pray to the nags and forgot about the dis-jointed development model which is Linux. Not a slight in anyway towards the Linux universe, just a learning difference that needs to be taken into account. No spoon feeding! Thanks again.