Jump to content

Vmware Server and Kernel source troubles [solved]


Recommended Posts

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 by dave843
Link to comment
Share on other sites

What's the contents of your /usr/src directory?

and post the results.

 

 

# ls -l /usr/src

total 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) + ©)

Link to comment
Share on other sites

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

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...