LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2003, 05:42 AM   #1
duister
LQ Newbie
 
Registered: Jul 2003
Location: Belgium
Distribution: slackware 9.0
Posts: 21

Rep: Reputation: 15
Question slackware 9 and vmware vmmon probs


Hi there,

Yesterday i installed vmware 4 (build 3360 or so) under slackware 9.0.
It all went smoothly. I installed win2k server within vmware, and it all worked fine. I even installed the vmware tools to improve screen resolution.

So.. you think, why is he bothering us? heh, well, after a reboot of my linux system, i could start vmware, but when i tried to run a host system i got an error message:

begin error message-----------
VMware Workstation Error:
Could not open /dev/vmmon: No such device.
Please make sure that the kernel module `vmmon' is loaded.
End error message ------------

Even when i don't install the vmware tools, i get the same message. I cannot install a new host OS, because i get the same error.

According to the error message a kernel module isn't loaded? I think it should be something with the startup script or so.

Is there anyone who can supply me some info?

Thanks in advance, cheers,
 
Old 07-31-2003, 06:19 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Is the vmmon kernel module listed by lsmod? You might need the vmnet module loaded too. You can load the module yourself from the command line just by using modprobe vmnet. If this solves your problem then add the modprobe line to /etc/rc.d/rc.modules.

Welcome to LQ!

cheers

Jamie...
 
Old 07-31-2003, 08:58 AM   #3
duister
LQ Newbie
 
Registered: Jul 2003
Location: Belgium
Distribution: slackware 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks Jamie,

Yes i started the module myself, and it work. though, i got some error messages.. but it worked.

Nevertheless, i would like to install it better, so i unstalled vmware, and tried to install it again. I found that the install script was not working.. , during the installation it asks me where the init directories are (rc... etc) Thes directories didn't excist on my slackware, and the settings are ofcourse in a diferent files: /etc/rc.d/rc.0 and rc.4 etc.. etc..

So, the modules are not loaded because at the installation the directories did not excist and i created them myself. And those directories are empty and will not be used during load, and i have to start and stop all the modules mannually. Unforturnately i don't have the knowledge to modify the vmware install script myself. So if anyone knows a site or document with more info on the vmware install under slackware... please send it to me

cheers,

duister

Quote:
Originally posted by jharris
Is the vmmon kernel module listed by lsmod? You might need the vmnet module loaded too. You can load the module yourself from the command line just by using modprobe vmnet. If this solves your problem then add the modprobe line to /etc/rc.d/rc.modules.

Welcome to LQ!

cheers

Jamie...
 
Old 07-31-2003, 09:14 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You should just be able to add the lines to /etc/rc.d/rc.modules if you wish to load the correct modules. Although, once those directories exist the vmware installer should put the necessary files in them. At boot time the Slackware rc.sysinitv script should noctice they are there and execute them.

cheers

Jamie...
 
Old 07-31-2003, 02:15 PM   #5
duister
LQ Newbie
 
Registered: Jul 2003
Location: Belgium
Distribution: slackware 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
slackware and vmware installation probs

Thanks for the reply, but i found a nice solution. i used a small textfile i found on the net with installation instructions for vmware and slackware

I hope a large message like this is allowed in here but i'll put the installation guide in here to help other ppl with the same prob, i made a small resume:

manual installation vmware on slackware:
before installation:
You might want to do the following:

cd /etc
mkdir init.d
for i in {0,1,2,3,4,5,6}; do mkdir rc$i.d; done
run the installation by untarring the filen and go to the directory where you untarred it:
and run the following:
./vmware-install.pl

during installation:
When it asks you for the location of your startup scripts... and mentions rc0.d to rc6.d... you want to tell it /etc is the directory - since that's where we just created the temporary directories.

So... run through the prompts, answer the questions according to your preferences, etc... until you get to the part where it asks you if you want to run vmware-config.pl. DO NOT choose to run this now - you need to start the script manually with arguments. The setup should quit after you decline to run vmware-config.pl

after installation:
run
cd /usr/local/bin
./vmware-config.pl --compile

The extra --compile switch above forces vmware-config.pl to compile fresh modules for your system.

okay. Run through the remainder of the prompts, etc... until the script eventually finishes.

Once you are done running the install/config scripts - you probably want to make some minor changes to fit the Slackware/BSD scenario.

Copy the vmware script in /etc/init.d to /etc/rc.d/rc.vmware and make it executable.

cp /etc/init.d/vmware /etc/rc.d/rc.vmware
chmod +x /etc/rc.d/rc.vmware

Add a few lines to /etc/rc.d/rc.local to set up VMware when you boot the computer

(In /etc/rc.d/rc.local)

if [ -x /etc/rc.d/rc.vmware ]; then
/etc/rc.d/rc.vmware start
fi

Now... you can go back and get rid of the temporary /etc/init.d, /etc/rc[0-6].d fixes.

rm -rf /etc/init.d
for i in {0,1,2,3,4,5,6}; do rm -rf /etc/rc$i.d; done





Quote:
Originally posted by jharris
You should just be able to add the lines to /etc/rc.d/rc.modules if you wish to load the correct modules. Although, once those directories exist the vmware installer should put the necessary files in them. At boot time the Slackware rc.sysinitv script should noctice they are there and execute them.

cheers

Jamie...
 
  


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: trouble with loading of vmmon -- already compilled Adony Linux - Software 6 01-17-2012 10:11 PM
Vmware missing device /dev/vmmon blavish Linux - Software 4 08-01-2010 04:49 AM
Trying to install VMWare Workstation on Suse 9. Needs to compile vmmon modules. PatSpencer SUSE / openSUSE 2 12-18-2004 07:07 PM
VMware vmmon building error Akuji Slackware 2 02-01-2004 07:58 AM
vmware probs mr_mandrill Slackware 6 09-09-2002 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:58 AM.

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