Having trouble compiling vmware 7.1.4 /w k 2.6.39
Apr 20 18:50:50.461: app-139722951354144| Trying to find a suitable PBM set for kernel 2.6.39-rc3.
Apr 20 18:50:50.462: app-139722951354144| Building module vmmon.
Apr 20 18:50:50.462: app-139722951354144| Extracting the sources of the vmmon module.
Apr 20 18:50:50.472: app-139722951354144| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.39-rc3/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
Apr 20 18:50:51.315: app-139722951354144| Failed to compile module vmmon!
Welcome to the Communities,
Check this link, might be useful http://blog.gnu-designs.com/solved-building-vmware-workstation-modules-on-linux-2-6-32
Good luck
I think the bigger issue with 2.6.39 is the removal of smp_lock. When I compiled it I have to fix my Nvidia driver. Now I'm seeing the same sort of issue with VMware
here is my error while compiling:
I remember that for the Nvidia issue it was something like "perl -pi -e 's/.*smp_lock.h.*\n//'" to fix. Think it will take something like this to make this work for 2.6.39?
Could you please correct the link? If getting 404 or nothing at all. I am somewhat interested in kernel 2.6.39 which is the default kernel for Fedora Rawhide.
Thanks
Marty
Here's the patch it has two bad hunks on vmblock when applying, I edited vmblock by hand.
http://www.fedoraforum.org/leigh123linux/vm/vmware2.6.39.patch
Here's the patched source
http://www.fedoraforum.org/leigh123linux/vm/source.tar.lzma
$ uname -a
Linux main_pc.leigh123linux 2.6.39-0.rc6.git0.0.el6.x86_64 #1 SMP Wed May 4 19:44:16 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
$
The patch appeared to work, but produced an OOPS when starting VMware:
-------------
Starting VMware services:
VMware USB Arbitrator [ OK ]
Virtual machine monitor [ OK ]
Virtual machine communication interface [ OK ]
VM communication interface socket family [ OK ]
Blocking file system
Message from syslogd@rglinux at May 5 12:34:06 …
kernel:Oops: 0010 [#1] SMP
Message from syslogd@rglinux at May 5 12:34:06 …
kernel:last sysfs file: /sys/devices/virtual/misc/vsock/uevent
Message from syslogd@rglinux at May 5 12:34:06 …
kernel:Stack:
Message from syslogd@rglinux at May 5 12:34:06 …
kernel:Call Trace:
Message from syslogd@rglinux at May 5 12:34:06 …
kernel:Code: Bad RIP value.
Message from syslogd@rglinux at May 5 12:34:06 …
kernel:CR2: 0000000000000000
[FAILED]
Virtual ethernet [ OK ]
-------------------
Despite this, VMware workstation started OK, but when I attempted to atttach a USB device (SatMap) to the VM (Win7SP1) caused my system (Fedora 14 - Kernel 2.6.39-rc6-git2 X86_64) to hang completely, and a cold boot was needed to fix it..
Robert Gadsdon.
Same here:
I've been unable to get 7.1.4 to work with the openSuse 11.4 Tumbleweed version since upgrading to kernel 2.6.39-30, the current kernel release for Tumbleweed, using these or any other patch scripts I've found by search.
???
There is a new, improved patch now available:
- and it compiles and installes OK, and works (kernel 2.6.39 - from kernel.org)..
(FYI, the site is sometimes 404, for some reason.. just try a bit later..)
Robert Gadsdon.
Thanks Bob but I'm a bit to dense to see exactly how to apply the patch.
Lookiing at the script it looks like you have to untar each of the tarbals in the vmware modules install directory to a directory named source-original run the script from the directory up one level from source-original and source then tar them back up and move them back to the modules/source directory?
Got this while trying to run vmware after applying your patch.
Host = openSUSE Factory kernel 2.6.39-2-vanilla
Any ideas??
Thanks
Marty Felker
---------------------------------------------------------------------------------------
/usr/bin> ./vmware
Logging to /tmp/vmware-marty/setup-5852.log
filename: /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: DFE9035F8F3EC713B7EC543
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
filename: /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
supported: external
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
srcversion: F08F0A4F6CD990A288AD26D
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
filename: /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: DFE9035F8F3EC713B7EC543
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
filename: /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
supported: external
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
srcversion: F08F0A4F6CD990A288AD26D
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
filename: /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: DFE9035F8F3EC713B7EC543
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
filename: /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
supported: external
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
srcversion: F08F0A4F6CD990A288AD26D
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
filename: /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: DFE9035F8F3EC713B7EC543
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
filename: /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
supported: external
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
srcversion: F08F0A4F6CD990A288AD26D
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
filename: /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: DFE9035F8F3EC713B7EC543
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
filename: /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
supported: external
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
srcversion: F08F0A4F6CD990A288AD26D
depends:
vermagic: 2.6.39-2-vanilla SMP mod_unload modversions
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
It is not _my_ patch, I was just providing a link to the authors' site. If you go there, you will see there is a Q and A thread on application etc....
Apologies for any confusion...
Robert Gadsdon.
No problem. I was on that site and the author did have 2 patrches for 2.6.39 (one of them 'fixed'). I will contact him directly with any more questions. It would be interesting though if anybody else has had success with this. The author says it works on a kernel compiled directly from kernel.org. openSUSE VAnialla kerenels use the same sources and are not modified for SUSE. Eventually VMwar ewill get around to a fix because they must. I still have a working versiobn of VMware on Fedora Rawhide with the 2.6.38 kernel.
Marty
I got the fixed patch to work.
See this thread, post by audiocomp then the suggested < posted by malcolmlewis.
Yes. Patch worked here as well - openSUSE Factory x64 kernel=2.6.39-2-desktop.
Kudos to all and especially the developer of course.
Marty
Patch works and now 7.14 is running under Ubuntu 10.10 kernel 2.6.39.
Thanks to all!
I've install kernel 3.0.0-rc1-next-20110603-0.0.6.d59a25a-vanilla on openSUSE 12.1 Milestone 1 and it actually boots(pretty kool disaply manager in facdt). Would you like to take a crack at patching kernel 3.0 (used to be called 2.6.40!)
Marty
It is not suitable for me...
I have only pvscsi.tar vmblock.tar vmci.tar vmhgfs.tar vmmemctl.tar vmsync.tar vmwgfx.tar vmxnet.tar vmxnet3.tar vsock.tar in vmware-tools-distrib/lib/modules/source...
I want to install vmware tools. please help me.
compile error log
I'm in the same boat (I think) as forumi0721hotmail; I have a Windows 7 SP1 x64 host running a Debian Sid guest.
The last kernel on which VMware Tools compiled (almost) successfully was 2.6.38.
All of these patch scripts addressed to Linux hosts are ill-suited to the (I'm guessing) vast majority of users who are virtualizing Linux, not Windows.