Find the answer to your Linux question:
Results 1 to 4 of 4
Hi everybody, I am a newbie and want to do some exercise with linux kernels. I download the linux-2.6.21.7 kernel and was able to complied and installed it sucessfully. Now ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    3

    How to upgrade the kernel


    Hi everybody,

    I am a newbie and want to do some exercise with linux kernels. I download the linux-2.6.21.7 kernel and was able to complied and installed it sucessfully. Now , I want to upgrade it to linux-2.6.22 kernel. So I want to know, what is the correct procedure to patch the kernel. So I need to clear the following doubts.

    1. Can I patch the kernel as normal user ?

    2. Do I need to downgrade the 2.6.21.7 to 2.6.21 first to upgrade it to 2.6.22 or I can directly patch the 2.6.21.7 ==> 2.6.22 ?

  2. #2
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397

    Cool

    Hey,
    You cant patch the kernel as normal user as they have limited permissions.Only root user can do that job.
    No need to downgrade directly patch the 2.6.21.7 ==> 2.6.22 ? Or see the instructions to patch kernel from where you are downloading updated kernel patch.
    See the below link-->
    EVMS: Installation: Building the Kernel
    Linux Headquarters: Applying a Kernel Patch
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  3. #3
    Just Joined!
    Join Date
    Aug 2007
    Posts
    3
    when I try

    path -p1 < patch-2.6.22 ( while in the source tree for 2.6.21.7)

    I am getting the following error message

    Reversed (or previously applied) patch detected! Assume -R? [n]



    Quote Originally Posted by infoshirish View Post
    Hey,
    You cant patch the kernel as normal user as they have limited permissions.Only root user can do that job.
    No need to downgrade directly patch the 2.6.21.7 ==> 2.6.22 ? Or see the instructions to patch kernel from where you are downloading updated kernel patch.
    See the below link-->
    EVMS: Installation: Building the Kernel
    Linux Headquarters: Applying a Kernel Patch

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397

    Cool

    Hey,
    I guess it is asking you whether to overwite the last installed kernel patch or to create new kernel one. Its not a error rather a message. I think you should provide it with Y for yes or -R for recursive option.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

Posting Permissions

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