The recent upgrade of Ubuntu to 14.04 has seen a situation where VMware cannot start.
In detail, a VMware Kernel Module Updater dialog box pops up each time it starts, requiring that some kernel modules be compiled again based on the current kernel version number. However, the network module vmnet always fails to compile.
Find related data found because the Linux kernel version number is now 3.13 after upgrading to Ubuntu 14.04. This kernel version has changed some of the underlying functions, and VMware's related source code package has not yet had time to change the relevant code. Because the kernel version number is a problem, the same problem is also large in today's fedora and other systems.
So the same problem can continue to exist in the 3.14, 3.15, etc. version number.
The workaround is to change two code in the source package of the Vmnet module.
1, Get root permissions. Enter the relevant folder:
Su
Cd/usr/lib/vmware/modules/source
2, extract vmnet source code package (get vmnet-only directory):
TAR-XF Vmnet.tar
3. Back up the original file:
MV Vmnet.tar Vmnet.tar.bak
4, change the source file filter.c:
4.1, change 206 lines of: VNETFILTERHOOKFN (const unsigned int hooknum//in:
is: vnetfilterhookfn (const struct Nf_hook_ops *ops,//in:
4.2, change 255 lines of: transmit = (Hooknum = = vmw_nf_inet_post_routing);
As: transmit = (Ops->hooknum = = vmw_nf_inet_post_routing);
5, package the changed files, delete the useless files
Tar-uf Vmnet.tar vmnet-only
RM-RF vmnet-only
6. Compile the kernel module again and start VMware
The ability to directly click on the VMware Workstation icon to launch your own proactive detection and compilation process, as well as through commands:
Vmware-modconfig--console--install-all
Thanks: Bearox and Garrett Skjelstad
http://blog.csdn.net/bearox/article/details/21294609
http://ping8888.com/2013/12/13/vmware-modules-kernel-3-13/
Originally contained in Http://blog.csdn.net/yanxiangtianji
Reprint please indicate the source
Upgrading the Linux kernel causes VMware to be unable to use (Vmnet module cannot be compiled) solution