LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-12-2008, 08:32 PM   #1
Mig21
Member
 
Registered: Jan 2005
Posts: 193

Rep: Reputation: 33
Vmware on Slackware 12.1


Did anyone manage to install vmware on Slackware 12.1?

I get this in vmware-config.pl:

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

None of the pre-built vmmon modules for VMware Server 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.24.5-smp/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-config1/vmmon-only'
make -C /lib/modules/2.6.24.5-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:48:
/tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:161: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait'
include/linux/poll.h:65: error: previous declaration of 'poll_initwait' was here
/tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/vmware-config1/vmmon-only/linux/driver.c:1659: error: 'struct mm_struct' has no member named 'dumpable'
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/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.
Thanks in advance
 
Old 05-12-2008, 08:42 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
It could be the kernel version. I haven't been able to get VMWare Workstation 5.5.6 (build 80404) to work on any kernel later than 2.6.23.1. I believe version 6 supports later kernels though.

Even using vmware-any-any-update115.tar.gz hasn't helped.
 
Old 05-13-2008, 01:29 AM   #3
reikyv
Member
 
Registered: Oct 2007
Location: Malaysia
Distribution: Slackware
Posts: 80

Rep: Reputation: 15
I have VMWare server running fine in 12.1.

Just download the VMware server 1.0.5 and apply VMware-any-any-update-116 patch.
 
Old 05-13-2008, 01:45 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Can you post the location of VMware-any-any-update-116? I've been using http://knihovny.cvut.cz/ftp/pub/vmwa...date115.tar.gz so if there's a later version I'd like to try it.
 
Old 05-13-2008, 03:02 PM   #5
reikyv
Member
 
Registered: Oct 2007
Location: Malaysia
Distribution: Slackware
Posts: 80

Rep: Reputation: 15
Hi, here is.
 
Old 05-13-2008, 07:44 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Thank you for that reikyv I'll try it this evening.
 
Old 05-14-2008, 12:22 PM   #7
dickinse
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
VMWare Slack 12.1

Hello,
I have a pretty clean install of Slack 12.1

My VMWare Workstation 5.5 does not install on it.
OK
So I down loaded MV-Player and 6 Workstation.

All fail the compile.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24.5-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/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.

Thank you

eric
 
Old 05-14-2008, 02:08 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
dickinse, have you tried the updated VMware-any-any-update-116 patch that reikyv posted the link to? The vmware-any-any-updates are usually good at resolving kernel version issues.
 
Old 05-14-2008, 02:41 PM   #9
Cuetzpallin
Member
 
Registered: Feb 2008
Location: Monterrey, MX
Distribution: Slackware since 3.4 and love it!!!
Posts: 162

Rep: Reputation: 31
What about Virtual box? does anyone try with it?
 
Old 05-15-2008, 06:21 AM   #10
dickinse
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
Slack 12.1 VMWare

OK. Give me 5 or 6 tries and I will figure it out.

It took me a while to figure out just how to run the patch116.

Thank you for you help!

eric
 
Old 05-15-2008, 07:43 AM   #11
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 221

Rep: Reputation: 16
it installed fine after running the vmware-any-any-update-116.tgz. Just extract, cd to its directory and run, as root,
Code:
# ./runme.pl

Last edited by gtludwig; 06-10-2008 at 07:35 AM. Reason: spelling correction
 
Old 05-15-2008, 06:37 PM   #12
Mig21
Member
 
Registered: Jan 2005
Posts: 193

Original Poster
Rep: Reputation: 33
Thanks guys, the update fixed it for me.

Out of curiosity - why is it on download.thecolorfulways.com and not on vmware.com?
 
Old 05-16-2008, 07:30 AM   #13
reikyv
Member
 
Registered: Oct 2007
Location: Malaysia
Distribution: Slackware
Posts: 80

Rep: Reputation: 15
Hi Mig21,

This is because I am lazy to find out where I download the 116 from. So I upload it to my own server instead of wasting my time to google it again.

;-)

P.S. I even saw a 117 version, but didn't give it a try as 116 fixed my problem.
 
Old 06-09-2008, 09:45 PM   #14
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Newer VMware version should work fine

Latest Version: 1.0.6 | 5/29/08 | Build 91891

I installed this version on a Slackware 12.1 box today and everything worked fine. I did not have to use an any-any-update patch as VMware seems to have caught up with the 2.6.24 kernels with this newest version.

After running vmware-install.pl I simply had to fix a couple of symlinks under /etc/rc.d/rc?.d. The install script assumes we are using runlevel 5 for graphical login (instead of runlevel 4), so you have to
Code:
mv /etc/rc.d/rc5.d/*vmware /etc/rc.d/rc4.d/
If you don't want to use the sysV init scripts you could:
Code:
mv /etc/rc.d/init.d/vmware /etc/rc.d/rc.vmware
chmod +x /etc/rc.d/rc.vmware
rm /etc/rc.d/rc?.d/*vmware
and then add to /etc/rc.d/rc.local
Code:
if [ -x /etc/rc.d/rc.vmware ]; then
  /etc/rc.d/rc.vmware start
fi
and a similar snippet to /etc/rc.d/rc.local_shutdown (make sure rc.local_shutdown is executable)
Code:
if [ -x /etc/rc.d/rc.vmware ]; then
  /etc/rc.d/rc.vmware stop
fi
By the way, I think the newest any-any-updates are at http://groups.google.com/group/vmkernelnewbies/files. I haven't used these as they were not necessary at this time. I don't particularly like using these patches anyways. It would be nice if the VMware site had a page that pointed to some officially supported patches.
 
  


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 2.5 Vmware tools in slackware 12 mr_sarge Slackware 5 07-18-2007 06:14 AM
using slackware in vmware?? Userong Slackware 9 02-28-2007 03:51 PM
Vmware and Slackware 11 ve1drg Slackware - Installation 4 10-23-2006 02:08 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration