Jump to content

VMware config + kernel


Recommended Posts

hey there!

A few days ago using the Mandrake Update I installed the kernel 2.6.-16 source,

but now, when trying to install VMware (in the configuration) I get this message

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

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

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

 

so maybe my new kernel doesn't get booted on the boot and I need to create a kernel image from the kernel source I now have.

 

How do I do it?

thanx!

 

Mod Note:Moved from Software by phunni

Link to comment
Share on other sites

The "normal" method used when running Mandrake Update is to just get the source, in this case, 2.6.3-16MDK. To update your actual running kernel, you can go to the console and type "urpmi kernel". It should give you the new kernel as an option to install.

 

However, I reecently updated my source to 2.6.3-16, but I can't find the -16 kernel itself. (I *AM* running the -15 kernel, but the -16 supposedly has some security fixes.)

 

I suppose we could just compile and install it? (But then, I want some pointers, or at least a link to the correct procedure. I'm a little leery about compiling my own kernel. ;) )

Link to comment
Share on other sites

I tried to type "update" and this is what I got

[root@localhost]# urpmi --update kernel
One of the following packages is needed:
1- kernel-enterprise-2.4.25.8mdk-1-1mdk.i586
2- kernel-i686-up-4GB-2.4.25.8mdk-1-1mdk.i586
3- kernel-2.4.25.8mdk-1-1mdk.i586
4- kernel-2.6.3.16mdk-1-1mdk.i586
5- kernel-enterprise-2.6.3.16mdk-1-1mdk.i586
6- kernel-i686-up-4GB-2.6.3.16mdk-1-1mdk.i586
7- kernel-p3-smp-64GB-2.4.25.8mdk-1-1mdk.i586
8- kernel-secure-2.6.3.16mdk-1-1mdk.i586
9- kernel-smp-2.6.3.16mdk-1-1mdk.i586
10- kernel-p3-smp-64GB-2.6.3.16mdk-1-1mdk.i586
11- kernel-smp-2.4.25.8mdk-1-1mdk.i586
What is your choice? (1-11)

 

does it mean I have to get a kernel package now?

I'm a bit confused :oops:

Edited by solarian
Link to comment
Share on other sites

make[1]: Leaving directory `/usr/src/linux-2.6.3-16mdk'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/root/tmp/vmware-config1/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/root/tmp/vmware-config1/vmmon.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

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.

 

what now? :help:

 

 

Q: Why does vmware-config.pl report "There is probably a light difference of kernel configuration between the set of C header files you specified and your running kernel"?

 

A: This error message is displayed when the configuration program successfully builds custom VMware Workstation modules but they are incompatible with your running kernel. This happens when there is a mismatch between your running kernel and the directory of header files. Some distribution vendors ship a directory of header files that exhibits this problem. We encourage them to fix it. In the meantime, please consider recompiling your Linux kernel. This is the only way to ensure that the directory of header files will match your Linux kernel exactly.

 

:wall::wall:

 

I should probably go back to the 2.6-7 :angry:

Edited by solarian
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...