Find the answer to your Linux question:
Results 1 to 8 of 8
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to patch kernel ?


    How to apply patch-... files, that i download from kernel.org ?

  2. #2
    Linux Newbie
    Join Date
    Dec 2004
    Location
    Barrie, Ontario
    Posts
    219
    The Kernel Build Howto has step by step instructions for patching and compiling the kernel...
    Blog - KB5UMQ - Linux User #272983
    3 Rules:
    1) "It doesn't work..." is simply not useful information.
    2) Don't cross post!
    3) If you are asking for help, start by telling us your distro/os and version.

  3. #3
    If you're using SUSE, why not use Y.O.U. and have it update the kernel automatically? I did it yesterday with no problems (other than having to reinstall my NVIDIA driver).

    All it required was a reboot after completion.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    Yeah, to ensure compatibility, it's probably just a better idea to grab it off YaST.

    Just do a YaST search for "kernel" and "kernel-sources".


    If you really want to compile on your own anyway, then download the kernel, copy your existing .config file into the new directory, then run either

    Code:
    make menuconfig
    if you're in a terminal, or

    Code:
    make xconfig
    if you're in X.

  6. #5
    old thread, to be sure!
    I would like to install a patch to my default opensuse 10.2 for reasons of ACPI (cpufreq scaling not 100% functional, suspend 2 ram not functional, et al)

    I have been doing some preliminary readings (mostly READMEs I found in /usr/src/... directories of my laptop and googling this site, and other sites). I'm still trying to get the hang of this new OS, and I'm afraid that I might mess things up. I've already installed the kernel-source for 'default' opensuse 10.2 kernel onto my hard disk. From what i understand, my first step is backup the '.config' file. If anything goes wrong, I just just built up the default kernel once again (InOtherWords: revert back to default kernel). What other 'precautions' must I make/take before venturing and patching the opensuse default kernel?

    *I will post only one question at a time. Hopefully I can find more help here to progress and to ultimately complete my mission.*

  7. #6
    How can I get to kernel 2.6.19.2 from my current kernel version? I currently have opensuse default kernel 2.6.18.2-34 installed. To update to 2.6.19.2, I'd need to revert the patches to make it back to 2.6.18 and then install the patches 2.6.19, and 2.6.19.1 and 2.6.19.2. Have I got it right?

  8. #7
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Are you talking about vanilla kernels? If so, you don't need to patch the kernel to get a new stable version, you can simply download the full one from kernel.org
    And regarding to your earlier question:
    You can always backup your current kernel sources before patching, another good precaution is to create a new GRUB entry instead of replacing your actual one.
    Don't delete the old binary!! Just copy the new bzImage besides the old one

    Be aware that distribution kernels are not the same as kernel.org sources, they are very similar but not the same.
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  9. #8

    installing vanilla kernels or opensuse kernels, applying patches

    Thank you for replying.

    • If I install a vanilla 2.6.19 kernel will I need to apply patches 2.6.19.1 and 2.6.19.2? I would like to have 2.6.19.2 eventually installed on my computer.
    • If I install a vanilla 2.6.19 kernel, what will happen with the special patches that the SuSE team has added? How can I add those patches to 2.6.19.2?


    Don't delete the old binary!! Just copy the new bzImage besides the old one
    I'm afraid I don't understand what this means? Where is the 'binary'? What is bzImage and where is it located?

    I'm sorry for all of these questions, but I'm just not confident enough to proceed with the limited information I've gleaned through man pages, README's and google. I really would like this to work as smoothly as possible. Your help is terrifically appreciated.
    Thank you

Posting Permissions

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