can you help me ?
when i install the gcov, use patch command to fail,genrate below error message,need you help。
can't find file to patch at input line 33 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |# |# gcov-kernel-2.6.24-1 (2008-01-30) |# |# anderson.lizardo@gmail.com: |# The following parts of the kernel code had coverage disabled by |# default for now (on ARM platform only) because they consistently cause |# kernel problems: |# |# arch/arm/nwfpe/: make FP operations results go wrong |# fs/: soft lockup at the end of kernel boot |# fs/nfs/: generates BUG_ON() in net/sunrpc/xdr.c when mounting NFS root |# lib/: kernel hangs right after decompression |# mm/: many commands fail with "File size limit exceeded" |# net/ipv4/: NFS root mount fails |# |# TODO: find the specific problematic .c files files in these |# directories and either (a) fix the buggy code or (b) disable coverage |# for those specific file(s) using "CFLAGS_file.o". |# |# arch/arm/nwfpe/Makefile | 3 +++ |# arch/arm/nwfpe/Makefile | 3 +++ |# fs/Makefile | 3 +++ |# fs/nfs/Makefile | 3 +++ |# lib/Makefile | 3 +++ |# mm/Makefile | 3 +++ |# net/ipv4/Makefile | 3 +++ |# 6 files changed, 18 insertions(+) |# | |diff -Naurp linux-2.6.24-gcov/arch/arm/nwfpe/Makefile linux-2.6.24-gcov-arm-hack/arch/arm/nwfpe/Makefile |--- linux-2.6.24-gcov/arch/arm/nwfpe/Makefile 2008-01-24 23:58:37.000000000 +0100 |+++ linux-2.6.24-gcov-arm-hack/arch/arm/nwfpe/Makefile 2008-01-30 10:51:45.000000000 +0100 |
Post the exact commands you're using to implement the patch.
Should be something like: Code:
$ cd /path/to/Makefile/ edit: BTW, try to make your thread subjects more descriptive than "can you help me". |
anomie,I used this command:
#cd /lib/modules/2.6.16.26-kernel #patch -p1< {path }/2.6.16-gcov-kernel.patch I have consulted the installation introduction to this article http://lwn.net/2002/0214/a/gcov.php3 there said: Installing GCOV support on the kernel ------------------------------------- To provide the coverage support infrastructure to the kernel, install the gcov patch (2.5.2-gcov-kernel.patch OR 2.4.17-gcov-kernel.patch) from the root level of the kernel source path, as patch -p1< {path}/2.5.2-gcov-kernel.patch |
Do you have a -
/lib/modules/<kernel version>/kernel/arch/arm/nwfpe/ - directory? |
Also, can you explain what it is you're trying to accomplish by doing this exactly?
From the URL you mentioned: http://lwn.net/2002/0214/a/gcov.php3 Quote:
Add to that the fact that you're trying to install a patch for the ARM platform (are you sure about that?), and I'm not sure this has been thoroughly considered. |
All times are GMT -5. The time now is 10:39 PM. |