Some bugfixesUSAGE:$ tar xfzv VMplayer_3.0.0-203739.x86_64_2.6.38-8.tgz$ cd VMplayer_3.0.0-203739.x86_64_2.6.38-8$ chmod +x patch_apply.sh$ sudo ./patch_apply.sh
$ sudo vmware-modconfig --console --install-all
Sorry ... : ]
Thanks Marcos. It still won't start up. But it is moving forward.
Could you create this patch for VMware-Player-3.1.3-324285.x86_64 as well? The source is different enough for the patch file to fail.
If you can, thank you very much!
EDIT: nm, I installed 3.1.4 and it didn't require a patch to get around the BKL, etc issues.
Got it to work. When I installed the latest VMware player, all is fine. I had 3.1. something and I installed 3.1.4 build-385536, which is the latest and all worked. Thanks for the patch.
still not working man,
patching file vmci-only/include/compat_semaphore.h
Hunk #1 succeeded at 62 (offset 17 lines).
patching file vmci-only/include/pgtbl.h
patching file vmci-only/linux/driver.c
patching file vmmon-only/linux/driver.c
Hunk #1 succeeded at 140 with fuzz 1.
Hunk #2 succeeded at 176 (offset 2 lines).
patching file vmmon-only/linux/iommu.c
Hunk #1 FAILED at 153.
Hunk #2 FAILED at 400.
2 out of 2 hunks FAILED -- saving rejects to file vmmon-only/linux/iommu.c.rej
patching file vmnet-only/driver.c
Hunk #1 succeeded at 114 (offset 1 line).
patching file vmnet-only/filter.c
Hunk #1 succeeded at 77 (offset 1 line).
patching file vsock-only/linux/af_vsock.c
Hunk #1 succeeded at 400 (offset 9 lines).
Hunk #2 FAILED at 3229.
Hunk #3 FAILED at 3252.
Hunk #4 FAILED at 3264.
Hunk #5 FAILED at 3324.
Hunk #6 FAILED at 3340.
Hunk #7 FAILED at 3374.
Hunk #8 FAILED at 3472.
Hunk #9 FAILED at 4112.
Hunk #10 FAILED at 4149.
Hunk #11 FAILED at 4202.
Hunk #12 FAILED at 4436.
Hunk #13 FAILED at 4476.
Hunk #14 FAILED at 4542.
13 out of 14 hunks FAILED -- saving rejects to file vsock-only/linux/af_vsock.c.rej
[+] DONE !
sudo vmware-modconfig --console --install-all
Stopping VMware services:
VMware USB Arbitrator 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/2.6.38-8-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
make: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘init_module’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:425:15: error: ‘struct file_operations’ has no member named ‘ioctl’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1736:7: error: implicit declaration of function ‘kernel_locked’
make: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon
am i miss something??
I am not sure, but it doesn't look like you are using the PAE kernal headers. Those are the headers that I used. Might give that a try.
note that this patch was tested only with Wmplayer versions: 3.0.0 and 3.1.4 and Kernel 2.6.38-8.
try the follow steps:
1) install kernel headers:
sudo apt-get install linux-headers-`uname -r`
2) install development apps:
sudo apt-get install build-essential
3) Remove your current VMplayer
sudo vmware-installer -u vmware-player
sudo rm -rf /usr/lib/vmware
4) Create links to enable vmware detect your headers
sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/autoconf.h /usr/src/linux-headers-`uname -r`/include/linux/autoconf.h
sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/utsrelease.h /usr/src/linux-headers-`uname -r`/include/linux/utsrelease.h
5) Download the version 3.0.0 of WMplayer
6) Execute the .bundle file
7) Download and Apply the patch
tar xfzv VMplayer_3.0.0-203739.x86_64_2.6.38-8.tgzcd VMplayer_3.0.0-203739.x86_64_2.6.38-8chmod +x patch_apply.shsudo ./patch_apply.sh
sudo vmware-modconfig --console --install-all
tar xfzv VMplayer_3.0.0-203739.x86_64_2.6.38-8.tgz
This line should be: tar xfzv VMplayer_3.0.0-203739.x86_64_2.6.38-8.tar.gz
chmod +x patch_apply.sh
I already mentioned this once however I guess you missed it, the execute bit is already set for the patch_apply.sh file in the tarball and extracting it under Ubuntu 11.04 even without using -p argument with the tar command the file remains executable so it makes no sense using chmod to set an already executable file executable!
You are right! 'chmod +x' command do not makes difference in the overall proccess. : ]
Do you have a similar patch for Vmware Server 2.0 too?
I have almost the same error "Unable to build the vmmon module" on Ubuntu 11.04 64b.
Linux ego 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Did all the commands to patch. But as wildan wrote, the patch process throws some errors.
After all my VMWare Player is still broken.
Wait. One difference. I use VMware-Player-3.1.4-385536.x86_64.bundle
But you wrote the patch is testet with 3.1.4.
My problem is, that after I start a machine, the player window disappears. But I can still see the VMPlayer process and kill it by hand...
What happen if I'm using VMware Player 3.1.4 over Linux 32-bit?.
How can I make it work?
i had followed your instruction mate, but still i dont get my vmware player work, the worst, i even dont see any movement on my screen after seferal times click on vmware's icon .... my kernel is 2.6.38-8-generic ..
again.. did i miss something mate ??