LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2006, 10:42 PM   #1
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Rep: Reputation: 15
VMMON module error with vmware


i am a noob and i was trying to install vmware and i got this error...

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)?

afer this stage, it aborts wether i say yes or no.

all i want to be able to do is run some of my windows appz on my linux machine from time to time. can anyone please help me with this or give me a better alternative. ive heard a little about wine but im not sure on any of this

thanks
 
Old 11-16-2006, 03:00 PM   #2
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
This is a common error.

Explanation:
------------

Vmware has to interface with the nuts-n-bolts hardware of the machine. In order to do that, it has to 'talk to' the kernel (the linux kernel is the core of the operating system... the 'main piece of the puzzle').

In order to talk to the kernel, it has to have a reference module for doing so... but there aren't many built into Vmware, so the configure program tries to build one for you.

In order to build one, it requires that you have a matching kernel and kernel-devel (kernel headers) installed.

This can be done in command prompt (terminal) by the following...

yum update kernel

(let it run -- click yes to everything).

yum install kernel-devel

(let it run -- click yes to everything).


Solution:
---------

You SHOULD be able to run the Vmware configuration again... click 'yes' to "should we build a module from scratch", and then it should automatically pick up where the headers are installed... if it doesn't, you may have to type in the path... something like /etc/lib/modules/2.6.18/build ... where 2.6.18 (or whatever the heck) is the number of the kernel you're running... to be sure, open up file browser and navigate to etc, then lib (or libs), then modules... and see where the "build" directory is. if you can't find one, telling vmware how to get to /etc/lib/modules/2.6.18 may be enough (or /etc/lib/modules/number_of_your_kernel).

If that doesn't work - then I would reccomend installing Vmware from source rather than from RPM or yum.

Sometime stuff just doens't work, and you have to compile it yourself.

Download the VMware source from -->
http://www.vmware.com/download/ws/

You want the source for Workstation.

The source will be in a *.tar.gz file or something like that. Just open it up, extract it to a folder.

Open up a terminal window (command prompt) and switch to super user by typeing...

su
[enter password] my_root_password

if you're already logged in as root, you don't have to do that...

Anyway...

now you can go to the directory where you extracted the source code... once in there, do the following...

./configure

--- let it run

make

--- let it run

make install

--- let it run

you shouldn't get any error messages along the way... warnings are ok, errors are not.

provided you don't have any errors, then vmware is installed (yay!)

now you can run the configure script (i think its just vmware-config.pl or something like that -- i'm not sure --- to find out, type vmware in terminal... it'll say something like "hey, vmware is installed but you didn't set it up, so execute vmware-config.pl [or whatever the name is] to set it up")

once your running the config, you shouldn't have anymore issues. if you do - holler back and we'll get you through it.
 
Old 11-19-2006, 05:51 AM   #3
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
thanks! very detailed and simplified. ill give it a go and see how what happens
 
Old 11-20-2006, 04:47 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Check this post out and the other. Wondering about the 2.6.18 and greater myself.
http://www.linuxquestions.org/questi...24#post2511424
http://www.linuxquestions.org/questi...34#post2511434

I need to build the newer kernel and see what happens here. The 2.6.18.2 unless 2.6.18.3 is out.

Brian
 
  


Reply



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 missing device /dev/vmmon blavish Linux - Software 4 08-01-2010 04:49 AM
VMWare installation problem - vmmon module lonecrow Linux - Software 5 03-26-2009 11:57 AM
Trouble building vmmon module for VMware Server with Slackware 10.2 Lothoir Linux - Software 14 07-15-2006 09:01 PM
VMware vmmon building error Akuji Slackware 2 02-01-2004 07:58 AM
slackware 9 and vmware vmmon probs duister Slackware 4 07-31-2003 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 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