Ask Your Question

how to install this patch in fedora

asked 2014-02-18 15:37:54 -0600

khaledb gravatar image

how to install this path in fedora for vmware for kernel 3.13

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-02-24 12:48:35 -0600

ZenDark gravatar image

From here: VMware modules & kernel 3.13

#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
# run the vmware module build program. (alternatively just run the GUI app)
/usr/lib/vmware/bin/vmware-modconfig --console --install-all

I used to work with VMware Workstation and Player, but nowadays Virtualbox is almost as good as the VMware solution, and it doesn't give me these headaches with each new kernel version. The only bit I find Virtualbox lacking is when I try to run a virtualization solution inside it (XenServer or ESXi inside VirtualBox...)

edit flag offensive delete link more

answered 2014-02-18 17:04:14 -0600

sergiomb gravatar image

install and setup mock [3]

cd ~/rpmbuild
# get kernel.src.rpm [2]
wget ""
rpm -ivh kernel-3.1.2-1.fc16.src.rpm 
cp yours.patch SOURCES/
cat kernel_spec.patch | patch SPECS/kernel.spec 

rpmbuild -bs SPECS/kernel.spec --define "_sourcedir SOURCES" 

mock -r fedora-16-x86_64 --rebuild SRPMS/kernel-3.1.2-1.fc16.src.rpm --target=x86_64 --define="buildid .z590880"

as root:

cd /var/lib/mock/fedora-16-x86_64/result/
rpm -ivh kernel-3.1.2-1.z590880.fc16.x86_64.rpm kernel-devel-3.1.2-1.z590880.fc16.x86_64.rpm



[3] and yum install mock

edit flag offensive delete link more


IIUC, I think he's trying to compile the vmware kernel modules, he needs to apply the patch to vmware, not the kernel.

Ahmad Samir gravatar imageAhmad Samir ( 2014-02-19 03:46:18 -0600 )edit

Question Tools

1 follower


Asked: 2014-02-18 15:37:54 -0600

Seen: 2,035 times

Last updated: Feb 24 '14