LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel patch (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-patch-416682/)

alma 02-17-2006 06:22 PM

kernel patch
 
I'd like to patch my kernel from 2.6.13-15 to 2.6.15.4 but I don't know how exactly to go about it. Any help would be appreciated.
Thanks,
almalaci

foo_bar_foo 02-17-2006 06:32 PM

OK IMPORTANT you can only generally go from one version to the very next versions this way or you need all the various patches from here to there.
so generally if you are not going up just one version just download WDT (whole Darn Thing)
otherwise
Move the downloaded kernel patch to old source directory
ungzip it
highligt its name to get it in the clip board (yank ring)
then
patch -p1 < patch.x.x.x (middle mouse click in the name)
return
you are good to go

amosf 02-17-2006 06:54 PM

2.6.13-15 is not a generic kernel by the sounds, so you won't be able to patch it with generic kernel.org patches. It sounds more like a distro kernel... (2.6.13 only went to 2.6.13.5)

You'll probably have to download the full 2.6.15.4 kernel.

Or download 2.6.15 kernel and the 2.6.15.4 patch (that will make it easier to patch to 2.6.15.5 if there is one, and patch to 2.6.16 when it comes out)

Otherwise download 2.6.15.4 kernel and then later on you can dowload the 2.6.15.4 patch and reverse it off with patch -Rp1

alma 02-18-2006 09:16 AM

Thanks, yes, it is a Suse 10.0 distro.
I have already been trying with the whole 2.6.15.4 kernel without much success yet. I'm actually not familiar with the commands and their syntax and basically don't really know what I'm doing.
Any help on how exactly to do this whole thing?

Quote:

Originally Posted by amosf
2.6.13-15 is not a generic kernel by the sounds, so you won't be able to patch it with generic kernel.org patches. It sounds more like a distro kernel... (2.6.13 only went to 2.6.13.5)

You'll probably have to download the full 2.6.15.4 kernel.

Or download 2.6.15 kernel and the 2.6.15.4 patch (that will make it easier to patch to 2.6.15.5 if there is one, and patch to 2.6.16 when it comes out)

Otherwise download 2.6.15.4 kernel and then later on you can dowload the 2.6.15.4 patch and reverse it off with patch -Rp1


cwwilson721 02-18-2006 09:23 AM

Try this link here : http://www.linuxquestions.org/questi...d.php?t=127095
Alot of people have good luck with it

pixellany 02-18-2006 09:33 AM

Quote:

Originally Posted by alma
I'm actually not familiar with the commands and their syntax and basically don't really know what I'm doing.

That's quite a mouthful....;)
What you want to know is how to compile and install a new kernel? I would start with a tutorial. Google "compile linux kernel" gives a lot of promising hits.
If you are far enough into Linux to want to do this, then its time to buy a book. A good starting point is "Linux in a Nutshell" from O'Reilly.

alma 02-19-2006 02:36 PM

Thanks a lot, I started to look into it..

Quote:

Originally Posted by pixellany
That's quite a mouthful....;)
What you want to know is how to compile and install a new kernel? I would start with a tutorial. Google "compile linux kernel" gives a lot of promising hits.
If you are far enough into Linux to want to do this, then its time to buy a book. A good starting point is "Linux in a Nutshell" from O'Reilly.



All times are GMT -5. The time now is 06:42 PM.