Results 1 to 7 of 7

Thread: Mismatched kernel and kernel sources

  1. #1

    Default Mismatched kernel and kernel sources

    openSuse v11.1 x86_64 SMP

    The loaded kernel is 2.6.27.7-9.
    The kernel sources from a download site is 2.6.27.29-0.1.1.

    VirtualBox expects to build a driver from the kernel sources but, as noted above, they do not match. There does not appear to be a 2.6.27.29 kernel available. Is this true?

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Mismatched kernel and kernel sources

    I'm showing

    2.6.27.29-0.1-pae

    Code:
    rpm -qi kernel-source
    Name        : kernel-source                Relocations: /usr/src
    Version     : 2.6.27.29                         Vendor: openSUSE
    Release     : 0.1.1                         Build Date: Sun 16 Aug 2009 11:13:52 BST
    Install Date: Mon 24 Aug 2009 15:28:40 BST      Build Host: rinck
    Group       : Development/Sources           Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
    Size        : 309251954                        License: GPL v2 only
    Signature   : RSA/8, Sun 16 Aug 2009 11:27:25 BST, Key ID b88b2fd43dbdc284
    Packager    : http://bugs.opensuse.org
    URL         : http://www.kernel.org/
    Summary     : The Linux Kernel Sources
    Description :
    Linux kernel sources with many fixes and improvements.
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Mismatched kernel and kernel sources

    Yes, that is the kernel-source I have installed. That is *not* the running kernel, though.

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Mismatched kernel and kernel sources

    Open a terminal and post result of

    Code:
    zypper lr -d
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Mismatched kernel and kernel sources

    The kernel is as I quote also, they match. You need to update.
    But the zypper info will just confirm for us that your repos are in good order to update.
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Mismatched kernel and kernel sources

    Also see here
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7

    Default Re: Mismatched kernel and kernel sources

    Okay, user error.

    I was deciding between openSuse and Mandriva distros. Mandriva was installed and I then installed openSuse over that. It did not go all that well.

    By wiping the disks and starting from scratch all of the updates installed as expected. The running kernel and kernel sources now match.

    BTW I decided openSuse is a better fit for us.

Tags for this Thread

Posting Permissions

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