Find the answer to your Linux question:
Results 1 to 3 of 3
I am trying to configure VMware Server 1.0.1 build 29996 and it is giving me problems on this area: Code: What is the location of the directory of C header ...
  1. #1
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209

    VMware Server for SUSE 10.1

    I am trying to configure VMware Server 1.0.1 build 29996 and it is giving me problems on this area:

    Code:
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/include
    
    The header files in /usr/include are generally for C libraries, not for the
    running kernel. If you do not have kernel header files in your /usr/src
    directory, you probably do not have the kernel-source package installed. Are
    you sure that /usr/include contains the header files associated with your
    running kernel? [no] yes
    (
    The directory of kernel headers (version 2.6.16) does not match your running
    kernel (version 2.6.16.21-0.25-default).  Even if the module were to compile
    successfully, it would not load into the running kernel.
    I just installed the kernel-source package and tried it again with no luck. I hav ebeen referred to this post:
    http://www.linuxforums.org/forum/sus...on-source.html

    How do you make that source package match my kernel version? Thank you.



    (And btw: I'm testing it on my OSS 10.1 x32 workstation at work. When I get home I'll slap it on my SLED10 laptop.)
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    Try linking the 2.6.16.21-0.25-default to linux-2.6.16 or linux. As root:
    Code:
    ln -s /usr/src/linux-2.6.16.21-0.25-default linux-2.6.16
    ln -s /usr/src/linux-2.6.16.21-0.25-default linux
    *EDIT* I am assuming that the /usr/src/linux-2.6.16.21-0.25-default directory is where the source is. If not, substitute where the source actually is for /usr/src/linux-2.6.16.21-0.25-default

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Just Joined! softh's Avatar
    Join Date
    Dec 2006
    Location
    In the woods, in the middle of nowhere, in Western Kentucky
    Posts
    11

    Talking Installl your specific kernel source

    Hi, I hit this as well in SUSE 10.0 and 10.1 VMware server installs. With the 10.0 install I tried linking the kernel as described by the previous poster. It did work for a while, sort of. But I had to manually init the modules and it eventually crashed horribly, plus I had other problems with VMWare tools not installing. After said crash I never could get VMWare to load properly again, plus it killed ksysv and it would not reinstall which made the manual init process even more tedious.

    I got busy at work and did not have time to play anyway but a few weeks later I got SUSE10.1 installed on a new drive so I decided to just start fresh with VMWare as well. Of course I hit the same mess with the rotten vmware-config.pl and its reversed logic for accepting the license. It seems you got past that though(answer Q for prompts and screen changes and answer N or no for Y or yes, go figure). Note the NY logic reversal is for the license only, the rest seems to work normally.

    The fix, your best bet is to install the kernel source for your existing kernel. That way it is a better bet that VMWare will run properly and safely. I included a link to the kernel-source-2.6.16.21-0.25 source below. Best to install it as with most ancillary stuff on SUSE 10.0 by right clicking on the downloaded RPM and selecting "Open with" --> "Install software". DO NOT let the zen installed handle it, it seems still broken to me. If you try via YAST software manager you will probably not find it in the list, but this depends on the sources you have in your list. Just download it from the link below. I forgot the details now but you may have to dig around in /usr/src to find the correct path to feed the VMWare script.

    Matthew
    http://hypersynergy.com

    kernel-source-2.6.16.21-0.25
    http://rpm.pbone.net/index.php3/stat....i586.rpm.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...