LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VMWare Linux Kernel address space mis-match (https://www.linuxquestions.org/questions/linux-newbie-8/vmware-linux-kernel-address-space-mis-match-288738/)

madiyaan 02-10-2005 09:08 PM

VMWare Linux Kernel address space mis-match
 
hey all,
I have a Fedora Core 3 default installation, kernel version 2.6.9-1.667. I'm trying to run my Windows from within my Linux-box. I just installed VMWare and ran it.
Code:

vmware
This gave me a message saying that I have to (re-)configure vmware-config.pl. I, therefore, ran vmware-config.pl, and had this interaction with it on the command line.
Code:

[root@r57h63 madiyaan]# vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
  Virtual machine monitor                                [  OK  ]

grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules 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] 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? [/usr/src/linux/include] /lib/modules/2.6.9-1.667/source

The path "/lib/modules/2.6.9-1.667/source" is an existing directory, but it doesnot contain at least one of these directories "linux", "asm", "net" as expected.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /lib/modules/2.6.9-1.667/source/include

The kernel defined by this directory of header files does not have the same
address space size as your running kernel.

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

The final error message that I get is this:
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.

I searched a bit online and tried to apply this patch:
http://ck.kolivas.org/patches/2.6/2.6.9/2.6.9-ck1/
But I can't figure out how to apply it to my system. Can anyone help me please?
Thanks,

btmiller 02-10-2005 09:55 PM

Before you try to apply the patch, make sure you have your kernel headers installed. i think in FC3 the RPM is glibc-kernel-headers ... int any case, rpm -qa | grep kernel will give you the list of kernel packages installed on your system. If the kernel headers aren't installed, you may have to get them. You may also need the kernel source.

In any case, you'd apopply the patch via the patch command in the kernel source tree, and then recompile your kernel.

gloriant 06-19-2006 04:42 AM

header files does not have the same address space
 
Quote:

Originally Posted by madiyaan
kernel version 2.6.9-1.667.
...
I just installed VMWare
...
vmware-config.pl.

Code:

The kernel defined by this directory of header files
does not have the same address space size as your
running kernel.


You should try to install the vmware-any-any-update101 from
http://mirror.vmmatrix.net/vmware-any-any-update/

Code:

site=http://mirror.vmmatrix.net/vmware-any-any-update/
arch=vmware-any-any-update101
cd /tmp && curl ${site}${arch}.tar.gz | tar zx -
if [ ! ${?} ]; then echo "error extracting $arch" >&2; exit -1; fi
cd ${arch} && su - -c "./runme.pl"

su - -c "vmware-config.pl"


prozac 06-19-2006 05:22 AM

this issue has already been discussed and solved. please use the search to find it.

chadtex 06-19-2006 09:03 PM

i agree with prozac.


All times are GMT -5. The time now is 11:35 AM.