LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Vmware on Slackware 12.1 (https://www.linuxquestions.org/questions/slackware-14/vmware-on-slackware-12-1-a-641766/)

Mig21 05-12-2008 08:32 PM

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

gilead 05-12-2008 08:42 PM

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.

reikyv 05-13-2008 01:29 AM

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.

gilead 05-13-2008 01:45 PM

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.

reikyv 05-13-2008 03:02 PM

Hi, here is.

gilead 05-13-2008 07:44 PM

Thank you for that reikyv :) I'll try it this evening.

dickinse 05-14-2008 12:22 PM

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

gilead 05-14-2008 02:08 PM

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.

Cuetzpallin 05-14-2008 02:41 PM

What about Virtual box? does anyone try with it?

dickinse 05-15-2008 06:21 AM

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

gtludwig 05-15-2008 07:43 AM

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

Mig21 05-15-2008 06:37 PM

Thanks guys, the update fixed it for me.

Out of curiosity - why is it on download.thecolorfulways.com and not on vmware.com?

reikyv 05-16-2008 07:30 AM

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.

shadowsnipes 06-09-2008 09:45 PM

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.


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