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
kartook@kartook:~/Downloads$ wget http://communities.vmware.com/servlet/JiveServlet/download/1902218-80055/vmware802fixlinux320.tar.gz
kartook@kartook:~/Downloads$ ls
vmware802fixlinux320.tar.gz
kartook@kartook:~/Downloads$ tar zxvf vmware802fixlinux320.tar.gz
patch-modules_3.2.0.sh
vmware3.2.0.patch
kartook@kartook:~/Downloads$ su
Password:
root@kartook:/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 doneAll 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
root@kartook:/home/kartook/Downloads#
Thanks
Kartook
Many, many thanks. Absolutely perfect.
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”
Great – Thanks !!! You save my life 🙂
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
thank you very much.
i have 12.04 64bit, vmware player 4.0.3 and now work perfect
thanx again
Found I needed to install “patch” before I could use this script.
sudo apt-get install patch
After that, all good
This russian programm is great!!!
thank you!
I use VMware Workstation 8.0.3 for L… and couldn´t start it after updating ubuntu.
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~
Thanks a lot,
this is an elegant problem fix
Hello man,
do you know how to fix this problem?
carlos@carlos-desktop:~$ 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
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~
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).
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.
Thanks
Does anyone have the new patch for 8.0.4?
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.
+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
😀
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.
Just what I was looking for – simple and right to the point!
Thanks!
-Brian
Thanks for your visit
Pingback: VMware Workstation Full-8.0.4-744019 en Kubuntu 12.04 « k@R10z Webblog!!
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.
Thanks for your visit and comment ….
KA~
Yep, this script is really great! Just change the version of vmplayer on script and all works fine!
Thanks JOhnyRi it worked
Thanks kartook.