Ubuntu has recently been upgraded to 14.04, with VMware not booting. In particular, a VMware Kernel Module Updater dialog box pops up each time it starts, requiring that some kernel modules be recompiled based on the current kernel version, but that the network module vmnet always fails to compile.
Find related data The reason for this is that the Linux kernel version is now 3.13 after upgrading to Ubuntu 14.04, the kernel version modifies some of the underlying functions, and VMware's related source packages have not had time to modify the relevant code. Because of the kernel version issue, the same problem also occurs in a large number of systems such as Fedora.
So the same problem can continue to exist in 3.14, 3.15 and other subsequent versions.
The workaround is to modify two code in the source bundle of the Vmnet module.
1, Get root permission, enter the relevant directory:
Su
Cd/usr/lib/vmware/modules/source
2, extract vmnet source package (get Vmnet-only folder):
TAR-XF Vmnet.tar
3. Back up the original file:
MV Vmnet.tar Vmnet.tar.bak
4. Modify the source file Filter.c:
4.1, modified in line 206: VNETFILTERHOOKFN (const unsigned int hooknum//in:
is: vnetfilterhookfn (const struct Nf_hook_ops *ops,//in:
4.2, modify 255 lines of: transmit = (Hooknum = = vmw_nf_inet_post_routing);
As: transmit = (Ops->hooknum = = vmw_nf_inet_post_routing);
5, Packaging modified files, delete useless files
Tar-uf Vmnet.tar vmnet-only
RM-RF vmnet-only
6, recompile the kernel module, start VMware
You can start the automatic detection and compilation process directly by clicking on the VMware Workstation icon, or by command:
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