Find the answer to your Linux question:
Results 1 to 4 of 4
Hey there again! I have h3knix, with kernel version 2.6.7. So, I downloaded patches from 2.6.8 to 2.6.10 (which is 2.6.8, 2.6.8.1, 2.6.9 and 2.6.10), and I copied them to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Location
    Here!
    Posts
    18

    Kernel patching


    Hey there again!

    I have h3knix, with kernel version 2.6.7. So, I downloaded patches from 2.6.8 to 2.6.10 (which is 2.6.8, 2.6.8.1, 2.6.9 and 2.6.10), and I copied them to /usr/src/linux. I did patch -p1 < patch-2.6.8, and it patched my kernel just fine. I then did the same for 2.6.8.1, and then, when I tried to do it for 2.6.9, I got the following error:

    Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file usr/Makefile.rej.

    I opened the /usr/src/linux/usr/Makefile.rej file, and it looked like this:

    ***************
    *** 1,7 ****

    obj-y := initramfs_data.o
    - host-progs := gen_init_cpio
    clean-files := initramfs_data_cpio.gz

    --- 1,7 ----

    obj-y := initramfs_data.o
    + hostprogs-y := get_init_cpio
    clean-files := initramfs_data_cpio.gz
    I tried to re-patch the kernel, and I got 'Reversed (or previously applied) patch detected! Asume -R? [n] for every single thing it patched....

    What can I do? What do I have to do to upgrade/corret/fix my kernel?

    Thanks everyone,


    -ardeth

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    try patching it with "-R" on the command line

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Location
    Here!
    Posts
    18
    Thanks for you reply. I will try this as soon as I get back home. I hope I haven't done anything serious to my kernel, or I am d00med... :P

    C ya, and thank again!


    -ardeth

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2005
    Location
    Belarus
    Posts
    14
    one shold apply patches only to increase third number in version:
    2.6.8 could be patched to 2.6.8.1 and 2.6.9
    but without -R option 2.6.8.1 could not be pathced to 2.6.9

    Frankly speaking i do not understand reasons of w.x.y.z versioning policy
    what does the fourth number mean? a gamma-release?

Posting Permissions

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