VMware Communities
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)
Reply
0 Kudos
21 Replies
mapgeek
Contributor
Contributor

I think it's pretty amazing that you are doing this.  Thanks :slightly_smiling_face:

Reply
0 Kudos
petermour
Contributor
Contributor

Thank you mkubecek, 17.0.0 installed on RL9.

Update to 17.0.1 from within Workstation resulted in Unable to install modules error. I didn't checkout workstation-17.0.0 but used 17.0.1, success!

 

Reply
0 Kudos