Results 1 to 6 of 6

Thread: Patching a kernel

  1. #1

    Patching a kernel

    What is the command for patching a kernel? According to the kernel README, it should be gzip -cd patchXX.gz | patch -p0 . However, when i try that, i gives me an error saying that -p0 is not recognized.

  2. #2

    Re:Patching a kernel

    i ussualy put the patch in /usr/src/ and gunzip it there, then i cd to /usr/src/linux and do a patch -p1 < ../patchname then watch a bunch of stuff fly by.

  3. #3

    Re:Patching a kernel

    Just out of curiosity, which or what sort of patches would someone want to apply to their kernel (in my case, 2.4.19)?

  4. #4
    Junior Member
    Join Date
    May 2001

    Re:Patching a kernel

    An easier way still is to put your patches in /usr/src then cd to /usr/src/linux -xxx/scripts and run the patch-kernel utility.

    This will then install all the patches automatically.

  5. #5

    Re:Patching a kernel

    hey frith,
    the pre-emptive patch for one. i know the hpt (i think..) controller and maybe some ac patches.

  6. #6

    Re:Patching a kernel

    i always patch it like this:

    put the patch in /usr/src
    then cd into the linux directory
    and then type:
    patch -Np1 -i ../patchname

    works everytime here

Similar Threads

  1. Trojan piggybacks on Microsoft patching
    By genesis in forum Windows - General Topics
    Replies: 0
    Last Post: 01-26-2005, 11:13 PM
  2. So it seems that a lot of people have a lot of patching to do
    By tolstoy in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 04-22-2004, 01:19 AM
  3. patching ...
    By bYTeGr4v3 in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 07-12-2003, 10:05 AM
  4. ?
    By civ1492 in forum General Chat
    Replies: 4
    Last Post: 12-04-2001, 11:46 AM
  5. Kernel patching.
    By in forum Linux - General Topics
    Replies: 7
    Last Post: 11-23-2001, 03:46 PM


Posting Permissions

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