solarian Posted September 7, 2004 Report Share Posted September 7, 2004 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 Quote Link to comment Share on other sites More sharing options...
Padma Posted September 7, 2004 Report Share Posted September 7, 2004 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. ;) ) Quote Link to comment Share on other sites More sharing options...
solarian Posted September 8, 2004 Author Report Share Posted September 8, 2004 it doesn't me give this option [root@localhost]# urpmi kernel Everything already installed how do I get to the option? Quote Link to comment Share on other sites More sharing options...
solarian Posted September 8, 2004 Author Report Share Posted September 8, 2004 (edited) 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 Edited September 8, 2004 by solarian Quote Link to comment Share on other sites More sharing options...
solarian Posted September 8, 2004 Author Report Share Posted September 8, 2004 (edited) ok, I typed in 4 and now it is downloading it I'm a bit nervous when it comes to kernels :ph34r: ftp://ftp.ikoula.com/pub/ftp.mandrake-lin...1-1mdk.i586.rpm Edited September 8, 2004 by solarian Quote Link to comment Share on other sites More sharing options...
solarian Posted September 8, 2004 Author Report Share Posted September 8, 2004 ok, the new kernel is running now Quote Link to comment Share on other sites More sharing options...
solarian Posted September 8, 2004 Author Report Share Posted September 8, 2004 (edited) 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? 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. I should probably go back to the 2.6-7 Edited September 8, 2004 by solarian Quote Link to comment Share on other sites More sharing options...
phunni Posted September 9, 2004 Report Share Posted September 9, 2004 you need to make sure you've got the kernel sources installed for the kernel you are running. You then use these sources when you are building the vmware modules Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.