centos7升级kernel之后,vmware无法打开

12.57版本的vmware: https://my.vmware.com/group/vmware/details?downloadGroup=WKST-1257-LX&productId=524&download=true&fileId=c32043a2174c2464ebca8bba0896f7c4&secureParam=76ecb13e4b8c8217b3afcde3244101ca&uuId=80942862-70fe-4f69-aa65-b050c0330f46&downloadType=

VMware-Workstation-12.5.7-vmnet-RHEL74.patch.zip: https://communities.vmware.com/servlet/JiveServlet/download/2686431-179601/VMware-Workstation-12.5.7-vmnet-RHEL74.patch.zip

It looks like Red Hat linux folks have made an incompatible change in the kernel.  I've attached a patch to this post which should fix the issue.  To apply the patch, you'll need to:

  • Quit Workstation.
  • Back up /usr/lib/vmware/modules/source/vmnet.tar to a safe place.
  • Unpack that tarfile.
  • Download the patch attached to this post (VMware-Workstation-12.5.7-vmnet-RHEL74.patch).
  • Apply the patch to the contents of the tarfile.
  • Repack the tarfile
  • Put the modified tarfile back in place at /usr/lib/vmware/modules/source/vmnet.tar .
  • Rebuild the modules.
  • Launch Workstation.

It'll look something like this:

   mkdir ~/vmnet-fix

   cd ~/vmnet-fix

   cp /usr/lib/vmware/modules/source/vmnet.tar ./vmnet-12.5.7.tar

   tar xf vmnet-12.5.7.tar

   patch -p0 < ~/Downloads/VMware-Workstation-12.5.7-vmnet-RHEL74.patch

   tar cf vmnet.tar vmnet-only/

   sudo cp vmnet.tar /usr/lib/vmware/modules/source/vmnet.tar

   sudo vmware-modconfig --console --install-all

如以上出错,试下以下:
# rm -rf /etc/vmware*
#rm -rf /usr/bin/vm*

12.5.7注册码: VY1DU-2VXDH-08DVQ-PXZQZ-P2KV8

netif.c:468:4: error: implicit declaration of function ‘netif_trans_update’ [-Werror=implicit-function-declaration]

调整这段代码即可。

参考: https://communities.vmware.com/thread/567498 

原文地址:https://www.cnblogs.com/timssd/p/7618245.html