UPDATE: VMware Workstation 7.1.3 works out of the box with Fedora 14.
As always, VMware has not been able to keep up with recent changes in Linux (kernel 2.6.35 and up). This becomes apparent, when trying to run VMware Workstation in the new Fedora 14. Compiling the VMware kernel module fails with errors like the following:
error: implicit declaration of function ‘iommu_unmap_range’
error: ‘struct sock’ has no member named ‘sk_sleep’
Combining the hints from here and here, I arrived at the following solution, which patches VMware’s kernel module:
cd /tmp
tar xvf /usr/lib/vmware/modules/source/vmmon.tar -C /tmp
perl -pi -e 's,_range,,' vmmon-only/linux/iommu.c
sudo tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only
cd /tmp
tar xvf /usr/lib/vmware/modules/source/vsock.tar -C /tmp
perl -pi -e 's,sk->compat_sk_sleep,compat_sk_sleep(sk),' vsock-only/linux/af_vsock.c
perl -pi -e 's,listener->compat_sk_sleep,compat_sk_sleep(listener),' vsock-only/linux/af_vsock.c
sudo tar cvf /usr/lib/vmware/modules/source/vsock.tar vsock-only
sudo vmware-modconfig --console --install-all
THANK YOU FOR THIS!! THIS TOTALLY WORKED!! You are a life saver my friend.
Works for VMplayer 3.1.x as well. Thanks for the effort.
Thank you… After a ton of digging and much frustration. Finding your blog was a life saver. I think you are literally the only one out there with a solution for fedora 14 running VM Workstation 7.1.2 THANKS Again.
Great work
I tried to install in F13 and gave up. Considered switching to Ubuntu, but couldn’t get it to work there either. I am impressed with F14. Bluetooth headset works immediately, but wont play MP3s. Grr.. But its better than Windows. Thanks.
Works, thank you
It’s magic. Thanks a lot!
WOW !
THANK YOU !!!
Mr. Joachim Selke, you have my deepest respect and admiration! I was completely stuck on this problem, and your solution saved my day – as well as from a potential disastrous ‘downgrade’ to Fedora 13. Thank you SO much ..!
/M
Are you a wizard.jpg
Thanks so much.
Mr. Joachim thank you so much for your solution.
But I have a problem with the guest OS (W2K) it doesn’t have network, it has the interface but
it’s unable to reach the “outside” network.
Thank you again for your work.
Works also under opensuse 11.4 ( factory ) kernel 2.6.36
after applying
this patch http://www.linuxinsight.com/files/vmmon-2.6.36.patch
(explanation here http://www.linuxinsight.com/persuading-vmware-workstation-7.1-to-cooperate-with-linux-kernel-2.6.35.html )
perl -pi -e ‘s,_range,,’ vmmon-only/linux/iommu.c
+cd vmmon-only/linux/
+patch -p0 < /tmp/vmmon-2.6.36.patch
+cd /tmp
sudo tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only
great !!!
i love the net & people like you
you make my day – everyday
Also working for VMware Player 3.1.2 build-301548
Hi,
It is also working for VMware Player 3.1.2 build-301548 in Fedora 14, running Kernel 2.6.35.6-48.fc14.i686.PAE
Best,
Jordi.
a lifesaver… thanks
Tk’s !
Thanks. Work very well with Fedora 14 new 2.6.35.11-83.fc14.i686.
Thanks a lot. It’s worked very well!
I am trying to install VM Player 3.1.3 in Fedora core 14. I am getting an error
“Kernel and GCC must be installed.”
yum list kernel*
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Installed Packages
kernel.i686 2.6.35.6-45.fc14 @/kernel-2.6.35.6-45.fc14.i686
kernel.i686 2.6.35.11-83.fc14 @updates
kernel-PAE.i686 2.6.35.6-45.fc14 @fedora
kernel-PAE.i686 2.6.35.11-83.fc14 @updates
kernel-PAE-devel.i686 2.6.35.11-83.fc14 @updates
kernel-devel.i686 2.6.35.11-83.fc14 @updates
kernel-headers.i686 2.6.35.11-83.fc14 @updates
Available Packages
kernel-PAEdebug.i686 2.6.35.11-83.fc14 updates
kernel-PAEdebug-devel.i686 2.6.35.11-83.fc14 updates
kernel-debug.i686 2.6.35.11-83.fc14 updates
kernel-debug-devel.i686 2.6.35.11-83.fc14 updates
kernel-doc.noarch 2.6.35.11-83.fc14 updates
Please help me out.
GCC is installed?
yum install kernel-devel kernel-headers gcc
I get the same error with the gcc and kernel headers must be installed.
And yes GCC is installed. I also retried with yum install kernel-devel kernel-headers gcc
I’m out of ideas. Maybe the people at VMware comunity forums can assist you…
hi this works a lot thanks but what about vmci and vmnet, i have problems like this:
mar 11 12:59:55.150: app-3078588096| Trying to find a suitable PBM set for kernel 2.6.35.11-83.fc14.i686.PAE.
mar 11 12:59:55.151: app-3078588096| Building module vmci.
mar 11 12:59:55.151: app-3078588096| Extracting the sources of the vmci module.
mar 11 12:59:55.170: app-3078588096| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/l
ib/modules/2.6.35.11-83.fc14.i686.PAE/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.1
mar 11 12:59:55.176: app-3078588096| Failed to compile module vmci!
I google it, but nothing works, thanks for any help
Just a guess: You seem to use Fedora’s PAE kernel. You could try to track down the problem by installing and booting Fedora’s standard kernel (i.e., non-PAE), and then trying the above again.
Works for VMplayer 3.1.x as well. Thanks for the effort
You are expert about vmware & linux
Can I make friend with you ?
Thx