2010-05-04

Patch on Wrong Version Kernel

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

Above is a common error message when people tried to patch the kernel source. The reason is that you applied the patch on a kernel of wrong version.
Here is a patched version of linux kernel published by www.kernel.org. For instance, you are going to download 2.6.33.3 kernel source. You have two choices,
  1. Download Full Source. No extra patching is required.
  2. Download Patch und patch on your 2.6.33

For the second choice, if you try to run patch on the other version. for example 2.6.33.3.  The error shown above will appear. Correct commands are below.

>tar xzfv linux-2.6.33.tar.gz
>bunzip2 patch-2.6.33.3.bz2
>cd linux-2.6.33
>patch -p1<../patch-2.6.33.3

Reference:

No comments:

Post a Comment