VMware : Virtual Network Device unable to load/compile-VM Player 4.0.2 in Ubuntu 12.04

 

VMware Workstation version 8.0.2 build-591240 and the vmmon module compiles, but the vmnet module fails..

 

Virtual Network Device unable to load/compile-VM Player 4.0.2 in Ubuntu 12.04

 

Here ins the steps to solve this issue

Download and install – VMware Workstation version 8.0.2 build-591240.bundle from Vmware site

 

[email protected]:~/Downloads$ wget http://communities.vmware.com/servlet/JiveServlet/download/1902218-80055/vmware802fixlinux320.tar.gz
[email protected]:~/Downloads$ ls
vmware802fixlinux320.tar.gz
[email protected]:~/Downloads$ tar zxvf vmware802fixlinux320.tar.gz
patch-modules_3.2.0.sh
vmware3.2.0.patch
[email protected]:~/Downloads$ su
Password:
[email protected]:/home/kartook/Downloads# ./patch-modules_3.2.0.sh
patching file vmnet-only/filter.c
patching file vmnet-only/netif.c
patching file vmnet-only/userif.c
Stopping VMware services:
VMware Authentication Daemon                                                                               done
VM communication interface socket family                                                       done
Virtual machine communication interface                                                         done
Virtual machine monitor                                                                                         done
Blocking file system                                                                                               done
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only’
make -C /lib/modules/3.2.0-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-24-generic’
CC [M]   /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M]   /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o

//
//
//
//
make[1]: Entering directory `/tmp/vmware-root/modules/vsock-only’
make[1]: `postbuild’ is up to date.
make[1]: Leaving directory `/tmp/vmware-root/modules/vsock-only’
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-root/modules/vsock-only’

** (vmware-installer.py:12702): WARNING **: The connection is closed
Built vsock module
Starting VMware services:
Virtual machine monitor                                                                                                   done
Virtual machine communication interface                                                         done
VM communication interface socket family                                                       done
Blocking file system                                                                                                                   done
Virtual ethernet                                                                                                                           done
VMware Authentication Daemon                                                                               done
Shared Memory Available                                                                                         done

All done, you can now run VMWare WorkStation.
Modules sources backup can be found in the ‘/usr/lib/vmware/modules/source-workstation8.0.2-2012-05-02-09:35:44-backup’ directory
[email protected]:/home/kartook/Downloads#

Thanks

Kartook

 

 

25 thoughts on “VMware : Virtual Network Device unable to load/compile-VM Player 4.0.2 in Ubuntu 12.04

  1. Ville says:

    Hi

    Thanks. It works also for newer version of VMWare, just comment following three lines:

    # diff patch-modules_3.2.0.sh patch-modules_3.2.0.sh.orig
    29c29
    [ -z “$product” ] && error “Sorry, this script is only for VMWare WorkStation $vmreqver or VMWare Player $plreqver”
    32c32
    [ -f “$ptoken” ] && error “$ptoken found. You have already patched your sources”

  2. JOhnyRi says:

    There is new version available, so you can use this package instead:

    wget http://xaxatyxa.ru/download/vmware803fixlinux320.tar.gz
    tar -xvf vmware803fixlinux320.tar.gz
    sudo ./patch-modules_3.2.0.sh

  3. Will says:

    Found I needed to install “patch” before I could use this script.

    sudo apt-get install patch

    After that, all good

  4. till says:

    This russian programm is great!!!
    thank you!
    I use VMware Workstation 8.0.3 for L… and couldn´t start it after updating ubuntu.

  5. kartook says:

    Thanks till

    Kindly updatem e which user u used to update this patch ..if you run as root .. u need to start Vmware application as root …

    Thanks
    K~

  6. Carlos says:

    Hello man,
    do you know how to fix this problem?

    [email protected]:~$ sudo sh patch-modules_3.2.0.sh
    patch-modules_3.2.0.sh: 27: [: player4.0.3: unexpected operator
    patch-modules_3.2.0.sh: 28: [: player4.0.3: unexpected operator
    Sorry, this script is only for VMWare WorkStation 8.0.2 or VMWare Player 4.0.2. Exiting

    • kartook says:

      Hey ,

      Uninstall hole Vmware workstation bundle and try to reinstall and patch it .Should work .

      make sure u using right version of Vmware workstation .

      Error seems to be like .. worng version u r trying

      Thanks
      Ka~

  7. Vadim says:

    Thank you for the patch. Worked for me for player 4.0.3 (had to edit line 8 to make the script accept the newer player version).

  8. Brahim says:

    In reponse to Carlos. I had the same problem but i could fix it this way:

    -Download vmnet.tar
    -Move vmnet.tar to /usr/lib/vmware/modules/source/
    -Run the commande: sudo /usr/bin/vmware-modconfig –console –install-all

    Good luck.

  9. scottie says:

    for 8.0.4 just comment out lines 26,27,28 and 29

    # [ -z “$vmver” ] && error “VMWare is not installed (properly) on this PC”
    # [ “$vmver” == “workstation$vmreqver” ] && product=”VMWare WorkStation”
    # [ “$vmver” == “player$plreqver” ] && product=”VMWare Player”
    # [ -z “$product” ] && error “Sorry, this script is only for VMWare WorkStation $vmreqver or VMWare Player $plreqver”

    Changing the version number at the start of the script didn’t work.

  10. chervox says:

    +1
    works with VMware Player 4.0.4 too and Ubuntu 12.04 64-bits. Just change the line:

    plreqver=4.0.3
    to
    plreqver=4.0.4

    😀

    • BobTheNukularPhysist says:

      Thanks chervox!! This worked wonderfully.

      quick instructions open the patch-modules*.sh file in a text editor and find and edit the plreqver to what chevrox above stated. This can apply to any 4.x version (barring 4.5) presumably.

  11. Pingback: VMware Workstation Full-8.0.4-744019 en Kubuntu 12.04 « [email protected] Webblog!!

  12. tecwizrd says:

    I used this patch to fix Workstation 8.0.4, I edited the patch script and changed the version line to 8.0.4 a poof. Vmware Workstation is running.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.