How to fix Unable to Install all modules VMware Workstation Linux
ฝัง
- เผยแพร่เมื่อ 6 ก.ย. 2024
- VMware Player and Workstation Pro provide great functionality - when you can get it to work. The most common issue I (and most other Linux users) have faced with running this great software is the following error when attempting to launch the product:
Unable to install all modules. See log /tmp/vmware-[username]/vmware-#####.log for details. (Exit code 1)
I did a video in June of 2022 on how to install VMware Workstation Pro 16 on Ubuntu 22.04, specifically to highlight this issue and the quick and easy solution to it. When Workstation Pro 17 was released, I thought VMware had FINALLY built in a solution to the issue because for several kernel udpates, it automatically rebuilt the necessary modules without issue... until recently... The issue has returned.
Fortunately, the github repo I referenced in my video last year has been kept up to date and worked fine for me on my Fedora 38 system with Workstation Pro 17.0.2
As you can see here, I've already downloaded and extracted the latest files from the repo, and ran the following two commands:
make
sudo make install
Once I did that, VMware Workstation Pro 17.0.2 launched without issue!
I've linked my original video in the description here and have also linked the GitHub repo for quick reference.
Good luck, I hope the solution works for you and I really hope VMware can get back to automatically handling kernel updates. Until then, I will continue to reference my own video walk-through if/when necessary.
Software Used:
DaVinci Resolve 18.5 for Linux (Free) - public beta
Fedora Workstation 38 (kernel 6.4.12)
OBS Studio
VMware Workstation Pro 17.0.2
===== Resources/Reference =====
Blog Post: dimensionquest...
Download 30 Day trial: www.vmware.com...
Supported Host OS for Workstation: kb.vmware.com/...
Video Walk through of solution: • How to Install VMware ...
GitHub Repo used for solution:
github.com/mku...
Workstation Communities: communities.vm...
====================
Blog: dimensionquest...
If you wish to support this channel, please
Feel free to tip me here ko-fi.com/Dime...
Disclaimers:
====================
Please note any non-English Subtitles are auto-translated.
This video was NOT sponsored by any vendor. Any paid products/services shown were paid for out of my own pocket.
The following are PAID affiliate links. Any revenue generated via the links below will help pay for systems and services used in the hosting and production of my content:
- - -
RackNerd VPS, CPanel Shared Hosting: bit.ly/dqRackNerd
Domain Registration, CPanel Shared Hosting, VPS, SSL via NameCheap: bit.ly/dqNameC...
== My Gear - #AD Amazon Links:
As an Amazon Associate, I earn from qualifying purchases.
USB Capture Device: amzn.to/3NFvdpR
Standing Desk: amzn.to/3hBXFJG
34in Monitor: amzn.to/3HBCwKj
Thunderbolt 3 Dock: amzn.to/36W7YXb
== Workstation Build:
Full Tower Case: amzn.to/3vqJtKM
MB: amzn.to/3WSpNuY
CPU: amzn.to/3jCvij4
Cooler: amzn.to/3i1gyJW
Memory: amzn.to/3WQtBg5 (X2 for 128GB)
GPU: amzn.to/3G2f5v8
PSU: amzn.to/3PY54nf
Cache (nvme): amzn.to/3vn1qd2
OS (nvme): amzn.to/3vnDUwr
Data (SSD): amzn.to/3C9Ae5e (X2)
Keyboard: amzn.to/347VfPA
Mouse: amzn.to/3C8KzgH
Microphone: amzn.to/3JD4Myv
Update Note:
Make sure to re-download the latest available code from the github repo linked. This is frequently required due to the kernel updates in Linux. In recent (as of this comment) builds of the kernel, I have had to do the following for VMware Workstation Pro 17.5.2:
Pre-Req:
Make sure you have the following packages installed first:
elfutils-libelf-devel kernel-devel kernel-headers
- Download latest code from github (17.5.1 is latest there and works with Workstation Pro 17.5.2)
- cd into the folder
- run: make && sudo make install
NOTE: If the kernel update (OS Upgrade) results in issue recurring and you are Still running Workstation 17.5.2, you must first CLEAN in the code folder (ONLY if re-using your last download):
- cd into existing folder
- make clean && make && sudo make install
Otherwise, you get some sort of mis-match error when attempting make install.
UPDATE 2024-06-30: I ran into problems with Fedora 40 running kernel 6.9.6-200.fc.x86_64 .. Here are the steps that allowed me to run Workstation again:
git clone -b tmp/workstation-17.5.2-k6.9.1 github.com/nan0desu/vmware-host-modules.git
cd vmware-host-modules/
sudo make tarballs && sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
Source: github.com/mkubecek/vmware-host-modules/issues/257
Good luck everyone!!
Fresh install of F40, latest update, 17.5.2 build-23775571, still does not work, albeit getting the 17.5.2 package from github. vmmon can't be found.
@Canleaf08 - I updated my pinned comment with some extra details.. Do you have elfutils-libelf-devel kernel-devel kernel-headers installed?
sudo dnf install elfutils-libelf-devel kernel-devel kernel-headers
OMG BRO U HAVE NO IDEA HOW MANY TIMES I TRIED TO MAKE IT WORKD AND THIS IS THE ONLY THING THAT HELPED TYSM
I’m happy that it helped! Thanks for watching and commenting!
thanks Buddy your code works for, i tried several coeds that worked for many but failed me
Perfect! Works after using a git clone of 17.5.1 version on a 17.0.2 build. My host version was upgraded some months after installing Workstation.
Thanks for the video!
Great to hear! Thanks for sharing your results
Thank so very much, after 2 months totally lost, workstation exists once again in my kali machine, trully appreciated.
That's great to hear! Thanks for sharing.
Great thanks. Saved a lot of frustration. To those complaining that its not clear then they probably need to look at your previous effort.
@harryf1ashman - thanks for the support. I appreciate you viewing and taking the time to come in and comment. I'm glad that my effort has paid off in the form of helping yet ANOTHER viewer that faced similar challenges as me!
Thanks!! Version 17.5 works for 17.5.2, im using ubuntu 24.04.
This is all way over my head. I don't know how to use the terminal. Why are so many things on Linux so hard to do, why is it so ... broken? Why can't things just ... work?
It works on fedora 39(6.8.6-200)!
thank you!
Thanks for watching and taking the time to comment:)
Thank you, i was searching for a solution for almost 2 hours with no progress until i found your video. Thank you alot!
Glad it helped!
thank you so much buddy for you post, help a lot.
it works , thank you :)
Happy to hear that ! Thanks for watching and sharing your results.
I do gotta say I feel a bit uneasy installing random things of github. But you did say they'd fixed this in the past, Do you think VMware will fix this in the future as well or do they simply leave their Linux releases broken like this indefinitely? If not maybe I could just wait it out?
This has been an issue for many years now due to the speed at which the open source community releases kernel updates vs. a big commercial company releasing a product. I've seen this github referenced by "internal" teams when running into issues with getting VMware Workstation installed and working under Linux. This has been, and continues to be, a valid solution to our problem. I'm not part of engineering or even the team responsible for it so I have no "official" word on this one way or the other - just what I've witnessed and experienced. You could try posting in the official communities to see if there is any "official" response to this continuing problem.
@@DimensionQuest I see. Thank you for the information and the insight.
But if you say the repo is reputable and even referenced internally I suppose I'd go with that solution then. 👍
Thank you so much my friend, you saved my life. I have been facing this issue at least two day.😀
Happy to help ! Thanks for watching and commenting!
Thanks Man! I subscribed to you. you helped me big time here.
That’s great to hear! Thank you!! I’m glad it helped.
It work! Thanks bro!
You're welcome! Thanks for sharing your results :)
Thanks bro it worked
Great! I’m happy to hear that!
Work for me! Thank you sr.
Thx, 17.5.1 works for version 17.5.2 (Ubuntu 24.04)
Same here..thank you!
How ?
Awesome that did it!
Hey thats me in the video, awesome and thanks for the video
thank you so much, bro S2
Great! you are a hero lol
Thanks, I'm glad to have produced something that continues to help others! Thanks for watching and taking the time to comment.
Thanks a lot, this is what I really wanted. Linux fixing its kernel and here, we're fixing Workstation, lol.
I come back again after upgrading VMWare workstation and the Kernel lol and Thanks again for this help.
[Fedora 40] (VMWare Workstation Pro 17.5.2 Kernel version 6.8.10-300.fc40.x86_64) Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded.
Whenever that comes up, the instructions in the video have to be followed again...
I haven't run workstation for a couple weeks. I just launched it today and got the same message as you, except I'm still running Fedora 39. Even though I'm also using Workstation Pro 17.5.2, the latest branch in the repo is workstation-17.5.1. As noted in other comments, that DOES work for me and others running VMware Workstation Pro 17.5.2. Since my kernel is now up to 6.8.11-200.vc39.x86_64, I had to simply re-run "make" and then "sudo make install" in the folder as per the instructions in this video. Now, my Workstation Pro 17.5.2 is once again launching without issue... until another kernel version or Workstation version breaks it ;)
Good Luck!
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
getting this error
Have you done everything in the video AND reviewed my pinned comment that has a little extra details?
It works for me, thank you!
You're welcome! I'm happy it worked for you :)
does this still work?
Yes, for most of us it does.
@@DimensionQuest okay
works for me, thank you so much! God bless you.
Glad it helped, thanks for watching
this video helping for me ...configuration completed
Great! I’m happy it helped.
It works. Thanks a lot
You're welcome! Thanks for watching and taking the time to comment :)
Well, I'm on Ubuntu 24.04 Daily Build, and I doubt that will fix these issues.
Is there a way to solve issues for Vmware on Ubuntu 24.04 before it was release officially or should I wait to another update to add that support?
Unlikely… that github repo has been great for me… but, I typically don’t put too much effort into daily builds as a host OS.
@@DimensionQuestSo I have to wait until it's officially released just to solve issues then?
does the github page gets updates, because the new branch for the vmwre 17.5.2 is not there and Im getting the same error again ?
Well, 17.5.2 is VERY recent... so I suspect the author has not yet committed the updates. When I click the Branch dropdown, I do see 17.5.1 github.com/mkubecek/vmware-host-modules/tree/workstation-17.5.1 so maybe the author just hasn't published yet.. I really don't know, I am not associated with that person.
Did you try using the 17.5.1 branch? It looks like DarkKnight (previous comment) used that branch on their 17.0.2 build (I hope/suspect they meant 17.5.2)... I'll be trying this myself shortly....
UPDATE: I just used the 17.5.1 branch for the VMware Workstation 17.5.2 Pro on my Fedora 40 Workstation. After recent updates, I was facing the issue again so came to this comment, re-watched my video for the instructions and I'm back to successfully launching Workstation !
solution no longer available at GH...
The link I had in the description was a specific tree link. I fixed the link so just follow directions in the video to get to the correct code required. Thanks for alerting me to the dead link.
thank you so much
You're quite welcome ! Thanks for watching and taking the time to comment :)
Please can anyone help me I do everything but same issue
Not sure how to help if the steps in this video didn't work for you... are you SURE you selected the correct build from the repo for the kernel version you are running? If so, I suggest visiting the Fusion Communities as soon as they're made available at community.broadcom.com/home -- at the time of this comment, they are still in the process of migrating the content from the old VMware community site..
@@DimensionQuest sorry to not inform you issue solved after comment in 10 min 😅
LOL, same thing has happened to me so many times! I spend hours trying to fix something, doing research, videos, etc... I finally give in and ASK FOR HELP... then a few min later I figure it out !! :P
@@DimensionQuest 100℅ true bro 😆
Thank you
You're welcome
God bless you ❤
Thank you, worked for me
it worked thanks :)
Glad it helped