dave843 Posted April 23, 2006 Report Share Posted April 23, 2006 (edited) I'm trying to install Vmware Server beta on my 2005LE, and I'm having trouble with the kernel source. Uname -r reports 2.6.11-6mdksmp. But then the vmware server install reports The directory of kernel headers (version 2.6.11-6mdk) does not match your running kernel (version 2.6.11-6mdksmp). I've looked around, and I can't seem to find a kernel-source-2.6-2.6.11-6mdksmp anywhere. It's not on my DVD (from a magazine), and not on any mirrors that I can find. Any idea where I can find that rpm? Edited April 26, 2006 by dave843 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 24, 2006 Report Share Posted April 24, 2006 What's the contents of your /usr/src directory? ls -l /usr/src and post the results. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted April 24, 2006 Report Share Posted April 24, 2006 Even better, copypaste here the contents of the file /usr/src/linux/include/linux/version.h Quote Link to comment Share on other sites More sharing options...
dave843 Posted April 25, 2006 Author Report Share Posted April 25, 2006 What's the contents of your /usr/src directory?and post the results. # ls -l /usr/srctotal 8 lrwxrwxrwx 1 root root 17 Apr 22 21:58 linux -> linux-2.6.11-6mdk/ drwxr-xr-x 21 root root 4096 Apr 22 21:58 linux-2.6.11-6mdk/ drwxr-xr-x 3 root root 4096 Feb 23 2005 RPM/ Even better, copypaste here the contents of the file /usr/src/linux/include/linux/version.h cat /usr/src/linux/include/linux/version.h#include <linux/rhconfig.h> #if defined(__module__BOOT) #define UTS_RELEASE "2.6.11-6mdkBOOT" #elif defined(__module__up) #define UTS_RELEASE "2.6.11-6mdk" #elif defined(__module__smp) #define UTS_RELEASE "2.6.11-6mdksmp" #elif defined(__module__i686_up_4GB) #define UTS_RELEASE "2.6.11-6mdk-i686-up-4GB" #elif defined(__module__i586_up_1GB) #define UTS_RELEASE "2.6.11-6mdk-i586-up-1GB" #else #define UTS_RELEASE "2.6.11-6mdkcustom" #endif #define LINUX_VERSION_CODE 132619 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((B) << 8) + ©) Quote Link to comment Share on other sites More sharing options...
scarecrow Posted April 25, 2006 Report Share Posted April 25, 2006 The contents are OK. Simply try symlinking the directory /usr/src/linux-2.6.11-6mdk to /usr/src/linux-2.6.11-6mdksmp Quote Link to comment Share on other sites More sharing options...
dave843 Posted April 26, 2006 Author Report Share Posted April 26, 2006 That initially didn't help either. I think the root of my problem is that my boot partition is a fat partition. And fat doesn't support symolic links. So there was no /boot/kernel.h file. Once I copied /boot/kernel.h-2.6.11-6mdksmp to /boot/kernel.h, it worked just fine. Thanks for the help 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.