LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   What is the easiest way to upgrade a kernel manually ? Patching doesn't work. (https://www.linuxquestions.org/questions/linux-kernel-70/what-is-the-easiest-way-to-upgrade-a-kernel-manually-patching-doesn%27t-work-4175451246/)

H_TeXMeX_H 02-22-2013 03:47 AM

What is the easiest way to upgrade a kernel manually ? Patching doesn't work.
 
Lets say I wanted to upgrade from 3.4.32 to 3.4.33.

I currently know of only two ways that work:

1) Use git, but the downside is that it takes up several gigabytes of space on my system and a long download time.

2) Download the full kernel from kernel.org. This is my current preferred way, but somehow I feel that it is extremely wasteful to download the exact same kernel plus a few line changes.

The ways that don't work:

1) Download and apply a patch. I have never seen a tutorial on how to patch a kernel that actually works without error. The error I usually get is:

Code:

Reversed (or previously applied) patch detected!
I've looked up this error and I can't find a way to resolve it in a sane manner.

Any other ways that I am missing ?

I am using Slackware, so please don't tell me to upgrade the kernel using my package manager.

It is really disappointing that there is so little documentation on how to patch a kernel properly.

H_TeXMeX_H 02-22-2013 04:24 AM

Ok, I figured it out. It seems that all patches are relative to the base version. In this case I have to apply the 3.4.33 patch to kernel 3.4

syg00 02-22-2013 04:36 AM

nm - to slow to answer ...


All times are GMT -5. The time now is 03:10 AM.