“Vmware”的版本间差异

来自Shiyin's note
跳到导航 跳到搜索
(以“VMware 10.0.1 modules & kernel 3.13 Short story VMware Workstation kernels don’t compile correctly on Linux Kernel 3.13 located in the Fedora rawhide repo. Here...”为内容创建页面)
 
无编辑摘要
第3行: 第3行:
Short story VMware Workstation kernels don’t compile correctly on Linux Kernel 3.13 located in the Fedora rawhide repo.
Short story VMware Workstation kernels don’t compile correctly on Linux Kernel 3.13 located in the Fedora rawhide repo.
Here’s the module patch: (Updated: Thanks DanDar3)
Here’s the module patch: (Updated: Thanks DanDar3)
205a206 > #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) 206a208,210 > #else > VNetFilterHookFn(const struct nf_hook_ops *ops, // IN: > #endif 255c259,263 < transmit = (hooknum == VMW_NF_INET_POST_ROUTING); --- > #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) > transmit = (hooknum == VMW_NF_INET_POST_ROUTING); > #else > transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING); > #endifSave that text as vmnet313.patch in your home dir.


#Change directory into the vmware module source directory
#Change directory into the vmware module source directory cd /usr/lib/vmware/modules/source# untar the vmnet modules tar -xvf vmnet.tar#run a the patch you should have just saved earlier patch vmnet-only/filter.c < ~/vmnet313.patch# re-tar the modules tar -uvf vmnet.tar vmnet-only#delete the previous working directory rm -r vmnet-only
cd /usr/lib/vmware/modules/source
# run the vmware
# untar the vmnet modules
tar -xvf vmnet.tar
#run a the patch you should have just saved earlier
patch vmnet-only/filter.c < ~/vmnet313.patch
# re-tar the modules
tar -uvf vmnet.tar vmnet-only
#delete the previous working directory
rm -r vmnet-only
#run the vmware
vmvare
vmvare

2014年3月28日 (五) 07:50的版本

VMware 10.0.1 modules & kernel 3.13

Short story VMware Workstation kernels don’t compile correctly on Linux Kernel 3.13 located in the Fedora rawhide repo. Here’s the module patch: (Updated: Thanks DanDar3)

  1. Change directory into the vmware module source directory
cd /usr/lib/vmware/modules/source
  1. untar the vmnet modules
tar -xvf vmnet.tar
  1. run a the patch you should have just saved earlier
patch vmnet-only/filter.c < ~/vmnet313.patch
  1. re-tar the modules
tar -uvf vmnet.tar vmnet-only
  1. delete the previous working directory
rm -r vmnet-only
  1. run the vmware
vmvare