VMware Workstation 12.5.7 on Slackware 14.2 current (kernel 4.9.35)

by malisa

No patch is needed but one has to rebuild vmmon and vmnet modules:
vmmon module:
# cd /usr/lib/vmware/modules/source
# tar xvf vmmon.tar
# cd vmmon-only
# make
# gzip vmmon.ko
# cp vmmon.ko.gz /lib/modules/4.9.35/kernel/drivers/misc/
# cd ..
# rm vmmon.o
# rm -rf vmmon-only

vmnet module (same as vmmon):
# cd /usr/lib/vmware/modules/source
# tar xvf vmnet.tar
# cd vmnet-only
# make
# gzip vmnet.ko
# cp vmnet.ko.gz /lib/modules/4.9.35/kernel/drivers/misc/
# cd ..
# rm vmnet.o
# rm -rf vmnet-only

Now load new modules:
# depmod -a
and try to start vmware service:
# /etc/init.d/vmware restart

If, after that, vmware still doesn’t start, take a look at logs at
/tmp/vmware-<username>/vmware-apploader-<pid>.log
If there is error as the end looking like this:
Unable to load libfontconfig.so.1
there is solution for that too:
# cd /usr/lib/vmware/lib/libz.so.1
# mv libz.so.1 libz.so.1.old
# ln -s /usr/lib64/libz.so.1 .

After that everything should work fine.

Advertisements