LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-14-2006, 05:00 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Tutorails for backporting kernel patches


Hi,

Recently I came to know there is a feature that is going to available in Kernel 2.6.19, but I guess I am not willing to upgrade my current kernel from 2.6.17 to 2.6.19. But I want that functionality. So many people suggested me to take the patches of 2.6.19 and backport it to 2.6.17. Now how can I do that? I tried searching on goole, "backporting patches linux" but nothing meaningful came out.

I would really appreciate if I can get an example of backporting a sample patch or a good tutorial which mentions step-by-step how to backport?

Thanks
 
Old 08-15-2006, 09:50 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It depends if the change is big or not. If it's not that big, you may be able to get the orginal patch the author of the change submitted. With luck, you may be able to simply apply it to your kernel version. It just depends which subsystem the patch is.
 
Old 08-15-2006, 07:05 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Mara
It depends if the change is big or not. If it's not that big, you may be able to get the orginal patch the author of the change submitted. With luck, you may be able to simply apply it to your kernel version. It just depends which subsystem the patch is.
Well yes I understand what you are saying, but the case which you mentioned hardly happens in the world of linux because of it;'s dynamic nature. That's why I was hoping to learn about it and after backporting I can produce the patches as is done by the Linux Kernel developers.I am sure I won't be required to deal with Kernel programming in near future but I think I should know backporting and then release my own backported patches for my own kernel version.

Thanks for your reply though.
 
Old 08-16-2006, 03:38 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The code is dynamic, but there are huge parts that get very small changes (or none at all) between many versions. The whole code is very big, so it may seem that there are so many changes per 100 lines. It's not exactly that way.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backporting modules jcai Linux - Newbie 2 06-16-2006 01:19 PM
usefulness of mandriva-patches in kernel, or just new 2.614. kernel from source? Emmanuel_uk Mandriva 6 12-20-2005 08:56 PM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
Kernel patches eqxro SUSE / openSUSE 4 07-15-2005 08:18 AM
Backporting 9.2 kernel 2.6 to 2.4? tcFrank SUSE / openSUSE 2 12-26-2004 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration