From owner-kgdb@oss.sgi.com Sat Nov 4 04:03:58 2000 Received: by oss.sgi.com id ; Sat, 4 Nov 2000 04:03:39 -0800 Received: from [212.175.216.1] ([212.175.216.1]:10256 "HELO mail.siminter.net") by oss.sgi.com with SMTP id ; Sat, 4 Nov 2000 04:03:19 -0800 Received: (qmail 17632 invoked by uid 1415); 4 Nov 2000 12:05:16 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Nov 2000 12:05:16 -0000 Date: Sat, 4 Nov 2000 14:05:16 +0200 (EET) From: To: kgdb@oss.sgi.com Subject: Mysql Problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-kgdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kgdb-outgoing I am running on SGI 1400 redhat 6.0. I am using 2.2.10 kernel. After I started Mysql(3.22.32) a little bit later the kernel crashing. Is there anyone tell what is the problem. Best wishes... Sim internet. From owner-kgdb@oss.sgi.com Wed Nov 22 08:45:32 2000 Received: by oss.sgi.com id ; Wed, 22 Nov 2000 08:45:22 -0800 Received: from jump-isi.interactivesi.com ([207.8.4.2]:46585 "HELO dinero.interactivesi.com") by oss.sgi.com with SMTP id ; Wed, 22 Nov 2000 08:45:10 -0800 Received: (qmail 7430 invoked from network); 22 Nov 2000 16:45:09 -0000 Received: from one.interactivesi.com (ttabi@10.2.247.106) by dinero.interactivesi.com with SMTP; 22 Nov 2000 16:45:09 -0000 Date: Wed, 22 Nov 2000 10:45:09 -0600 From: Timur Tabi To: kgdb@oss.sgi.com Subject: X-Mailer: The Polarbar Mailer; version=1.18; build=55 Message-Id: <20001122164516Z553691-492+1038@oss.sgi.com> Sender: owner-kgdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kgdb-outgoing I'm trying to install the kGDB patch for 2.2.16, and I got this error message: [root@two linux-2.2.16-debug]# patch -p0 < kgdb_2.2.16.diff patching file `2.2.16/linux/Documentation/gdb.txt' can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur 2.2.16/linux/Makefile kgdb-2.2.16/linux/Makefile |--- 2.2.16/linux/Makefile Wed Jun 7 14:26:42 2000 |+++ kgdb-2.2.16/linux/Makefile Thu Oct 26 17:28:44 2000 -------------------------- File to patch: Looking at the .diff file, I see there are references to specific directory names. This completely contradicts the instructions in the README. Could someone please tell me: 1. How to fix this 2. Why the instructions are so obviously wrong Thanks! -- Timur Tabi - ttabi@interactivesi.com Interactive Silicon - http://www.interactivesi.com When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me. From owner-kgdb@oss.sgi.com Wed Nov 22 11:05:31 2000 Received: by oss.sgi.com id ; Wed, 22 Nov 2000 11:05:22 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:1838 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 22 Nov 2000 11:05:06 -0800 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA00591 for ; Wed, 22 Nov 2000 11:12:59 -0800 (PST) mail_from (sfoehner@illini.engr.sgi.com) Received: from illini.engr.sgi.com (illini.engr.sgi.com [163.154.5.81]) by cthulhu.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id LAA45126 for <@cthulhu.engr.sgi.com:kgdb@oss.sgi.com>; Wed, 22 Nov 2000 11:03:48 -0800 (PST) Received: (from sfoehner@localhost) by illini.engr.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) id LAA30789 for kgdb@oss.sgi.com; Wed, 22 Nov 2000 11:03:38 -0800 (PST) Date: Wed, 22 Nov 2000 11:03:38 -0800 (PST) From: sfoehner@illini.engr.sgi.com (Scott Foehner) Message-Id: <10011221103.ZM1229094@illini.engr.sgi.com> In-Reply-To: Timur Tabi "" (Nov 22, 10:45am) References: <20001122164516Z553691-492+1038@oss.sgi.com> X-Mailer: Z-Mail-SGI (3.2S.3 08feb96 MediaMail) To: kgdb@oss.sgi.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-kgdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kgdb-outgoing You need to use the appropriate -p level, in this case -p2. Or you could apply the patch at a directory one level higher and use -p1. You are right, in that the README says you should do "something like: cd /usr/src/linux patch -p0 < /usr/tmp/kgdb0.2-2.2.12" I made the assumption that people in the Linux community would be familiar enough with patch to adjust the -p option accordingly. I apologize and will not make this assumption in the future. Scott On Nov 22, 10:45am, Timur Tabi wrote: > Subject: > I'm trying to install the kGDB patch for 2.2.16, and I got this error message: > > [root@two linux-2.2.16-debug]# patch -p0 < kgdb_2.2.16.diff > > patching file `2.2.16/linux/Documentation/gdb.txt' > can't find file to patch at input line 25 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > |diff -Naur 2.2.16/linux/Makefile kgdb-2.2.16/linux/Makefile > |--- 2.2.16/linux/Makefile Wed Jun 7 14:26:42 2000 > |+++ kgdb-2.2.16/linux/Makefile Thu Oct 26 17:28:44 2000 > -------------------------- > File to patch: > > Looking at the .diff file, I see there are references to specific directory > names. This completely contradicts the instructions in the README. Could > someone please tell me: > > 1. How to fix this > 2. Why the instructions are so obviously wrong > > Thanks! -- Scott Foehner SGI sfoehner@engr.sgi.com Computer Systems Business Unit 650-933-3473 Core OS