From arun_linux@yahoo.com Sun Dec 1 20:29:01 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 01 Dec 2002 20:29:03 -0800 (PST) Received: from web14503.mail.yahoo.com (web14503.mail.yahoo.com [216.136.224.66]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB24T1uR014593 for ; Sun, 1 Dec 2002 20:29:01 -0800 Message-ID: <20021202043200.69053.qmail@web14503.mail.yahoo.com> Received: from [203.143.133.7] by web14503.mail.yahoo.com via HTTP; Sun, 01 Dec 2002 20:32:00 PST Date: Sun, 1 Dec 2002 20:32:00 -0800 (PST) From: Arun Prasad Velu Subject: System bootup fails, system hangs To: kdb@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-archive-position: 147 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: arun_linux@yahoo.com Precedence: bulk X-list: kdb Hello, I downloded the kernel source from kernel.org version 2.4.18 and applied kdb patch. No problem with that. I recompiled the kernel after enabling kdb in kernel hacking. I have installed the newly compiled kernel. While booting through kdb enabled kernel, this is where i am getting stuck up " Warning: unable to open an initial console. Kernel panic: No init found. Try passing init= option to kernel. Entering kdb (current=0xc145800, pid 1) on processor 1 due to panic [0]kdb> " I could trype commands at kdb prompt, but nothing works. Once I type "go" system hangs :-( Please do let me know what I'm doing wrong here. Warm Regards Arun __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From kaos@sgi.com Mon Dec 2 00:57:26 2002 Received: with ECARTIS (v1.0.0; list kdb); Mon, 02 Dec 2002 00:57:28 -0800 (PST) Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB28vNuR020330 for ; Mon, 2 Dec 2002 00:57:25 -0800 Received: (qmail 7982 invoked from network); 2 Dec 2002 09:00:21 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 2 Dec 2002 09:00:21 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 2EBBE300087; Mon, 2 Dec 2002 20:00:18 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 83FB185; Mon, 2 Dec 2002 20:00:18 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Arun Prasad Velu Cc: kdb@oss.sgi.com Subject: Re: System bootup fails, system hangs In-reply-to: Your message of "Sun, 01 Dec 2002 20:32:00 -0800." <20021202043200.69053.qmail@web14503.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Dec 2002 20:00:12 +1100 Message-ID: <18265.1038819612@ocs3.intra.ocs.com.au> X-archive-position: 148 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Sun, 1 Dec 2002 20:32:00 -0800 (PST), Arun Prasad Velu wrote: >While booting through kdb enabled kernel, this is >where i am getting stuck up > >" >Warning: unable to open an initial console. Your boot parameters do not match your kernel .config. For example, you cannot specify console=ttyS0 at boot time unless also you built the kernel with a serial console. Check your boot time options against your .config. My boot has "console=tty0 console=ttyS0,38400" and .config has CONFIG_VT=y CONFIG_VT_CONSOLE=y (for console=tty) CONFIG_SERIAL=y CONFIG_SERIAL_CONSOLE=y (for console=ttyS0) From Giri_Malavali@adaptec.com Mon Dec 2 20:17:09 2002 Received: with ECARTIS (v1.0.0; list kdb); Mon, 02 Dec 2002 20:17:11 -0800 (PST) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB34H8uR022700 for ; Mon, 2 Dec 2002 20:17:08 -0800 Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6+Sun/8.11.6) with ESMTP id gB34K6j10323 for ; Mon, 2 Dec 2002 20:20:06 -0800 (PST) Received: from aimexc07.adaptec.com (aimexc07.adaptec.com [162.62.62.47]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id UAA28790 for ; Mon, 2 Dec 2002 20:20:06 -0800 (PST) Received: by aimexc07.adaptec.com with Internet Mail Service (5.5.2653.19) id ; Mon, 2 Dec 2002 20:20:06 -0800 Message-ID: From: "Malavali, Giri" To: "'kdb@oss.sgi.com'" Subject: KDB patch for Red Hat 8.0 Date: Mon, 2 Dec 2002 20:20:00 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-archive-position: 149 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Giri_Malavali@adaptec.com Precedence: bulk X-list: kdb Hello, I am trying to have kdb installed on Red Hat 8.0. I did not find kdb patches for kernel 2.4.18-14 in ur url. I picked the kdb patches of kernel 2.4.18(kdb version v2.1) and applied the patches on kernel 2.4.18-14. The patches did not apply properly. I went thru the patches and applied the patches manually for kernel 2.4.18-14. I am able to bring up kdb installed kernel, but the kernel crashes as soon as I break into kdb. I see some patches in 2.3v directory also for the same kernel. Can u please let me know whether I am picking the right patches for this kernel. Is there any place where I can get kdb patches for kernel 2.4.18-14. Thanks in advance, Giridhar.M.B From kaos@sgi.com Mon Dec 2 20:35:56 2002 Received: with ECARTIS (v1.0.0; list kdb); Mon, 02 Dec 2002 20:36:02 -0800 (PST) Received: from rj.sgi.com (rj.SGI.COM [192.82.208.96]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB34ZtuR022772 for ; Mon, 2 Dec 2002 20:35:55 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by rj.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB32cYG8002026 for ; Mon, 2 Dec 2002 18:38:34 -0800 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 PAA01001; Tue, 3 Dec 2002 15:37:07 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 0344B3000B8; Tue, 3 Dec 2002 15:37:06 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 32B2385; Tue, 3 Dec 2002 15:37:06 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Malavali, Giri" Cc: "'kdb@oss.sgi.com'" Subject: Re: KDB patch for Red Hat 8.0 In-reply-to: Your message of "Mon, 02 Dec 2002 20:20:00 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 03 Dec 2002 15:37:00 +1100 Message-ID: <30409.1038890220@kao2.melbourne.sgi.com> X-archive-position: 150 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Mon, 2 Dec 2002 20:20:00 -0800 , "Malavali, Giri" wrote: >I am trying to have kdb installed on Red Hat 8.0. >I did not find kdb patches for kernel 2.4.18-14 in ur url. kdb patches are against the standard kernels, not against Redhat or any other distributor's kernel. RH apply a lot of patches which conflict with kdb, you have to ask RH for a working version of kdb against their kernels. From sharad.tiwari@wipro.com Mon Dec 2 20:56:48 2002 Received: with ECARTIS (v1.0.0; list kdb); Mon, 02 Dec 2002 20:56:54 -0800 (PST) Received: from wiprom2mx2.wipro.com (wiprom2mx2.wipro.com [203.197.164.42]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB34uiuR023588 for ; Mon, 2 Dec 2002 20:56:46 -0800 Received: from m2vwall5.wipro.com (m2vwall5.wipro.com [10.115.50.5]) by wiprom2mx2.wipro.com (8.11.3/8.11.3) with SMTP id gB34xeb19339 for ; Tue, 3 Dec 2002 10:29:40 +0530 (IST) Received: from blr-m3-msg.wipro.com ([10.114.50.99]) by blr-m1-bh2.wipro.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 3 Dec 2002 10:29:35 +0530 x-mimeole: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Subject: RE: KDB patch for Red Hat 8.0 Date: Tue, 3 Dec 2002 10:29:34 +0530 Message-ID: <689F43A6CF84E541A721C5C3FD5ADECC02F4C0@blr-m3-msg.wipro.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: KDB patch for Red Hat 8.0 Thread-Index: AcKahBxrRD+vJXJoRlGbrPTldIOvUgABFERl From: "Sharad Tiwari" To: "Malavali, Giri" , X-OriginalArrivalTime: 03 Dec 2002 04:59:35.0152 (UTC) FILETIME=[C6370700:01C29A88] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id gB34uiuR023588 X-archive-position: 151 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sharad.tiwari@wipro.com Precedence: bulk X-list: kdb hi Giri, I suggest you get a vanilla version of the 2.4.18 kernel from kernel.org and then try applying the kdb patch. The kernel you get with Redhat 8.0 or from any other vendors may cause some problem, unless they provide some solution for the same. regards, Sharad. -----Original Message----- From: Malavali, Giri [mailto:Giri_Malavali@adaptec.com] Sent: Tue 03-Dec-02 9:50 AM To: 'kdb@oss.sgi.com' Cc: Subject: KDB patch for Red Hat 8.0 Hello, I am trying to have kdb installed on Red Hat 8.0. I did not find kdb patches for kernel 2.4.18-14 in ur url. I picked the kdb patches of kernel 2.4.18(kdb version v2.1) and applied the patches on kernel 2.4.18-14. The patches did not apply properly. I went thru the patches and applied the patches manually for kernel 2.4.18-14. I am able to bring up kdb installed kernel, but the kernel crashes as soon as I break into kdb. I see some patches in 2.3v directory also for the same kernel. Can u please let me know whether I am picking the right patches for this kernel. Is there any place where I can get kdb patches for kernel 2.4.18-14. Thanks in advance, Giridhar.M.B From edie.dong@intel.com Tue Dec 3 09:44:13 2002 Received: with ECARTIS (v1.0.0; list kdb); Tue, 03 Dec 2002 09:44:15 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB3HiDuR008507 for ; Tue, 3 Dec 2002 09:44:13 -0800 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB3Hi9C15423 for ; Tue, 3 Dec 2002 17:44:09 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB3HWYK02894 for ; Tue, 3 Dec 2002 17:32:35 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120401471208930 for ; Wed, 04 Dec 2002 01:47:12 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 4 Dec 2002 01:46:46 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA2601F26F22@pdsmsx32.pd.intel.com> From: "Dong, Edie" To: "'kdb@oss.sgi.com'" Subject: plan to add kdb support for ARM/XScale architecture support Date: Wed, 4 Dec 2002 01:45:12 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 152 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: edie.dong@intel.com Precedence: bulk X-list: kdb Dear sir/madam: I am planning to add Xscale architecture support for KDB, I want to fully use the XScale HW debug unit to enable the instruction break point and data breakpoint as well as the trace buffer enabling. Of course I am going to make it have limited feature support for ARMV4 architecture system. Does any body have any suggestion or comments? Or is there anybody already devoted to this area? best regards, eddie From kaos@sgi.com Tue Dec 3 13:47:25 2002 Received: with ECARTIS (v1.0.0; list kdb); Tue, 03 Dec 2002 13:47:29 -0800 (PST) Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB3LlMuR017837 for ; Tue, 3 Dec 2002 13:47:23 -0800 Received: (qmail 26325 invoked from network); 3 Dec 2002 21:50:27 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 3 Dec 2002 21:50:27 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id F29A4300087; Wed, 4 Dec 2002 08:50:25 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id D525685; Wed, 4 Dec 2002 08:50:25 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Dong, Edie" Cc: "'kdb@oss.sgi.com'" Subject: Re: plan to add kdb support for ARM/XScale architecture support In-reply-to: Your message of "Wed, 04 Dec 2002 01:45:12 +0800." <957BD1C2BF3CD411B6C500A0C944CA2601F26F22@pdsmsx32.pd.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Dec 2002 08:50:20 +1100 Message-ID: <5271.1038952220@ocs3.intra.ocs.com.au> X-archive-position: 153 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Wed, 4 Dec 2002 01:45:12 +0800 , "Dong, Edie" wrote: > I am planning to add Xscale architecture support for KDB, I >want to fully use the XScale HW debug unit to enable the instruction break >point and data breakpoint as well as the trace buffer enabling. Of course I >am going to make it have limited feature support for ARMV4 architecture >system. > Does any body have any suggestion or comments? Or is there >anybody already devoted to this area? The latest kdb patches for IA64 are the best starting point, the ix86 patch is more intrusive. ftp://oss.sgi.com/projects/kdb/download/v2.5/ kdb-v2.5-2.4.19-common-1 and kdb-v2.5-2.4.19-ia64-020821-1. You will need a kdb-v2.5-2.4.19-arm-1 patch containing patches against these areas. include/asm-$(ARCH): kdb.h Define KDB_ENTER() and various _fmt strings. kdbprivate.h Replace everything. Long jump support is the hardest, you can start with #undef KDB_HAVE_LONGJMP and add long jump later. It is used for breaking out of long output and recovery from kdb internal errors, such as accessing invalid addresses. arch/$(ARCH): kernel/traps.c Hook into die_if_kernel(), debug handlers etc. Also NMI if supported. kernel/smp.c KDB uses IPI or the equivalent to interrupt other processors. If the IPI can be sent unmaskable, do so. config.in, Makefile Add kdb options. kdb/*.[ch] All the arch dependent code needs to be reworked. Ignore kdba_prologue() for now, IA64 did not fit the prologue framework which is why the code has lots of FIXME comments. kdba_bt decodes the calling sequence. Unwinding the calling frame is tricky, especially when the kernel uses out of line sections for locks. IA64 uses unwind data, ix86 has heuristics based on the way that gcc generates code. kdba_bp implements hardware and software breakpoints. kdba_io has to do IO without using interrupts, kdb disables all interrupts on all cpus. kdba_id handles the high level disassembler work. Most of the work is done by the code extracted from gdb. A large chunk of arch/$(ARCH)/kdb is the dissassembler code lifted from gdb and modified as little as possible to fit the kernel. From sonic.zhang@intel.com Wed Dec 4 01:34:58 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 01:35:00 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB49YvuR007561 for ; Wed, 4 Dec 2002 01:34:58 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB49Ytg26901 for ; Wed, 4 Dec 2002 09:34:56 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB49YsN09166 for ; Wed, 4 Dec 2002 09:34:54 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120417375806787 for ; Wed, 04 Dec 2002 17:37:59 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 4 Dec 2002 17:37:32 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26027B4B97@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Cc: "XieMay (E-mail)" Subject: About the KDB command line Date: Wed, 4 Dec 2002 17:35:44 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 154 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, I am a newer to this KDB developing mail list. And I have used KDB for some days before I come here. I found KDB is really a wonderful tool for Linux kernel developer. It helps me much in my developing work of kernel modules. But, I think the KDB command line is not very friendly. If I make a mistake in the middle of my long command string, I have to input the whole line again. So I wonder if there is any plan to improve the edit ability of the command line. Such as "move left", "move right", "insert char", "delete char", "go to the head", "go to the end" and "move in the history commands", etc. I fail to find these features in the latest patch "kdb-v2.5-2.4.19-common-1" and "kdb-v2.5-2.4.19-i386-1". Do you think this requirement is reasonable for KDB? In order to ease my fingers, I'd like to add these features to the KDB patch. So I tried to add some codes to the KDB. The following 2 patches are for kdb-v2.4-2.4.19. Could you have a try and give me some feedbacks? Only i386 architecture is supported by now. Thank you very much. ^-^ Sonic Zhang 12/4/2002 ---------------------------------------------------------------------------- ---- --- linux-kdb/kdb/kdbmain.c Wed Dec 4 15:53:39 2002 +++ linux-kdb-cmdline/kdb/kdbmain.c Wed Dec 4 10:28:36 2002 @@ -691,7 +691,7 @@ */ #define KDB_CMD_HISTORY_COUNT 32 #define CMD_BUFLEN 200 /* kdb_printf: max printline size == 256 */ -static unsigned int cmd_head, cmd_tail; +static unsigned int cmd_head=0, cmd_tail=0; static unsigned int cmdptr; static char cmd_hist[KDB_CMD_HISTORY_COUNT][CMD_BUFLEN]; @@ -887,22 +887,22 @@ #define CTRL_N 14 /* initial situation */ - if (cmd_head == cmd_tail) return 1; + if (cmd_head == cmd_tail) return 0; switch(*cmd) { - case '\n': case CTRL_P: if (cmdptr != cmd_tail) cmdptr = (cmdptr-1) % KDB_CMD_HISTORY_COUNT; - strcpy(cmd, cmd_hist[cmdptr]); - return 0; + strncpy(cmd_hist[cmd_head], cmd_hist[cmdptr], CMD_BUFLEN); + return 1; case CTRL_N: + if (cmdptr == cmd_head) return 0; if (cmdptr != (cmd_head-1)) cmdptr = (cmdptr+1) % KDB_CMD_HISTORY_COUNT; - strcpy(cmd, cmd_hist[cmdptr]); - return 0; + strncpy(cmd_hist[cmd_head], cmd_hist[cmdptr], CMD_BUFLEN); + return 1; } - return 1; + return 0; } @@ -998,7 +998,7 @@ return KDB_CMD_GO; } break; - case KDB_REASON_CALL: + case KDB_REASON_CALL: if (!regs) kdb_printf("kdb() called with no registers, restricted function\n"); break; @@ -1059,6 +1059,10 @@ KDB_STATE_SET(LONGJMP); #endif /* KDB_HAVE_LONGJMP */ + + cmdbuf = cmd_hist[cmd_head]; + *cmdbuf = '\0'; + do_full_getstr: #if defined(CONFIG_SMP) kdb_printf(kdbgetenv("PROMPT"), smp_processor_id()); @@ -1066,15 +1070,15 @@ kdb_printf(kdbgetenv("PROMPT")); #endif - cmdbuf = cmd_hist[cmd_head]; - *cmdbuf = '\0'; /* * Fetch command from keyboard */ cmdbuf = kdb_getstr(cmdbuf, CMD_BUFLEN, defcmd_in_progress ? "[defcmd]" : ""); - if (*cmdbuf < 32 && *cmdbuf != '\n') - if (handle_ctrl_cmd(cmdbuf)) - goto do_full_getstr; + if (*cmdbuf < 32 && *cmdbuf != '\n') { + if (!handle_ctrl_cmd(cmdbuf)) *cmdbuf = '\0'; + cmdbuf = cmd_hist[cmd_head]; + goto do_full_getstr; + } if (*cmdbuf != '\n') { cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; --- linux-kdb/kdb/kdb_io.c Wed Dec 4 16:09:02 2002 +++ linux-kdb-cmdline/kdb/kdb_io.c Wed Dec 4 16:18:42 2002 @@ -206,7 +206,7 @@ if (kdb_nextline == linecount) { #ifdef KDB_HAVE_LONGJMP - char buf1[16]; + char buf1[16]=""; #if defined(CONFIG_SMP) char buf2[32]; #endif @@ -246,7 +246,7 @@ if (logging) printk("%s", moreprompt); - kdb_read(buf1, sizeof(buf1)); + kdb_read(buf1, 2); // '2' indicates to return immediately after getting one key. kdb_nextline = 1; /* Really set output line 1 */ if ((buf1[0] == 'q') || (buf1[0] == 'Q')) ---------------------------------------------------------------------------- ---- ---------------------------------------------------------------------------- ---- --- linux-kdb/arch/i386/kdb/kdba_io.c Tue Dec 3 13:25:48 2002 +++ linux-kdb-cmdline/arch/i386/kdb/kdba_io.c Wed Dec 4 16:51:03 2002 @@ -219,15 +219,6 @@ ch = 8; if (ch == '\t') ch = ' '; - if (ch == 8) { /* BS */ - ; - } else if (ch == 13) { /* Enter */ - kdb_printf("\n"); - } else { - if (!isprint(ch)) - return(-1); - kdb_printf("%c", ch); - } return ch; } return -1; @@ -335,6 +326,24 @@ return 8; } + // Arrow Key and Del Key + switch (scancode) { + case 0x53: // Del + return 4; + case 0x47: // Home + return 1; + case 0x4F: // End + return 5; + case 0x4B: // Left + return 2; + case 0x48: // Up + return 16; + case 0x50: // Down + return 14; + case 0x4D: // Right + return 6; + } + if (scancode == 0xe0) { return -1; } @@ -407,11 +416,6 @@ return 13; } - /* - * echo the character. - */ - kdb_printf("%c", keychar&0xff); - return keychar & 0xff; } #endif /* CONFIG_VT_CONSOLE */ @@ -460,12 +464,51 @@ NULL }; +#define CMD_BUFLEN 256 + +static void kdb_printprompt(void) +{ +#if defined(CONFIG_SMP) + kdb_printf(kdbgetenv("PROMPT"), smp_processor_id()); +#else + kdb_printf(kdbgetenv("PROMPT")); +#endif +} + +static int kdb_promptlength(void) +{ +#if defined(CONFIG_SMP) + char promptstr[30]; + snprintf(promptstr, 30, kdbgetenv("PROMPT"), smp_processor_id()); + return strlen(promptstr); +#else + return strlen(kdbgetenv("PROMPT"); +#endif +} + +// The bufsize must >= 2 . +// If bufsize == 2, that means this routine returns immediately after receiving one key. char * kdba_read(char *buffer, size_t bufsize) { char *cp = buffer; char *bufend = buffer+bufsize-2; /* Reserve space for newline and null byte */ + char *lastchar; + char tmp; + static char tmpbuffer[CMD_BUFLEN]; + int len = strlen(buffer); + + if (len > 0 ) { + cp += len; + if (*(buffer+len-1) == '\n') + cp--; + } + + lastchar = cp; + *cp = '\0'; + kdb_printf("%s", buffer); + for (;;) { int key; get_char_func *f; @@ -479,23 +522,102 @@ if (key != -1) break; } + if (bufsize <= 2) { + *buffer++ = (char)key; + *buffer = '\0'; + return buffer; + } - /* Echo is done in the low level functions */ switch (key) { case 8: /* backspace */ if (cp > buffer) { - kdb_printf("\b \b"); + if (cp < lastchar) { + memcpy(tmpbuffer, cp, lastchar - cp); + memcpy(cp-1, tmpbuffer, lastchar - cp); + } + *(--lastchar) = '\0'; --cp; + kdb_printf("\b%s \r", cp); + tmp = *cp; + *cp = '\0'; + kdb_printprompt(); + kdb_printf("%s", buffer); + *cp = tmp; } break; - case 10: /* enter */ case 13: /* enter */ - *cp++ = '\n'; - *cp++ = '\0'; + *lastchar++ = '\n'; + *lastchar++ = '\0'; + kdb_printf("\n"); return buffer; + case 4: /* Del */ + if(cp < lastchar) { + memcpy(tmpbuffer, cp+1, lastchar - cp -1); + memcpy(cp, tmpbuffer, lastchar - cp -1); + *(--lastchar) = '\0'; + kdb_printf("%s \r", cp); + tmp = *cp; + *cp = '\0'; + kdb_printprompt(); + kdb_printf("%s", buffer); + *cp = tmp; + } + break; + case 1: /* Home */ + if(cp > buffer) { + kdb_printf("\r"); + kdb_printprompt(); + cp = buffer; + } + break; + case 5: /* End */ + if(cp < lastchar) { + kdb_printf("%s", cp); + cp = lastchar; + } + break; + case 2: /* Left */ + if (cp > buffer) { + kdb_printf("\b"); + --cp; + } + break; + case 14: /* Down */ + memset(tmpbuffer, ' ', kdb_promptlength()+(lastchar-buffer)); + *(tmpbuffer+kdb_promptlength()+(lastchar-buffer)) = '\0'; + kdb_printf("\r%s\r", tmpbuffer); + *lastchar = (char)key; + *(lastchar+1) = '\0'; + return lastchar; + case 6: /* Right */ + if (cp < lastchar) { + kdb_printf("%c", *cp); + ++cp; + } + break; + case 16: /* Up */ + memset(tmpbuffer, ' ', kdb_promptlength()+(lastchar-buffer)); + *(tmpbuffer+kdb_promptlength()+(lastchar-buffer)) = '\0'; + kdb_printf("\r%s\r", tmpbuffer); + *lastchar = (char)key; + *(lastchar+1) = '\0'; + return lastchar; default: - if (cp < bufend) - *cp++ = key; + if (key >= 32 &&lastchar < bufend) { + if (cp < lastchar) { + memcpy(tmpbuffer, cp, lastchar - cp); + memcpy(cp+1, tmpbuffer, lastchar - cp); + } + *(++lastchar) = '\0'; + *cp = key; + kdb_printf("%s\r", cp); + ++cp; + tmp = *cp; + *cp = '\0'; + kdb_printprompt(); + kdb_printf("%s", buffer); + *cp = tmp; + } break; } } ---------------------------------------------------------------------------- ---- From kaos@sgi.com Wed Dec 4 13:41:31 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 13:41:33 -0800 (PST) Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB4LfTuR010281 for ; Wed, 4 Dec 2002 13:41:30 -0800 Received: (qmail 22359 invoked from network); 4 Dec 2002 21:44:38 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 4 Dec 2002 21:44:38 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 0C4B63000B8; Thu, 5 Dec 2002 08:44:34 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 26AE785; Thu, 5 Dec 2002 08:44:34 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Zhang, Sonic" Cc: "KDB (E-mail)" , "XieMay (E-mail)" Subject: Re: About the KDB command line In-reply-to: Your message of "Wed, 04 Dec 2002 17:35:44 +0800." <957BD1C2BF3CD411B6C500A0C944CA26027B4B97@pdsmsx32.pd.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 08:44:28 +1100 Message-ID: <16631.1039038268@ocs3.intra.ocs.com.au> X-archive-position: 155 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Wed, 4 Dec 2002 17:35:44 +0800 , "Zhang, Sonic" wrote: > So I wonder if there is any plan to improve the edit ability of the >command line. Such as "move left", "move right", "insert char", "delete >char", "go to the head", "go to the end" and "move in the history commands", >etc. It has been on my TODO list, a long way down. Thanks for doing this. > In order to ease my fingers, I'd like to add these features to the >KDB patch. So I tried to add some codes to the KDB. The following 2 patches >are for kdb-v2.4-2.4.19. Could you have a try and give me some feedbacks? Your mailer did text flow on the patch which destroyed it. Please resend the patch without text flowing. From ashok.raj@intel.com Wed Dec 4 14:56:14 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 14:56:16 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB4MuDuR013445 for ; Wed, 4 Dec 2002 14:56:14 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB4MuCv06032 for ; Wed, 4 Dec 2002 22:56:12 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB4MuBX13585 for ; Wed, 4 Dec 2002 22:56:11 GMT Received: from orsmsx26.jf.intel.com ([192.168.65.26]) by orsmsxvs040.jf.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120415041005134 for ; Wed, 04 Dec 2002 15:04:10 -0800 Received: by orsmsx26.jf.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 4 Dec 2002 14:59:17 -0800 Message-ID: <8A9A5F4E6576D511B98F00508B68C20A0C84D373@orsmsx106.jf.intel.com> From: "Raj, Ashok" To: "'kdb@oss.sgi.com'" Subject: debug issues Date: Wed, 4 Dec 2002 14:59:11 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29BE8.C21FB110" X-archive-position: 156 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ashok.raj@intel.com Precedence: bulk X-list: kdb This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C29BE8.C21FB110 Content-Type: text/plain Hello Not sure if anyone has noticed it. Iam seeing the same issues when I use either the kdb or the gdb patches for any kernel 2.4.18 and above. When I set breakpoints, I see it hit once, but never hits the next time. If I delete and set the breakpoint again, it seems to work again. (just one more time) Anyone seen this happen? Thanks ashokr ------_=_NextPart_001_01C29BE8.C21FB110 Content-Type: text/html

Hello

 

Not sure if anyone has noticed it. Iam seeing the same issues when I use either the kdb or the gdb patches for any kernel 2.4.18 and above.

 

When I set breakpoints, I see it hit once, but never hits the next time. If I delete and set the breakpoint again, it seems to work again. (just one more time)

 

Anyone seen this happen?

 

Thanks

ashokr

------_=_NextPart_001_01C29BE8.C21FB110-- From kaos@sgi.com Wed Dec 4 15:49:07 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 15:49:09 -0800 (PST) Received: from zok.sgi.com (zok.SGI.COM [204.94.215.101]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB4Nn7uR014292 for ; Wed, 4 Dec 2002 15:49:07 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by zok.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB4MuVKp017605 for ; Wed, 4 Dec 2002 14:56:32 -0800 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 KAA20298; Thu, 5 Dec 2002 10:50:53 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id EF6123000B8; Thu, 5 Dec 2002 10:50:51 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 3D6FB85; Thu, 5 Dec 2002 10:50:51 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Raj, Ashok" Cc: "'kdb@oss.sgi.com'" Subject: Re: debug issues In-reply-to: Your message of "Wed, 04 Dec 2002 14:59:11 -0800." <8A9A5F4E6576D511B98F00508B68C20A0C84D373@orsmsx106.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 10:50:45 +1100 Message-ID: <19629.1039045845@kao2.melbourne.sgi.com> X-archive-position: 157 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Wed, 4 Dec 2002 14:59:11 -0800 , "Raj, Ashok" wrote: >This message is in MIME format. Since your mail reader does not understand >this format, some or all of this message may not be legible. Please send only plain text, not html+text. >Not sure if anyone has noticed it. Iam seeing the same issues when I use >either the kdb or the gdb patches for any kernel 2.4.18 and above. > >When I set breakpoints, I see it hit once, but never hits the next time. If >I delete and set the breakpoint again, it seems to work again. (just one >more time) Insufficient details to diagnose what problem, if any, you have. Which kernel? Which kdb patches? What commands? What output? From ashok.raj@intel.com Wed Dec 4 15:59:50 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 15:59:53 -0800 (PST) Received: from caduceus.fm.intel.com (fmr02.intel.com [192.55.52.25]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB4NxluR014539 for ; Wed, 4 Dec 2002 15:59:47 -0800 Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37]) by caduceus.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB4NwAK15438 for ; Wed, 4 Dec 2002 23:58:11 GMT Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128]) by petasus.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB4NwWW12827 for ; Wed, 4 Dec 2002 23:58:32 GMT Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29]) by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120416034509213 ; Wed, 04 Dec 2002 16:03:45 -0800 Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 4 Dec 2002 16:02:54 -0800 Message-ID: <8A9A5F4E6576D511B98F00508B68C20A0C84D376@orsmsx106.jf.intel.com> From: "Raj, Ashok" To: "'Keith Owens'" , "Raj, Ashok" Cc: "'kdb@oss.sgi.com'" Subject: RE: debug issues Date: Wed, 4 Dec 2002 16:02:42 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-archive-position: 158 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ashok.raj@intel.com Precedence: bulk X-list: kdb Kernel 2.4.20 I applied the 2.4.19 patches (didn't see one for 2.4.20 in the downloads area), only 2 files had minor issues, that were fixed by hand. ./kernel/ksyms.c.rej ./drivers/usb/usbkbd.c.rej After I load my kernel module, I set a breakpoint in a kernel function, say Kdb> bp printk It shows me that the breakpoint#0 is set. Then I type Kdb> go When the driver or any kernel function calls printk, I notice the debugger prompt. I can look at back trace etc at this time. Then I do "go" again, on any future printk's I don't see the debugger break into and giving me a kdb prompt. Now I can manually break in using the "break" key, and then delete the breakpoint and set a new one "bp printk" again. Now I see the break happen and kdb prompt appear again. Justfyi, when I applied the gdb patches instead of the kdb patches, I see the exact same behavior on 2.4.20. ashokr -----Original Message----- From: Keith Owens [mailto:kaos@sgi.com] Sent: Wednesday, December 04, 2002 3:51 PM To: Raj, Ashok Cc: 'kdb@oss.sgi.com' Subject: Re: debug issues On Wed, 4 Dec 2002 14:59:11 -0800 , "Raj, Ashok" wrote: >This message is in MIME format. Since your mail reader does not understand >this format, some or all of this message may not be legible. Please send only plain text, not html+text. >Not sure if anyone has noticed it. Iam seeing the same issues when I use >either the kdb or the gdb patches for any kernel 2.4.18 and above. > >When I set breakpoints, I see it hit once, but never hits the next time. If >I delete and set the breakpoint again, it seems to work again. (just one >more time) Insufficient details to diagnose what problem, if any, you have. Which kernel? Which kdb patches? What commands? What output? From ashok.raj@intel.com Wed Dec 4 16:03:36 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 16:03:37 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB503ZuR014602 for ; Wed, 4 Dec 2002 16:03:36 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB504nQ16190 for ; Thu, 5 Dec 2002 00:04:49 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB503Z600520 for ; Thu, 5 Dec 2002 00:03:35 GMT Received: from orsmsx26.jf.intel.com ([192.168.65.26]) by orsmsxvs040.jf.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120416113507962 ; Wed, 04 Dec 2002 16:11:35 -0800 Received: by orsmsx26.jf.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 4 Dec 2002 16:06:41 -0800 Message-ID: <8A9A5F4E6576D511B98F00508B68C20A0C84D377@orsmsx106.jf.intel.com> From: "Raj, Ashok" To: "Raj, Ashok" , "'Keith Owens'" Cc: "'kdb@oss.sgi.com'" Subject: RE: debug issues Date: Wed, 4 Dec 2002 16:06:37 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-archive-position: 159 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ashok.raj@intel.com Precedence: bulk X-list: kdb One mode important data... When I do a "single step" from the debugger prompt, I see it work like a "continue" ashokr -----Original Message----- From: Raj, Ashok Sent: Wednesday, December 04, 2002 4:03 PM To: 'Keith Owens'; Raj, Ashok Cc: 'kdb@oss.sgi.com' Subject: RE: debug issues Kernel 2.4.20 I applied the 2.4.19 patches (didn't see one for 2.4.20 in the downloads area), only 2 files had minor issues, that were fixed by hand. ./kernel/ksyms.c.rej ./drivers/usb/usbkbd.c.rej After I load my kernel module, I set a breakpoint in a kernel function, say Kdb> bp printk It shows me that the breakpoint#0 is set. Then I type Kdb> go When the driver or any kernel function calls printk, I notice the debugger prompt. I can look at back trace etc at this time. Then I do "go" again, on any future printk's I don't see the debugger break into and giving me a kdb prompt. Now I can manually break in using the "break" key, and then delete the breakpoint and set a new one "bp printk" again. Now I see the break happen and kdb prompt appear again. Justfyi, when I applied the gdb patches instead of the kdb patches, I see the exact same behavior on 2.4.20. ashokr -----Original Message----- From: Keith Owens [mailto:kaos@sgi.com] Sent: Wednesday, December 04, 2002 3:51 PM To: Raj, Ashok Cc: 'kdb@oss.sgi.com' Subject: Re: debug issues On Wed, 4 Dec 2002 14:59:11 -0800 , "Raj, Ashok" wrote: >This message is in MIME format. Since your mail reader does not understand >this format, some or all of this message may not be legible. Please send only plain text, not html+text. >Not sure if anyone has noticed it. Iam seeing the same issues when I use >either the kdb or the gdb patches for any kernel 2.4.18 and above. > >When I set breakpoints, I see it hit once, but never hits the next time. If >I delete and set the breakpoint again, it seems to work again. (just one >more time) Insufficient details to diagnose what problem, if any, you have. Which kernel? Which kdb patches? What commands? What output? From kaos@sgi.com Wed Dec 4 16:41:15 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 16:41:20 -0800 (PST) Received: from zok.sgi.com (zok.SGI.COM [204.94.215.101]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB50fFuR014823 for ; Wed, 4 Dec 2002 16:41:15 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by zok.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB4NmeKp020219 for ; Wed, 4 Dec 2002 15:48:41 -0800 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 LAA20855; Thu, 5 Dec 2002 11:43:02 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id AD1DD3000B8; Thu, 5 Dec 2002 11:43:01 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 34FF785; Thu, 5 Dec 2002 11:43:01 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Raj, Ashok" Cc: "'kdb@oss.sgi.com'" Subject: Re: debug issues In-reply-to: Your message of "Wed, 04 Dec 2002 16:02:42 -0800." <8A9A5F4E6576D511B98F00508B68C20A0C84D376@orsmsx106.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 11:42:54 +1100 Message-ID: <20644.1039048974@kao2.melbourne.sgi.com> X-archive-position: 160 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Wed, 4 Dec 2002 16:02:42 -0800 , "Raj, Ashok" wrote: >Kernel 2.4.20 > >I applied the 2.4.19 patches (didn't see one for 2.4.20 in the downloads >area), only 2 files had minor issues, that were fixed by hand. Which kdb patches? You have to be more specific. ftp://oss.sgi.com/projects/kdb/download contains lots of patches against various versions of 2.4.19. How am I supposed to guess which patches you applied? v2.1/kdb-v2.1-2.4.19-pre6-common-1.bz2 v2.3/kdb-v2.3-2.4.19-common-4.bz2 v2.4/kdb-v2.4-2.4.19-common-3.bz2 v2.1/kdb-v2.1-2.4.19-pre6-i386-1.bz2 v2.3/kdb-v2.3-2.4.19-i386-1.bz2 v2.4/kdb-v2.4-2.4.19-i386-1.bz2 v2.1/kdb-v2.1-2.4.19-pre6-sparc64-1.bz2 v2.3/kdb-v2.3-2.4.19-i386-2.bz2 v2.3/kdb-v2.3-2.4.19-i386-3.bz2 v2.4/kdb-v2.4-2.4.19-i386-2.bz2 v2.2/kdb-v2.2-2.4.19-rc1-common-1.bz2 v2.3/kdb-v2.3-2.4.19-i386-4.bz2 v2.4/kdb-v2.4-2.4.19-ia64-020821-1.bz2 v2.2/kdb-v2.2-2.4.19-rc1-i386-1.bz2 v2.3/kdb-v2.3-2.4.19-i386-5.bz2 v2.5/kdb-v2.5-2.4.19-common-1.bz2 v2.3/kdb-v2.3-2.4.19-common-1.bz2 v2.3/kdb-v2.3-2.4.19-ia64-020821-1.bz2 v2.5/kdb-v2.5-2.4.19-i386-1.bz2 v2.3/kdb-v2.3-2.4.19-common-2.bz2 v2.4/kdb-v2.4-2.4.19-common-1.bz2 v2.5/kdb-v2.5-2.4.19-ia64-020821-1.bz2 v2.3/kdb-v2.3-2.4.19-common-3.bz2 v2.4/kdb-v2.4-2.4.19-common-2.bz2 BTW, there are 2.4.20 patches v2.5/kdb-v2.5-2.4.20-common-1.bz2 v2.5/kdb-v2.5-2.4.20-rc1-common-1.bz2 v2.5/kdb-v2.5-2.4.20-i386-1.bz2 v2.5/kdb-v2.5-2.4.20-rc1-i386-1.bz2 >After I load my kernel module, I set a breakpoint in a kernel function, say > >Kdb> bp printk > >It shows me that the breakpoint#0 is set. > >Then I type > >Kdb> go > >When the driver or any kernel function calls printk, I notice the debugger >prompt. I can look at back trace etc at this time. Then I do "go" again, on >any future printk's I don't see the debugger break into and giving me a kdb >prompt. Works for me on 2.4.20 with kdb-v2.5-2.4.20-common-1 and kdb-v2.5-2.4.20-i386-1 applied. bp sys_query_module Instruction(i) BP #0 at 0xc011c630 (sys_query_module) is enabled globally adjust 1 [0]kdb> go [root@icy root]# lsmod Module Instruction(i) breakpoint #0 at 0xc011c630 (adjusted) Entering kdb (current=0xc5aa8000, pid 7468) on processor 1 due to Breakpoint @ 0xc011c630 [1]kdb> go Instruction(i) breakpoint #0 at 0xc011c630 (adjusted) 0xc011c630 sys_query_module: int3 Entering kdb (current=0xc5aa8000, pid 7468) on processor 1 due to Breakpoint @ 0xc011c630 [1]kdb> go Instruction(i) breakpoint #0 at 0xc011c630 (adjusted) 0xc011c630 sys_query_module: int3 etc. From sonic.zhang@intel.com Wed Dec 4 16:51:20 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 16:51:21 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB50pKuR014902 for ; Wed, 4 Dec 2002 16:51:20 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB50qYe12082 for ; Thu, 5 Dec 2002 00:52:34 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB50pJt03684 for ; Thu, 5 Dec 2002 00:51:19 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120508542225476 for ; Thu, 05 Dec 2002 08:54:22 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Dec 2002 08:53:55 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26027B4D02@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: RE: About the KDB command line Date: Thu, 5 Dec 2002 08:52:18 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C29BF8.8F8A10A0" X-archive-position: 161 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C29BF8.8F8A10A0 Content-Type: text/plain; charset="ISO-8859-1" Hi, Please see the attachments for the KDB command line patches. Hope this time my mailer works well. Sonic Zhang ------_=_NextPart_000_01C29BF8.8F8A10A0 Content-Type: application/octet-stream; name="kdb-cmdline-v2.5-2.4.ZIP" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kdb-cmdline-v2.5-2.4.ZIP" UEsDBBQAAAAIALGLhC01ItfeSAQAAJEKAAAgAAAAa2RiLWNtZGxpbmUtdjIuNS0yLjQuMTktY29t bW9uLTGtVm1z2kYQ/ix+xVqeBAlEkISNjShTO35LWhtcm7TTIYxGlg6ssV6odLR2G//37t4hhA22 8yEfQKe73b3neW53dY1GA6Iwmd837oKb5uIXe2HywVf+YAEcMx9gB6xdZ7fltDpgm6ZdqdfrpVPD jwN8Ya84m46977Ta0vngABrtjmXsQV0+Dg4qALVmBbYDNsFA8OvxR/fo4tj99Pl6OLj60z0afOkP lZZdWtDqxy+n5yd9RcGgSrMGuLM7y8KETxyIvXsQY8IFefgvg14P7N02bdPIucdDH+ZJHk4TRIl2 gBzcW+YFhhhxL4y6lfprhj2zNO2Z3Qq8YDzjWbno33qZjBDmfLSR5nhUchujp5Brf3/PsG2oL54k 2FKJ4dW521esHTQF0iFMQh56EbLmc9w0TQRnJZyAVmAnMQrsOmSMz7MELCT8thUxxX3yf0Lu32o1 XNfhPwyv+F7OoPo1qTq4LN8EtEvxXgRGNWBrJaxYUxYLvcKkYenwbnMWdGkvJeeZP3sga6OUU/qO dWmyxKsgLeGRLFyW1oLleD2CsZJeele4lxo9Idd3xOoKuYVmFPmJZmsSLGVGsi/IUP+RMvxoFR4x /GrmrHB9pBQRedvp7FOZywdlbRmkoHU2EOo80t9Nxrw7wi0UJourk8PrQd89Ojw/d+ggNy6QK4m7 lbFpLrUsm4Gm4ljTwfeiCKsS8/YWkhSPZopcWZYbOERZQp/j6mSe+FQyXxNV764gIi6Wudsx2lAX T8ss6BCY6+Hh8MS9Phlq54P+2S8Xl+S8zZIgnFBFksmnw99P3MWq6HWVOkmKWt/MJ9CD9RMRkteW BtWvZhWnKhCk7mQeRe6UccSN5LeRu2wGgXY06J9+PnOvEQKhW5EBh+jBkr819fJqcHE5VHUD8niG 66nP8jzN3DDQdL0g224b1i6x3TNpINm+Hq9kjfQab5BrrJPDDZo1+ocanDLsL+CncewleC5ZGsMd e7hJvSyQFk1RiUUAAiYF0eTcavYaJA9tHSbEdooHnsPPoI7k9FgFB1RVFgzlUYHrJ2jZ8P49FO9b PdHgdFFYZHiL2CLm+jyLXLRZbK1LA2Wa8vTZaYkz/Z4tsKcWjWXrpV1gLTmUtxPqRVSPlaKMNmAB GXnxWSh716sdqlJpbLpbuGH67HbQdsyOY9rfcbXY5GvtOzt2ebOwzTa1HPnArEXsRIqcE3YvLwTY pOnpp/OEC3pYQpgLa4Uqkpg+2SiHNbLaUsInMz1V7b5agoW1PWrZ47JABNQdCXWnveyOBDVKp9Mw mcpGJqrtTlPf5aoBcZoxTOB4xjFZCRyxwg4VaATHEBeddCJedNmynxnYeheaTajaVbwmBKHvcZYD T4sPVRjHLAhxMnoAb4LdETBBOGKBFFXD+vtQNIFSSuz+1OOuGPbXB8gZh3TOZ3MuFAaLCrUgJkCM zDHpX/0LE+vbN3gy91sVa+d/UEsBAhQLFAAAAAgAsYuELTUi195IBAAAkQoAACAAAAAAAAAAAQAg AAAAAAAAAGtkYi1jbWRsaW5lLXYyLjUtMi40LjE5LWNvbW1vbi0xUEsFBgAAAAABAAEATgAAAIYE AAAAAA== ------_=_NextPart_000_01C29BF8.8F8A10A0 Content-Type: application/octet-stream; name="kdb-cmdline-v2.5-2.4.ZIP" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kdb-cmdline-v2.5-2.4.ZIP" UEsDBBQAAAAIALGL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NC4xOS1pMzg2LTFQSwUGAAAAAAEAAQBMAAAAEAYAAAAA ------_=_NextPart_000_01C29BF8.8F8A10A0-- From sonic.zhang@intel.com Wed Dec 4 17:14:44 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 17:14:48 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB51EhuR015079 for ; Wed, 4 Dec 2002 17:14:43 -0800 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB51EiF20084 for ; Thu, 5 Dec 2002 01:14:44 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB5132116538 for ; Thu, 5 Dec 2002 01:03:02 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120509174625105 for ; Thu, 05 Dec 2002 09:17:46 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Dec 2002 09:17:19 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26027B4D25@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: FW: About the KDB command line (I am sorry) Date: Thu, 5 Dec 2002 09:15:43 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-archive-position: 162 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, Hope this can be my last try. :( Sonic Zhang ---------------------------------------------------------------------------- --------- patch: kdb-cmdline-v2.5-2.4.19-common-1 ---------------------------------------------------------------------------- --------- --- linux-kdb/kdb/kdbmain.c Wed Dec 4 15:53:39 2002 +++ linux-kdb-cmdline/kdb/kdbmain.c Wed Dec 4 10:28:36 2002 @@ -691,7 +691,7 @@ */ #define KDB_CMD_HISTORY_COUNT 32 #define CMD_BUFLEN 200 /* kdb_printf: max printline size == 256 */ -static unsigned int cmd_head, cmd_tail; +static unsigned int cmd_head=0, cmd_tail=0; static unsigned int cmdptr; static char cmd_hist[KDB_CMD_HISTORY_COUNT][CMD_BUFLEN]; @@ -887,22 +887,22 @@ #define CTRL_N 14 /* initial situation */ - if (cmd_head == cmd_tail) return 1; + if (cmd_head == cmd_tail) return 0; switch(*cmd) { - case '\n': case CTRL_P: if (cmdptr != cmd_tail) cmdptr = (cmdptr-1) % KDB_CMD_HISTORY_COUNT; - strcpy(cmd, cmd_hist[cmdptr]); - return 0; + strncpy(cmd_hist[cmd_head], cmd_hist[cmdptr], CMD_BUFLEN); + return 1; case CTRL_N: + if (cmdptr == cmd_head) return 0; if (cmdptr != (cmd_head-1)) cmdptr = (cmdptr+1) % KDB_CMD_HISTORY_COUNT; - strcpy(cmd, cmd_hist[cmdptr]); - return 0; + strncpy(cmd_hist[cmd_head], cmd_hist[cmdptr], CMD_BUFLEN); + return 1; } - return 1; + return 0; } @@ -998,7 +998,7 @@ return KDB_CMD_GO; } break; - case KDB_REASON_CALL: + case KDB_REASON_CALL: if (!regs) kdb_printf("kdb() called with no registers, restricted function\n"); break; @@ -1059,6 +1059,10 @@ KDB_STATE_SET(LONGJMP); #endif /* KDB_HAVE_LONGJMP */ + + cmdbuf = cmd_hist[cmd_head]; + *cmdbuf = '\0'; + do_full_getstr: #if defined(CONFIG_SMP) kdb_printf(kdbgetenv("PROMPT"), smp_processor_id()); @@ -1066,15 +1070,15 @@ kdb_printf(kdbgetenv("PROMPT")); #endif - cmdbuf = cmd_hist[cmd_head]; - *cmdbuf = '\0'; /* * Fetch command from keyboard */ cmdbuf = kdb_getstr(cmdbuf, CMD_BUFLEN, defcmd_in_progress ? "[defcmd]" : ""); - if (*cmdbuf < 32 && *cmdbuf != '\n') - if (handle_ctrl_cmd(cmdbuf)) - goto do_full_getstr; + if (*cmdbuf < 32 && *cmdbuf != '\n') { + if (!handle_ctrl_cmd(cmdbuf)) *cmdbuf = '\0'; + cmdbuf = cmd_hist[cmd_head]; + goto do_full_getstr; + } if (*cmdbuf != '\n') { cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; --- linux-kdb/kdb/kdb_io.c Wed Dec 4 16:09:02 2002 +++ linux-kdb-cmdline/kdb/kdb_io.c Wed Dec 4 16:18:42 2002 @@ -206,7 +206,7 @@ if (kdb_nextline == linecount) { #ifdef KDB_HAVE_LONGJMP - char buf1[16]; + char buf1[16]=""; #if defined(CONFIG_SMP) char buf2[32]; #endif @@ -246,7 +246,7 @@ if (logging) printk("%s", moreprompt); - kdb_read(buf1, sizeof(buf1)); + kdb_read(buf1, 2); // '2' indicates to return immediately after getting one key. kdb_nextline = 1; /* Really set output line 1 */ if ((buf1[0] == 'q') || (buf1[0] == 'Q')) ---------------------------------------------------------------------------- ----------- patch: kdb-cmdline-v2.5-2.4.19-i386-1 ---------------------------------------------------------------------------- ----------- --- linux-kdb/arch/i386/kdb/kdba_io.c Tue Dec 3 13:25:48 2002 +++ linux-kdb-cmdline/arch/i386/kdb/kdba_io.c Wed Dec 4 16:51:03 2002 @@ -219,15 +219,6 @@ ch = 8; if (ch == '\t') ch = ' '; - if (ch == 8) { /* BS */ - ; - } else if (ch == 13) { /* Enter */ - kdb_printf("\n"); - } else { - if (!isprint(ch)) - return(-1); - kdb_printf("%c", ch); - } return ch; } return -1; @@ -335,6 +326,24 @@ return 8; } + // Arrow Key and Del Key + switch (scancode) { + case 0x53: // Del + return 4; + case 0x47: // Home + return 1; + case 0x4F: // End + return 5; + case 0x4B: // Left + return 2; + case 0x48: // Up + return 16; + case 0x50: // Down + return 14; + case 0x4D: // Right + return 6; + } + if (scancode == 0xe0) { return -1; } @@ -407,11 +416,6 @@ return 13; } - /* - * echo the character. - */ - kdb_printf("%c", keychar&0xff); - return keychar & 0xff; } #endif /* CONFIG_VT_CONSOLE */ @@ -460,12 +464,51 @@ NULL }; +#define CMD_BUFLEN 256 + +static void kdb_printprompt(void) +{ +#if defined(CONFIG_SMP) + kdb_printf(kdbgetenv("PROMPT"), smp_processor_id()); +#else + kdb_printf(kdbgetenv("PROMPT")); +#endif +} + +static int kdb_promptlength(void) +{ +#if defined(CONFIG_SMP) + char promptstr[30]; + snprintf(promptstr, 30, kdbgetenv("PROMPT"), smp_processor_id()); + return strlen(promptstr); +#else + return strlen(kdbgetenv("PROMPT"); +#endif +} + +// The bufsize must >= 2 . +// If bufsize == 2, that means this routine returns immediately after receiving one key. char * kdba_read(char *buffer, size_t bufsize) { char *cp = buffer; char *bufend = buffer+bufsize-2; /* Reserve space for newline and null byte */ + char *lastchar; + char tmp; + static char tmpbuffer[CMD_BUFLEN]; + int len = strlen(buffer); + + if (len > 0 ) { + cp += len; + if (*(buffer+len-1) == '\n') + cp--; + } + + lastchar = cp; + *cp = '\0'; + kdb_printf("%s", buffer); + for (;;) { int key; get_char_func *f; @@ -479,23 +522,102 @@ if (key != -1) break; } + if (bufsize <= 2) { + *buffer++ = (char)key; + *buffer = '\0'; + return buffer; + } - /* Echo is done in the low level functions */ switch (key) { case 8: /* backspace */ if (cp > buffer) { - kdb_printf("\b \b"); + if (cp < lastchar) { + memcpy(tmpbuffer, cp, lastchar - cp); + memcpy(cp-1, tmpbuffer, lastchar - cp); + } + *(--lastchar) = '\0'; --cp; + kdb_printf("\b%s \r", cp); + tmp = *cp; + *cp = '\0'; + kdb_printprompt(); + kdb_printf("%s", buffer); + *cp = tmp; } break; - case 10: /* enter */ case 13: /* enter */ - *cp++ = '\n'; - *cp++ = '\0'; + *lastchar++ = '\n'; + *lastchar++ = '\0'; + kdb_printf("\n"); return buffer; + case 4: /* Del */ + if(cp < lastchar) { + memcpy(tmpbuffer, cp+1, lastchar - cp -1); + memcpy(cp, tmpbuffer, lastchar - cp -1); + *(--lastchar) = '\0'; + kdb_printf("%s \r", cp); + tmp = *cp; + *cp = '\0'; + kdb_printprompt(); + kdb_printf("%s", buffer); + *cp = tmp; + } + break; + case 1: /* Home */ + if(cp > buffer) { + kdb_printf("\r"); + kdb_printprompt(); + cp = buffer; + } + break; + case 5: /* End */ + if(cp < lastchar) { + kdb_printf("%s", cp); + cp = lastchar; + } + break; + case 2: /* Left */ + if (cp > buffer) { + kdb_printf("\b"); + --cp; + } + break; + case 14: /* Down */ + memset(tmpbuffer, ' ', kdb_promptlength()+(lastchar-buffer)); + *(tmpbuffer+kdb_promptlength()+(lastchar-buffer)) = '\0'; + kdb_printf("\r%s\r", tmpbuffer); + *lastchar = (char)key; + *(lastchar+1) = '\0'; + return lastchar; + case 6: /* Right */ + if (cp < lastchar) { + kdb_printf("%c", *cp); + ++cp; + } + break; + case 16: /* Up */ + memset(tmpbuffer, ' ', kdb_promptlength()+(lastchar-buffer)); + *(tmpbuffer+kdb_promptlength()+(lastchar-buffer)) = '\0'; + kdb_printf("\r%s\r", tmpbuffer); + *lastchar = (char)key; + *(lastchar+1) = '\0'; + return lastchar; default: - if (cp < bufend) - *cp++ = key; + if (key >= 32 &&lastchar < bufend) { + if (cp < lastchar) { + memcpy(tmpbuffer, cp, lastchar - cp); + memcpy(cp+1, tmpbuffer, lastchar - cp); + } + *(++lastchar) = '\0'; + *cp = key; + kdb_printf("%s\r", cp); + ++cp; + tmp = *cp; + *cp = '\0'; + kdb_printprompt(); + kdb_printf("%s", buffer); + *cp = tmp; + } break; } } ---------------------------------------------------------------------------- ----------- From kaos@sgi.com Wed Dec 4 17:29:47 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 17:29:48 -0800 (PST) Received: from rj.sgi.com (rj.SGI.COM [192.82.208.96]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB51TkuR015138 for ; Wed, 4 Dec 2002 17:29:47 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by rj.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB4NWuG8021462 for ; Wed, 4 Dec 2002 15:32:57 -0800 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 MAA21313; Thu, 5 Dec 2002 12:31:33 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 858CD3000B8; Thu, 5 Dec 2002 12:31:31 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id C239985; Thu, 5 Dec 2002 12:31:31 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Zhang, Sonic" Cc: "KDB (E-mail)" Subject: Re: About the KDB command line In-reply-to: Your message of "Thu, 05 Dec 2002 08:52:18 +0800." <957BD1C2BF3CD411B6C500A0C944CA26027B4D02@pdsmsx32.pd.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 12:31:25 +1100 Message-ID: <21431.1039051885@kao2.melbourne.sgi.com> X-archive-position: 163 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Thu, 5 Dec 2002 08:52:18 +0800 , "Zhang, Sonic" wrote: > Please see the attachments for the KDB command line patches. > Hope this time my mailer works well. Got it, thanks. Now to add serial line support as well ... [A for up arrow :(. From sonic.zhang@intel.com Wed Dec 4 17:32:39 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 17:32:41 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB51WduR015160 for ; Wed, 4 Dec 2002 17:32:39 -0800 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB51Xrj01165 for ; Thu, 5 Dec 2002 01:33:53 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB51KxC26321 for ; Thu, 5 Dec 2002 01:20:59 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120509354313110 for ; Thu, 05 Dec 2002 09:35:43 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Dec 2002 09:35:16 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26027B4D35@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: This mail list server will cut off the code line. 8...( Date: Thu, 5 Dec 2002 09:33:42 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-archive-position: 164 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, Finally, I find why my code lines are always cut off. Some of the code lines are longer than 80 characters. It seems this mail list server will cut off any line which is longer than 80. It is not the fault of my mailer. What should I do to submit my patches successfully via this mail list server? Could you give me some advices? Thank you. Sonic Zhang From sonic.zhang@intel.com Wed Dec 4 18:24:13 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 18:24:16 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB52ODuR015617 for ; Wed, 4 Dec 2002 18:24:13 -0800 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB52OEC17951 for ; Thu, 5 Dec 2002 02:24:14 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB52CXf17707 for ; Thu, 5 Dec 2002 02:12:33 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120510271726733 for ; Thu, 05 Dec 2002 10:27:17 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Dec 2002 10:26:51 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26027B4D88@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: RE: About the KDB command line Date: Thu, 5 Dec 2002 10:25:14 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-archive-position: 165 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, What do you mean "[A for up arrow"? Isn't the "up arrow" represented by character '^P' in the ASCII table? Does the serial console transfer the "up arrow" in a different character? Sonic Zhang -----Original Message----- From: Keith Owens [mailto:kaos@sgi.com] Sent: 2002?12?5? 9:31 To: Zhang, Sonic Cc: KDB (E-mail) Subject: Re: About the KDB command line On Thu, 5 Dec 2002 08:52:18 +0800 , "Zhang, Sonic" wrote: > Please see the attachments for the KDB command line patches. > Hope this time my mailer works well. Got it, thanks. Now to add serial line support as well ... [A for up arrow :(. From kaos@sgi.com Wed Dec 4 19:21:27 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 19:21:28 -0800 (PST) Received: from zok.sgi.com (zok.SGI.COM [204.94.215.101]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB53LRuR016047 for ; Wed, 4 Dec 2002 19:21:27 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by zok.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB52SpKp027697 for ; Wed, 4 Dec 2002 18:28:52 -0800 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 OAA22030; Thu, 5 Dec 2002 14:23:13 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id D27423000B8; Thu, 5 Dec 2002 14:23:11 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 5DA1385; Thu, 5 Dec 2002 14:23:11 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Zhang, Sonic" Cc: "KDB (E-mail)" Subject: Re: This mail list server will cut off the code line. 8...( In-reply-to: Your message of "Thu, 05 Dec 2002 09:33:42 +0800." <957BD1C2BF3CD411B6C500A0C944CA26027B4D35@pdsmsx32.pd.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 14:23:05 +1100 Message-ID: <22988.1039058585@kao2.melbourne.sgi.com> X-archive-position: 166 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Thu, 5 Dec 2002 09:33:42 +0800 , "Zhang, Sonic" wrote: > Finally, I find why my code lines are always cut off. > > Some of the code lines are longer than 80 characters. It seems this >mail list server will cut off any line which is longer than 80. It is not >the fault of my mailer. I doubt it is this mailing list. I will copy in your patch with its long lines and see what happens. ==== test start ==== --- linux-kdb/kdb/kdbmain.c Wed Dec 4 15:53:39 2002 +++ linux-kdb-cmdline/kdb/kdbmain.c Wed Dec 4 10:28:36 2002 @@ -691,7 +691,7 @@ */ #define KDB_CMD_HISTORY_COUNT 32 #define CMD_BUFLEN 200 /* kdb_printf: max printline size == 256 */ -static unsigned int cmd_head, cmd_tail; +static unsigned int cmd_head=0, cmd_tail=0; static unsigned int cmdptr; static char cmd_hist[KDB_CMD_HISTORY_COUNT][CMD_BUFLEN]; @@ -887,22 +887,22 @@ #define CTRL_N 14 /* initial situation */ - if (cmd_head == cmd_tail) return 1; + if (cmd_head == cmd_tail) return 0; switch(*cmd) { - case '\n': case CTRL_P: if (cmdptr != cmd_tail) cmdptr = (cmdptr-1) % KDB_CMD_HISTORY_COUNT; - strcpy(cmd, cmd_hist[cmdptr]); - return 0; + strncpy(cmd_hist[cmd_head], cmd_hist[cmdptr], CMD_BUFLEN); + return 1; case CTRL_N: + if (cmdptr == cmd_head) return 0; if (cmdptr != (cmd_head-1)) cmdptr = (cmdptr+1) % KDB_CMD_HISTORY_COUNT; - strcpy(cmd, cmd_hist[cmdptr]); - return 0; + strncpy(cmd_hist[cmd_head], cmd_hist[cmdptr], CMD_BUFLEN); + return 1; } - return 1; + return 0; } @@ -998,7 +998,7 @@ return KDB_CMD_GO; } break; - case KDB_REASON_CALL: + case KDB_REASON_CALL: if (!regs) kdb_printf("kdb() called with no registers, restricted function\n"); break; @@ -1059,6 +1059,10 @@ KDB_STATE_SET(LONGJMP); #endif /* KDB_HAVE_LONGJMP */ + + cmdbuf = cmd_hist[cmd_head]; + *cmdbuf = '\0'; + do_full_getstr: #if defined(CONFIG_SMP) kdb_printf(kdbgetenv("PROMPT"), smp_processor_id()); @@ -1066,15 +1070,15 @@ kdb_printf(kdbgetenv("PROMPT")); #endif - cmdbuf = cmd_hist[cmd_head]; - *cmdbuf = '\0'; /* * Fetch command from keyboard */ cmdbuf = kdb_getstr(cmdbuf, CMD_BUFLEN, defcmd_in_progress ? "[defcmd]" : ""); - if (*cmdbuf < 32 && *cmdbuf != '\n') - if (handle_ctrl_cmd(cmdbuf)) - goto do_full_getstr; + if (*cmdbuf < 32 && *cmdbuf != '\n') { + if (!handle_ctrl_cmd(cmdbuf)) *cmdbuf = '\0'; + cmdbuf = cmd_hist[cmd_head]; + goto do_full_getstr; + } if (*cmdbuf != '\n') { cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; --- linux-kdb/kdb/kdb_io.c Wed Dec 4 16:09:02 2002 +++ linux-kdb-cmdline/kdb/kdb_io.c Wed Dec 4 16:18:42 2002 @@ -206,7 +206,7 @@ if (kdb_nextline == linecount) { #ifdef KDB_HAVE_LONGJMP - char buf1[16]; + char buf1[16]=""; #if defined(CONFIG_SMP) char buf2[32]; #endif @@ -246,7 +246,7 @@ if (logging) printk("%s", moreprompt); - kdb_read(buf1, sizeof(buf1)); + kdb_read(buf1, 2); // '2' indicates to return immediately after getting one key. kdb_nextline = 1; /* Really set output line 1 */ if ((buf1[0] == 'q') || (buf1[0] == 'Q')) ==== test end ==== From kaos@sgi.com Wed Dec 4 19:29:43 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 19:29:46 -0800 (PST) Received: from zok.sgi.com (zok.SGI.COM [204.94.215.101]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB53ThuR016176 for ; Wed, 4 Dec 2002 19:29:43 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by zok.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB52b7Kp028052 for ; Wed, 4 Dec 2002 18:37:09 -0800 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 OAA22102; Thu, 5 Dec 2002 14:31:26 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 59DBC3000B8; Thu, 5 Dec 2002 14:31:24 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id F22A085; Thu, 5 Dec 2002 14:31:24 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Zhang, Sonic" Cc: "KDB (E-mail)" Subject: Re: About the KDB command line In-reply-to: Your message of "Thu, 05 Dec 2002 10:25:14 +0800." <957BD1C2BF3CD411B6C500A0C944CA26027B4D88@pdsmsx32.pd.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 14:31:19 +1100 Message-ID: <23161.1039059079@kao2.melbourne.sgi.com> X-archive-position: 167 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Thu, 5 Dec 2002 10:25:14 +0800 , "Zhang, Sonic" wrote: > What do you mean "[A for up arrow"? > Isn't the "up arrow" represented by character '^P' in the ASCII >table? > Does the serial console transfer the "up arrow" in a different >character? People who use serial consoles expect to press the up-arrow key on the second machine and have it work the same way as up-arrow on a PC keyboard. The PC keyboard uses scancodes which your patch covered. Pressing up arrow on a second machine over a serial line sends whatever character sequence the remote emulator assigns to up arrow, the most common (VT100) uses [A. From kaos@sgi.com Wed Dec 4 21:14:05 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Dec 2002 21:14:08 -0800 (PST) Received: from tolkor.sgi.com ([198.149.18.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB55E4uR017351 for ; Wed, 4 Dec 2002 21:14:05 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by tolkor.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB55MBkq007850 for ; Wed, 4 Dec 2002 23:22:13 -0600 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 QAA22822; Thu, 5 Dec 2002 16:15:48 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 363983000B8; Thu, 5 Dec 2002 16:15:46 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 1550285; Thu, 5 Dec 2002 16:15:45 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Zhang, Sonic" , "KDB (E-mail)" Subject: Re: This mail list server will cut off the code line. 8...( In-reply-to: Your message of "Thu, 05 Dec 2002 14:23:05 +1100." <22988.1039058585@kao2.melbourne.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 16:15:39 +1100 Message-ID: <23798.1039065339@kao2.melbourne.sgi.com> X-archive-position: 168 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Thu, 05 Dec 2002 14:23:05 +1100, Keith Owens wrote: >On Thu, 5 Dec 2002 09:33:42 +0800 , >"Zhang, Sonic" wrote: >> Finally, I find why my code lines are always cut off. >> >> Some of the code lines are longer than 80 characters. It seems this >>mail list server will cut off any line which is longer than 80. It is not >>the fault of my mailer. > >I doubt it is this mailing list. I will copy in your patch with its >long lines and see what happens. > >==== test start ==== >--- linux-kdb/kdb/kdbmain.c Wed Dec 4 15:53:39 2002 >+++ linux-kdb-cmdline/kdb/kdbmain.c Wed Dec 4 10:28:36 2002 >@@ -691,7 +691,7 @@ > */ > #define KDB_CMD_HISTORY_COUNT 32 > #define CMD_BUFLEN 200 /* kdb_printf: max printline size == 256 */ >-static unsigned int cmd_head, cmd_tail; >+static unsigned int cmd_head=0, cmd_tail=0; No wrap when I send long lines to the list. It must be your (Zhang) mailer. From arun4linux@indiatimes.com Thu Dec 5 11:08:07 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 05 Dec 2002 11:08:09 -0800 (PST) Received: from w16.indiatimes.com ([203.199.93.81]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB5J82uR005157 for ; Thu, 5 Dec 2002 11:08:04 -0800 Received: from 192.168.57.81 ([192.168.57.22]) by w16.indiatimes.com (8.9.3/8.9.3) with SMTP id AAA02823; Fri, 6 Dec 2002 00:38:21 +0530 From: "arun4linux" Message-Id: <200212051908.AAA02823@w16.indiatimes.com> To: "Keith Owens", "Zhang Sonic" CC: "KDB E-mail" Reply-To: "arun4linux" Subject: Problem in using KDB Date: Fri, 06 Dec 2002 00:43:21 +0530 X-URL: http://indiatimes.com Content-Type: multipart/alternative; boundary="=_MAILER_ATTACH_BOUNDARY1_2002126504321635723058" MIME-Version: 1.0 X-archive-position: 169 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: arun4linux@indiatimes.com Precedence: bulk X-list: kdb --=_MAILER_ATTACH_BOUNDARY1_2002126504321635723058 Content-Type: text/plain; charset=us-ascii Hello, I have downloded the kernel source from kernel.org and applied kdb patch. (version linux-2.4.18.tar.gz, kdb-v2.1-2.4.18-common-1 and kdb-v2.1-2.4.18-i386-1 No problem with that. I recompiled the kernel after enabling kdb in kernel hacking. I have installed the newly compiled kernel. My default run level was 5 (X windows). I had problem in bringing up X Windows. I changed the run level to 3. system cam up well. I could press 'pause' and enter into kdb. I could execute few commands. But as soon as I try to execute "go" command, system getting hanged. After that nothing works, keyboard getting locked. Also can we see the C Source in kdb? Have a nice time. Arun "Keith Owens" wrote: On Thu, 5 Dec 2002 10:25:14 +0800 , "Zhang, Sonic" wrote: > What do you mean "[A for up arrow"? > Isn't the "up arrow" represented by character '^P' in the ASCII >table? > Does the serial console transfer the "up arrow" in a different >character? People who use serial consoles expect to press the up-arrow key on the second machine and have it work the same way as up-arrow on a PC keyboard. The PC keyboard uses scancodes which your patch covered. Pressing up arrow on a second machine over a serial line sends whatever character sequence the remote emulator assigns to up arrow, the most common (VT100) uses [A. Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in --=_MAILER_ATTACH_BOUNDARY1_2002126504321635723058 Content-Type: text/html; charset=us-ascii

Hello,

I have downloded the kernel source from kernel.org and applied kdb patch. (version linux-2.4.18.tar.gz, kdb-v2.1-2.4.18-common-1 and kdb-v2.1-2.4.18-i386-1
No problem with that.
I recompiled the kernel after enabling kdb in kernel hacking.
I have installed the newly compiled kernel.

My default run level was 5 (X windows).
I had problem in bringing up X Windows.
I changed the run level to 3.
system cam up well. I could press 'pause' and enter into kdb.
I could execute few commands. But as soon as I try to execute "go" command, system getting hanged. After that nothing works, keyboard getting locked.

Also can we see the C Source in kdb?

Have a nice time.
Arun


"Keith Owens" wrote:


On Thu, 5 Dec 2002 10:25:14 +0800 ,
"Zhang, Sonic" wrote:
> What do you mean "[A for up arrow"?
> Isn't the "up arrow" represented by character '^P' in the ASCII
>table?
> Does the serial console transfer the "up arrow" in a different
>character?

People who use serial consoles expect to press the up-arrow key on the
second machine and have it work the same way as up-arrow on a PC
keyboard. The PC keyboard uses scancodes which your patch covered.
Pressing up arrow on a second machine over a serial line sends whatever
character sequence the remote emulator assigns to up arrow, the most
common (VT100) uses [A.



Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in --=_MAILER_ATTACH_BOUNDARY1_2002126504321635723058-- From kaos@sgi.com Thu Dec 5 14:07:43 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 05 Dec 2002 14:07:45 -0800 (PST) Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB5M7fuR002034 for ; Thu, 5 Dec 2002 14:07:42 -0800 Received: (qmail 20947 invoked from network); 5 Dec 2002 22:10:54 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 5 Dec 2002 22:10:54 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 702B5300087; Fri, 6 Dec 2002 09:10:49 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 9F75985; Fri, 6 Dec 2002 09:10:49 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "arun4linux" Cc: "KDB E-mail" Subject: Re: Problem in using KDB In-reply-to: Your message of "Fri, 06 Dec 2002 00:43:21 +0530." <200212051908.AAA02823@w16.indiatimes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Dec 2002 09:10:43 +1100 Message-ID: <32370.1039126243@ocs3.intra.ocs.com.au> X-archive-position: 170 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Fri, 06 Dec 2002 00:43:21 +0530, "arun4linux" wrote: >--=_MAILER_ATTACH_BOUNDARY1_2002126504321635723058 Please use plain text on this list, not HTML+text. >My default run level was 5 (X windows). >I had problem in bringing up X Windows. >I changed the run level to 3. >system cam up well. I could press 'pause' and enter into kdb. >I could execute few commands. But as soon as I try to execute "go" >command, system getting hanged. After that nothing works, keyboard >getting locked. Sounds like you have hit the hardware problem where some keyboard controllers do not work after being used in polling mode. Try to login over the network then stop and start gpm. This problem does not exist in 2.5 kernels after the input layer was rewritten, it is a kernel problem, not kdb. >Also can we see the C Source in kdb? No. Use kgdb and a second machine if you want source. From arun4linux@indiatimes.com Thu Dec 5 17:58:59 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 05 Dec 2002 17:59:01 -0800 (PST) Received: from w16.indiatimes.com ([203.199.93.81]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB61wvuR007815 for ; Thu, 5 Dec 2002 17:58:58 -0800 Received: from 192.168.57.81 ([192.168.57.22]) by w16.indiatimes.com (8.9.3/8.9.3) with SMTP id HAA16814; Fri, 6 Dec 2002 07:29:24 +0530 From: "arun4linux" Message-Id: <200212060159.HAA16814@w16.indiatimes.com> To: "Keith Owens", "arun4linux" CC: "KDB E-mail" Reply-To: "arun4linux" Subject: Re: Re: Problem in using KDB Date: Fri, 06 Dec 2002 07:34:23 +0530 X-URL: http://indiatimes.com Content-Type: text/plain; charset=us-ascii X-archive-position: 171 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: arun4linux@indiatimes.com Precedence: bulk X-list: kdb Hello, <>It seems the network driver module is not getting loaded, it fails. I linked the network driver statically to the kernel (make menuconfig). Now the driver getting loaded. But network interface not configured (no ip address). And I couldn't use 'ifconfig' and few other administration commands while I'm in kdb enabled kernel. How to resolve it? Have a nice time. Warm Regards Arun "Keith Owens" wrote: On Fri, 06 Dec 2002 00:43:21 +0530, "arun4linux" wrote: >--=_MAILER_ATTACH_BOUNDARY1_2002126504321635723058 Please use plain text on this list, not HTML+text. >My default run level was 5 (X windows). >I had problem in bringing up X Windows. >I changed the run level to 3. >system cam up well. I could press 'pause' and enter into kdb. >I could execute few commands. But as soon as I try to execute "go" >command, system getting hanged. After that nothing works, keyboard >getting locked. Sounds like you have hit the hardware problem where some keyboard controllers do not work after being used in polling mode. Try to login over the network then stop and start gpm. This problem does not exist in 2.5 kernels after the input layer was rewritten, it is a kernel problem, not kdb. >Also can we see the C Source in kdb? No. Use kgdb and a second machine if you want source. Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in From sonic.zhang@intel.com Thu Dec 5 20:47:51 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 05 Dec 2002 20:47:54 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB64lpuR012648 for ; Thu, 5 Dec 2002 20:47:51 -0800 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB64nAO06402 for ; Fri, 6 Dec 2002 04:49:10 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB64aAH21615 for ; Fri, 6 Dec 2002 04:36:10 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120612510008631 for ; Fri, 06 Dec 2002 12:51:00 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Fri, 6 Dec 2002 12:50:32 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26027B51EB@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: A bug in the former command line patch Date: Fri, 6 Dec 2002 12:48:59 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 172 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, I find a bug in my last command line patch. I forget to print a new line when resuming printing after "more>" prompt. Sonic Zhang ---------------------------------------------------- --- linux-kdb/kdb/kdb_io.c Fri Dec 6 12:18:23 2002 +++ linux-kdb-cmdline/kdb/kdb_io.c Fri Dec 6 12:19:07 2002 @@ -249,6 +249,7 @@ kdb_nextline = 1; /* Really set output line 1 */ + kdb_printf("\n"); if ((buf1[0] == 'q') || (buf1[0] == 'Q')) do_longjmp = 1; ---------------------------------------------------- From sonic.zhang@intel.com Thu Dec 5 22:32:23 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 05 Dec 2002 22:32:25 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB66WNuR013397 for ; Thu, 5 Dec 2002 22:32:23 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB66WS604201 for ; Fri, 6 Dec 2002 06:32:28 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB66WRR14546 for ; Fri, 6 Dec 2002 06:32:27 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120614353301029 for ; Fri, 06 Dec 2002 14:35:33 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Fri, 6 Dec 2002 14:35:06 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26027B5247@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: RE: A bug in the former command line patch Date: Fri, 6 Dec 2002 14:33:32 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 173 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, Another update for USB keyboard. Sonic Zhang --------------------------------------------------- --- linux-kdb/arch/i386/kdb/kdba_io.c Fri Dec 6 13:38:01 2002 +++ linux-kdb-cmdline/arch/i386/kdb/kdba_io.c Fri Dec 6 13:38:22 2002 @@ -110,7 +110,6 @@ { case 0x2: case 0x20: /* Shift */ - kdb_printf("%c", shift_map[keycode]); return shift_map[keycode]; case 0x1: case 0x10: /* Ctrl */ @@ -125,7 +124,6 @@ switch(keycode) { case 0x1C: /* Enter */ - kdb_printf("\n"); return 13; case 0x3A: /* Capslock */ @@ -138,11 +136,9 @@ break ; default: if(!usb_lock) { - kdb_printf("%c", plain_map[keycode]); return plain_map[keycode]; } else { - kdb_printf("%c", shift_map[keycode]); return shift_map[keycode]; } } --------------------------------------------------- From sonic.zhang@intel.com Thu Dec 5 23:32:21 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 05 Dec 2002 23:32:24 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB67WLuR013747 for ; Thu, 5 Dec 2002 23:32:21 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB67XeU08365 for ; Fri, 6 Dec 2002 07:33:40 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB67WPY16378 for ; Fri, 6 Dec 2002 07:32:25 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120615353009379 for ; Fri, 06 Dec 2002 15:35:31 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Fri, 6 Dec 2002 15:35:03 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA2602879515@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: I find a bug about KDB command "bph" and "bpha". Date: Fri, 6 Dec 2002 15:33:29 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 174 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, I find this bug in KDB patch "kdb-v2.5-2.4.19" together with pristine kernel 2.4.19. This bug doesn't happen on "bp" or "bpa". The steps to reproduce: 1. Enter KDB by key "Pause" 2. bph printk (or bpha printk) 3. go 4. insmod testkdb.o ( This is my test module, which prints messages by "printk" in the initialization routine. Compile file "testkdb.c" before do the test.) The result: Fail to trap into KDB at the breakpoint. Regards. Sonic Zhang File "testkdb.c" ----------------------------------------------- #include #include char testkdbmsg[ ]="This is a test!" int testkdbbph; int testkdbbph2; /*========================= init the module ==========================*/ int init_module(void) { testkdbbph = 0x34342; printk("%s\n",testkdbmsg); return 0; } /*========================= cleanup the module ==========================*/ void cleanup_module(void) { testkdbbph2 = testkdbbph; printk("%s\n",testkdbmsg); } ----------------------------------------------- From Ambar_Ray@satyam.com Sun Dec 8 21:17:18 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 21:17:19 -0800 (PST) Received: from vvamail.satyam.com (vvamail.satyam.com [208.220.248.10]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB95HHuR014566 for ; Sun, 8 Dec 2002 21:17:17 -0800 Received: from hyd.satyam.com (hyd.satyam.com [204.252.161.226]) by vvamail.satyam.com (8.11.6/8.11.6) with ESMTP id gB95JtA31706 for ; Mon, 9 Dec 2002 00:19:56 -0500 Received: from hhtnt002.hht.satyam.com (localhost [127.0.0.1]) by hyd.satyam.com (8.11.6/8.11.6) with ESMTP id gB95Iix15810 for ; Mon, 9 Dec 2002 10:48:44 +0530 Received: by hhtnt002 with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Dec 2002 10:46:07 +0530 Message-ID: From: Ambar_Ray To: kdb@oss.sgi.com Subject: kdb mailing list subscription Date: Mon, 9 Dec 2002 10:46:05 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29F42.12BA4390" X-archive-position: 175 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Ambar_Ray@satyam.com Precedence: bulk X-list: kdb This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C29F42.12BA4390 Content-Type: text/plain Subscribe kdb Ambar_Ray@satyam.com ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** ------_=_NextPart_001_01C29F42.12BA4390 Content-Type: text/html Content-Transfer-Encoding: quoted-printable kdb mailing list subscription

Subscribe kdb Ambar_Ray@satyam.com
*********************************************************= *****************
This email (including any = attachments) is intended for the sole use of the intended recipient/s = and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY = INFORMATION. Any review or reliance by others or copying or = distribution or forwarding of any or all of the contents in this = message is STRICTLY PROHIBITED. If you are not the intended recipient, = please contact the sender by email and delete all copies; your = cooperation in this regard is appreciated.

*********************************************************= *****************

------_=_NextPart_001_01C29F42.12BA4390-- From Ambar_Ray@satyam.com Sun Dec 8 21:27:02 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 21:27:03 -0800 (PST) Received: from vvamail.satyam.com (vvamail.satyam.com [208.220.248.10]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB95R1uR014619 for ; Sun, 8 Dec 2002 21:27:02 -0800 Received: from hyd.satyam.com (hyd.satyam.com [204.252.161.226]) by vvamail.satyam.com (8.11.6/8.11.6) with ESMTP id gB95TdA01147 for ; Mon, 9 Dec 2002 00:29:40 -0500 Received: from hhtnt002.hht.satyam.com (localhost [127.0.0.1]) by hyd.satyam.com (8.11.6/8.11.6) with ESMTP id gB95SOR19630 for ; Mon, 9 Dec 2002 10:58:25 +0530 Received: by hhtnt002 with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Dec 2002 10:55:43 +0530 Message-ID: From: Ambar_Ray To: kdb@oss.sgi.com Subject: Subscription Date: Mon, 9 Dec 2002 10:55:42 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29F43.6ABD47D0" X-archive-position: 176 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Ambar_Ray@satyam.com Precedence: bulk X-list: kdb This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C29F43.6ABD47D0 Content-Type: text/plain Subscribe kdb Ambar_Ray@satyam.com ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** ------_=_NextPart_001_01C29F43.6ABD47D0 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Subscription

Subscribe kdb Ambar_Ray@satyam.com
*********************************************************= *****************
This email (including any = attachments) is intended for the sole use of the intended recipient/s = and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY = INFORMATION. Any review or reliance by others or copying or = distribution or forwarding of any or all of the contents in this = message is STRICTLY PROHIBITED. If you are not the intended recipient, = please contact the sender by email and delete all copies; your = cooperation in this regard is appreciated.

*********************************************************= *****************

------_=_NextPart_001_01C29F43.6ABD47D0-- From sonic.zhang@intel.com Sun Dec 8 21:48:14 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 21:48:15 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB95mDuR014744 for ; Sun, 8 Dec 2002 21:48:14 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB95nkR16023 for ; Mon, 9 Dec 2002 05:49:46 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB95mT104511 for ; Mon, 9 Dec 2002 05:48:30 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120913513620203 for ; Mon, 09 Dec 2002 13:51:36 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Dec 2002 13:51:07 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA2602879977@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: [Steps:] System reboot abnormally when I set bp in divide_error e xception routine Date: Mon, 9 Dec 2002 13:49:35 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 177 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, I encounter this problem with kdb-v2.5-2.4.19 under pristine kernel 2.4.19 on the i386 architecture. After I set a break point with command "bp" within exception routine "divide_error" and order the KDB to "go", the system reboot abnormally. Do you think it is a bug in KDB? Steps: 1. Enter KDB by Pause key 2. pb divide_error + 0xa 3. go Result: The system reboot abnormally. Thanks. Sonic Zhang From kaos@sgi.com Sun Dec 8 22:04:09 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 22:04:11 -0800 (PST) Received: from tolkor.sgi.com ([198.149.18.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB9649uR014840 for ; Sun, 8 Dec 2002 22:04:09 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by tolkor.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB96Cnkq007036 for ; Mon, 9 Dec 2002 00:12:50 -0600 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 RAA23818; Mon, 9 Dec 2002 17:06:12 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id A0E47300087; Mon, 9 Dec 2002 17:06:10 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 2BB4385; Mon, 9 Dec 2002 17:06:10 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Zhang, Sonic" Cc: "KDB (E-mail)" Subject: Re: [Steps:] System reboot abnormally when I set bp in divide_error e xception routine In-reply-to: Your message of "Mon, 09 Dec 2002 13:49:35 +0800." <957BD1C2BF3CD411B6C500A0C944CA2602879977@pdsmsx32.pd.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 09 Dec 2002 17:06:04 +1100 Message-ID: <6191.1039413964@kao2.melbourne.sgi.com> X-archive-position: 178 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Mon, 9 Dec 2002 13:49:35 +0800 , "Zhang, Sonic" wrote: > I encounter this problem with kdb-v2.5-2.4.19 under pristine kernel >2.4.19 on the i386 architecture. > After I set a break point with command "bp" within exception routine >"divide_error" and order the KDB to "go", the system reboot abnormally. > > Do you think it is a bug in KDB? > > Steps: > 1. Enter KDB by Pause key > 2. pb divide_error + 0xa > 3. go > > Result: > The system reboot abnormally. [0]kdb> id divide_error 0xc01077c4 divide_error: push $0x0 0xc01077c6 divide_error+0x2: push $0xc0107e10 0xc01077cb divide_error+0x7: nop 0xc01077cc error_code: push %ds 0xc01077cd error_code+0x1: push %eax 0xc01077ce error_code+0x2: xor %eax,%eax 0xc01077d0 error_code+0x4: push %ebp 0xc01077d1 error_code+0x5: push %edi 0xc01077d2 error_code+0x6: push %esi 0xc01077d3 error_code+0x7: push %edx 0xc01077d4 error_code+0x8: dec %eax 0xc01077d5 error_code+0x9: push %ecx 0xc01077d6 error_code+0xa: push %ebx 0xc01077d7 error_code+0xb: cld 0xc01077d8 error_code+0xc: mov %es,%ecx 0xc01077da error_code+0xe: mov 0x24(%esp,1),%esi [0]kdb> bp divide_error+0xa Instruction(i) BP #0 at 0xc01077ce (error_code+0x2) is enabled globally adjust 1 divide_error+0xa is past the end of divide_error, it is error_code+0x2. The debug handler branches to error_code, gets a tripple fault and reboots the machine. Do not try to debug any routines on the low level error paths, in-kernel debuggers cannot handle that. From Ambar_Ray@satyam.com Sun Dec 8 22:18:55 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 22:18:59 -0800 (PST) Received: from vvamail.satyam.com (vvamail.satyam.com [208.220.248.10]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB96IsuR014954 for ; Sun, 8 Dec 2002 22:18:55 -0800 Received: from hyd.satyam.com (hyd.satyam.com [204.252.161.226]) by vvamail.satyam.com (8.11.6/8.11.6) with ESMTP id gB96LXA11193 for ; Mon, 9 Dec 2002 01:21:34 -0500 Received: from hhtnt002.hht.satyam.com (localhost [127.0.0.1]) by hyd.satyam.com (8.11.6/8.11.6) with ESMTP id gB96KLZ07326 for ; Mon, 9 Dec 2002 11:50:22 +0530 Received: by hhtnt002 with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Dec 2002 11:47:44 +0530 Message-ID: From: Ambar_Ray To: kdb@oss.sgi.com Subject: KDB debugging session Date: Mon, 9 Dec 2002 11:47:41 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29F4A.AE330250" X-archive-position: 179 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Ambar_Ray@satyam.com Precedence: bulk X-list: kdb This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C29F4A.AE330250 Content-Type: text/plain Hi, I have installed kdb on vanilla 2.4.18 kernel and getting kdb prompt. I wish to learn kernel debugging using kdb. Could i get a complete debugging session example.Any other study material on kdb is solicited Thanks Ambar ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** ------_=_NextPart_001_01C29F4A.AE330250 Content-Type: text/html Content-Transfer-Encoding: quoted-printable KDB debugging session

Hi,
I have installed kdb on vanilla 2.4.18 kernel and = getting kdb prompt.
I wish to learn kernel debugging using kdb. Could i = get a complete
debugging session example.Any other study material = on kdb is solicited
Thanks
Ambar
*********************************************************= *****************
This email (including any = attachments) is intended for the sole use of the intended recipient/s = and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY = INFORMATION. Any review or reliance by others or copying or = distribution or forwarding of any or all of the contents in this = message is STRICTLY PROHIBITED. If you are not the intended recipient, = please contact the sender by email and delete all copies; your = cooperation in this regard is appreciated.

*********************************************************= *****************

------_=_NextPart_001_01C29F4A.AE330250-- From sonic.zhang@intel.com Sun Dec 8 22:33:46 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 22:33:48 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB96XkuR015002 for ; Sun, 8 Dec 2002 22:33:46 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB96ZIQ29766 for ; Mon, 9 Dec 2002 06:35:18 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB96Y2u19902 for ; Mon, 9 Dec 2002 06:34:02 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120914370827062 ; Mon, 09 Dec 2002 14:37:08 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Dec 2002 14:36:39 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26028799A0@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: Ambar_Ray , kdb@oss.sgi.com Subject: RE: KDB debugging session Date: Mon, 9 Dec 2002 14:35:06 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29F4D.1CF917E0" X-archive-position: 180 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C29F4D.1CF917E0 Content-Type: text/plain; charset="ISO-8859-1" I haven't find any study material on kdb either. But, I think you can refer the KDB man page in the Document folder of the kernel source code, after you apply the KDB patch. Sonic Zhang -----Original Message----- From: Ambar_Ray [mailto:Ambar_Ray@satyam.com] Sent: 2002?12?9? 14:18 To: kdb@oss.sgi.com Subject: KDB debugging session Hi, I have installed kdb on vanilla 2.4.18 kernel and getting kdb prompt. I wish to learn kernel debugging using kdb. Could i get a complete debugging session example.Any other study material on kdb is solicited Thanks Ambar ------_=_NextPart_001_01C29F4D.1CF917E0 Content-Type: text/html; charset="ISO-8859-1" KDB debugging session
I haven't find any study material on kdb either.
But, I think you can refer the KDB man page in the Document folder of the kernel source code, after you apply the KDB patch.
 
Sonic Zhang
-----Original Message-----
From: Ambar_Ray [mailto:Ambar_Ray@satyam.com]
Sent: 2002年12月9日 14:18
To: kdb@oss.sgi.com
Subject: KDB debugging session

Hi,
I have installed kdb on vanilla 2.4.18 kernel and getting kdb prompt.
I wish to learn kernel debugging using kdb. Could i get a complete
debugging session example.Any other study material on kdb is solicited
Thanks
Ambar

------_=_NextPart_001_01C29F4D.1CF917E0-- From kaos@sgi.com Sun Dec 8 22:37:02 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 22:37:04 -0800 (PST) Received: from rj.sgi.com (rj.SGI.COM [192.82.208.96]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB96b2uR015023 for ; Sun, 8 Dec 2002 22:37:02 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by rj.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gB94eVG8008930 for ; Sun, 8 Dec 2002 20:40:32 -0800 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 RAA23972; Mon, 9 Dec 2002 17:39:08 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 1C618300087; Mon, 9 Dec 2002 17:39:06 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id B436385; Mon, 9 Dec 2002 17:39:06 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Ambar_Ray Cc: kdb@oss.sgi.com Subject: Re: KDB debugging session In-reply-to: Your message of "Mon, 09 Dec 2002 11:47:41 +0530." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 09 Dec 2002 17:38:59 +1100 Message-ID: <6595.1039415939@kao2.melbourne.sgi.com> X-archive-position: 181 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Mon, 9 Dec 2002 11:47:41 +0530 , Ambar_Ray wrote: >This message is in MIME format. Since your mail reader does not understand >this format, some or all of this message may not be legible. Please use plain text on this list, not HTML+text. >I have installed kdb on vanilla 2.4.18 kernel and getting kdb prompt. >I wish to learn kernel debugging using kdb. Could i get a complete >debugging session example.Any other study material on kdb is solicited linux/Documentation/kdb From sonic.zhang@intel.com Sun Dec 8 23:30:54 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Dec 2002 23:30:56 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gB97UsuR015306 for ; Sun, 8 Dec 2002 23:30:54 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB97VAD24559 for ; Mon, 9 Dec 2002 07:31:10 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB97VAL11234 for ; Mon, 9 Dec 2002 07:31:10 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120915341718426 for ; Mon, 09 Dec 2002 15:34:18 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Dec 2002 15:33:48 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA26028799E7@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: May I put some test steps to this mail list? Date: Mon, 9 Dec 2002 15:32:15 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 182 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, I have written some test steps in order to track some known bugs or detect potential bugs. Follow these steps, I can check if KDB works well. May I put these test steps to this mail list? Or is there any place that is suitable to document these steps? The document style may be: ---------------------------------------------------------- Test command "bp": Set or display break point. ---------------------------------------------------------- Steps: 1. Enter KDB 2. bp xxxx 3. xxxx ...... n. go Expected Result: xxxxxx ---------------------------------------------------------- Thanks. Sonic Zhang From sonic.zhang@intel.com Tue Dec 10 19:48:20 2002 Received: with ECARTIS (v1.0.0; list kdb); Tue, 10 Dec 2002 19:48:23 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBB3mKuR024036 for ; Tue, 10 Dec 2002 19:48:20 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gBB3o0x12996 for ; Wed, 11 Dec 2002 03:50:00 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gBB3mhf20160 for ; Wed, 11 Dec 2002 03:48:44 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002121111515104941 for ; Wed, 11 Dec 2002 11:51:51 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 11 Dec 2002 11:51:20 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA2602879F46@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: [Steps:] Keyboard cannot work well in KDB Date: Wed, 11 Dec 2002 11:49:47 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" X-archive-position: 183 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, I encounter a problem of the keyboard in KDB. The patch version is kdb-2.5-2.4.19 for i386 with pristine kernel 2.4.19. The keyboard cannot work well in KDB. When you press a key, sometimes there is no character echoed on the screen, and sometimes two characters echoed on the screen. It is really annoying because you cannot type continuously. This happens on a server with 2 processors. But I can't reproduce it on my desktop machine. Is it a known bug? Otherwise, sometimes in KDB , only capital letters can be inputted. It may be a little hard to re-produce because when you first enter KDB mode, you may not encounter this situation. After doing some operations in KDB, e.g. set some breakpoint, suddenly I found every letter I input is capital letter and I can not switch to small letter mode. Is this the same problem? Thanks. Sonic Zhang From ssant@in.ibm.com Tue Dec 10 20:42:47 2002 Received: with ECARTIS (v1.0.0; list kdb); Tue, 10 Dec 2002 20:42:49 -0800 (PST) Received: from ausmtp01.au.ibm.com (ausmtp01.au.ibm.COM [202.135.136.97]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBB4gjuR024437 for ; Tue, 10 Dec 2002 20:42:46 -0800 Received: from d23rh901.au.ibm.com (d23rh901.au.ibm.com [9.185.167.100]) by ausmtp01.au.ibm.com (8.12.1/8.12.1) with ESMTP id gBB4kCVw301674 for ; Wed, 11 Dec 2002 15:46:12 +1100 Received: from d23m0067.in.ibm.com (d23m0067.in.ibm.com [9.184.199.180]) by d23rh901.au.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id gBB4eXAf175122 for ; Wed, 11 Dec 2002 15:40:37 +1100 Subject: KDB over Serial port To: kdb@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "Sachin P Sant" Date: Wed, 11 Dec 2002 10:06:59 +0530 X-MIMETrack: Serialize by Router on d23m0067/23/M/IBM(Release 5.0.9a |January 7, 2002) at 11/12/2002 10:07:05 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-archive-position: 184 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ssant@in.ibm.com Precedence: bulk X-list: kdb I am having a problem with KDB over serial port. These are the steps i follow .... 1] Enter KDB via serial port using Ctrl - A sequence 2] Put breakpoint using bp command [ bp c011b950 (do_fork routine ) ] 3] give a go command. 4] When the breakpoint is hit , the control is passed to the serial console. But after this i am not able to do anything on the serial console. My keyboard/mouse dosen't respond. I can see the KDB prompt , but can't do anything with it. I am using Redhat 7.3 kernel ( 2.4.18-3 ) on a 2 way SMP machine. This problem seems to be only on SMP machines.Is this a known problem ? Any pointers on this would be helpful ..... Thanks -Sachin -------------------------------------------------------------------- Sachin P Sant India Software Labs 7B1 Golden Enclave , Airport Road Bangalore , India Ph : 91-80-5044755 Internal : 3755 email : ssant@in.ibm.com --------------------------------------------------------------------- From kaos@sgi.com Tue Dec 10 20:43:41 2002 Received: with ECARTIS (v1.0.0; list kdb); Tue, 10 Dec 2002 20:43:42 -0800 (PST) Received: from tolkor.sgi.com (tolkor.SGI.COM [198.149.18.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBB4heuR024471 for ; Tue, 10 Dec 2002 20:43:41 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by tolkor.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gBB4qakq016720 for ; Tue, 10 Dec 2002 22:52:37 -0600 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 PAA14251; Wed, 11 Dec 2002 15:45:53 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 975483000B8; Wed, 11 Dec 2002 15:45:52 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 3B05685; Wed, 11 Dec 2002 15:45:52 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Zhang, Sonic" Cc: "KDB (E-mail)" Subject: Re: [Steps:] Keyboard cannot work well in KDB In-reply-to: Your message of "Wed, 11 Dec 2002 11:49:47 +0800." <957BD1C2BF3CD411B6C500A0C944CA2602879F46@pdsmsx32.pd.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Dec 2002 15:45:46 +1100 Message-ID: <7848.1039581946@kao2.melbourne.sgi.com> X-archive-position: 185 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Wed, 11 Dec 2002 11:49:47 +0800, "Zhang, Sonic" wrote: > I encounter a problem of the keyboard in KDB. The patch version is >kdb-2.5-2.4.19 for i386 with pristine kernel 2.4.19. > > The keyboard cannot work well in KDB. When you press a key, >sometimes there is no character echoed on the screen, and sometimes two >characters echoed on the screen. It is really annoying because you cannot >type continuously. > > This happens on a server with 2 processors. But I can't reproduce it >on my desktop machine. > > Is it a known bug? > > Otherwise, sometimes in KDB , only capital letters can be inputted. > It may be a little hard to re-produce because when you first enter >KDB mode, you may not encounter this situation. After doing some operations >in KDB, e.g. set some breakpoint, suddenly I found every letter I input is >capital letter and I can not switch to small letter mode. > > Is this the same problem? The scancode handling is in arch/i386/kdb/kdba_io.c::get_kbd_char(). Some keyboard hardware has problems running in polled mode rather than interrupt driven. The keyboard setup was rewritten in 2.5 kernels and the problems seem to have gone away, my current theory is that these are kernel console problems, not kdb. Unfortunately none of the kdb developers have hardware that shows these problems. Without access to the hardware that is failing, we have to rely on users tracking down the problem. Edit get_kbd_char() to print the current cpu, the scan code being read, the various flags and the final result. Start at the comment 'Fetch the scancode' and work down. Use kdb_printf, not printk and set LINES 10000 first. WOrk out what is going wrong and where. From sonic.zhang@intel.com Wed Dec 11 17:20:44 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 11 Dec 2002 17:20:48 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBC1KiuR005698 for ; Wed, 11 Dec 2002 17:20:44 -0800 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gBC1LAi00366 for ; Thu, 12 Dec 2002 01:21:10 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gBC18up28280 for ; Thu, 12 Dec 2002 01:08:57 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002121209241828004 for ; Thu, 12 Dec 2002 09:24:18 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Thu, 12 Dec 2002 09:23:46 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA260287A23A@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: RE: [Steps:] Keyboard cannot work well in KDB Date: Thu, 12 Dec 2002 09:22:14 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-archive-position: 186 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, Finally, I find the root cause of this bug. It is the keyboard switch box, which connects one keyboard with several servers. The switch has problems running in polled mode used by KDB keyboard driver. After I directly connect the keyboard to the server, this bug disappears. Thank you. Sonic Zhang -----Original Message----- From: Keith Owens [mailto:kaos@sgi.com] Sent: 2002?12?11? 12:46 To: Zhang, Sonic Cc: KDB (E-mail) Subject: Re: [Steps:] Keyboard cannot work well in KDB On Wed, 11 Dec 2002 11:49:47 +0800, "Zhang, Sonic" wrote: > I encounter a problem of the keyboard in KDB. The patch version is >kdb-2.5-2.4.19 for i386 with pristine kernel 2.4.19. > > The keyboard cannot work well in KDB. When you press a key, >sometimes there is no character echoed on the screen, and sometimes two >characters echoed on the screen. It is really annoying because you cannot >type continuously. > > This happens on a server with 2 processors. But I can't reproduce it >on my desktop machine. > > Is it a known bug? > > Otherwise, sometimes in KDB , only capital letters can be inputted. > It may be a little hard to re-produce because when you first enter >KDB mode, you may not encounter this situation. After doing some operations >in KDB, e.g. set some breakpoint, suddenly I found every letter I input is >capital letter and I can not switch to small letter mode. > > Is this the same problem? The scancode handling is in arch/i386/kdb/kdba_io.c::get_kbd_char(). Some keyboard hardware has problems running in polled mode rather than interrupt driven. The keyboard setup was rewritten in 2.5 kernels and the problems seem to have gone away, my current theory is that these are kernel console problems, not kdb. Unfortunately none of the kdb developers have hardware that shows these problems. Without access to the hardware that is failing, we have to rely on users tracking down the problem. Edit get_kbd_char() to print the current cpu, the scan code being read, the various flags and the final result. Start at the comment 'Fetch the scancode' and work down. Use kdb_printf, not printk and set LINES 10000 first. WOrk out what is going wrong and where. From ccalder@directvinternet.com Wed Dec 11 23:22:49 2002 Received: with ECARTIS (v1.0.0; list kdb); Wed, 11 Dec 2002 23:22:50 -0800 (PST) Received: from directvinternet.com (dsl-65-191-41-34.telocity.com [65.191.41.34]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBC7MkuR015380 for ; Wed, 11 Dec 2002 23:22:46 -0800 Message-ID: <4171-22002124127261988@directvinternet.com> From: "Charly Calder Faux Furs" To: kdb@oss.sgi.com Subject: Christmas Greetings! Date: Wed, 11 Dec 2002 23:26:19 -0800 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_94915C5ABAF209EF376268C8" X-archive-position: 187 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ccalder@directvinternet.com Precedence: bulk X-list: kdb This is a multi-part message in MIME format. ------=_NextPart_94915C5ABAF209EF376268C8 Content-Type: multipart/alternative; boundary="----=_NextPart_84815C5ABAF209EF376268C8" ------=_NextPart_84815C5ABAF209EF376268C8 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable =09 =09=09 =09=20 =20 Faux Chinchilla Faux Fox=20 Manhattan Mink=09=09=09=09=09 =09=09=09=09 =09=09=09=09 =20 =09=09=09=09 =20 Midnight Mink Faux Fur Throw:=20 Faux Fur Throws are ideal choice to make your living space more cozy, eleg= ant or plain cool=2E Charly Calder throws come in a variety of best qualit= y TISSAVEL Faux Furs (Black & Brown Mink, Sable, Red & Purple Fox, Wolf an= d more)=20 Our exclusive offer only available at: www=2Echarlycalder=2Ecom=20 Forward this e-mail to a friend, and automatically enter to WIN!=20 Happy Holidays!=20 =20 If you wish no longer to receive e-mail offers from us, send e-mail to cca= lder@directvinternet=2Ecom, with subject line Remove=2E We apologize for t= he inconvenience=2E=20 ------=_NextPart_84815C5ABAF209EF376268C8 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable =09 =09=09Charly Calder Holiday Gift Ideas =09
=09=09=09=09 =09=09=09=09


3D"Click
Faux Chinchilla

Faux Fox
3D"Click
Manhattan Mink=09=09=09=09=09

=09=09=09=09

=20
Midnight Mink Faux Fur Throw:

Faux Fur Throws are ideal choice to make your living space more cozy, eleg= ant or plain cool=2E Charly Calder throws come in a variety of best qualit= y TISSAVEL Faux Furs (Black & Brown Mink, Sable, Red= & Purple Fox, Wolf and more)
Our exclusive offer only available at: www=2Echarlycalder=2Ecom


Forward this e-mail to a friend, and automatically enter to WIN!

Happy Holidays!




If you wish no longer to receive e-mail offers from us, send e-mail to cca= lder@directvinternet=2Ecom, with subject line Remove=2E We apologize for the inconvenience=2E=20 ------=_NextPart_84815C5ABAF209EF376268C8-- ------=_NextPart_94915C5ABAF209EF376268C8 Content-Type: image/gif; name="rektop.gif" Content-Transfer-Encoding: base64 Content-Description: rektop.gif Content-Id: <2951215-220021241272040411830@directvinternet.com> R0lGODlhpQFHANUAAHR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rxYHADMYDfO+DeP/7g7S3y917mP8Dhdo/y V4/1uQ3xCUDfq/4Kg3/fKXH1h1/eZODWdG3fX28G0R35gC/tMJ+uf1/5mm+tzM346bremx/6oj/6 pF/6pn/6qJ/6qr/6rN/6rv/66xoEADs= ------=_NextPart_94915C5ABAF209EF376268C8 Content-Type: image/gif; name="holidaygift.gif" Content-Transfer-Encoding: base64 Content-Description: holidaygift.gif Content-Id: <1634616-220021241272040411831@directvinternet.com> R0lGODlhYgGAANUAADExMS4QEC0tLSUlJTEaGrNKaSkpKSEgIDIrKxoZGSskJDAVFSoODmkzQh0d HY+DsyMbGxoWFjEiIisbG1UnMiUQEM4zVo1slB0WFo59q42f3SISEno6TY2d2h0ZGY5xm42g35CR xo+JuyAUFDAoKI2Z1Y52oY56po1liicgIBgXFyYWFh4TE4+Gt5lGYJCOw4yX0tUtUcE/YEAcIY+M v+IhSNsnTJCXz4xfgY+UzBsUFOgcQ42h4I2b2I+Ar4pAVyH5BAAAAAAALAAAAABiAYAAAAb/QAAA MUQYjyQEabmUkCTQqJQgoRKu2Kx2y+16v+CwmFutjs/otHrN9patbbK1LK07nUzlcT/sC/+AgYJE e3tMTU92UHNYb3GPkG6Mb5RZlZdwkZqba5iYlpOhnqFXdFSKUE+HeoWEQkSCsYGErUmHd6iLjpy8 vWBmvsHCwru8wJSoqqutfbCyz7SFtky4doxxC1fZBNvd2t/c4N7h5NvD51vj6uLs5e3r7uTo842l p8l4S6yFfs7Ps0UMKaGWSFGmg1zgKXzHMN5Ch/TOPFSXbUHFi9wwWswIsePEdhEhXVKkLA8zV/9i RUMysAkqUl68aZzJcaNNmjdr4tToEZyw/4k7dQrNSTRo0aE8P8o7Zw4NHZL59vHxl3KWtJaqciHU IjOjxa9gw4odS7as2bBIhfZc283o2bdw48o1m5ZoQ6V4f02yU1LfST9V/7TSc8tgMa7h5ipezFhs XbePvTaeTLny2MhHM0Me9+Up36hJ+KEM/OrqrYJ1wty0zLp1WcwzXcuePRu2TrlqJXl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eldVqJ8Fd5Zkpv EgkhNVLrdFLnE1lB1BGXVVY11U+jVEpRFVdzkFrZVVetdfawdS0RsS379EiNVVnB1SHxdVyLtVw3 FVCNUF0fb13blRUF9mDfdWDjNVizlV6f1F7v9VjztQmPdVypAChJ9F9NNGChNWERVmE/NmQ9dmQX FlU5Nls3xGFXtVu9FV8nFjQrVk+XtV+ftERRVi5K9mQXVmB11mRz9md9Nmjl9WZTVlWJVVIj1mVf Vklj1mLJFT/zU2OJdiCAtmettmqxFkOndmvvslwhNlb3lRaXFg2bVmZnlk9rVmq5dm3Ztm3dtmBU dmVZ1U5jyXZsl7ZpnZZZM9Zm37Zv/fZv2adrvbZYLTZs5dJuK7Vs85Zm+7RrAfdxIZdr23JYH5Zl MTVsETdz87RiF3dW09ZxIzd0RVdbHddfrcVyQ9RwNXd1kc5wLZZxy7V0nXV0aTfyJvd2KVdTv/Zy y5Z1fRcS97VzR9R0cbd4a7c4Zdd4lXfyiPctkRZse/d3pfcaXfdsMbZ5lzd7k3d7tbd7uTd3sfd0 59Yz63Z6zXc5q9dYYTd8xeZ7vfd9k5d95ZfyUNc+Vfd8KzUIAAA7 ------=_NextPart_94915C5ABAF209EF376268C8-- From ssant@in.ibm.com Thu Dec 12 04:28:10 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 12 Dec 2002 04:28:13 -0800 (PST) Received: from ausmtp01.au.ibm.com (ausmtp01.au.ibm.COM [202.135.136.97]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBCCS8uR031833 for ; Thu, 12 Dec 2002 04:28:09 -0800 Received: from d23rh902.au.ibm.com (d23rh902.au.ibm.com [9.185.167.101]) by ausmtp01.au.ibm.com (8.12.1/8.12.1) with ESMTP id gBCCVeVw371712 for ; Thu, 12 Dec 2002 23:31:40 +1100 Received: from d23m0067.in.ibm.com (d23m0067.in.ibm.com [9.184.199.180]) by d23rh902.au.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id gBCCOVkl123258 for ; Thu, 12 Dec 2002 23:24:32 +1100 Subject: KDB over serial port To: kdb@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "Sachin P Sant" Date: Thu, 12 Dec 2002 17:52:33 +0530 X-MIMETrack: Serialize by Router on d23m0067/23/M/IBM(Release 5.0.9a |January 7, 2002) at 12/12/2002 05:52:35 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-archive-position: 188 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ssant@in.ibm.com Precedence: bulk X-list: kdb I am having a problem with KDB over serial port. These are the steps i follow .... 1] Enter KDB via serial port using Ctrl - A sequence 2] Put breakpoint using bp command [ bp c011b950 (do_fork routine ) ] 3] give a go command. 4] When the breakpoint is hit , the control is passed to the serial console. But after this i am not able to do anything on the serial console. My keyboard/mouse dosen't respond. I can see the KDB prompt , but can't do anything with it. Also this problem is very inconsistent .Some time the hang occurs at the first bp hit and sometime it occurs when the breakpoint hits 7th time. Can the polling routine for serial console be a culprit here .. I am using Redhat 7.3 kernel ( 2.4.18-3 ) on a 2 way IBM x-series 350 SMP machine. This problem seems to be only on SMP machines. Does anyone know about this problem ? Any pointers on this would be helpful ..... -------------------------------------------------------------------- Sachin P Sant Linux Change Team India Software Labs 7B1 Golden Enclave , Airport Road Bangalore , India Ph : 91-80-5044755 Internal : 3755 email : ssant@in.ibm.com --------------------------------------------------------------------- From kaos@sgi.com Thu Dec 12 05:15:41 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 12 Dec 2002 05:15:45 -0800 (PST) Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBCDFcuR000608 for ; Thu, 12 Dec 2002 05:15:39 -0800 Received: (qmail 18389 invoked from network); 12 Dec 2002 13:19:20 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 12 Dec 2002 13:19:20 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 2C5A4300087; Fri, 13 Dec 2002 00:19:19 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 12F6C85; Fri, 13 Dec 2002 00:19:19 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Sachin P Sant" Cc: kdb@oss.sgi.com Subject: Re: KDB over serial port In-reply-to: Your message of "Thu, 12 Dec 2002 17:52:33 +0530." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Dec 2002 00:19:13 +1100 Message-ID: <30095.1039699153@ocs3.intra.ocs.com.au> X-archive-position: 189 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Thu, 12 Dec 2002 17:52:33 +0530, "Sachin P Sant" wrote: >I am having a problem with KDB over serial port. These are the steps i >follow .... > >1] Enter KDB via serial port using Ctrl - A sequence >2] Put breakpoint using bp command [ bp c011b950 (do_fork routine ) ] >3] give a go command. >4] When the breakpoint is hit , the control is passed to the serial >console. But after this i am not able to do anything on the serial console. >My keyboard/mouse dosen't respond. I can see the KDB prompt , but can't do >anything with it. Also this problem is very inconsistent .Some time the >hang occurs at the first bp hit and sometime it occurs when the breakpoint >hits 7th time. Can the polling routine for serial console be a culprit here Try attaching the keyboard directly to the machine and not over a KVM. Or try another keyboard. Some keyboards and/or KVMs do not handle polling mode I/O very well. The other possibility is a known race condition in kdb when two cpus hit the same break point at the "same" time. Both cpus try to drive into kdb and they deadlock. I do not have a clean fix for this, except to avoid breakpoints in highly used code. From zeynep_alsan@yahoo.com Thu Dec 12 10:11:13 2002 Received: with ECARTIS (v1.0.0; list kdb); Thu, 12 Dec 2002 10:11:15 -0800 (PST) Received: from ommo.net ([212.253.205.160]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBCIAwuR013021 for ; Thu, 12 Dec 2002 10:11:07 -0800 Message-Id: <200212121811.gBCIAwuR013021@oss.sgi.com> From: "GECE Erotik Market" Reply-To: zeynep_alsan@yahoo.com To: kdb@oss.sgi.com Date: Thu, 12 Dec 2002 07:51:06 +0200 Subject: YILBASI OZEL X-Mailer: Microsoft Outlook Express 5.00.2919.7000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id gBCIAwuR013021 X-archive-position: 190 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: zeynep_alsan@yahoo.com Precedence: bulk X-list: kdb DIKKAT VIDEO CD : Iddia ediyoruz.. Hic bir yerden temin edemeyeceginiz ses ve göruntu kalitesi ile yuzlerce porno video CD. arSivimiz yenilenmistir. istemis oldugunuz video CD.ler bire bir yollanir kesinlikle isteginiz harici alakasiz baSka video CD.ler yollanmaz. Anal. Oral. Vajinal. Grup. Zenci. FethiS. Ayak fethiS. Gay. Zenci gay. Trans. Transexual. Lezbiyen ve daha bircok ceSit .... http://www.erotikgece.com.tr.tc ZENGIN URUN CESITLERIMIZ : Sisme Bebekler ..... (Erkek & Bayan) Kesinlikle size hayir demeyecek. Vibratörler ........ Istediginiz boy ve ebatlarda (Vajinal/Anal/catal.Pilli.Motorlu.TitreSimli) Suni Vajinalar ..... Asla gerceginden ayirt edemeyeceksiniz (Gercek ten hassasiyetinde) Reailistik Penisler. Gercek ten hassasiyetinde ve dokusunda (Vantuzlu/Deri kemer kilotlu) Vakum Pompalari .... Ereksiyonu kolaylastirici ve duzenli kullanimlarda peniste irilesme saglar. Geciktiriciler ..... Erken boSalmayi dert etmeyin (Sprey ceSitleri/Kremler) Kremler ............ Anal ve Vajinal iliSkilerde kullanabileceginiz kayganlaStirici krem ceSitleri Uyandiricilar ...... Cinsel istek uyandirici haplar ve damlalar. Yapmaniz gereken tek Sey http://www.erotikgece.com.tr.tc TIKLAMAK .. NOT : BU MAIL REKLAM AMAcLI OLUP HIcBIR SEKILDE TARAFIMIZDA KAYDINIZ BULUNMAMAKTADIR. ILGI ALANINIZIN DISINDA ISE EGER LUTFEN DIKKATE ALMAYINIZ TESEKKURLER.. From sonic.zhang@intel.com Sun Dec 15 20:09:41 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 15 Dec 2002 20:09:43 -0800 (PST) Received: from caduceus.jf.intel.com (fmr06.intel.com [134.134.136.7]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBG49e3v009432 for ; Sun, 15 Dec 2002 20:09:41 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by caduceus.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gBG4ALH12721 for ; Mon, 16 Dec 2002 04:10:21 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gBG4ANU22931 for ; Mon, 16 Dec 2002 04:10:23 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002121612133222354 for ; Mon, 16 Dec 2002 12:13:32 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Mon, 16 Dec 2002 12:13:00 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA2602944219@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: RE: May I put some test steps to this mail list? Date: Mon, 16 Dec 2002 12:11:25 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id gBG49e3v009432 X-archive-position: 191 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, Can you give me some comments? May I send my test steps to this mail list? Which form is better? In one attached document or in separated mails for each case? Any suggestions are welcome. Thanks again. Sonic Zhang -----Original Message----- From: Zhang, Sonic [mailto:sonic.zhang@intel.com] Sent: 2002Äê12ÔÂ9ÈÕ 15:32 To: KDB (E-mail) Subject: May I put some test steps to this mail list? Hi, I have written some test steps in order to track some known bugs or detect potential bugs. Follow these steps, I can check if KDB works well. May I put these test steps to this mail list? Or is there any place that is suitable to document these steps? The document style may be: ---------------------------------------------------------- Test command "bp": Set or display break point. ---------------------------------------------------------- Steps: 1. Enter KDB 2. bp xxxx 3. xxxx ...... n. go Expected Result: xxxxxx ---------------------------------------------------------- Thanks. Sonic Zhang From ashishk@caldera.com Tue Dec 17 00:21:01 2002 Received: with ECARTIS (v1.0.0; list kdb); Tue, 17 Dec 2002 00:21:03 -0800 (PST) Received: from indus.asia.caldera.com (ddp-36-190.ras236.mantraonline.com [202.56.236.190] (may be forged)) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBH8Ku3v012139 for ; Tue, 17 Dec 2002 00:20:58 -0800 Received: from ashishk.asia.caldera.com by indus.asia.caldera.com id aa24190; 17 Dec 2002 13:49 IST Message-Id: <3.0.32.20021217135310.00713548@indus.asia.caldera.com> X-Sender: ashishk@indus.asia.caldera.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 17 Dec 2002 13:53:12 +0500 To: kdb@oss.sgi.com From: Ashish Kalra Subject: KDB Keyboard Freeze Patch Cc: ashishk@sco.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_1040095392==_" X-archive-position: 192 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ashishk@caldera.com Precedence: bulk X-list: kdb --=====================_1040095392==_ Content-Type: text/plain; charset="us-ascii" Hello, Issue #1: KDB patch for keyboard freeze issue. ---------------------------------------------- In case of using KDB on my Compaq Deskpro PCs, there is a keyboard freeze after exiting from KDB. I am using "kdb-v1.9-2.4.13" on SCO/Caldera OpenLinux 3.1.1 ( with Linux-2.4.13 ). After doing some investigation i could see that KDB is using a polled mechanism to get keyboard input, and in doing so, it is not disabling the signalling of OBF interrupts on the keyboard controller. This leads to spurious keyboard interrupts after exiting from KDB, and also in my case ( with Compaq Deskpro's ) it causes some issues with the keyboard controller's state machine, and keyboard no longer responds. I am including a patch for kdb-v1.9-2.4.13, which disables OBF interrupts on local processor at kdb entry point, and re-enables OBF interrupts at exit point, which seems to solve this keyboard freeze issue. In my opinion this is a generic solution which should work on all keyboard controllers with this kind of behaviour. Issue #2: -------- I have also noticed that using "ssb" command on KDB, causes a complete system freeze. I will be grateful if you can let us know if this is a known issue and if any patch is available for it. Looking fwd. to your early feedback. Thanks & Best Regards, Ashish Kalra. Senior Custom Kernel Engineer, SCO Group. --=====================_1040095392==_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="linux-2.4.13-kdbv1.9-keyb.patch" diff -Naur -X patches/dontdiff linux-2.4.13/arch/i386/kdb/kdba_io.c= linux-2.4.13-kdb/arch/i386/kdb/kdba_io.c --- linux-2.4.13/arch/i386/kdb/kdba_io.c Thu Dec 13 17:15:40 2001 +++ linux-2.4.13-kdb/arch/i386/kdb/kdba_io.c Fri Dec 13 16:13:37 2002 @@ -51,6 +51,9 @@ #include #include =20 +/* ashishk@sco.com */ +#include + #define KDB_BLINK_LED 1 =20 int kdb_port; @@ -373,3 +376,59 @@ } } } + +/*=20 + * On some Compaq Deskpro's, there is a keyboard freeze many times after + * exiting from the kdb. As kdb's keyboard handler is not interrupt-driven= and=20 + * uses a polled interface, it makes more sense to disable motherboard= keyboard + * controller's OBF interrupts during kdb's polling.In case, of interrupts= =20 + * remaining enabled during kdb's polling, it may cause un-necessary=20 + * interrupts being signalled during keypresses, which are also sometimes= seen + * as spurious interrupts after exiting from kdb. This hack to disable OBF + * interrupts before entry to kdb and re-enabling them at kdb exit point= also=20 + * solves the keyboard freeze issue. These functions are called from + * kdb_local(), hence these are arch. specific setup and cleanup functions + * executing only on the local processor - ashishk@sco.com=20 + */ + +void kdba_local_arch_setup(void) +{ + unsigned char c; + + while (kbd_read_status() & KBD_STAT_IBF); + kbd_write_command(KBD_CCMD_READ_MODE); + mdelay(1); + while (kbd_read_status() & KBD_STAT_IBF); + while ( !(kbd_read_status() & KBD_STAT_OBF) ); + c =3D kbd_read_input(); + c &=3D ~KBD_MODE_KBD_INT; + while (kbd_read_status() & KBD_STAT_IBF); + kbd_write_command(KBD_CCMD_WRITE_MODE); + mdelay(1); + while (kbd_read_status() & KBD_STAT_IBF); + kbd_write_output(c); + mdelay(1); + while (kbd_read_status() & KBD_STAT_IBF); + mdelay(1); +} + +void kdba_local_arch_cleanup(void) +{ + unsigned char c; + + while (kbd_read_status() & KBD_STAT_IBF); + kbd_write_command(KBD_CCMD_READ_MODE); + mdelay(1); + while (kbd_read_status() & KBD_STAT_IBF); + while ( !(kbd_read_status() & KBD_STAT_OBF) ); + c =3D kbd_read_input(); + c |=3D KBD_MODE_KBD_INT; + while (kbd_read_status() & KBD_STAT_IBF); + kbd_write_command(KBD_CCMD_WRITE_MODE); + mdelay(1); + while (kbd_read_status() & KBD_STAT_IBF); + kbd_write_output(c); + mdelay(1); + while (kbd_read_status() & KBD_STAT_IBF); + mdelay(1); +} diff -Naur -X patches/dontdiff linux-2.4.13/include/linux/kdbprivate.h= linux-2.4.13-kdb/include/linux/kdbprivate.h --- linux-2.4.13/include/linux/kdbprivate.h Wed Oct 16 16:07:09 2002 +++ linux-2.4.13-kdb/include/linux/kdbprivate.h Fri Dec 13 16:14:30 2002 @@ -304,6 +304,12 @@ extern char *kdb_cmds[]; =20 /* + * Architecture Dependant Local Processor setup & cleanup interfaces + */ +extern void kdba_local_arch_setup(void); +extern void kdba_local_arch_cleanup(void); + + /* * Defines for kdb_symbol_print. */ #define KDB_SP_SPACEB 0x0001 /* Space before string */ diff -Naur -X patches/dontdiff linux-2.4.13/kdb/kdbmain.c= linux-2.4.13-kdb/kdb/kdbmain.c --- linux-2.4.13/kdb/kdbmain.c Thu Dec 13 17:15:40 2001 +++ linux-2.4.13-kdb/kdb/kdbmain.c Fri Dec 13 16:14:04 2002 @@ -858,6 +858,8 @@ return 0; /* Not for us, dismiss it */ } =20 + kdba_local_arch_setup(); +=09 while (1) { /* * Initialize pager context. @@ -924,6 +926,8 @@ kdb_cmderror(diag); } =20 + kdba_local_arch_cleanup(); +=09 return(diag); } =20 @@ -1013,6 +1017,7 @@ kdb_dbtrap_t db_result, kdb_eframe_t ef) { int result =3D 1; + /* Stay in kdb() until 'go', 'ss[b]' or an error */ while (1) { int i; @@ -1067,6 +1072,7 @@ KDB_DEBUG_STATE("kdb_main_loop 4", reason); break; } + return(result !=3D 0); } =20 --=====================_1040095392==_-- From kaos@sgi.com Tue Dec 17 00:36:33 2002 Received: with ECARTIS (v1.0.0; list kdb); Tue, 17 Dec 2002 00:36:35 -0800 (PST) Received: from tolkor.sgi.com (tolkor.SGI.COM [198.149.18.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBH8aW3v014143 for ; Tue, 17 Dec 2002 00:36:33 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by tolkor.sgi.com (8.12.2/8.12.2/linux-outbound_gateway-1.2) with SMTP id gBH8kDkq030494 for ; Tue, 17 Dec 2002 02:46:17 -0600 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 TAA10683; Tue, 17 Dec 2002 19:38:58 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 0B5AB3000B8; Tue, 17 Dec 2002 19:38:56 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 59FF885; Tue, 17 Dec 2002 19:38:56 +1100 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Ashish Kalra Cc: kdb@oss.sgi.com, ashishk@sco.com Subject: Re: KDB Keyboard Freeze Patch In-reply-to: Your message of "Tue, 17 Dec 2002 13:53:12 +0500." <3.0.32.20021217135310.00713548@indus.asia.caldera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 17 Dec 2002 19:38:50 +1100 Message-ID: <27763.1040114330@kao2.melbourne.sgi.com> X-archive-position: 193 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Tue, 17 Dec 2002 13:53:12 +0500, Ashish Kalra wrote: >I am including a patch for kdb-v1.9-2.4.13, which disables OBF interrupts on >local processor at kdb entry point, and re-enables OBF interrupts at exit >point, >which seems to solve this keyboard freeze issue. In my opinion this is a >generic solution which should work on all keyboard controllers with this kind >of behaviour. Thanks, I will port that to the latest version of kdb when I get back from holidays. >I have also noticed that using "ssb" command on KDB, causes a complete system >freeze. I will be grateful if you can let us know if this is a known issue and >if any patch is available for it. Single stepping over instructions that save or restore the flags does not work. This includes pushf, popf, ret, iret, cli, sti. You may be hitting that restriction. More likely you are hitting one of the several single step bugs that have been fixed in the recent versions of kdb, the latest is kdb-v2.5-2.4.20, v1.9-2.4.13 is quite old. From sonic.zhang@intel.com Fri Dec 20 01:24:01 2002 Received: with ECARTIS (v1.0.0; list kdb); Fri, 20 Dec 2002 01:24:04 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBK9O03v013388 for ; Fri, 20 Dec 2002 01:24:01 -0800 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gBK9QKf19672 for ; Fri, 20 Dec 2002 09:26:20 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gBK9C3D03387 for ; Fri, 20 Dec 2002 09:12:04 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002122017281109773 for ; Fri, 20 Dec 2002 17:28:11 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Fri, 20 Dec 2002 17:27:35 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA2602A1949E@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: "KDB (E-mail)" Subject: I add more features to the KDB command line (TAB) Date: Fri, 20 Dec 2002 17:26:01 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C2A809.D01A9410" X-archive-position: 194 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C2A809.D01A9410 Content-Type: text/plain; charset="gb2312" Hi, I add 2 new features to the KDB command line. I hope you will enjoy them. One is to automatically complete the kernel symbol name string as long as possible. If a user presses the TAB key after part of the symbol string, the following string shared by all symbols that start with the same prefix is appended. If only one symbol start with the given prefix, this symbol name will be completed. If none prefix is matched, then nothing is added. The other is to list some kernel symbols that start with the given prefix, if a user double presses the TAB key. The symbol count in the list is configured by environment DTABCOUNT. Its default value is 30 and can be configured by the user. If it is set to zero, both of the 2 TAB features are ignored. I don't know whether my new enhancement to the KDB command line is helpful to KDB project. Could you please take a look at my patches and give me some comments. New changes are mainly in file kernel/kallsyms.c and arch/i386/kdba_io.c . The patches should be apply to pristine kernel 2.4.19 with kdb patch v2.5-2.4.19. The patches support PS/2 and USB keyboard, but support to the serial console is not included yet. Thank you very much. Sonic Zhang 20/12/2002 ------_=_NextPart_000_01C2A809.D01A9410 Content-Type: application/octet-stream; name="kdb-cmdline-v2.5-2.4.19-common-2.ZIP" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kdb-cmdline-v2.5-2.4.19-common-2.ZIP" UEsDBBQAAAAIAER8lC3u5rD4zwgAAJcbAAAmAAAAa2RiLWNtZGxpbmUtdjJfNS0yXzRfMTktY29t bW9uLTIucGF0Y2jlGPlz2uj1Z/FXPJPZtYSELQG+IHjjxHY2XV+1yXZ2HI9GSB+gsQ4qiSRuN/97 3/sOJAzY7kzSdqY+0PHu+300m02IwmT2tXkfDLflf+yFyZavnWYhHDMfWjY4na7T7u7s4b3dqpmm WRI1/TjAB/YkcWuv22kJ4jdvoOns7Fl7YIrLmzc1gPr58bvLjxeD/n7d0jRtu0ECWA7pCOIA0lkx nRXQ2CbMt4Oj6/c3/R2FuAPTNM/DYcTAy8Y5hAkMJe5vx2/dq7Ojwenl9bl7cvG7VWuC7k+8DBqG bdVMqB8Pjt4KwW27biFJBbz+gWzYPXDIBnHhNpDIVwEboeJc8rvzY/fXDzeDy+s/XC5Da7dKDIK+ /Xh6dnKhaegYsgS9506zMClGXYi9r8DvyQ+Qh/9g0O9Da2eXxDTzwitCH2ZJHo4TFqDNBWAc3Anz AovfFV4Y9WrmU4h9u0Tt270arEGeFlkJ5E7gHMK8uF1p5t1tadsdUnJ37e/vWa0WmPJKDpt7YnB9 5l5oTgdRgfwQJmERehFaXcx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o7TGVzi6YINnc0nca7LGELXUG3qq9NCXivf8nWmWyor1 Xp+inySU20w9WmFouEg9wtjoVx12K9/fVdhWvSDBvTlsFe3CmYV+5EFbPkrz1VVc+Cd98DmlvkeY x+jbj5xdnCkjrrTnUObKSbJqwbEUkiORVAlL7IWZNJ8Ychh9mYTIL/bw+Ev79KNp+B8ffv+V7fC7 jcq1s099H/uCgboOfWFiSgQ+OHu1lw7NHzn5wpG+QV6XVbp+Bs4LiveX/6OR+MhDLx6R/9aM1OZ7 lOhf80x8+bwkMhmb/91huW7UzWdiOetQX3n3rNISr/o987o5YKsRUKv9C1BLAQIUCxQAAAAIAER8 lC3u5rD4zwgAAJcbAAAmAAAAAAAAAAEAIAAAAAAAAABrZGItY21kbGluZS12Ml81LTJfNF8xOS1j b21tb24tMi5wYXRjaFBLBQYAAAAAAQABAFQAAAATCQAAAAA= ------_=_NextPart_000_01C2A809.D01A9410 Content-Type: application/octet-stream; name="kdb-cmdline-v2.5-2.4.19-i386-2.ZIP" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kdb-cmdline-v2.5-2.4.19-i386-2.ZIP" UEsDBBQAAAAIAER8lC0ZIlIDLwkAAHQcAAAkAAAAa2RiLWNtZGxpbmUtdjJfNS0yXzRfMTktaTM4 Ni0yLnBhdGNo5VhZb9tIEn6mf0VFQWxSFG2Sko9YlpHJNTvYXJg4CyzigUBRLYswRQkkZccb+L9v VXU32aSkSQZY7D6sAFti99d1dx30PA/SJFt/826nk6Moj+dHSf/s5Iie8C8aJ8vD2LpaC3gtYoA+ BP3z8Ph8cAah74d7ruvWx714McUHsZPM2zxhMqFPZIKzc78vybx4Ad6g3zsBF/+fwosXe/A0yeJ0 PRVwwfSPCpEnUXo4v9y1Nc7FzdbtbJHQuttev43StHhYFHxo8xiKvZUcrq/y5C4qBW2T5EHgo9Bu EASoAckOYFnf5ZcVR4UA/1t43nr2z+GoC5/nyayE7tGeB3LbQvJjpJ+VM7vzLO70oCDIeBGtvt6K h3g5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tbZk9GX1f2zr5/JFFXYGygbcKbcu3v08SYUtm+jRCG3iAP92 3WHlHV64GKHxd6dKxtC98/hXnfUqDLjkZ7XdyoBaMuzD83iet9xkFm2JxFaGRty6aLtuNQbQp9HV NwQyu6WwPq8atqoTo1Rjyx5fv+4d47/JMsW+crFKcXxTdB2zxWzXpmdTkKcKiHKacdbZ9JDSU9Xp V9xku2rMAQZR2SmOGlOF3jIZwst1ieMcznizJMeJ0WB/n9A4JYChYnp4nf1zuYY4ondSUXYjuB/D sSTJl9kCKzjcRXkSTVIB1ZiyTfDHHYp3DAxOB3aCo1JyIWVPXLehHCrftnEmvpW2CqnEufCdGm3c 9E3GWD07vaa/LQpCGdIYDM7IiDrLlB+lSC4NEzsm3cPDQ1Oj3bruKngbcm6U41qW7cPCFiu1IrEZ iGp43XUNsMUu84wucWUbNrfZ63rU/xgnfpokEanI9vQc7eF3mx6M9C72S3p05c+flHSLqro7asCr 7NhYbpnUnJrqCah6Ba/f9nI1mvC7C/WyV/esVTrWM9UlTuQhToJV4q4Oalf8pycN969MGq67o+WU zV+lTsvarQ60rrX/vWbUGDtAPj/u/RtQSwECFAsUAAAACABEfJQtGSJSAy8JAAB0HAAAJAAAAAAA AAABACAAAAAAAAAAa2RiLWNtZGxpbmUtdjJfNS0yXzRfMTktaTM4Ni0yLnBhdGNoUEsFBgAAAAAB AAEAUgAAAHEJAAAAAA== ------_=_NextPart_000_01C2A809.D01A9410-- From Vincent.Re@ca.com Fri Dec 20 05:28:46 2002 Received: with ECARTIS (v1.0.0; list kdb); Fri, 20 Dec 2002 05:28:50 -0800 (PST) Received: from usilms54.ca.com (mail2.cai.com [141.202.248.38]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBKDSj3v022803 for ; Fri, 20 Dec 2002 05:28:46 -0800 Received: from usilms21.ca.com ([141.202.201.21]) by usilms54.ca.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 20 Dec 2002 08:17:03 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2A82A.161EF0B2" Subject: KDB on Linux for S/390? Date: Fri, 20 Dec 2002 08:17:03 -0500 Message-ID: <8C1D142BC6A5EC4586062B0CA66B076ACB32A4@usilms21.ca.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: KDB on Linux for S/390? Thread-Index: AcKoKhVva3z6GvpYQ9mkYm5fhNPmgQ== From: "Re, Vincent" To: X-OriginalArrivalTime: 20 Dec 2002 13:17:03.0336 (UTC) FILETIME=[16243680:01C2A82A] X-archive-position: 195 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Vincent.Re@ca.com Precedence: bulk X-list: kdb This is a multi-part message in MIME format. ------_=_NextPart_001_01C2A82A.161EF0B2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi!=20 =20 Are you folks aware of any attempts to port KDB to Linux on IBM mainframes?=20 =20 Vince Re Computer Associates ------_=_NextPart_001_01C2A82A.161EF0B2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi!

 

Are you folks aware of any attempts to port KDB to = Linux on IBM mainframes?

 

Vince Re

Computer Associates

------_=_NextPart_001_01C2A82A.161EF0B2-- From lucipher@promisc.org Sat Dec 21 07:59:28 2002 Received: with ECARTIS (v1.0.0; list kdb); Sat, 21 Dec 2002 07:59:30 -0800 (PST) Received: from oblivion.promisc.org (oblivion.promisc.org [193.126.109.180]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBLFxR3v002135 for ; Sat, 21 Dec 2002 07:59:28 -0800 Received: (qmail 15835 invoked from network); 21 Dec 2002 16:07:42 -0000 Received: from localhost (127.0.0.1) by 0 with SMTP; 21 Dec 2002 16:07:42 -0000 Date: Sat, 21 Dec 2002 16:07:42 +0000 (WET) From: lucipher To: kdb@oss.sgi.com Subject: kdb for 2.4.20 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 196 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: lucipher@promisc.org Precedence: bulk X-list: kdb Hello, Is kdb for 2.4.19 compatible with Linux 2.4.20 ? If not, are there any propects as to when it will be released? Cheers, - lr From melkorainur@yahoo.com Sun Dec 22 02:39:47 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 22 Dec 2002 02:39:51 -0800 (PST) Received: from web21201.mail.yahoo.com (web21201.mail.yahoo.com [216.136.129.59]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBMAdl3v011011 for ; Sun, 22 Dec 2002 02:39:47 -0800 Message-ID: <20021222104413.85362.qmail@web21201.mail.yahoo.com> Received: from [65.115.68.98] by web21201.mail.yahoo.com via HTTP; Sun, 22 Dec 2002 02:44:13 PST Date: Sun, 22 Dec 2002 02:44:13 -0800 (PST) From: Melkor Ainur Subject: is there a kdb patch for 2.4.18-14 RH 8.0 To: kdb@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-archive-position: 197 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: melkorainur@yahoo.com Precedence: bulk X-list: kdb Hello, If available, could someone point me to a kdb patchset that could be cleanly applied to RedHat 8.0's 2.4.18-14 kernel. Any version of kdb would be fine. I attempted to patch kdb v2.5 into 2.4.18-14 and after minor changes related to kdb_ps and task_has_cpu, it compiled. But breakpoints don't work and backtrace address appear to be out of sync despite a full mrproper rebuild of the kernel. I figure it'd be easier to see if someone's already done this rather than figure out what mistake I've made. Thanks, Melkor __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From lucipher@promisc.org Sun Dec 22 12:26:30 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 22 Dec 2002 12:26:32 -0800 (PST) Received: from oblivion.promisc.org (oblivion.promisc.org [193.126.109.180]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBMKQR3v028190 for ; Sun, 22 Dec 2002 12:26:29 -0800 Received: (qmail 17516 invoked from network); 22 Dec 2002 20:34:52 -0000 Received: from localhost (127.0.0.1) by 0 with SMTP; 22 Dec 2002 20:34:52 -0000 Date: Sun, 22 Dec 2002 20:34:51 +0000 (WET) From: lucipher To: Melkor Ainur cc: kdb@oss.sgi.com Subject: Re: is there a kdb patch for 2.4.18-14 RH 8.0 In-Reply-To: <20021222104413.85362.qmail@web21201.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 198 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: lucipher@promisc.org Precedence: bulk X-list: kdb Hi, On Sun, 22 Dec 2002, Melkor Ainur wrote: > Hello, > > If available, could someone point me to a kdb > patchset that could be cleanly applied to RedHat 8.0's > 2.4.18-14 kernel. Any version of kdb would be fine. I > attempted to patch kdb v2.5 into 2.4.18-14 and after > minor changes related to kdb_ps and task_has_cpu, it > compiled. But breakpoints don't work and backtrace > address appear to be out of sync despite a full > mrproper rebuild of the kernel. I figure it'd be > easier to see if someone's already done this rather > than figure out what mistake I've made. This list seems dead, I asked info yesterday about 2.4.20 patch and no one, as of now, has replied. About your problem, you should compile 2.4.19 (or 2.4.20 if the patch is compatible or a new release comes out), as redhat kernels comes customized with a lot of patches and I don't think you'll want to patch the stuff by hand, do you? > Thanks, > Melkor > Cheers, - lr From sonic.zhang@intel.com Sun Dec 22 18:39:18 2002 Received: with ECARTIS (v1.0.0; list kdb); Sun, 22 Dec 2002 18:39:19 -0800 (PST) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBN2dH3v030710 for ; Sun, 22 Dec 2002 18:39:17 -0800 Received: from petasus.jf.intel.com (petasus.jf.intel.com [10.7.209.6]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gBN2fmA00531 for ; Mon, 23 Dec 2002 02:41:48 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by petasus.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gBN2eQk01801 for ; Mon, 23 Dec 2002 02:40:27 GMT Received: from pdsmsx17.pd.intel.com ([172.16.12.121]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2002122310433629204 ; Mon, 23 Dec 2002 10:43:37 +0800 Received: by pdsmsx17.pd.intel.com with Internet Mail Service (5.5.2653.19) id ; Mon, 23 Dec 2002 10:42:59 +0800 Message-ID: <957BD1C2BF3CD411B6C500A0C944CA2602A196D6@pdsmsx32.pd.intel.com> From: "Zhang, Sonic" To: lucipher , kdb@oss.sgi.com Subject: RE: kdb for 2.4.20 Date: Mon, 23 Dec 2002 10:41:31 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-archive-position: 199 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sonic.zhang@intel.com Precedence: bulk X-list: kdb Hi, You can download KDB v2.5 for kernel 2.4.20 at: ftp://oss.sgi.com/projects/kdb/download/v2.5/ Sonic Zhang -----Original Message----- From: lucipher [mailto:lucipher@promisc.org] Sent: 2002?12?22? 0:08 To: kdb@oss.sgi.com Subject: kdb for 2.4.20 Hello, Is kdb for 2.4.19 compatible with Linux 2.4.20 ? If not, are there any propects as to when it will be released? Cheers, - lr From lucipher@promisc.org Mon Dec 23 03:51:52 2002 Received: with ECARTIS (v1.0.0; list kdb); Mon, 23 Dec 2002 03:51:55 -0800 (PST) Received: from oblivion.promisc.org (oblivion.promisc.org [193.126.109.180]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBNBpo3v010259 for ; Mon, 23 Dec 2002 03:51:51 -0800 Received: (qmail 19012 invoked from network); 23 Dec 2002 12:00:21 -0000 Received: from localhost (127.0.0.1) by 0 with SMTP; 23 Dec 2002 12:00:21 -0000 Date: Mon, 23 Dec 2002 12:00:21 +0000 (WET) From: lucipher To: "Zhang, Sonic" cc: kdb@oss.sgi.com Subject: RE: kdb for 2.4.20 In-Reply-To: <957BD1C2BF3CD411B6C500A0C944CA2602A196D6@pdsmsx32.pd.intel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 200 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: lucipher@promisc.org Precedence: bulk X-list: kdb On Mon, 23 Dec 2002, Zhang, Sonic wrote: > Hi, > > You can download KDB v2.5 for kernel 2.4.20 at: > > ftp://oss.sgi.com/projects/kdb/download/v2.5/ > > > Sonic Zhang Thank you. Cheers, -lucipher