Results 1 to 6 of 6

Thread: Recompile kernel

  1. #1

    Default Recompile kernel

    Are there instructions on recompiling the kernel? The distribution came with the optimized for desktop kernel and I would like to know what options were used for this so that I can more/less duplicate. The reason I am asking is because I am trying to install some software and it is telling me that the source I have does not match my kernel, which is not possible since I installed the source with the optimized kernel. So, I am hoping a recompile will straighten some of this nonsense out.

    Does that make some kind of sense?

    Thanks,

    Craigbert

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

    Default Re: Recompile kernel

    Yast > Software > Software Management
    Please make sure you have installed the 'base-development' pattern
    http://dl.dropbox.com/u/10573557/Add...ase-devel.jpeg
    That is a kde UI
    If you use gnome it looks a little different

    Then run Yast > Software > Online Update

    You may also need this package: linux-glibc-devel
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Recompile kernel

    Are there instructions on recompiling the kernel? The distribution came with the optimized for desktop kernel and I would like to know what options were used for this so that I can more/less duplicate. The reason I am asking is because I am trying to install some software and it is telling me that the source I have does not match my kernel, which is not possible since I installed the source with the optimized kernel. So, I am hoping a recompile will straighten some of this nonsense out.

    Does that make some kind of sense?

    Thanks,

    Craigbert
    I might also add that a bash script exits that can help you compile a kernel which can be found here in message #62 of the following message thread:

    S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.00

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Recompile kernel


    An alternative is to install the kernel development pattern (it may install
    more than the OP needs).

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Recompile kernel

    On 2011-05-21 20:06, craigbert wrote:
    >
    > Are there instructions on recompiling the kernel?


    /usr/src/linux/README.SUSE

    > The distribution came
    > with the optimized for desktop kernel and I would like to know what
    > options were used for this so that I can more/less duplicate.


    /proc/config.gz

    and somewhere I don't remember.

    > The
    > reason I am asking is because I am trying to install some software and
    > it is telling me that the source I have does not match my kernel, which
    > is not possible since I installed the source with the optimized kernel.


    Do:


    Code:
    cd /usr/src/linux
    make cloneconfig && make scripts && make prepare
    Then your sources will match the running kernel.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #6
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default Re: Recompile kernel

    Emil Beli
    http://www.beli.ws/blog/
    openSUSE 11.4 x64 KDE, ATI 5600, i7 dell inspire laptop

Posting Permissions

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