Hello all,

I'm new here and need your help for a litle thing.
I'm trying to install a vmware 4 on Mandrake 9.1 Linux.

But, the installation freeze after the message that show two different identifications to my kernel. One 2.4.x and other 2.4.x-mdk. IN fact I think it's the same but they doesn't continue.

Could someone help me about it.

The vmware home page have an advice that MDK 9.1 had not compliance. But I know that several people can run in it.

Well, thanks in advance.

Eduardo - Rio, Brasil

Dani AI

Generated

Brief diagnosis and practical fixes for the installer message about mismatched kernel versions (2.4.21 vs 2.4.21-0.13mdk). This commonly means the kernel headers/source under /usr/src do not match the running kernel (different patch suffix or different architecture). correctly flagged the header-location issue; below are concrete checks and remedies that expand on that advice and address 's "address space size" observation (usually a 32-bit vs 64-bit mismatch).

Useful diagnostic commands (examples):

uname -r
uname -m
ls -l /usr/src
ls -l /usr/src/linux
ls -l /lib/modules/$(uname -r)/build
rpm -qa | egrep 'kernel|source|headers'

Interpretation and fixes

  • If uname -r prints something like 2.4.21-0.13mdk but /usr/src/linux links to 2.4.21 (no -mdk), install the kernel source/headers package that exactly matches the running kernel, using Mandrake's package tools (urpmi) or rpm. After the correct package is installed, ensure /usr/src/linux points to that tree and that /lib/modules/$(uname -r)/build points to it as well. Example (only if the named directory exists):
    ln -sf /usr/src/linux-$(uname -r) /usr/src/linux
    ln -sf /usr/src/linux /lib/modules/$(uname -r)/build
  • The "kernel defined by this directory ... does not have the same address space size" message usually means an architecture mismatch. Confirm with uname -m (x86_64 vs i686). Use kernel headers/source built for the same architecture as the running kernel.

Additional notes and cautions

  • Ensure development tools (gcc, make, binutils) are installed before compiling modules.
  • Do not point /usr/src/linux at an unrelated source tree — the version and architecture must match exactly.
  • After the correct headers/source are in place and any necessary symlinks updated, rerun vmware-install.pl so the modules are built against the matching tree.

Recommended Answers

All 11 Replies

I'm confused - which version of the kernel are you running? Are you using a precompiled version of VMWare or are you trying to compile it yourself? an *.rpm ??

Dani,
First, Thank you for the quick reply.

I need to confirm, please wait a minute and I'll came back with the answer.
Regards
Eduardo

Hi,
I'm back!

The installation is from the ./vmware-install.pl command, so I think it is not an precompiled pack.

The message appears just after the ask for:

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

And the message before the freeze is:

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

And, I don't know what is going on.

Thanks again for the help & reagrds,

Eduardo

Why did you post as a new thread? I merged your 2 threads into this one.

Ok, sorry!

Hi all,

Sorry if I post the issue as new one. But this way the massage have a better visibility.

I'm trying to install vmware 4 on Mandrake Linux 9.1 and cannot pass from the problem related below:

The installation is from the ./vmware-install.pl command, so I think it is not an precompiled pack.

The message appears just after the ask for:

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

And the message before the freeze is:

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

And, I don't know what is going on.

Thanks again for the help & reagrds,

Eduardo

You posted a new thread again. Please use the Post Reply button and not the New Post button. Thanks.

I'm guilt !! - Sorry!!

Best wishes,
Eduardo

OK, it seems as if you're trying to use a precompiled version of VMWare instead of compiling it itself for your kernel. Go back to the VMware site and read the following:

Make sure that your header files are indeed in /usr/src/linux/include and not somewhere else. You cannot compile the modules without them.

Sorry, I haven't used VMWare in years and I'm about to run out now.

Once again, Thanks a lot.

I'll read the suggested link.

Tell you later about it.

Bye!

i am running Mnadrake 9.2 64-Bit, also trying to install VMWare Workstation 4 also and i get this error..

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

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

anyone have any ideas on how to fix this? please?

thanks in adv...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.