Find the answer to your Linux question:
Results 1 to 8 of 8
Output from uname -a Linux xxxxx 2.6.16.60-0.14-smp #1 SMP Mon Apr 7 13:24:46 UTC 2008 i686 i686 i386 GNU/Linux This is on an installation of SuSE v10 sp2 I can't ...
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    4

    Needing kernel-source that matches kernel version.

    Output from uname -a
    Linux xxxxx 2.6.16.60-0.14-smp #1 SMP Mon Apr 7 13:24:46 UTC 2008 i686 i686 i386 GNU/Linux
    This is on an installation of SuSE v10 sp2

    I can't find the source files for this kernel version. Attempting to install vmware and needs to compile a dependency module but headers don't match kernel..

    error states:
    The directory of kernel headers (version 2.6.16.54-0.2.10-smp) does not match your running kernel (version 2.6.16.60-0.14-smp). Even if the module were to compile successfully, it would not load into the running kernel.


    How do I correct this?

    thanks,
    karl

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Are you trying to compile from source, or install from a repo? Installation from a repo (using Yast) shouldn't cause this problem (I think).
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    He is speaking about VMware which is not available in a RPM or from a repository. You must use the installer. The installer requires that the Kernel-source is installed and matches the running kernel. I suspect that this machine had it's kernel updated outside of Yast. And the sourve did not get updated.
    First off try to determine why you are running the version you are. An how it got that way. Determine the latest Kernel version available via the Yast this should also have the source package.

    Lastly this is a commercial product if the kernel upgrade came from a Novell repository they must also supply the source since they are distributing the binary.

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Search for the available kernel-source packages:

    Code:
    zypper se kernel-source
    Install the kernel source package you need.

  5. #5
    Just Joined!
    Join Date
    Jul 2004
    Posts
    4
    Quote Originally Posted by HROAdmin26 View Post
    Search for the available kernel-source packages:

    Code:
    zypper se kernel-source
    Install the kernel source package you need.
    Well, running this command shows this:
    Restoring system sources...
    Parsing metadata for SUSE Linux Enterprise Server 10...
    Parsing metadata for SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517...
    S | Catalog | Type | Name | Version | Arch
    --+------------------------------------------------------------------+---------+---------------+------------------+-----
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.54-0.2.3 | i586
    i | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.54-0.2.8 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.53-0.16 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.46-0.14 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.53-0.8 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.54-0.2.10 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.54-0.2.5 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.46-0.14 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | atom | kernel-source | 2.6.16.46-0.13 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.53-0.8 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.53-0.16 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.54-0.2.3 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.54-0.2.5 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.54-0.2.8 | i586
    i | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.54-0.2.10 | i586
    v | SUSE-Linux-Enterprise-Server-SP2-migration-10-24-20081001-081517 | package | kernel-source | 2.6.16.46-0.13 | i586


    None of which would appear to be for version 2.6.16.60-0.14-smp

  6. #6
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Why not just go to Yast Software Management and load the latest kernel-default and kernel-source from there?
    Pete

  7. #7
    Just Joined!
    Join Date
    Jul 2004
    Posts
    4

    Unhappy

    Quote Originally Posted by peteh View Post
    Why not just go to Yast Software Management and load the latest kernel-default and kernel-source from there?
    I tried this but it's reporting the same out of date version that I already have on the system.

  8. #8
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by karlkras View Post
    I tried this but it's reporting the same out of date version that I already have on the system.
    But at least you'd have a matching default and source.
    Pete

Posting Permissions

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