LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-12-2004, 08:29 PM   #1
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
To patch or to use the full source?


I am wondering whether it would be better to upgrade a kernel by using patches or by using the full source. Earlier today i used the patch to upgrade my 2.6.6 to 2.6.7-rc3. This is the first time i have used a patch as i always use the full source. Would there be any consequences of using a patch, and should i upgrade to 2.6.7 official when it comes up by using a patch. And then to 2.6.8 or would i get better performance compiling from the Full Source.
 
Old 06-12-2004, 10:33 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If your going in sequential number, like from 2.6.5 to 2.6.6, use the patch, its smaller download and does the same job. Use the full source if you need to jump kernels say from 2.4.25 to 2.6.6 or something like that.. cause then that would be less time consuming instead of applying patch after patch to get up to the latest release, etc.
 
Old 06-13-2004, 11:05 AM   #3
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Original Poster
Rep: Reputation: 32
Ok, one more question. If i apply the -mm patch, would i then be able to patch my kernel up to 2.6.7 when it comes out or would i have to use the full source. Oh yeah, would i be able to patch from 2.6.3 to 2.6.6
 
Old 06-13-2004, 11:08 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If you patch your kernel from 2.6.5 to 2.6.6.. and when 2.6.7 comes out.. you can clearly patch it with no problems. If you wanted to upgrade from 2.6.3 to 2.6.6, easier to just upgrade from the full source in my opinion.. instead of applying 3 patches to get 2.6.6.
 
Old 06-13-2004, 02:14 PM   #5
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Quote:
Originally posted by liquidtenmilion
Oh yeah, would i be able to patch from 2.6.3 to 2.6.6
Yes, as trickykid said these patches are sequential, I.E.

2.6.3 + patch == 2.6.4
2.6.4 + patch == 2.6.5 ...

If you are really strapped for bandwidth then it might be better, but it is a lot simpler just to download the full source for latest version than go through multiple patches.

Steve
 
Old 06-13-2004, 07:29 PM   #6
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
also one should consiter the band with limits on the other end, kernel.org does not have unlimited band width (contrary to popular opinion) and by downloading the smaller patches, you free up bandwidth to other people who are downloading things.

downloading full sources is best done for big jumps,

oh yea, the script ".../linux-version/scripts/patch-kernel" makes it very easy to patch the kernel even with multiple patches. Just read the file, it explains its self well. (I dont know if you already knew about this or not)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
patch of kernel source ? picticpic Mandriva 2 06-15-2005 03:17 PM
update to patch kernel source lmmix Linux - General 5 02-24-2005 03:33 PM
is this how I patch a source directory? shanenin Linux - Software 1 01-28-2004 02:36 PM
How to patch SuSE 9 kernel source? mllq Linux - Newbie 1 12-11-2003 01:10 AM
Patch VS Full Source for kernel demmylls Linux - General 4 10-25-2003 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:31 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