LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-12-2006, 01:31 PM   #1
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Rep: Reputation: 30
slackware + vmware


Hey I followed a guide to install vmware on slackware. The installation went fine, but when I type the vmware command I get this output:
Code:
hosler@desk:~$ vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.
I ran the configure script 3 times, and of course it didn't fix anything. Anyone know a solution?

I followed this guide: http://www.cs.ucr.edu/~jbyrne/vmware.htm
 
Old 02-12-2006, 03:10 PM   #2
tizzef
Member
 
Registered: Jan 2005
Location: Nice, France
Distribution: Ubuntu,RHES, Mandriva, RHAS, AIX 4.3.3, 5.2 & 5.3, Debian,Solaris8/10
Posts: 119

Rep: Reputation: 20
Which version of kernel do you run ??
 
Old 02-12-2006, 03:22 PM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by hosler
I ran the configure script 3 times, and of course it didn't fix anything. Anyone know a solution?
Then you must have had error messages when running `vmware-config.pl`. Please run it again and post the output.
 
Old 02-12-2006, 08:47 PM   #4
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
Im am running kernel version 2.6.15.2, and here is my ouput:
Code:
root@desk:/usr/bin# vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

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)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.15.2/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.15.2/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.15.2'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.15.2'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.15.2/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.15.2'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_compat.o
  SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.15.2'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

This program previously created the file /etc/init.d/rc2.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc3.d/S90vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc3.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc5.d/S90vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc5.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc0.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc6.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

Starting VMware services:
   Virtual machine monitor                                             done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                  failed
   Host-only networking on /dev/vmnet1 (background)                    done
   Host-only networking on /dev/vmnet8 (background)                    done
   NAT service on /dev/vmnet8                                          done

The configuration of VMware Workstation 5.5.1 build-19175 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".

Enjoy,

--the VMware team
 
Old 02-12-2006, 11:49 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
I may be crazy, nut I think I know what the problem is.

VMWare is installed and configured via perl scripts. These scripts assume SysVInit. Slackware uses it's own BSD style init.

In your post, you note the output of vmware-config.pl (condensed for easy reading):
Code:
This program previously created the file /etc/init.d/rc2.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc3.d/S90vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc3.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc5.d/S90vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc5.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc0.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.

This program previously created the file /etc/init.d/rc6.d/K08vmware, and was
about to remove it.  Somebody else apparently did it already.
I'm going to wager a whacky guess that the correct files were never created.

No I don't know how much this will help you, but I have installed vmware-player on my system and had it work, so....

You should know that Slackware uses a BSD-style init system by default, BUT it also recognizes SysVInit init systems (what VMWare install script is expecting).

I created a directory, /etc/rc.d/init.d

Inside the /etc/rc.d/init.d directory is one lonely file, vmware (maybe this is different for VMWare vs. VMWare-Player, but I doubt it).

I created a bunch more directories, /etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc3.d /etc/rc.d/rc4.d /etc/rc.d/rc5.d /etc/rc.d/rc6.d

Now when I installed VMWare-Player, I pointed stuff in the right direction (I haven't bothered reading your link, so maybe you did, but I'll bet you didn't).

Anyway the next important note is that runlevel 5 is the GUI runlevel for everybody but Slackware. So you will want to make /etc/rc.d/rc4.d and /etc/rc.d/rc5.d look the same.

Each of the directories (/etc/rc.d/rc?.d) is refering to a specific runlevel.

When your all done, remember that the /etc/rc.d/rc?.d files are just symlinks (they all should point to /etc/rc.d/init.d/vmware or eq., regardless of name)


/etc/rc.d/rc0.d - K08vwmare

/etc/rc.d/rc1.d - Nothing

/etc/rc.d/rc2.d - K08vwmare and S90vmware

/etc/rc.d/rc3.d - K08vwmare and S90vmware

/etc/rc.d/rc4.d - K08vwmare and S90vmware

/etc/rc.d/rc5.d - K08vwmare and S90vmware

/etc/rc.d/rc6.d - K08vwmare

It's late so I hope this all makes sense. Alternatively, I believe Jong has a post on using a SlackBuild to convert the perl installation over to use the native Slackware init system. If you search the forum, it shouldn;t be hard to find (search "vmware slackware", there aren't that many entries, as I recall).
 
Old 02-13-2006, 03:14 AM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
shilo, these information are already in the document hosler refers to.
hosler, try starting the vmware services manually and post us the result.
 
Old 02-13-2006, 04:21 PM   #7
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
Code:
root@desk:/etc/rc.d# ./rc.vmware stop
Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done
root@desk:/etc/rc.d# ./rc.vmware start
VMware Workstation is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.

root@desk:/etc/rc.d#
 
Old 02-13-2006, 04:44 PM   #8
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
get the most current patch vmware-any-to-any-updateXX.tar.gz. Apply it and try to reconfigure your vmware workstation.
 
Old 02-13-2006, 06:05 PM   #9
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
I allready have the latest.
 
Old 02-13-2006, 06:17 PM   #10
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
why don't you try to use an older kernel? I have 2.6.15 and VMWare workstation 5.5 and the any-any-update96 working normally (like a charm should I say?). I mean, likely you don't need to be that bleeding-edge, do you?
 
Old 02-13-2006, 09:07 PM   #11
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
You'll always get that kind of error if there is already an inserted vmnet module in the kernel when you vmware-config.pl. Run the script with a stop arguement and then config it... I find it hard to believe there is always an inserted module when you run vmware-config.pl but you never know I guess. If you have something in rc.local to fire it up then that's what's happening.

I don't think there is an any-any update for the latest vmware. 10:1 you have an inserted module every time you try to run vmware-config.pl... It's "supposed" run a stop arguement but that doesn't always work from expierence..

Last edited by jong357; 02-14-2006 at 03:24 AM.
 
Old 02-14-2006, 05:18 PM   #12
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
I fixed the problem. I downgraded to kernel 2.6.15, but I still had the same error. I looked around my system and found the file /etc/vmware/not_configured. I deleted that file and it worked.
 
Old 02-26-2006, 01:33 PM   #13
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
I use that guide, and it always works.

If you follow it through, you should have it running correctly, I do all except "Options for Guest Operating Systems under VMware..." and below.
 
Old 02-26-2006, 05:09 PM   #14
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
(You have to run ./vmware-config.pl --compile.)

Nevermind, my bad. I see it compiled those anyway. Sorry.

Last edited by pdw_hu; 02-26-2006 at 05:11 PM.
 
  


Reply

Tags
vmware



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
Slackware 10.0 on VMware danworth Slackware 4 03-21-2007 03:30 PM
slackware 9.0 on Vmware Kedelfor Slackware 9 01-12-2004 07:45 PM
slackware 8.1 under VMWare... sqn Slackware 1 06-26-2003 04:27 AM
VMware on Slackware kruzta Slackware 3 05-19-2003 09:53 AM
help Slackware 8.1 and vmware 4 qmon2002 Slackware 0 04-14-2003 07:09 PM

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

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