Ask Your Question
2

WMware-Player 7 on Fedora 21

asked 2014-12-21 19:35:26 -0500

Rafael Santos gravatar image

updated 2015-01-19 22:17:43 -0500

mether gravatar image

Hi,

I had some problems with execution the VMware on Fedora 21. I followed this step for instalation the VMware, but it doesn't work.

yum install kernel-headers kernel-devel;
sh VMware-Player-7.0.0-2305329.x86_64.bundle
yum install gcc
yum update

The following message appears: Kernel headers for version 3.17.4-301.fc21.x86_64 were found.

I followed the answers below on ask.fedora, but nothing. My kernek header is: 3.17.4-301.fc21.x86_64

https://ask.fedoraproject.org/en/question/10598/vmware-kernel-headers/ https://ask.fedoraproject.org/en/question/8219/vmware-player-f18-kernel-headers/

Inside of the: /lib/modules, I have two kernels listed: 3.17.4-301.fc21.x86_64 3.17.6-300.fc21.x86_64

What can I do ?

Thanks

edit retag flag offensive close merge delete

6 Answers

Sort by ยป oldest newest most voted
3

answered 2015-01-09 15:18:51 -0500

raulbcs gravatar image

updated 2015-01-14 11:37:50 -0500

Hi Rafael,

I managed to get VMWare Player 6.04 working in a Fedora 21 running kernel 3.17.7-300.fc21.x86_64.
You should install gcc and kernel-headers.
Besides that, you should patch a file for get it working.
Patch is located at https://gist.github.com/raulbcs/ae38f82119c5cb51747b

How to (run them as root):

# mkdir /tmp/vmware && cd /tmp/vmware
# for i in `ls /usr/lib/vmware/modules/source/*.tar`; do tar xf $i -C /tmp/vmware; done
# patch -p1 < vmware-for-3.17.patch;

At this point you will receive this error while patching: 3 out of 3 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej - just ignore it.

# tar -cf vmblock.tar vmblock-only/
# tar -cf vmci.tar vmci-only/
# tar -cf vmmon.tar vmmon-only/
# tar -cf vmnet.tar vmnet-only/
# tar -cf vsock.tar vsock-only/
# mv -vfi /tmp/vmware/*.tar /usr/lib/vmware/modules/source/;

Then run VMWare player again to it compile its modules. For me, this returned with errors, but I opened VMWare Player and everything was ok.

Hope this help you,

edit flag offensive delete link more
0

answered 2015-06-15 13:52:29 -0500

Hi

I have solution to run Vmware 11 from fedora 22

edit flag offensive delete link more
0

answered 2015-10-11 06:27:36 -0500

enzomv gravatar image

Try to install Vmware-Player 12. It's free for no-commercial use!

edit flag offensive delete link more
0

answered 2015-06-15 05:13:04 -0500

ervinonfedora gravatar image

The patch is for kernels previous to kernel 4.0x. That is why it does not work. A new patch is needed. How about using gnome boxes or virtualbox? The instructions to install virtualbox (the last version I assume, but any version applies) are found here. install virtualbox on Fedora I recommend gnome boxes, it works very well with the new and improved version for 22. But I think perhaps you need the virtual machine to recognize usb devices. I have had no luck doing that with boxes but I think it should be possible since the functionality is there, just click the gnome boxes at the top bar and then preferences. Use boxes and report bugs if any. That will help make this free software better. At least boxes does not need a recompiling of the kernel modules like vmware or virtualbox do.

edit flag offensive delete link more
0

answered 2015-05-13 13:14:30 -0500

eacosta gravatar image

Hello,

I'm trying this with the latest F22 Beta (4.0.2 Kernel) but did not work. I got additional errors on the patch command, than the ones described on the previous post:

[root@neo vmware]# patch -p1 < vmware-3.17.patch 
patching file vmblock-only/linux/control.c
patching file vmblock-only/linux/dentry.c
patching file vmblock-only/linux/file.c
patching file vmblock-only/linux/inode.c
patching file vmblock-only/shared/vm_assert.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED -- saving rejects to file vmblock-only/shared/vm_assert.h.rej
patching file vmci-only/linux/driver.c
Hunk #1 succeeded at 735 (offset -2 lines).
patching file vmci-only/shared/vm_assert.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED -- saving rejects to file vmci-only/shared/vm_assert.h.rej
patching file vmmon-only/include/memDefaults.h
Hunk #1 FAILED at 34.
Hunk #2 succeeded at 117 (offset 16 lines).
1 out of 2 hunks FAILED -- saving rejects to file vmmon-only/include/memDefaults.h.rej
patching file vmmon-only/include/vm_assert.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED -- saving rejects to file vmmon-only/include/vm_assert.h.rej
patching file vmmon-only/linux/driver.c
Hunk #1 succeeded at 1328 (offset -10 lines).
Hunk #2 succeeded at 1340 (offset -10 lines).
patching file vmmon-only/linux/vmmonInt.h
patching file vmnet-only/driver.c
Hunk #1 succeeded at 169 (offset -7 lines).
Hunk #2 succeeded at 609 (offset -10 lines).
Hunk #3 succeeded at 617 (offset -10 lines).
Hunk #4 succeeded at 671 (offset -10 lines).
Hunk #5 succeeded at 1271 (offset -45 lines).
Hunk #6 succeeded at 1294 (offset -45 lines).
Hunk #7 succeeded at 1514 (offset -45 lines).
Hunk #8 succeeded at 1557 (offset -45 lines).
Hunk #9 succeeded at 1657 (offset -45 lines).
Hunk #10 succeeded at 1672 (offset -45 lines).
patching file vmnet-only/filter.c
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 203.
Hunk #3 FAILED at 256.
3 out of 3 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej
patching file vmnet-only/hub.c
patching file vmnet-only/netif.c
Hunk #1 FAILED at 149.
Hunk #2 succeeded at 225 (offset 4 lines).
1 out of 2 hunks FAILED -- saving rejects to file vmnet-only/netif.c.rej
patching file vmnet-only/userif.c
patching file vmnet-only/vm_assert.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED -- saving rejects to file vmnet-only/vm_assert.h.rej
patching file vmnet-only/vnetInt.h
patching file vsock-only/linux/af_vsock.c
Hunk #1 succeeded at 2891 (offset 22 lines).
patching file vsock-only/linux/notify.c
patching file vsock-only/linux/notifyQState.c
patching file vsock-only/shared/vm_assert.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED -- saving rejects to file vsock-only/shared/vm_assert.h.rej

Any ideas?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2014-12-21 19:35:26 -0500

Seen: 6,622 times

Last updated: Jun 15 '15