Getting VMware to run on OpenMandriva

Hello. Has anyone ever gotten VMware Workstation/player to run on OM with the default Clang-compiled kernel?
Basically VMware needs to compile a few kernel modules (vmnet, vmmon, etc) to work on Linux, and unfortunately it only officially supports GCC compiled kernels. There are some really old articles and forum posts with people managing to get the modules compiled for Clang kernel after jumping through some pretty complex hoops and all, but I’m curious if anyone tried this on OpenMandriva itself

I know one of the obvious solutions would be installing a GCC kernel from the repo, but I’d personally like to stick to the intended defaults

1 Like

This may be a question best asked in the Matrix channels

1 Like

I am having trouble getting to matrix, I have created an account on the matrix site, then successfully validating the browser (brave) with a security key then the page is endlessly loading, somebody encountered the same issue ?

1 Like

I think I had to reboot, but I did not understand why. I tried some apps but went back to Element in the browser.

Ok, I rebooted then I managed to join with NeoChat :+1:

1 Like

We don’t see you in there yet.

Am i getting into the right link ?

1 Like

#openmandriva:matrix.org
#openmandriva-cooker:matrix.org

2 Likes

Done, thank you :+1:

2 Likes

Wanted to report in here that thanks to studebakerguy in the Open Mandriva Matrix channels I was able to get things working.

These instructions require you use the latest version from Broadcom which has been made freeware. The version should be 17.6.2.

1) git clone https://github.com/philipl/vmware-host-modules.git
2) cd vmware-host-modules/
3) sudo su (switch to root)
4) make clean
5) make CC=clang
6) make install
7) reboot now

Step 4 should not be necessary if this is your first time. It however is a good idea to ensure that nothing errant is in the way. You will see some warnings during the compilation browser. These are normal and are not something I even bothered looking into.

Once again thanks studebakerguy for the huge amount of effort that went into due to me messing my kernel up with gcc and other shenanigans.

4 Likes

Winning! :1st_place_medal:

Dang, I didn’t even expect anything when I posted the question let alone this being looked into. Thanks so much you guys for bothering like this, my slow migration away from Fedora is pretty much concluded :slight_smile:


I’ll be now figuring out what’s wrong with the GTK theme tho, it’s supposed to be plasma’s breeze. I did have this issue on a fresh fedora 41 install (but not on fedora 41 upgraded from 40) so this is probably a plasma quirk

2 Likes

Just so you are aware, this will need to be rebuilt when the kernel is update. In the process of working with @2disbetter I found that later versions of kernel need the VMware workstation source patched.

3 Likes

Gotcha, I’ll probably come up with a DKMS thingy later for now

1 Like

I did forget to mention that you need to install both of these as prerequisites for the compiling to work with make. These would need to be done before any of the steps listed in the answer above.

dnf install basesystem-build
dnf install kernel-desktop-devel
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.