Sunday, August 4, 2013

Fedora 19 with kernel 3.10 fail to install vmplayer module.

If you are having problem start up vmware player on Fedora 19 after upgrade kernel to 3.10, here is the solution.

Basically it is due to the procfs interface and vmnet not able to compiles.

First download the procfs patch from http://communities.vmware.com/thread/446113?start=0&tstart=0 .If you don't have time to read the forum, here is the link of the procfs patch.

Or you can use the following command:

# tar xf /usr/lib/vmware/modules/source/vmnet.tar
# cd vmnet-only
# wget  http://communities.vmware.com/servlet/JiveServlet/download/2239207-108590/procfs.patch
# patch -p1 < procfs.patch
# cd ..
# tar -cvf vmnet.tar vmnet-only/
# cp vmnet.tar /usr/lib/vmware/modules/source/


This will patch the procfs interface.

Secondly download the vmnet patch from http://mysticalzero.blogspot.com/2013/07/vmblock-patch-for-linux-310-vmware.html. The link of the patch is here.

Or you can use the following command:

# tar xf /usr/lib/vmware/modules/source/vmblock.tar
# cd vmblock-only
# wget  https://sites.google.com/site/mysticalzerotmp/vmblock.3.10.patch
# patch -p1 < vmblock.3.10.patch
# cd ..
# tar -cvf vmblock.tar vmblock-only/
# cp vmblock.tar /usr/lib/vmware/modules/source/

then issue this command to compile and install the vmware player module

# sudo vmware-modconfig --console --install-all

I believe these steps not only work on Fedora 19, it should work on most of the Linux distro with kernel 3.10.

Please let me know if these steps didn't work for your linux.



---

25 comments:

  1. Hi,

    It did not work for me. Here is the last part of the output from the last command:
    ...
    make[1]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/3.10.5-201.fc19.x86_64'
    make: *** [vmnet.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'
    Unable to install vmnet

    Please let me know if you need more information.

    ReplyDelete
    Replies
    1. Hi Hakan Duran,

      May I know what distribution you are using ? Which version of vmplayer that you are running ?

      Can you post more detail of the error message?

      Delete
    2. VMware Player 4.0.3 build-703057

      http://pastebin.com/f60b961G

      Delete
    3. And also Fedora 19 x86_64...

      Delete
    4. VMware Player 4.0.3 build-703057

      Fedora 19 x86_64

      http://pastebin.com/f60b961G

      Delete
    5. I recently noticed that when I give the patch command there appears several messages of same kind:
      "Reversed (or previously applied) patch detected! Assume -R?"
      Can it be the source of the problem? In other words, am I trying to re-patch a patched source file or something?
      If so, how can I find the unpatched source file to give this solution a shot again?
      Thanks for your thoughts.

      Delete
  2. Thank you very much. Worked without a hitch.

    ReplyDelete
  3. Worked for me. Thanks.

    ReplyDelete
  4. Worked like a charm in Fedora 18 in 3.10 x86_64.

    Thanks.

    ReplyDelete
  5. Worked for me (3.10.6-100.fc18.x86_64). Thank you!

    ReplyDelete
  6. Worked for me, thanks a lot!
    3.10.7-200.fc19.x86_64

    ReplyDelete
  7. Worked for me too, thank you
    3.10.7-200.fc19.x86_64

    ReplyDelete
  8. Worked for me too, thank you
    Linux 3.10.9-200.fc19.x86_64 x86_64

    ReplyDelete
  9. Thanks - worked line for line!!!
    Fedora Kernel: 3.10.9-100.fc18.x86_64

    ReplyDelete
  10. Holy crap! Thanks. This worked flawlessly for me with a newly installed Fedora 19 (with Fedora Utils for codecs, etc)

    ReplyDelete
    Replies
    1. what version of VMware are you using? I am having issues installing VMware Workstation 9 I have kernel 3.10.9-200.fc19.x86_64 its driving me crazy :/

      Delete
    2. Same here I'm also getting errors for the same kernel.

      Delete
  11. Your steps worked flawlessly for me on Fedora 18 with 3.10.9-200.fc18.x86_64 kernel. Thanks!

    ReplyDelete
  12. Thank you very much. Works perfectly!
    9.0.2 build-1031769 + 3.10.9-100.fc18.x86_64

    ReplyDelete
  13. Hi,
    Didn't work for me :(

    Kernel: 3.10.9-200.fc19.i686
    Error: Unable to install vmnet

    When tried again :
    patch -p1 < procfs.patch
    patching file bridge.c
    Reversed (or previously applied) patch detected! Assume -R? [n]

    Please help.

    ReplyDelete
  14. Worked with VMware-Player-5.0.2 on Debian 7 (Wheezy) with kernel from backports.

    ➜ /tmp uname -a
    Linux ap 3.10-0.bpo.3-amd64 #1 SMP Debian 3.10.11-1~bpo70+1 (2013-09-24) x86_64 GNU/Linux

    Thanks!

    ReplyDelete
  15. Failed to setup build environment

    fedora 19 and vmware workstation 10

    ReplyDelete

Feel free to leave your question or comment here, we will reply you as soon as possible.