LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VMWARE 4.0 problems installing on Redhat 9 (https://www.linuxquestions.org/questions/linux-software-2/vmware-4-0-problems-installing-on-redhat-9-a-56293/)

cheeselegacy 04-22-2003 01:11 PM

VMWARE 4.0 problems installing on Redhat 9
 
Pardon my ignorance, I'm a windows user.

I've been trying to install/configure VMWARE 4.0 on an install of Redhat 9. I'm stuck when the config asks "What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]" . I've tried a few directories with no luck. I've also applied the vmware-any-any-update27 with no resulting change. Does version 4 even work with redhat 9 or am I more likely doing something wrong?

Please help.

wlfdgcrkz 04-22-2003 06:14 PM

I was not able to complete my install either

ritzlmayr 04-24-2003 08:38 AM

You have to have your kernel sources installed (not default). The Installer should be able to autodetect your sources after that.

cheeselegacy 04-24-2003 10:59 AM

Where do I get the Kernel sources so I can install them?

ritzlmayr 04-24-2003 12:16 PM

they are on the redhat cd´s. To install them just execute redhat-config-packages and mark the checkbox next to kernel-development.

cheeselegacy 04-24-2003 03:00 PM

Installed Kernel-development but still getting the same error:

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

ritzlmayr 04-24-2003 04:48 PM

I checked on one of my boxes (also RH9) here it is /usr/src/linux-2.4/include
just for my curiosity I tried to install vmware: it works on my box with this directory
one thing you should keep in mind is that if you modify your kernel settings, for example if you want to compile your own customized kernel, you might get into trouble recompiling the vmware modules - that what happend to me with an older version of vmware - it took me a while to figure out what kernel settings vmware needs and wich are not allowed
if you would like to keep the default setting within the vmware installation then you also could make a symbolic link with the command
ln -s /usr/src/linux-2.4 /usr/src/linux

cheeselegacy 04-24-2003 05:41 PM

Thanks. Making some progress now. I also compiled a customized kernel to get here, but I'm getting a different error message that looks a little more optimistic.

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/src/linux-2.4/include

The directory of kernel headers (version 2.4.20-9) does not match your running kernel (version 2.4.20-8). Even if the module were to compile successfully, it would not load into the running kernel.

ritzlmayr 04-24-2003 05:50 PM

Interesting! Did you really get the sources from the cd´s? It doesn´t look so. 2.4.20-9 is an errata kernel from redhat not the one wich was shipped with rh9. Anyhow - of course your kernel and the sources have to match. Otherwise you are compiling a module for a different kernel.

robble 04-25-2003 09:45 AM

cheeselegacy:

It looks like you updated to the latest errata kernel without rebooting and starting it.

Reboot, start with -8 and give it a try.

cheeselegacy 04-25-2003 09:47 AM

After recompiling the kernel to get the C headers in the right path, there are now two options on teh boot loader. the new linux custom kernel didn't work, but failed with some initrd problem. The old option loaded up fine and VMWARE is WORKING with the 2.4.20-9 kernel. Thanks for all the help.

Now how do I clean up the mess I created by recompiling the kernel and remove the orphaned files I probably left behind.

robble 04-25-2003 10:25 AM

Wow cool, how did you do it? I'm still trying...

I have 2.4.20-9 running, but I get a compile error.

It does complain about my version of gcc, but it allows me to continue past that.

It blows up on "warning: VNetProcessOwnsPort' defined but not used
make: *** [driver.o] Error 1
Unable to build the vmnet module

---Oh sweet I just got it running, the RPM didn't want to install for me but the tarball was fine.

Life is good again. :)

cheeselegacy 04-25-2003 11:02 AM

I'd tell you, but I don't understand linux well enough or what I really did to get it to work. Sorry.

Vmware is running now, but can't get XP installed. keep getting errors like "cannot execute binary file" and "Nautilus has no installed viewer capable of displaying "/mnt/cdrom/setup.exe"

robble 04-25-2003 11:05 AM

I should have posted a new message instead of editing, but I did get it running.

The tarball seems to be more forgiving.

cheeselegacy 04-25-2003 11:31 AM

Robble,

Where you able to get an OS installed after you got VMWARE working? if you did, how did you do it? VMWARE start accessing the cdrom with "Setup is checking ...." then the drive spins down and stops.

robble 04-25-2003 01:03 PM

No, I keep getting a "No bootable CD floppy or hard disk was detected." error.

Someday this puppy'll work...

cheeselegacy 04-25-2003 01:10 PM

Perhaps I wasn't patient enough, after an hour of waiting, XP is finally installing

robble 04-25-2003 01:14 PM

Hmm, nice - how did you get it to install?

Patience is a virtue, but I wish it was a pill.

robble 04-25-2003 01:15 PM

Oh I see - now 2k is installing for me.

I had to enable Legacy Support for the VM. Nice.

Electro 04-25-2003 09:03 PM

I have VMware 4.0 beta. I never had any problems installing or running. My computer is an AMD Athlon 700 MHz 'Classic' with 512 megabytes of PC133 memory. I can access my cdrom and floppy drive without any problem. VMware is only medium fast when I have it in a window, but in fullsceen it is very fast. I don't know what computers you have but VMware runs fast on my system.

I tried running Half-life. Its skippy.

BTW, check your systems for an useless programs and turn off all the special effects that X Window does.

X3n0n 05-19-2003 12:51 PM

i've been using VMware for ageses running 2k on rh 8 and once i got it working ( a little fiddling about) it was quite encridible any way i've upgraded to RH9 and now it won't make a module for my kernel 2.4.20-8
the fun starts:

make: Entering directory `/tmp/vmware-config1/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.4.20-8'
In file included from ../linux/driver.c:22:
/usr/src/linux-2.4.20-8/include/linux/malloc.h:4:2: #error linux/malloc.h is dep
recated, use linux/slab.h instead.
In file included from ../linux/driver.c:44:
../include/x86.h:674:1: warning: "APIC_ID_MASK" redefined
In file included from /usr/src/linux-2.4.20-8/include/asm/fixmap.h:18,
from /usr/src/linux-2.4.20-8/include/asm/pgtable.h:17,
from /usr/src/linux-2.4.20-8/include/linux/mm.h:41,
from /usr/src/linux-2.4.20-8/include/linux/slab.h:14,
from /usr/src/linux-2.4.20-8/include/linux/malloc.h:6,
from ../linux/driver.c:22:
/usr/src/linux-2.4.20-8/include/asm/apicdef.h:14:1: warning: this is the locatio
n of the previous definition
In file included from ../linux/driver.c:44:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
make[2]: *** [driver.d] Error 1
make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.4.20-8'
make[1]: *** [deps] Error 2
make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.


All times are GMT -5. The time now is 05:54 AM.