From yshi7@uic.edu Sun May 4 18:10:47 2003 Received: with ECARTIS (v1.0.0; list kernprof); Sun, 04 May 2003 18:10:55 -0700 (PDT) Received: from birch.cc.uic.edu (birch.cc.uic.edu [128.248.155.162]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h451AkFu002408 for ; Sun, 4 May 2003 18:10:46 -0700 Received: (qmail 17002 invoked from network); 4 May 2003 20:10:44 -0500 Received: from nile.ece.uic.edu (HELO uic.edu) (131.193.50.163) by birch.cc.uic.edu with SMTP; 4 May 2003 20:10:44 -0500 Message-ID: <3EB5BB08.1030103@uic.edu> Date: Sun, 04 May 2003 20:14:48 -0500 From: Yixin Shi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en, zh-cn MIME-Version: 1.0 To: kernprof@oss.sgi.com Subject: patch problem in 2.4.18-14 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 17 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: yshi7@uic.edu Precedence: bulk X-list: kernprof Hi there, I was trying to use kernprof but unfortunately encountered a big problem when I tried to patch the kernel in Redhat 8.0(Kernel version is 2.4.18-14). I attached the output above. The patch will stop everytime at the point "File to patch" appears. Any idea is greatly appreciated! Thanks yixin 1 out of 5 hunks FAILED -- saving rejects to file arch/i386/kernel/apic.c.rej patching file arch/i386/kernel/i386_ksyms.c Hunk #1 succeeded at 172 (offset 8 lines). patching file arch/i386/kernel/i8259.c patching file arch/i386/kernel/irq.c Hunk #1 succeeded at 1122 (offset 10 lines). patching file arch/i386/kernel/semaphore.c Hunk #2 FAILED at 183. Hunk #3 succeeded at 199 (offset 4 lines). Hunk #4 FAILED at 211. Hunk #5 FAILED at 233. Hunk #6 succeeded at 267 (offset 16 lines). 3 out of 6 hunks FAILED -- saving rejects to file arch/i386/kernel/semaphore.c.rej patching file arch/i386/kernel/smpboot.c Hunk #1 succeeded at 971 (offset 4 lines). Hunk #2 succeeded at 993 (offset 3 lines). Hunk #3 succeeded at 1201 (offset 3 lines). patching file arch/i386/kernel/time.c Hunk #3 FAILED at 414. 1 out of 3 hunks FAILED -- saving rejects to file arch/i386/kernel/time.c.rej patching file arch/i386/lib/Makefile patching file arch/i386/lib/mcount.S can't find file to patch at input line 608 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -X /build4/hawkes/Build/ignore.dirs -Naur linux-2.4.18/arch/ia64/config.in linux-2.4.18-profile/arch/ia64/config.in |--- linux-2.4.18/arch/ia64/config.in Fri Nov 9 14:26:17 2001 |+++ linux-2.4.18-profile/arch/ia64/config.in Tue Feb 26 18:05:11 2002 -------------------------- File to patch: From hawkes@sgi.com Mon May 5 08:39:15 2003 Received: with ECARTIS (v1.0.0; list kernprof); Mon, 05 May 2003 08:39:21 -0700 (PDT) Received: from rj.sgi.com (rj.SGI.COM [192.82.208.96]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h45FdFFu018336 for ; Mon, 5 May 2003 08:39:15 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by rj.sgi.com (8.12.9/8.12.2/linux-outbound_gateway-1.2) with ESMTP id h45Fd9E0000523 for ; Mon, 5 May 2003 08:39:09 -0700 Received: from wrlarun (sshgate.corp.sgi.com [169.238.216.146]) by cthulhu.engr.sgi.com (SGI-8.12.5/8.12.5) with SMTP id h45Fd84O6708980; Mon, 5 May 2003 08:39:09 -0700 (PDT) Message-ID: <002701c3131c$34a8de00$6800a8c0@attbi.com> From: "John Hawkes" To: "Yixin Shi" , References: <3EB5BB08.1030103@uic.edu> Subject: Re: patch problem in 2.4.18-14 Date: Mon, 5 May 2003 08:37:14 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-archive-position: 18 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: hawkes@sgi.com Precedence: bulk X-list: kernprof > -------------------------- > |diff -X /build4/hawkes/Build/ignore.dirs -Naur > linux-2.4.18/arch/ia64/config.in linux-2.4.18-profile/arch/ia64/config.in > |--- linux-2.4.18/arch/ia64/config.in Fri Nov 9 14:26:17 2001 > |+++ linux-2.4.18-profile/arch/ia64/config.in Tue Feb 26 18:05:11 2002 > -------------------------- > File to patch: This suggests to me that arch/ia64/config.in is not in the 2.4.18-14 source tree. Just take the kernprof patch file and edit out the diff for this particular file. John Hawkes From hawkes@sgi.com Wed May 14 13:09:07 2003 Received: with ECARTIS (v1.0.0; list kernprof); Wed, 14 May 2003 13:09:14 -0700 (PDT) Received: from zok.sgi.com (zok.SGI.COM [204.94.215.101]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4EK96Fu018751; Wed, 14 May 2003 13:09:07 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by zok.sgi.com (8.12.9/8.12.2/linux-outbound_gateway-1.2) with ESMTP id h4EK91VV015779; Wed, 14 May 2003 13:09:01 -0700 Received: from wrlarun (sshgate.corp.sgi.com [169.238.216.146]) by cthulhu.engr.sgi.com (SGI-8.12.5/8.12.5) with SMTP id h4EK914O8623330; Wed, 14 May 2003 13:09:01 -0700 (PDT) Message-ID: <02f801c31a54$5bc83b90$6800a8c0@attbi.com> From: "John Hawkes" To: , Subject: http://oss.sgi.com planned downtime Date: Wed, 14 May 2003 13:06:50 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-archive-position: 19 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: hawkes@sgi.com Precedence: bulk X-list: kernprof The oss.sgi.com machine will be moved to another location starting at 7am UTC on next Friday. It's expect to be back in operation on Saturday. Sorry for any inconvenience this may cause. John Hawkes