LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-16-2004, 08:03 PM   #1
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
VMware and Slackware 9.1...


Hey I'm trying to install VMware 4.xx but after making an init.d and rc0 -6 dir's VMware cries about doing something with my kernel headers at the present time I have kernel 2.6.2 compiled is there anyway around this?
 
Old 02-16-2004, 09:24 PM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
You need to download the 2.6 patch from http://ftp.cvut.cz/vmware/

IIRC unpack it and run runme.pl instead of the vmware-install script, then vmware-config.pl and you should be good to go. More info at http://kerneltrap.org/node/view/1804
 
Old 02-17-2004, 04:52 AM   #3
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Original Poster
Rep: Reputation: 15
Hey it works! Thanks!

I have a small minor annoying problem, when I install Vwmare it will install fine, and will run fine, but when I reboot it will not run it says when I run it in a console that "vmmon" yes not loaded at startup ..ok so i do a modprobe vmmon and there is no kernel module called that does anyone have any idea's?

Last edited by CryptDragoon; 02-17-2004 at 05:55 AM.
 
Old 02-24-2004, 03:10 AM   #4
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Rep: Reputation: 30
I did that and I am still getting the error:

Unable to build the vmmon module.

any ideas????
 
Old 02-24-2004, 03:41 AM   #5
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
Quote:
Originally posted by CryptDragoon
Hey it works! Thanks!

I have a small minor annoying problem, when I install Vwmare it will install fine, and will run fine, but when I reboot it will not run it says when I run it in a console that "vmmon" yes not loaded at startup ..ok so i do a modprobe vmmon and there is no kernel module called that does anyone have any idea's?
You need to run /etc/rc.d/vmware start
 
Old 02-24-2004, 10:43 AM   #6
delta9
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 66

Rep: Reputation: 15
check http://www.anomalistic.org/ (sroll down)
 
Old 02-24-2004, 12:07 PM   #7
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Quote:
Originally posted by Kovacs
You need to run /etc/rc.d/vmware start
If that doesn't work you may have to re-install vmware. I had to and then it worked great

Peace,
Whitehat
 
Old 03-16-2004, 10:24 PM   #8
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Just a question, I couldnt get it installed at all. - VMware-workstation-4.5.1-7568

I get so far in the install and cannot procede

Code:
What is the directory that contains the init directories (rc0.d/ to
rc6.d/)?
I tried /etc/rc.d/ but that didn't work.

I found this on the VMWare web site, but it still didnt prove much help.

Installing VMware Workstation on a Slackware based distribution
There have been reports of successful VMware Workstation installations by users running a Slackware based distribution. The two important points when starting with a Slackware system are glibc and the boot scripts.

1. Ensure you are either using a glibc version of Slackware (as some of the most recent or Beta versions are) or you have the optional glibc packages installed.

2. Slackware does not use SysV boot (rc) scripts. The easiest thing is to let the install script install /etc/rc.d/init.d/vmware (or where ever you tell it to put the boot script) and then add the following lines to rc.local

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

This should cause the modules to be properly loaded at boot time. Otherwise, you may get errors about opening /dev/vmmon and may have to handrun the scripts. Keep in mind that Slackware is not an explicitly supported distribution, mostly because of its unusual file layout.


Running Slackware 9.1 with kernel 2.4.24

Any help is appreciated

Thanks
Kristijan
 
Old 03-16-2004, 11:19 PM   #9
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Ok, I've gotten it working with help from a user in #slackware channel

[code]cd /etc
mkdir init.d
for i in {0,1,2,3,4,5,6}; do mkdir rc$i.d; done[code]

Seems to work fine now
 
Old 03-17-2004, 01:50 PM   #10
Rick485
Member
 
Registered: Sep 2003
Location: Arizona
Distribution: Kubuntu 8.04
Posts: 202

Rep: Reputation: 30
I am using the older 2.4.24 kernel instead of the newer 2.6.2 kernel that CryptDragoon and Kovacs are using. Last week I sucessfully installed VMWare 4.0.5 in Slackware 9.1. I used the 4.0.5 version of VMWare instead of the 4.5.1 version that became available a few days ago. This detail may not be correct but, I seem to recall hearing that perhaps the newer 4.5.1 version of VMWare would most likely support the 2.6.2 kernel better. I used the instructions below when installing VMWare 4.0.5 in Slack 9.1. If using the newer 2.6.2 kernel then perhaps the links that Kovacs provided would be more helpful. Here is the link with the instructions that I followed:

http://www.cs.ucr.edu/~jbyrne/vmware.htm

In addition to what was mentioned in that web page I had to make a few minor changes to my XF86Config file. I do not recall all the details except that I seem to recall having to make sure that DGA was properly enabled in the XF86Config file. Using Slackware is not officially suported by VMWare so I was not sure if it would work. So far VMWare seems to be working good under my Slack 9.1host but, I have not yet tested all of the VMWare features in my virtual network. At some point in the future I might try both the newer Linux kernel and the newer vesion of VMWare.
 
Old 03-30-2004, 09:04 AM   #11
saf
LQ Newbie
 
Registered: Mar 2004
Location: Bucharest
Distribution: Slackware 10.2
Posts: 26

Rep: Reputation: 15
I've tried to install VMWare 4.01-5289. My problem is as follows:
-i've made /etc/rc0.d-rc6.d and init.d
-i run vmware-install.pl
-when it says to run vmware-config.pl, i say no
-then i run vmware-config.pl --compile, and i get the following errors (after accepting the licence):

grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
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.4/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config11/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config11/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config11/vmmon-only/driver-2.6.4'
make[2]: Leaving directory `/tmp/vmware-config11/vmmon-only/driver-2.6.4'
make[2]: Entering directory `/tmp/vmware-config11/vmmon-only/driver-2.6.4'
../linux/driver.c:133: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:246: error: structure has no member named `prev'
../linux/driver.c:247: error: structure has no member named `next'
../linux/driver.c: In function `Panic':
../linux/driver.c:1304: warning: implicit declaration of function `_exit'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config11/vmmon-only/driver-2.6.4'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config11/vmmon-only'
make: *** [auto-build] 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/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Any ideas pls?
 
Old 03-30-2004, 01:15 PM   #12
TomXL
LQ Newbie
 
Registered: Nov 2003
Location: Rotterdam, The Netherlands
Distribution: slackware 9.1
Posts: 6

Rep: Reputation: 0
Install the latest version of vmware, 4.5.1, and there will be no problems
with kernel 2.6.*

 
Old 03-30-2004, 04:42 PM   #13
Rick485
Member
 
Registered: Sep 2003
Location: Arizona
Distribution: Kubuntu 8.04
Posts: 202

Rep: Reputation: 30
I would like to correct something that I said in my previous post. I was wrong about with kernel I was using. I was not using the 2.4.24 kernel, I was using the 2.4.22 kernel that originally came with Slackware 9.1.

I installed VMWare 4.0.5 and a few days later VMWare 4.5.1 became available but I did not bother upgrading. VMWare 4.5.1 claims to have improvements in support for Linux guest operating systems using kernels in the 2.6 series. The VMware Workstation 4.5 release notes only mention using the 2.6 series kernel on a guest OS. They do not say anything one way or the other about using the 2.6 kernel on a Linux host OS. I suppose it would probably work with the 2.6 series kernel. Here is a link to the release note for the 4.5.1 kernel:

http://www.vmware.com/support/ws45/d...otes_ws45.html

After sucessfully installing VMWare I had a few other small problems to take care of. I had to comment out the Line that disables DGA in my XF86Config file. That resulted in DGA being enabled. I also had to give VMWare permission to use my floppy disk drive. I still learning to use Slackware and am less confident of my skills so I used the older 2.4.22 kernel that is probably better supported by VMWare. I have several virtual machines working good but I still need to make a USB related change to my Slackware host. I think I know how to do that.
 
Old 04-06-2004, 02:43 AM   #14
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Re: VMware and Slackware 9.1...

Quote:
Originally posted by CryptDragoon
Hey I'm trying to install VMware 4.xx but after making an init.d and rc0 -6 dir's
Hi, may I know how do you make the init.d and rc0-6 dir?

I am having problem installing vmware tools and can't get into X.

http://revenant.qsurf.org/slackware6.jpg
 
Old 04-06-2004, 05:23 AM   #15
snop
Member
 
Registered: Aug 2003
Location: Bcn
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
Hi,

I have succesfuly installed vmware 4.5.1 on Slackware 9.1 and kernel 2.6.4-ck1 (a Con Kolivas patched kernel).

There were no problems so far following the instructions found at the link http://www.cs.ucr.edu/~jbyrne/vmware.htm (provided by Rick485).

There you'll find how to create rc.0...rc.6 and everything you need.

Bye

SnOp
 
  


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 5.5 on Slackware how-to jong357 Slackware 16 07-20-2006 01:58 PM
Slackware 10 and VMware hairysocks Linux - Networking 4 09-27-2004 11:10 AM
slackware 8.1 under VMWare... sqn Slackware 1 06-26-2003 04:27 AM
help Slackware 8.1 and vmware 4 qmon2002 Slackware 0 04-14-2003 07:09 PM
VMware 3.2 and Slackware 9/8.1 antibasic Slackware 4 03-29-2003 11:44 AM

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

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