marbaa
Contributor
Contributor

Install VMware Workstation on RHEL 9

Hi there,

does anybody was able to install Workstation 16/17 correctly on RHEL 9/Almalinux 9? It installs, but it doesn't compile kernel modules, therefore it won't start. Tried both distros 9.0 and 9.1

edit:

output from error log:

...

2022-11-28T19:38:02.722Z In(05) host-3156 make: Entering directory '/tmp/modconfig-MFq4wX/vmnet-only'
2022-11-28T19:38:02.722Z In(05) host-3156 /usr/bin/make -C /lib/modules/5.14.0-162.6.1.el9_1.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \
2022-11-28T19:38:02.722Z In(05) host-3156 MODULEBUILDDIR= modules
2022-11-28T19:38:02.722Z In(05) host-3156 make[1]: Entering directory '/usr/src/kernels/5.14.0-162.6.1.el9_1.x86_64'
2022-11-28T19:38:02.722Z In(05) host-3156 CC [M] /tmp/modconfig-MFq4wX/vmnet-only/driver.o
2022-11-28T19:38:02.722Z In(05) host-3156 CC [M] /tmp/modconfig-MFq4wX/vmnet-only/hub.o
2022-11-28T19:38:02.722Z In(05) host-3156 CC [M] /tmp/modconfig-MFq4wX/vmnet-only/userif.o
2022-11-28T19:38:02.722Z In(05) host-3156 CC [M] /tmp/modconfig-MFq4wX/vmnet-only/netif.o
2022-11-28T19:38:02.722Z In(05) host-3156 make[1]: Leaving directory '/usr/src/kernels/5.14.0-162.6.1.el9_1.x86_64'
2022-11-28T19:38:02.722Z In(05) host-3156 make: Leaving directory '/tmp/modconfig-MFq4wX/vmnet-only'
2022-11-28T19:38:02.722Z In(05) host-3156 [AppLoader] Use shipped PC/SC Lite smart card framework.
2022-11-28T19:38:02.722Z In(05) host-3156 An up-to-date "pcsc-lite-libs" or "libpcsclite1" package from your system is preferred.
2022-11-28T19:38:02.722Z In(05) host-3156 [AppLoader] GLib does not have GSettings support.
2022-11-28T19:38:02.722Z In(05) host-3156 Using kernel build system.
2022-11-28T19:38:02.722Z In(05) host-3156 /tmp/modconfig-MFq4wX/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage()+0x207: 'naked' return found in RETHUNK build
2022-11-28T19:38:02.722Z In(05) host-3156 /tmp/modconfig-MFq4wX/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
2022-11-28T19:38:02.722Z In(05) host-3156 /tmp/modconfig-MFq4wX/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
2022-11-28T19:38:02.722Z In(05) host-3156 /tmp/modconfig-MFq4wX/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
2022-11-28T19:38:02.722Z In(05) host-3156 /tmp/modconfig-MFq4wX/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
2022-11-28T19:38:02.722Z In(05) host-3156 Skipping BTF generation for /tmp/modconfig-MFq4wX/vmmon-only/vmmon.ko due to unavailability of vmlinux
2022-11-28T19:38:02.722Z In(05) host-3156 Using kernel build system.
2022-11-28T19:38:02.722Z In(05) host-3156 /tmp/modconfig-MFq4wX/vmnet-only/netif.c: In function ‘VNetNetIfReceive’:
2022-11-28T19:38:02.722Z In(05) host-3156 /tmp/modconfig-MFq4wX/vmnet-only/netif.c:353:4: error: implicit declaration of function ‘netif_rx_ni’; did you mean ‘netif_rx’? [-Werror=implicit-function-declaration]
2022-11-28T19:38:02.722Z In(05) host-3156 353 | netif_rx_ni(skb);
2022-11-28T19:38:02.722Z In(05) host-3156 | ^~~~~~~~~~~
2022-11-28T19:38:02.722Z In(05) host-3156 | netif_rx
2022-11-28T19:38:02.722Z In(05) host-3156 cc1: some warnings being treated as errors
2022-11-28T19:38:02.722Z In(05) host-3156 make[2]: *** [scripts/Makefile.build:295: /tmp/modconfig-MFq4wX/vmnet-only/netif.o] Error 1
2022-11-28T19:38:02.722Z In(05) host-3156 make[2]: *** Waiting for unfinished jobs....
2022-11-28T19:38:02.722Z In(05) host-3156 make[1]: *** [Makefile:1915: /tmp/modconfig-MFq4wX/vmnet-only] Error 2
2022-11-28T19:38:02.722Z In(05) host-3156 make: *** [Makefile:117: vmnet.ko] Error 2
2022-11-28T19:38:02.722Z In(05) host-3156 Unable to install all modules. See log for details.

Tags (2)
0 Kudos
11 Replies
Mikaelk
Contributor
Contributor

Hi,

I managed to install on Fedora 37 using this Guide:

https://www.itzgeek.com/how-tos/linux/fedora-how-tos/how-to-install-vmware-workstation-pro-on-fedora...

Just having to change: VMWARE-VERSION=workstation-17.0.0

As it works for Fedora 37 it should also work for RHEL 9

Regards

Mikael

0 Kudos
saladin007
Contributor
Contributor

Fails to compile on Rocky Linux 9.1 too

0 Kudos
rsapeni
Contributor
Contributor

The link you provided doesn't say anything about VMware.

0 Kudos
rsapeni
Contributor
Contributor

I get the same problem as you when i try to install VMware-Player-Full-17.0.0-20800274.x86_64.bundle on RHEL 9.1

0 Kudos
marbaa
Contributor
Contributor

You have some mixed links. It is pointing to "10 things to do on Fedora 37..."

However I've searched the mentioned article and using vmware-modules from github fixed the issue and I was able to successfully compile modules and run VMware.

0 Kudos
marbaa
Contributor
Contributor

You have some mixed links. It is pointing to "10 things to do on Fedora 37..."

However I've searched the mentioned article and using vmware-modules from github fixed the issue and I was able to successfully compile modules and run VMware.

0 Kudos
egurski
Contributor
Contributor

I am using Rocky Linux 9.1 and VMware-Player-Full-16.2.5-20904516.x86_64 also fails compiling the kernel. The solutions I see are all for Workstation. Would the same patchs/fixes apply for VMWare_Player?

0 Kudos
RDPetruska
Leadership
Leadership

Yes, Pro and Player use the same code base.

0 Kudos
egurski
Contributor
Contributor

Thanksfor the advice. However, following the link for the mods still produces an error.

0 Kudos
Mietzekatze
Contributor
Contributor

I get the same problem as you when i try to install VMware-Player-Full-17.0.0-20800274.x86_64.bundle on AlmaLinux 9.1

0 Kudos