error about kernel patch ?

From: shlee (rambo_at_lsdata.co.kr)
Date: 08/26/05


Date: Fri, 26 Aug 2005 10:17:42 +0900

Hello.

To build new kernel, I download kernel linux-2.6.12-5.tar.bz2 and
patch-2.6.12.5.bz2.

I copied linux-2.6.12-5.tar.bz2 into /usr/src/ and extract it.
and I extract patch-2.6.12.5.bz2 into /tmp directory.

cd /usr/src
bzcat linux-2.6.12-5.bz2 | tar xv
ln -sf linux-2.6.12-5 linux

for kernel patch, I issued follwing command.

[root@linuxhost /usr/src] patch -p0 < /tmp/patch-2.6.12.5 ( current
directory is /usr/src , patch file is /tmp )

I met error messaes as follwings.

can't find file to patch at input line 4
Perhpas you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------------------------------
| diff -git a/Makefile b/Makefile
| --- a/Makefile
| +++ b/Makefile
---------------------------------------------------
File to patch:

I'd like to know why I met above message?

Have a day.



Relevant Pages

  • Re: RT patch acceptance
    ... judge the complexity of a design for that type of system. ... claim that you cannot judge the complexity of a kernel modification. ... Since the patch in question doesn't actually need that information to ... nanokernel's API up to date with additions to Linux's API that RT people ...
    (Linux-Kernel)
  • Re: inline asm semantics: output constraint width smaller than input
    ... Now in this case the patch you suggest might end up hurting the end result ... The below patch is to build the kernel for x86_64, ... # Device Drivers ... # PCI IDE chipsets support ...
    (Linux-Kernel)
  • [RFC] Making percpu module variables have their own memory.
    ... Someone using the -rt patch found that one of the tracing options caused ... 64K for every CPU to cover all the per_cpu variables used in the kernel ... static void wakeup_softirqd_prio ...
    (Linux-Kernel)
  • Re: This is [Re:] How to improve the quality of the kernel[?].
    ... The -mm kernel already implements what your proposed PTS would do. ... If patch have no TS ID, ... Thus i can apply for example lguest patches and implement and test new ... How many open source projects use Bugzilla and how many use the Debian BTS? ...
    (Linux-Kernel)
  • Re: Documentation - how to apply patches for various trees
    ... >> explanation of the various kernel trees and how to apply their patches. ... +a patch to the kernel or, more specifically, what base kernel a patch for ... +and what new version the patch will change the source tree into. ...
    (Linux-Kernel)