Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th August 2011, 02:13 AM
yaconsult Offline
Registered User
 
Join Date: Nov 2004
Posts: 47
linuxfirefox
patches for VMware Workstation 7.1.4 x86_64 on fedora 15

Apparently, recent kernel changes have broken the building of the kernel modules necessary to use the latest version of VMware workstation on fedora 15. Does anyone know where I can find the patches that will allow the vmware modules for workstation 7.1.4 to build on fedora 15 with kernel 2.6.40-4.fc15.x86_64?

I've been searching and have found patches for previous versions, but none that worked with this combination.

# vmware-modconfig --console --install-all
Stopping vmware (via systemctl): [ OK ]
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.40-4.fc15.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.x86_64'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:47:44: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.x86_64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon

I found some related info in the following blog, but haven't been able to get to it working yet with the latest kernel:

http://weltall.heliohost.org/wordpre...-6-39-and-3-0/
http://weltall.heliohost.org/wordpre...-6-39-updated/
Reply With Quote
  #2  
Old 5th August 2011, 11:47 AM
auroraflame Offline
Registered User
 
Join Date: Aug 2011
Posts: 20
linuxchrome
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

me too, although our error message is slightly different
Quote:
# cat setup-6790.log
Aug 05 17:21:28.283: app-140714409129760| Log for VMware Workstation pid=6790 version=7.1.4 build=build-385536 option=Release
Aug 05 17:21:28.283: app-140714409129760| The process is 64-bit.
Aug 05 17:21:28.283: app-140714409129760| Host codepage=UTF-8 encoding=UTF-8
Aug 05 17:21:28.283: app-140714409129760| Logging to /tmp/vmware-root/setup-6790.log
Aug 05 17:21:28.457: app-140714409129760| modconf query interface initialized
Aug 05 17:21:28.457: app-140714409129760| modconf library initialized
Aug 05 17:21:28.499: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.508: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.522: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.541: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.553: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.598: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.602: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.605: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.608: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.611: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.639: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.642: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.645: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.648: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.651: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.659: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.672: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.719: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.722: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.725: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.728: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.731: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.738: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.751: app-140714409129760| Your GCC version: 4.6
Aug 05 17:21:28.825: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.830: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.835: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.838: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.841: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.951: app-140714409129760| Trying to find a suitable PBM set for kernel 2.6.40-4.fc15.x86_64.
Aug 05 17:21:28.952: app-140714409129760| Building module vmmon.
Aug 05 17:21:28.952: app-140714409129760| Extracting the sources of the vmmon module.
Aug 05 17:21:29.014: app-140714409129760| 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.40-4.fc15.x86_64/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.0
Aug 05 17:21:33.485: app-140714409129760| Failed to compile module vmmon!
i also try to boot using old kernel 2.6.38.8-35.fc15.x86_64, but failed to enter graphic sessions

looks like its a vmware bug :
https://bugzilla.redhat.com/show_bug.cgi?id=728038

meanwhile more googling to do

Last edited by auroraflame; 5th August 2011 at 11:49 AM.
Reply With Quote
  #3  
Old 5th August 2011, 12:50 PM
marinestu Offline
Registered User
 
Join Date: Sep 2008
Location: UK Northampton
Age: 39
Posts: 56
linuxfirefox
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

Sadly I too am in the same situation.

Aug 05 12:46:17.718: app-140505087256352| Building module vmmon.
Aug 05 12:46:17.718: app-140505087256352| Extracting the sources of the vmmon module.
Aug 05 12:46:17.735: app-140505087256352| 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.40-4.fc15.x86_64/build/include CC=/usr/bin/gcc G
REP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.0
Aug 05 12:46:19.049: app-140505087256352| Failed to compile module vmmon!
Reply With Quote
  #4  
Old 5th August 2011, 05:29 PM
yaconsult Offline
Registered User
 
Join Date: Nov 2004
Posts: 47
windows_7firefox
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

Guys,

Thanks for confirming that it's not just me. This is a disappointing situation. One of the VMware guys will usually have a patch out pretty quickly, although to me, it looks like it's something that's often done unofficially as you find a link to a tar in a forum post rather than on any official patch page. Would anyone who finds a modules patch that works please add it to this thread so other Fedorans can find it?

In the meantime, I will note that the latest version of Virtualbox works just fine on Fedora 15's latest kernel with all patches. I've switched to using that in the meantime and will probably compare their performance when the patches for VMware Workstation become available. Last time I tried Virtualbox about 6 or 8 months ago, I had problems getting audio working in the VM with my Asrock Extreme6 motherboard and it's two motherboard audio interfaces and USB audio headset.
Reply With Quote
  #5  
Old 5th August 2011, 05:50 PM
pot8oe Offline
Registered User
 
Join Date: Aug 2011
Posts: 1
linuxchrome
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

I was able to get back to kernel 2.6.38 with working nvidia drivers and working vmware.

1. Uninstalled all nvidia packages. kmod-nvidia, nvidia-settings, nvidia-xconfig, xorg-x11-drv-nvidia, etc... Important to make sure all versions get uninstalled.

2. Installed akmod-nvidia. The akmod should build the required driver during boot. I saw error messages related to this but I think it was when I still had stale nvidia drivers lying around.

3. Had to copy back my old xorg.conf because the uninstall replaced with a default xorg.conf. The uninstall did keep a backup copy but you might want to make your own before step 1.

4. I also had to go back and edit my /boot/grub.grub.conf. Make sure the kernel line ends with
Code:
nouveau.modeset=0 rdblacklist=nouveau
Before rebooting you might want to configure systemd to boot into multi-user mode instead of graphical. I was unable to login to the system when nvidia failed and systemd attempted graphical mode. At least with multi-user nvidia could fail and I could login to a prompt and run startx. Once I had everything configure properly again I switched systemd back to graphical and rebooted into the older kernel.

Hope this helps!
-Tom
Reply With Quote
  #6  
Old 7th August 2011, 09:15 AM
mdttt Offline
Registered User
 
Join Date: Jul 2011
Posts: 1
linuxfirefox
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

You can try this one:
http://linux-knowledgebase.com/cms/c...article_id=186

I run this 2.0.39 patch, and it's working for me.
Reply With Quote
  #7  
Old 7th August 2011, 08:01 PM
yaconsult Offline
Registered User
 
Join Date: Nov 2004
Posts: 47
linuxfirefox
VMware Workstation 7 module patches for kernels 2.6.39 and 2.6.40 linked here

Yay! This one seems to work - all the modules build without error. Thanks for the pointer, mdttt! May I ask how you found it? Was there a link on a vmware forum or did you just get lucky with google? Is there any central place or list of places to check when kernel changes break vmware modules building?

I also changed the title of this reply so more people might find the solution when searching the forum.

Here's a link to the html page about the patch instead of the pdf version that mdttt's link below points to: http://linux-knowledgebase.com/en/Ti...ora_for_VMware

Quote:
Originally Posted by mdttt View Post
You can try this one:
http://linux-knowledgebase.com/cms/c...article_id=186

I run this 2.0.39 patch, and it's working for me.
Reply With Quote
  #8  
Old 7th August 2011, 08:27 PM
rmbrady Offline
Registered User
 
Join Date: May 2008
Location: Brisbane, Australia
Posts: 91
linuxfirefox
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

Thanks mdttt , the patch works for me as well:-)
__________________
------------------------------------------
A lost packet on the Internet of life
Reply With Quote
  #9  
Old 9th August 2011, 01:36 PM
zarthon Offline
Registered User
 
Join Date: Oct 2004
Posts: 44
linuxfirefox
Question Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

I am a concerned information technologist that does not want to expose clients to any potential issues, not an subject expert in these issues. My concerns are security and system stability.

What has been your experience with the guest and host after the patch ?
What do others think about stability, performance, and security concerns ?

I am trying to figure out if I want to patch or go back to the 2.6.38 kernel. I had a little time to "do my homework" and browse at least the first two external links.

I upgraded the kernel on Sunday and discovered VMWare was broken when I went to use windows for work on monday (aug 8th). I need windows to work today. I put off doing any work in windows yesterday.

The patch is for the VMWare module not the kernel so you don't have to rebuild the kernel. Also this means your system is only effected if the VMWare module is loaded, and probably being used by an active VM. The problem is that VMWare was using kernel API features related to locking the kernel that have long been depreciated and technically should have been removed from the kernel module code long before. This means it's the kernel braking VM Ware but it's still a VM Ware bug and not a Kernel bug.

Since the issue is in control flow code between the host and guest it may change performance for the guest or the host. It seems unlikely that changing this code could introduce any new security issues since it does not directly deal with networking or screen sharing. It might effect device drivers on either side that depend on interrupt responses because they could timeout and that could result in issues.
Reply With Quote
  #10  
Old 13th August 2011, 01:03 PM
marinestu Offline
Registered User
 
Join Date: Sep 2008
Location: UK Northampton
Age: 39
Posts: 56
linuxfirefox
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

Thanks that works perfectly :-)


Quote:
Originally Posted by mdttt View Post
You can try this one:
http://linux-knowledgebase.com/cms/c...article_id=186

I run this 2.0.39 patch, and it's working for me.
Reply With Quote
  #11  
Old 19th August 2011, 10:42 AM
nerak99 Offline
Registered User
 
Join Date: Aug 2006
Posts: 81
linuxchrome
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15 Alos work on VMPlayer

FYI

Worked for me on fc15 about five minutes ago with vm-player 3.1.4

2.6.40-4.fc15.x86_64
Reply With Quote
  #12  
Old 24th August 2011, 05:58 PM
z-itou16 Offline
Registered User
 
Join Date: Dec 2007
Location: Panama City, Panama
Age: 27
Posts: 2
linuxchrome
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

It works easily! It is really appreciated!
Reply With Quote
  #13  
Old 23rd November 2011, 09:43 AM
FredZake Offline
Registered User
 
Join Date: Nov 2011
Posts: 1
linuxchrome
Smile Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

I have been trying to get VMWare Workstation 7.1.5 with kernel 2.6.41 on F15 all morning, and finally got it!

The problem for me was initially compiling the vmmon package.
After I solved that I've had the standard issue with compiling vmnet package.

But as I now solved it i thought to share it with you.

In the end all I did was backup the /usr/lib/vmware/modules/source/*.tar files
Then replacing them with unpacking the attached tar files in the same directory.
(I have put in all the patched tar files expect vsock.tar as I had to go below the upload limit so I uploaded it separately)
Then I run vmware from console, which ended up compiling everything as expected.

Then startingt vmware from the menu as a user worked as expected!

Yeay finally I can get some work done again =]

//FredZake
Attached Files
File Type: bz2 vmmodules.tar.bz2 (954.5 KB, 309 views)
File Type: tar vsock.tar (920.0 KB, 261 views)

Last edited by FredZake; 23rd November 2011 at 09:46 AM.
Reply With Quote
  #14  
Old 8th August 2011, 03:47 AM
auroraflame Offline
Registered User
 
Join Date: Aug 2011
Posts: 20
linuxfirefox
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

thx mdttt and yaconsult, the patch works greatly
Reply With Quote
  #15  
Old 8th August 2011, 11:38 AM
MarkRS Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
linuxfirefox
Re: patches for VMware Workstation 7.1.4 x86_64 on fedora 15

Hmm, here running this patch gives me

Quote:
VMWare is not installed (properly) on this PC. Exiting
It was installed via PackageKit and had seemed to be working fine before this kernel update broke it
Reply With Quote
Reply

Tags
fedora, patches, vmware, workstation, x8664

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware Workstation and Fedora 14 jonnjonzzn Using Fedora 2 29th December 2010 03:25 PM
vmware workstation 7 on Fedora 12 zeusys Using Fedora 3 24th August 2010 08:43 PM
Fedora 9 with VMWare Workstation 5? SDWill92116 Using Fedora 0 15th September 2008 07:53 PM
Fedora 7 and VMware Workstation Stealth Using Fedora 1 12th June 2007 01:10 AM
VMware Workstation, Fedora Core 5 x86_64 pafinator11 Using Fedora 9 28th April 2006 08:34 PM


Current GMT-time: 23:51 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Swidwin Travel Photos on Instagram - General Mamerto Natividad Instagram Photos - Engels Travel Photos