From owner-kdb@oss.sgi.com Tue Feb 1 09:02:46 2000 Received: by oss.sgi.com id ; Tue, 1 Feb 2000 09:02:36 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:41553 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 1 Feb 2000 09:02:16 -0800 Received: from griffin.engr.sgi.com (griffin.engr.sgi.com [163.154.5.72]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA27360 for ; Tue, 1 Feb 2000 09:00:49 -0800 (PST) mail_from (slurn@griffin.engr.sgi.com) Received: (from slurn@localhost) by griffin.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id JAA66461; Tue, 1 Feb 2000 09:03:23 -0800 (PST) From: slurn@griffin.engr.sgi.com (Scott Lurndal) Message-Id: <200002011703.JAA66461@griffin.engr.sgi.com> Subject: [PATCH] kdb v1.0 for 2.3.29 To: linux-kernel@vger.rutgers.edu Date: Tue, 1 Feb 2000 09:03:23 -0800 (PST) Cc: kdb@oss.sgi.com X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing I've placed a pre-release of kdb v1.0 (restructured to support additional architectures) for ia32 on http://oss.sgi.com/projects/kdb/download -- This release restructures the code a bit and adds breakpoint instruction style (int 03) breakpoints. They don't completely work yet at this time, so as a workaround, the 'bph' command which uses the hardware debug registers should be used to establish breakpoints. There is some debug code present to save and display the contents of the last branch register MSR on page-fault entry to the kernel. A list of changes and features can be found on http://oss.sgi.com/projects/kdb/news.html -- I'll be in NYC for linuxworld expo this week, so I won't be able to move this forward to 2.3.41 until next week. -- scott lurndal sgi From owner-kdb@oss.sgi.com Tue Feb 1 09:48:27 2000 Received: by oss.sgi.com id ; Tue, 1 Feb 2000 09:48:17 -0800 Received: from Cantor.suse.de ([194.112.123.193]:12810 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Tue, 1 Feb 2000 09:48:07 -0800 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id 27BE01E207; Tue, 1 Feb 2000 18:51:06 +0100 (MET) Received: from gruyere.muc.suse.de (gruyere.muc.suse.de [10.23.1.2]) by Hermes.suse.de (Postfix) with ESMTP id 9E97B10A028; Tue, 1 Feb 2000 18:51:05 +0100 (MET) Received: by gruyere.muc.suse.de (Postfix, from userid 14446) id B426E6487F; Tue, 1 Feb 2000 18:51:04 +0100 (MET) Date: Tue, 1 Feb 2000 18:51:04 +0100 From: "Andi Kleen" To: slurn@griffin.engr.sgi.com (Scott Lurndal) Cc: linux-kernel@vger.rutgers.edu, kdb@oss.sgi.com Subject: Re: [PATCH] kdb v1.0 for 2.3.29 Message-ID: <20000201185104.A14956@gruyere.muc.suse.de> References: <200002011703.JAA66461@griffin.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200002011703.JAA66461@griffin.engr.sgi.com>; from slurn@griffin.engr.sgi.com on Tue, Feb 01, 2000 at 09:03:23AM -0800 Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing On Tue, Feb 01, 2000 at 09:03:23AM -0800, Scott Lurndal wrote: > This release restructures the code a bit and adds breakpoint > instruction style (int 03) breakpoints. They don't completely > work yet at this time, so as a workaround, the 'bph' command > which uses the hardware debug registers should be used to > establish breakpoints. > > There is some debug code present to save and display the contents of the > last branch register MSR on page-fault entry to the kernel. > > A list of changes and features can be found on [...] One change that I'm missing is a move of the module add code to above the module init constructor call. That makes it possible to debug crashing init_module() functions symbolically. -Andi From owner-kdb@oss.sgi.com Fri Feb 4 16:40:26 2000 Received: by oss.sgi.com id ; Fri, 4 Feb 2000 16:39:55 -0800 Received: from f242.law7.hotmail.com ([216.33.237.242]:20238 "HELO hotmail.com") by oss.sgi.com with SMTP id ; Fri, 4 Feb 2000 15:22:04 -0800 Received: (qmail 2871 invoked by uid 0); 4 Feb 2000 23:21:59 -0000 Message-ID: <20000204232159.2870.qmail@hotmail.com> Received: from 139.87.147.103 by www.hotmail.com with =?ISO-8859-1?Q?HTTP;=0D?= Fri, 04 Feb 2000 15:21:58 PST X-Originating-IP: [139.87.147.103] From: "Raymond LI" To: kdb@oss.sgi.com Subject: documents on help Date: Fri, 04 Feb 2000 23:21:58 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hi, I just installed kdb, recompiled and reboot my system. The kdb did not automatically invoke. Where can I find a complete documentation on how to use kdb. I did found the command description the patche file. /raymond ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com From owner-kdb@oss.sgi.com Tue Feb 8 11:45:41 2000 Received: by oss.sgi.com id ; Tue, 8 Feb 2000 11:45:31 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:9796 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Tue, 8 Feb 2000 11:45:27 -0800 Received: from griffin.engr.sgi.com ([163.154.5.72]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id LAA06496 for ; Tue, 8 Feb 2000 11:45:21 -0800 (PST) mail_from (slurn@griffin.engr.sgi.com) Received: (from slurn@localhost) by griffin.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id LAA83859; Tue, 8 Feb 2000 11:43:23 -0800 (PST) From: slurn@griffin.engr.sgi.com (Scott Lurndal) Message-Id: <200002081943.LAA83859@griffin.engr.sgi.com> Subject: Re: [PATCH] kdb v1.0 for 2.3.29 To: ak@suse.de (Andi Kleen) Date: Tue, 8 Feb 2000 11:43:23 -0800 (PST) Cc: linux-kernel@vger.rutgers.edu, kdb@oss.sgi.com In-Reply-To: <20000201185104.A14956@gruyere.muc.suse.de> from "Andi Kleen" at Feb 01, 2000 06:51:04 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing > > On Tue, Feb 01, 2000 at 09:03:23AM -0800, Scott Lurndal wrote: > > This release restructures the code a bit and adds breakpoint > > instruction style (int 03) breakpoints. They don't completely > > work yet at this time, so as a workaround, the 'bph' command > > which uses the hardware debug registers should be used to > > establish breakpoints. > > > > There is some debug code present to save and display the contents of the > > last branch register MSR on page-fault entry to the kernel. > > > > A list of changes and features can be found on > > [...] > > One change that I'm missing is a move of the module add code to above > the module init constructor call. That makes it possible to debug > crashing init_module() functions symbolically. Ok. I'll do that. However, by moving kdb_init() before mem_init(), kdb cannot use the kernel memory allocators (It doesn't anyway, because it cannot trust them, and you wouldn't be able to debug them). scott > > > -Andi > From owner-kdb@oss.sgi.com Tue Feb 8 12:21:41 2000 Received: by oss.sgi.com id ; Tue, 8 Feb 2000 12:21:22 -0800 Received: from Cantor.suse.de ([194.112.123.193]:51213 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Tue, 8 Feb 2000 12:21:02 -0800 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id 7A1181E18D; Tue, 8 Feb 2000 21:21:00 +0100 (MET) Received: from gruyere.muc.suse.de (gruyere.muc.suse.de [10.23.1.2]) by Hermes.suse.de (Postfix) with ESMTP id 438AD10A026; Tue, 8 Feb 2000 21:21:00 +0100 (MET) Received: by gruyere.muc.suse.de (Postfix, from userid 14446) id 9595F64882; Tue, 8 Feb 2000 21:20:59 +0100 (MET) Date: Tue, 8 Feb 2000 21:20:59 +0100 From: "Andi Kleen" To: slurn@griffin.engr.sgi.com (Scott Lurndal) Cc: ak@suse.de (Andi Kleen), linux-kernel@vger.rutgers.edu, kdb@oss.sgi.com Subject: Re: [PATCH] kdb v1.0 for 2.3.29 Message-ID: <20000208212059.A13316@gruyere.muc.suse.de> References: <20000201185104.A14956@gruyere.muc.suse.de> <200002081943.LAA83859@griffin.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200002081943.LAA83859@griffin.engr.sgi.com>; from slurn@griffin.engr.sgi.com on Tue, Feb 08, 2000 at 11:43:23AM -0800 Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing On Tue, Feb 08, 2000 at 11:43:23AM -0800, Scott Lurndal wrote: > > > > On Tue, Feb 01, 2000 at 09:03:23AM -0800, Scott Lurndal wrote: > > > This release restructures the code a bit and adds breakpoint > > > instruction style (int 03) breakpoints. They don't completely > > > work yet at this time, so as a workaround, the 'bph' command > > > which uses the hardware debug registers should be used to > > > establish breakpoints. > > > > > > There is some debug code present to save and display the contents of the > > > last branch register MSR on page-fault entry to the kernel. > > > > > > A list of changes and features can be found on > > > > [...] > > > > One change that I'm missing is a move of the module add code to above > > the module init constructor call. That makes it possible to debug > > crashing init_module() functions symbolically. > > Ok. I'll do that. However, by moving kdb_init() before mem_init(), > kdb cannot use the kernel memory allocators (It doesn't anyway, because > it cannot trust them, and you wouldn't be able to debug them). There must be some miscomunication. I was not proposing to change the kernel startup (everything is statically linked there thus all symbols are known anyways). What I want to change is the module loading (kernel/module.c:sys_init_module()). Currently the symbols for the module are registered to kdb after the module's init_module() function has run. This means you don't get a meaningfull backtrace if the init_module() function crashes for some reason. The change I did was to move the kdbaddmodsym() loop before the mod->init() call (and add a appropiate cleanup loop if mod->init() fails). This way it is possible to debug the module constructor. -Andi From owner-kdb@oss.sgi.com Tue Feb 8 12:24:51 2000 Received: by oss.sgi.com id ; Tue, 8 Feb 2000 12:24:42 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:64591 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Tue, 8 Feb 2000 12:24:32 -0800 Received: from griffin.engr.sgi.com ([163.154.5.72]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id MAA02225 for ; Tue, 8 Feb 2000 12:24:31 -0800 (PST) mail_from (slurn@griffin.engr.sgi.com) Received: (from slurn@localhost) by griffin.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id MAA83325; Tue, 8 Feb 2000 12:22:53 -0800 (PST) From: slurn@griffin.engr.sgi.com (Scott Lurndal) Message-Id: <200002082022.MAA83325@griffin.engr.sgi.com> Subject: Re: [PATCH] kdb v1.0 for 2.3.29 To: ak@suse.de (Andi Kleen) Date: Tue, 8 Feb 2000 12:22:53 -0800 (PST) Cc: ak@suse.de (Andi Kleen), linux-kernel@vger.rutgers.edu, kdb@oss.sgi.com In-Reply-To: <20000208212059.A13316@gruyere.muc.suse.de> from "Andi Kleen" at Feb 08, 2000 09:20:59 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing > > On Tue, Feb 08, 2000 at 11:43:23AM -0800, Scott Lurndal wrote: > > > > > > On Tue, Feb 01, 2000 at 09:03:23AM -0800, Scott Lurndal wrote: > > > > This release restructures the code a bit and adds breakpoint > > > > instruction style (int 03) breakpoints. They don't completely > > > > work yet at this time, so as a workaround, the 'bph' command > > > > which uses the hardware debug registers should be used to > > > > establish breakpoints. > > > > > > > > There is some debug code present to save and display the contents of the > > > > last branch register MSR on page-fault entry to the kernel. > > > > > > > > A list of changes and features can be found on > > > > > > [...] > > > > > > One change that I'm missing is a move of the module add code to above > > > the module init constructor call. That makes it possible to debug > > > crashing init_module() functions symbolically. > > > > Ok. I'll do that. However, by moving kdb_init() before mem_init(), > > kdb cannot use the kernel memory allocators (It doesn't anyway, because > > it cannot trust them, and you wouldn't be able to debug them). > > There must be some miscomunication. I was not proposing to change the > kernel startup (everything is statically linked there thus all symbols > are known anyways). What I want to change is the module loading > (kernel/module.c:sys_init_module()). Currently the symbols for the module > are registered to kdb after the module's init_module() function has > run. This means you don't get a meaningfull backtrace if the init_module() > function crashes for some reason. The change I did was to move > the kdbaddmodsym() loop before the mod->init() call (and add a appropiate > cleanup loop if mod->init() fails). This way it is possible to debug > the module constructor. > > -Andi > Ah. I assumed you meant before the call to "init_modules()" in main.c I'll do as you suggest. Danke, scott From owner-kdb@oss.sgi.com Tue Feb 15 07:12:12 2000 Received: by oss.sgi.com id ; Tue, 15 Feb 2000 07:12:01 -0800 Received: from x-mailer.polytechnique.fr ([129.104.35.1]:33753 "EHLO x-mailer.polytechnique.fr") by oss.sgi.com with ESMTP id ; Tue, 15 Feb 2000 07:11:49 -0800 Received: from localhost.localdomain (IDENT:root@icsla.polytechnique.fr [129.104.11.36]) by x-mailer.polytechnique.fr (x.y.z/x.y.z) with ESMTP id QAA14933 for ; Tue, 15 Feb 2000 16:10:32 GMT Received: (from borislav@localhost) by localhost.localdomain (8.9.3/8.9.3) id QAA10619 for kdb@oss.sgi.com; Tue, 15 Feb 2000 16:11:36 +0100 From: Borislav Deianov Date: Tue, 15 Feb 2000 16:11:36 +0100 To: kdb@oss.sgi.com Subject: dataw breakpoints Message-ID: <20000215161136.A10501@icsla.polytechnique.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us "From: Borislav Deianov " Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hi, I'm trying to set a DATAW breakpoint (on a PIII) and can't seem to be able to. It always comes out as "Instruction(i)", and is not triggered when something writes to the given address. Looking at the code (1.0 for 2.3.29), there seem to be two separate problems: -- kdba_parsebp saves the type of the breakpoint (1 for dataw in my case) in the bp_template field of the passed kdb_bp_t *bp. When printing the breakpoint in kdb_printbp the code never looks in the bp_template field, so all breakpoints are shown as "Instruction(i)". -- It seems that kdba_allocbp should copy the info from the bp_template field to the newly allocated kdbhard_bp_t, so later kdba_installdbreg can find it there when installing the breakpoint. This is just from a quick look at the code, don't feel comfortable enough with it to volunteer a patch. One more question: when can we expect kdb for 2.3.4x? I have a problem I cannot reproduce on 2.3.29... Thanks a lot, Borislav From owner-kdb@oss.sgi.com Tue Feb 15 09:27:01 2000 Received: by oss.sgi.com id ; Tue, 15 Feb 2000 09:26:44 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:57363 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 15 Feb 2000 09:26:21 -0800 Received: from griffin.engr.sgi.com (griffin.engr.sgi.com [163.154.5.72]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA01112 for ; Tue, 15 Feb 2000 09:21:49 -0800 (PST) mail_from (slurn@griffin.engr.sgi.com) Received: (from slurn@localhost) by griffin.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id JAA08100; Tue, 15 Feb 2000 09:24:32 -0800 (PST) From: slurn@griffin.engr.sgi.com (Scott Lurndal) Message-Id: <200002151724.JAA08100@griffin.engr.sgi.com> Subject: Re: dataw breakpoints To: borislav@lix.polytechnique.fr (Borislav Deianov) Date: Tue, 15 Feb 2000 09:24:32 -0800 (PST) Cc: kdb@oss.sgi.com In-Reply-To: <20000215161136.A10501@icsla.polytechnique.fr> from "Borislav Deianov" at Feb 15, 2000 04:11:36 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing > > Hi, > > I'm trying to set a DATAW breakpoint (on a PIII) and can't seem to be > able to. It always comes out as "Instruction(i)", and is not triggered > when something writes to the given address. > > Looking at the code (1.0 for 2.3.29), there seem to be two separate > problems: > > -- kdba_parsebp saves the type of the breakpoint (1 for dataw in my > case) in the bp_template field of the passed kdb_bp_t *bp. When > printing the breakpoint in kdb_printbp the code never looks in the > bp_template field, so all breakpoints are shown as "Instruction(i)". > > -- It seems that kdba_allocbp should copy the info from the > bp_template field to the newly allocated kdbhard_bp_t, so later > kdba_installdbreg can find it there when installing the breakpoint. I'll take a look this morning at this code. Thanks for the heads-up. The 2.3 version is still a bit rough around the edges. > > This is just from a quick look at the code, don't feel comfortable > enough with it to volunteer a patch. > > One more question: when can we expect kdb for 2.3.4x? I have a problem > I cannot reproduce on 2.3.29... I'm currently (as I write this) working with 2.3.42. There is some problem that causes an immediate triple-fault (reset condition) that i'm try to sort out. More news soon. scott > > Thanks a lot, > Borislav > From owner-kdb@oss.sgi.com Mon Feb 21 21:52:22 2000 Received: by oss.sgi.com id ; Mon, 21 Feb 2000 21:52:02 -0800 Received: from apollo.welkin.com.tw ([210.244.53.124]:37381 "EHLO apollo.welkin.com.tw") by oss.sgi.com with ESMTP id ; Mon, 21 Feb 2000 21:51:55 -0800 Received: from [210.244.53.109] by apollo.welkin.com.tw (NTMail 4.20.0009/AF2372.63.57b4abd7) with ESMTP id ghmqbaaa for ; Tue, 22 Feb 2000 13:46:28 +0800 Message-ID: <000901bf7cf8$f16190e0$6d35f4d2@fanton.welkin.com.tw> Reply-To: "Fanky" From: "Fanky" To: Subject: KDB question> Date: Tue, 22 Feb 2000 13:52:03 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: base64 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing SGksDQpJIGhhZCBtYWtlIGtkYnYxLjAsYnV0IGhhcHBlbmVkIHNvbWUgcHJvYmxlbToNCg0KKDEp SG93IEkgY2FuIGxvYWQgbXkgcHJvZ3JhbSdzIHN5bWJvbCB0YWJsZSB0byBkZWJ1Zz8gY291bGQg a2RiIGRvIGl0ID8NCiAgICBVbmRlciBrZGIuaCAgLHRoZXJlIGFyZSBrZXJuZWwgaW50ZXJuYWwn cyBzeW1ib2wgdGFibGUgLGhvdyBjb3VsZCBJIGFkZCBzb21lb25lIHRvIGl0ID8NCigyKVVuZGVy IGtkYnYxLjAgLEkgc2V0IGJyZWFrcG9pbnQgaW4gSS9PIHBvcnQgLGJ1dCBpdCBkaWRuJ3Qgd29y ay5JdCBzZWVtcyBvbmx5IHRvIGJlIGJyZWFrcG9pbnQgaW4gImluc3RydWN0aW9uIiBpbnZvbGVk LGJ1dCBtZW1vcnkgYWNjZXNzIG9yIEkvTyAuDQoNCkkgd291bGQgd2FpdCBmb3IgeW91ciByZXNw b25zZSAsdGhhbmtzIC4gDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpGYW5reSwgIEZhbmcgTGkNCkVuZ2luZWVyICxT L1cgRGVwdCANCldlbGtpbiBUZWNobm9sb2dpZXMsIEluYw0KMTRGLE5vLiAzMDcsIFBlaS1EYSBS ZCxIc2luQ2h1ICxUYWl3YW4NClRlbCA6IDg4Ni0zLTUyNjMzODMgZXh0IDIxNA0KRW1haWwgOiBm YW5reUB3ZWxraW4uY29tLnR3DQo= From owner-kdb@oss.sgi.com Tue Feb 22 13:01:40 2000 Received: by oss.sgi.com id ; Tue, 22 Feb 2000 13:01:31 -0800 Received: from sbcs.sunysb.edu ([130.245.1.15]:50140 "EHLO sbcs.cs.sunysb.edu") by oss.sgi.com with ESMTP id ; Tue, 22 Feb 2000 13:01:08 -0800 Received: from compserv2 (compserv2 [130.245.1.58]) by sbcs.cs.sunysb.edu (8.9.3/8.9.3) with ESMTP id PAA13044 for ; Tue, 22 Feb 2000 15:58:21 -0500 (EST) Date: Tue, 22 Feb 2000 15:58:23 -0500 (EST) From: Srikant Sharma X-Sender: srikant@compserv2 To: kdb@oss.sgi.com Subject: stepping over call instruction Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hi, Is it possible to step over the call instruction. i.e. while single stepping the code is there any way of not entering the function call made by 'call' and return to kdb at the very next instruction. (Something similar to solaris kdb '[') -- Srikant From owner-kdb@oss.sgi.com Wed Feb 23 11:19:29 2000 Received: by oss.sgi.com id ; Wed, 23 Feb 2000 11:19:19 -0800 Received: from nat-su-33.valinux.com ([198.186.202.33]:7725 "EHLO mail.valinux.com") by oss.sgi.com with ESMTP id ; Wed, 23 Feb 2000 11:19:15 -0800 Received: from xtenk.su.varesearch.com ([10.1.2.159] helo=valinux.com) by mail.valinux.com with esmtp (Exim 2.12 #6) id 12NhJT-0000gv-00; Wed, 23 Feb 2000 11:19:07 -0800 Message-ID: <38B43356.F79DDAC5@valinux.com> Date: Wed, 23 Feb 2000 11:21:58 -0800 From: Dave Higgen X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: kdb@oss.sgi.com CC: dhiggen@valinux.com Subject: Any plans for a 2.2.14 patch? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Subject basically says it. I tried the 2.2.13 patch on a 2.2.14 kernel and it can be made to apply without too much fuzz. But the resulting kernel has a tendency to hang occasionally when you hit the 'break' key. I supect it may be an SMP issue; I do get the "Entering kdb" message but nothing after that, and looking at the code, the next thing that happens after that is an interprocessor interrupt to stop the other processor. And it does look as if there have been some changes involving APICs etc between 2.2.13 & 2.2.14...? Thanks for any info or suggestions, Dave Higgen From owner-kdb@oss.sgi.com Wed Feb 23 12:09:49 2000 Received: by oss.sgi.com id ; Wed, 23 Feb 2000 12:09:39 -0800 Received: from sbcs.sunysb.edu ([130.245.1.15]:4578 "EHLO sbcs.cs.sunysb.edu") by oss.sgi.com with ESMTP id ; Wed, 23 Feb 2000 12:09:22 -0800 Received: from compserv2 (compserv2 [130.245.1.58]) by sbcs.cs.sunysb.edu (8.9.3/8.9.3) with ESMTP id PAA27007 for ; Wed, 23 Feb 2000 15:06:36 -0500 (EST) Date: Wed, 23 Feb 2000 15:06:37 -0500 (EST) From: Srikant Sharma X-Sender: srikant@compserv2 To: kdb@oss.sgi.com Subject: Re: Any plans for a 2.2.14 patch? In-Reply-To: <38B43356.F79DDAC5@valinux.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing I have been using 2.2.13 patch on 2.2.14 kernel for a couple of weeks. (8th Feb to be precise). There was only one conflict in some #define (i don't remember exactly which) I have configured the kernel to be SMP and I have been using kdb extensively. There has not been any hang up or crash ... cheers -- Srikant On Wed, 23 Feb 2000, Dave Higgen wrote: > Subject basically says it. I tried the 2.2.13 patch on a 2.2.14 kernel > and it can be made to apply without too much fuzz. > > But the resulting kernel has a tendency to hang occasionally when you > hit the 'break' key. > > I supect it may be an SMP issue; I do get the "Entering kdb" message but > nothing after that, and looking at the code, the next thing that happens > after that is an interprocessor interrupt to stop the other processor. > And it does look as if there have been some changes involving APICs etc > between 2.2.13 & 2.2.14...? > > Thanks for any info or suggestions, > > > Dave Higgen > > From owner-kdb@oss.sgi.com Fri Feb 25 00:23:43 2000 Received: by oss.sgi.com id ; Fri, 25 Feb 2000 00:23:33 -0800 Received: from daidalos.hpclab.ceid.upatras.gr ([150.140.142.162]:39624 "HELO daidalos.hpclab.ceid.upatras.gr") by oss.sgi.com with SMTP id ; Fri, 25 Feb 2000 00:23:21 -0800 Received: (qmail 604 invoked from network); 25 Feb 2000 08:27:59 -0000 Received: from aias.hpclab.ceid.upatras.gr (HELO ceid.upatras.gr) (150.140.142.141) by daidalos.hpclab.ceid.upatras.gr with SMTP; 25 Feb 2000 08:27:59 -0000 Message-ID: <38B63CAB.BED4CC77@ceid.upatras.gr> Date: Fri, 25 Feb 2000 10:26:19 +0200 From: "Christos D. Antonopoulos" Organization: University of Patras, High Performance Information Systems Laboratory X-Mailer: Mozilla 4.7 [en] (X11; I; IRIX 6.5 IP22) X-Accept-Language: el, en MIME-Version: 1.0 To: kdb@oss.sgi.com Subject: Re: Any plans for a 2.2.14 patch? References: <38B43356.F79DDAC5@valinux.com> Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Dave Higgen wrote: > > Subject basically says it. I tried the 2.2.13 patch on a 2.2.14 kernel > and it can be made to apply without too much fuzz. > > But the resulting kernel has a tendency to hang occasionally when you > hit the 'break' key. > > I supect it may be an SMP issue; I do get the "Entering kdb" message but > nothing after that, and looking at the code, the next thing that happens > after that is an interprocessor interrupt to stop the other processor. > And it does look as if there have been some changes involving APICs etc > between 2.2.13 & 2.2.14...? > > Thanks for any info or suggestions, > > Dave Higgen I have experienced the same problem (some hangs) even on a 2.2.13 kernel. I think (I am not sure though) that this happens when break is pressed while there is disk I/O undergoing. Can anyone else confirm my observation ? Thanks Christos Antonopoulos From owner-kdb@oss.sgi.com Fri Feb 25 09:29:25 2000 Received: by oss.sgi.com id ; Fri, 25 Feb 2000 09:29:16 -0800 Received: from nat-su-33.valinux.com ([198.186.202.33]:56885 "EHLO mail.valinux.com") by oss.sgi.com with ESMTP id ; Fri, 25 Feb 2000 09:29:12 -0800 Received: from xtenk.su.varesearch.com ([10.1.2.159] helo=valinux.com) by mail.valinux.com with esmtp (Exim 2.12 #6) id 12OOXT-0007Mo-00; Fri, 25 Feb 2000 09:28:27 -0800 Message-ID: <38B6BC72.B0B67CC3@valinux.com> Date: Fri, 25 Feb 2000 09:31:30 -0800 From: Dave Higgen X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: "Christos D. Antonopoulos" CC: kdb@oss.sgi.com Subject: Re: Any plans for a 2.2.14 patch? References: <38B43356.F79DDAC5@valinux.com> <38B63CAB.BED4CC77@ceid.upatras.gr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing "Christos D. Antonopoulos" wrote: > Dave Higgen wrote: > > > > Subject basically says it. I tried the 2.2.13 patch on a 2.2.14 kernel > > and it can be made to apply without too much fuzz. > > > > But the resulting kernel has a tendency to hang occasionally when you > > hit the 'break' key. > > > > I supect it may be an SMP issue; I do get the "Entering kdb" message but > > nothing after that, and looking at the code, the next thing that happens > > after that is an interprocessor interrupt to stop the other processor. > > And it does look as if there have been some changes involving APICs etc > > between 2.2.13 & 2.2.14...? > > > > Thanks for any info or suggestions, > > > > Dave Higgen > > I have experienced the same problem (some hangs) even on a 2.2.13 > kernel. I think (I am not sure though) that this happens when break is > pressed while there is disk I/O undergoing. Can anyone else confirm my > observation ? > > Thanks > > Christos Antonopoulos Yes, I went back to a 2.2.13 kernel and was still seeing occasional hangs on that. It does seem to be related to the system being fairly active; I don't know if specifically disk IO is the issue. I guess that rather argues against it being anything to do with SMP changes 2.2.13 -> 2.2.14, though. Dave Higgen From owner-kdb@oss.sgi.com Tue Feb 29 16:53:21 2000 Received: by oss.sgi.com id ; Tue, 29 Feb 2000 16:53:11 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:50759 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 29 Feb 2000 16:52:59 -0800 Received: from griffin.engr.sgi.com (griffin.engr.sgi.com [163.154.5.72]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA04852 for ; Tue, 29 Feb 2000 16:56:01 -0800 (PST) mail_from (slurn@griffin.engr.sgi.com) Received: (from slurn@localhost) by griffin.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id QAA56335 for kdb@oss.sgi.com; Tue, 29 Feb 2000 16:51:17 -0800 (PST) From: slurn@griffin.engr.sgi.com (Scott Lurndal) Message-Id: <200003010051.QAA56335@griffin.engr.sgi.com> Subject: [PATCH] kdb-v1.1 (Kernel Debugger) available To: linux-kernel@vger.rutgers.edu Date: Tue, 29 Feb 2000 16:50:21 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing The latest release of the built-in kernel debugger for linux 2.3.48 is now available on http://oss.sgi.com/projects/kdb The list of new features can be found at http://oss.sgi.com/projects/kdb/news.html and the direct download is: ftp://oss.sgi.com/projects/kdb/download/kdb-v1.1-2.3.48.gz -- scott lurndal sgi