LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2009, 10:11 AM   #1
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Rep: Reputation: 16
Vmware server installation


Hi all,

I newly installed fedora 11. And I am trying to install VMware-server-2.0.1. But I am getting error while installing.

Error :
Code:
make[2]: *** [/tmp/vmware-config11/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config11/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.29.4-167.fc11.i686.PAE'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config11/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please 
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and 
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.
I download the vmware-any-any-updates117, but that also no use.

My kernel version is : 2.6.29.4-167.fc11.i686.PAE

Please any one help to me.

Regards,
maniannam
 
Old 07-11-2009, 08:26 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
do a yum install kernel-devel and try again. it looks like it is looking for the kernel headers to build the package but cannot find them
 
Old 07-13-2009, 02:46 AM   #3
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
My have kernel-devel package.

[root@localhost Download]# rpm -qa | grep -i kernel
kernel-devel-2.6.29.4-167.fc11.i586
kernel-PAE-devel-2.6.29.4-167.fc11.i686
kerneloops-0.12-5.fc11.i586
kernel-PAE-devel-2.6.29.5-191.fc11.i686
kernel-devel-2.6.29.5-191.fc11.i586
kernel-headers-2.6.29.5-191.fc11.i586
kernel-firmware-2.6.29.5-191.fc11.noarch
kernel-PAE-2.6.29.5-191.fc11.i686
kernel-PAE-2.6.29.4-167.fc11.i686


Regards,
maniannam
 
Old 07-14-2009, 10:59 PM   #4
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 299

Rep: Reputation: 89
VMware needs patched in order to work with kernels 2.6.29.x. Try going to http://communities.vmware.com//thread/203231 and downloading both the patch and the shell script and reading their instructions. I got it to work for VMplayer 2.5.2 under kernel 2.6.29.5-191.fc11.x86_64.
 
Old 07-15-2009, 09:11 PM   #5
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 299

Rep: Reputation: 89
Retracting last post--After applying patch, VMPlayer/Server reports that the kernel modules are properly compiled...but then actually trying to open a VM fails with message claiming modules aren't properly compiled. Thoroughly clueless here
 
Old 07-16-2009, 04:45 AM   #6
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
every time you update your kernel you need to re-run that script to configure VMware. I had the same problem when i went from my normal kernel to the PAE
 
Old 07-16-2009, 05:35 AM   #7
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by ordealbyfire83 View Post
VMware needs patched in order to work with kernels 2.6.29.x. Try going to http://communities.vmware.com//thread/203231 and downloading both the patch and the shell script and reading their instructions. I got it to work for VMplayer 2.5.2 under kernel 2.6.29.5-191.fc11.x86_64.

I was download the patch and script from which you gave the link. but I got the error.

Code:
[root@localhost Download]# sh vmware-6.5.2-modules-2.6.29-fix.sh
Found tar file for vmblock module
Found tar file for vmnet module
Found tar file for vsock module
Found tar file for vmci module
Found tar file for vmmon module
Using patch file: /home/mani/Download/vmware-6.5.2-modules-2.6.29-fix.patch
Using module directory: /usr/lib/vmware/modules/source
Using backup directory: /usr/lib/vmware/modules/source-backup
Backing up ./vmblock.tar to /usr/lib/vmware/modules/source-backup/./vmblock.tar
Backing up ./vmnet.tar to /usr/lib/vmware/modules/source-backup/./vmnet.tar
Backing up ./vsock.tar to /usr/lib/vmware/modules/source-backup/./vsock.tar
Backing up ./vmci.tar to /usr/lib/vmware/modules/source-backup/./vmci.tar
Backing up ./vmmon.tar to /usr/lib/vmware/modules/source-backup/./vmmon.tar
Untarring vmblock.tar
Untarring vmnet.tar
Untarring vsock.tar
Untarring vmci.tar
Untarring vmmon.tar
Testing patch
patching file vmblock-only/Makefile
Hunk #1 succeeded at 112 (offset -10 lines).
patching file vmci-only/Makefile
Hunk #1 succeeded at 113 (offset -9 lines).
patching file vmmon-only/include/x86apic.h
Hunk #1 succeeded at 79 with fuzz 2 (offset -15 lines).
patching file vmmon-only/linux/driver.c
Hunk #1 succeeded at 1758 (offset -226 lines).
patching file vmmon-only/linux/hostif.c
Hunk #1 succeeded at 3237 (offset -187 lines).
Hunk #2 FAILED at 3351.
Hunk #3 FAILED at 3475.
2 out of 3 hunks FAILED -- saving rejects to file vmmon-only/linux/hostif.c.rej
patching file vmmon-only/Makefile
Hunk #1 succeeded at 139 with fuzz 1 (offset 17 lines).
patching file vmnet-only/Makefile
Hunk #1 succeeded at 139 with fuzz 1 (offset 17 lines).
patching file vmnet-only/netif.c
Hunk #1 succeeded at 310 (offset -14 lines).
Hunk #3 succeeded at 612 (offset -14 lines).
patching file vsock-only/Makefile
Hunk #1 succeeded at 113 (offset -9 lines).
Sorry, problem with the patch, I can't apply it
[root@localhost Download]#
Code:
[root@localhost Download]# patch -N -p1 < vmware-6.5.2-modules-2.6.29-fix.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN source-OLD/vmblock-only/Makefile source-NEW/vmblock-only/Makefile
|--- source-OLD/vmblock-only/Makefile	2009-03-26 22:05:21.000000000 -0700
|+++ source-NEW/vmblock-only/Makefile	2009-04-04 02:17:17.000000000 -0700
--------------------------
File to patch:
Any idea about this error?

Regards,
maniannam
 
Old 07-17-2009, 10:50 AM   #8
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 299

Rep: Reputation: 89
I suspect this is because you are using vmware Server--it must have (slightly) different makefiles. There are a couple of things you can try. First try uninstalling/reinstalling vmware (to make sure everything is "pristine") and then applying the patch again. I'm not sure if there are any patches specifically for VMware Server (can anyone confirm this??) Note, you don't have to explicitly run "patch - (blah)." The sh script should do that for you.

This probably isn't what you want to here, although for now a workaround might be to use VMPlayer. If you need to create virtual machines there is a tutorial at www.easyvmx.com (it'll do it for you, actually). You can still install vmware tools into the guest OS, you just need to extract them from your server installation. I did this before, and honestly can't remember how.

You will need the "bundle" version, preferably 2.5.x -- the earlier ones probably won't patch. You should be able to do, for example

chmod +x VMware-Player-2.5.2-156735.x86_64.bundle

./VMware-Player-2.5.2-156735.x86_64.bundle (stuff gets installed with a GUI here)

./vmware-6.5.2-modules-2.6.29-fix.patch

If all goes well,

mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.bak

vmware-modconfig --console --install-all

cd /etc/init.d
./vmware restart

Then you should be able to launch vmplayer as an ordinary user. Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vmware Server on Gentoo - not able to connect from VMware Console eladsherf Gentoo 1 09-11-2009 07:35 AM
vmware server installation in fedora9 vinaytp Linux - Newbie 5 06-04-2009 08:42 AM
DHCP, OSCAR cluster installation, VMware server and PXE-boot problem. Azazwa Linux - Newbie 3 03-31-2009 10:52 AM
vmware server install error, The VMware VmPerl Scripting API was not installed. fakie_flip Linux - Software 4 12-28-2008 04:49 AM
LXer: VMware Introduces Free VMware Server LXer Syndicated Linux News 0 02-07-2006 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration