From jim.houston@attbi.com Thu May 1 12:25:11 2003 Received: with ECARTIS (v1.0.0; list kdb); Thu, 01 May 2003 12:25:20 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h41JPBFu029756 for ; Thu, 1 May 2003 12:25:11 -0700 Received: from attbi.com (h00e098094f32.ne.client2.attbi.com[24.60.234.83]) by rwcrmhc53.attbi.com (rwcrmhc53) with SMTP id <2003050119250505300f7gc5e>; Thu, 1 May 2003 19:25:05 +0000 Message-ID: <3EB17492.A84EE6B6@attbi.com> Date: Thu, 01 May 2003 15:25:06 -0400 From: Jim Houston Reply-To: jim.houston@attbi.com X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: kaos@sgi.com, kdb@oss.sgi.com CC: jim.houston@ccur.com Subject: new kdb-4.1 patch for linux-2.5.68 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 353 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jim.houston@attbi.com Precedence: bulk X-list: kdb Hi Keith, Everyone, I have been using kdb in linux-2.5 kernels doing the quick hacks necessary to make kdb work with recent kernels. I just upgraded to kdb-4.1 and linux-2.5.68. I hope that others may find this work useful so I'm making a patch available here: http://www.ccur.com/realtime/oss/ The patch is based on the SGI patches (kdb-v4.1-2.4.20-common-1, and kdb-v4.1-2.4.20-i386-1). It is a single patch which can be applied to a standard linux-2.5.68 kernel. I'm still working on a few issues. The following features are not working: - Input of symbol names for modules. - Symbol name completion. - Module and section related commands. - Kill command. Keith, I hope that you will release an offical kdb for 2.5 kernels. Let me know if there is anything I can do to help. Jim Houston - Concurrent Computer Corp. From hch@infradead.org Thu May 1 13:18:40 2003 Received: with ECARTIS (v1.0.0; list kdb); Thu, 01 May 2003 13:19:00 -0700 (PDT) Received: from phoenix.infradead.org (phoenix.mvhi.com [195.224.96.167]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h41KIbFu031630 for ; Thu, 1 May 2003 13:18:39 -0700 Received: from hch by phoenix.infradead.org with local (Exim 4.10) id 19BKVm-0006ut-00; Thu, 01 May 2003 21:18:34 +0100 Date: Thu, 1 May 2003 21:18:34 +0100 From: Christoph Hellwig To: Jim Houston Cc: kaos@sgi.com, kdb@oss.sgi.com, jim.houston@ccur.com Subject: Re: new kdb-4.1 patch for linux-2.5.68 Message-ID: <20030501211834.A26470@infradead.org> References: <3EB17492.A84EE6B6@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3EB17492.A84EE6B6@attbi.com>; from jim.houston@attbi.com on Thu, May 01, 2003 at 03:25:06PM -0400 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 354 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: hch@infradead.org Precedence: bulk X-list: kdb A few comments: diff -urN -X dontdiff linux-2.5.68.orig/Makefile linux-2.5.68/Makefile --- linux-2.5.68.orig/Makefile Thu Apr 24 10:46:50 2003 +++ linux-2.5.68/Makefile Tue Apr 29 09:15:17 2003 @@ -170,8 +170,8 @@ else echo rpm; fi) GENKSYMS = scripts/genksyms/genksyms DEPMOD = /sbin/depmod -KALLSYMS = scripts/kallsyms This doesn't seem to be related to kdb, what about sending it directly to Kai/Linus? NOSTDINC_FLAGS = -nostdinc -iwithprefix include CPPFLAGS := -D__KERNEL__ -Iinclude +CPPFLAGS += $(patsubst %,-I%,$(CROSS_COMPILE_INC)) CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \ -fno-strict-aliasing -fno-common AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS) Not needed anymore. @@ -238,9 +239,14 @@ endif +ifndef CONFIG_FRAME_POINTER +CFLAGS += -fomit-frame-pointer +endif + The makefile aready contains that in a different place. include arch/$(ARCH)/Makefile core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ +core-$(CONFIG_KDB) += kdb/ Please add this to core-y and make the objects conditional in kdb/Makefile. This is not a funtional requirement but the style used by the other makefiles. --- linux-2.5.68.orig/arch/i386/Kconfig Thu Apr 24 10:46:50 2003 +++ linux-2.5.68/arch/i386/Kconfig Thu Apr 24 17:30:44 2003 @@ -1505,12 +1505,78 @@ This options enables addition error checking for high memory systems. Disable for production systems. +config FRAME_POINTER + bool "Compile the kernel with frame pointers" + depends on DEBUG_KERNEL + help + If you say Y here, the resulting kernel will be slightly larger and + slower, but it will give very useful debugging information. If you + don't debug the kernel, you can say N, but we may not be able to + solve problems without frame pointers. Again, this option already exists :) +if KDB = y +config KALLSYMS + bool + default y +comment "KALLSYMS is required for KDB" +endif + +if KDB = n config KALLSYMS bool "Load all symbols for debugging/kksymoops" help Say Y here to let the kernel print out symbolic crash information and symbolic stack backtraces. This increases the size of the kernel somewhat, as all symbols have to be loaded into the kernel image. +endif Maybe just add a default y if KDB line? --- linux-2.5.68.orig/arch/i386/kdb/pc_keyb.h Wed Dec 31 19:00:00 1969 +++ linux-2.5.68/arch/i386/kdb/pc_keyb.h Fri Apr 25 09:10:54 2003 This file is gone for a reason.. Why do you think you need it? diff -urN -X dontdiff linux-2.5.68.orig/include/linux/sched.h linux-2.5.68/include/linux/sched.h --- linux-2.5.68.orig/include/linux/sched.h Thu Apr 24 10:47:07 2003 +++ linux-2.5.68/include/linux/sched.h Mon Apr 28 09:22:54 2003 @@ -672,6 +672,31 @@ extern task_t * FASTCALL(next_thread(task_t *p)); +#ifdef CONFIG_KDB +/* + * kdb needs its own version of do_each_thread/while_each_thread + * to avoid the lock debug. It should also evolve to do sanity checks + * on the pointers it follows. Shouldn't this be in a kdb header? +#ifdef CONFIG_KDB +static int __init kdb_setup(char *str) +{ + /* kdb, kdb=on, kdb=off, kdb=early */ + if (strcmp(str, "on") == 0) { + kdb_on = 1; + } else if (strcmp(str, "off") == 0) { + kdb_on = 0; + } else if (strcmp(str, "early") == 0) { + kdb_on = 1; + kdb_flags |= KDB_FLAG_EARLYKDB; + } else + printk("Boot flag %s not recognised\n", str); +} +__setup("kdb=", kdb_setup); +#endif /* CONFIG_KDB */ This should move into a kdb file, too. From kaos@sgi.com Fri May 2 00:15:17 2003 Received: with ECARTIS (v1.0.0; list kdb); Fri, 02 May 2003 00:15:33 -0700 (PDT) Received: from tolkor.sgi.com ([198.149.18.6]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h427FEFu013072 for ; Fri, 2 May 2003 00:15:16 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by tolkor.sgi.com (8.12.9/8.12.2/linux-outbound_gateway-1.2) with SMTP id h427T5Ve007106 for ; Fri, 2 May 2003 02:29:06 -0500 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 RAA06101; Fri, 2 May 2003 17:15:03 +1000 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 4A30F3001F4; Fri, 2 May 2003 17:15:01 +1000 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id C2ACC164; Fri, 2 May 2003 17:15:01 +1000 (EST) X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org Subject: Announce: kdb v4.2 is available for kernel 2.4.20, i386 and ia64 Date: Fri, 02 May 2003 17:14:56 +1000 Message-ID: <11249.1051859696@kao2.melbourne.sgi.com> X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 355 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii ftp://oss.sgi.com/projects/kdb/download/v4.2/ kdb-v4.2-2.4.20-common-1.bz2 kdb-v4.2-2.4.20-i386-1.bz2 kdb-v4.2-2.4.20-ia64-021210-1.bz2 Changelog extracts since v4.1. 2003-05-02 Keith Owens * Some architectures have problems with the initial empty kallsyms section so revert to three kallsyms passes. * Flush buffered input at startup and at 'more' prompt. * Only print 'more' prompt when longjmp data is available. * Print more data for buffers and inodes. * Disable kill command when O(1) scheduler is installed, the code needs to be redone for O(1). * The kernel has an undocumented assumption that enable_bh() is always called with interrupts enabled, make it so. * Print trailing punctuation even for symbols that are not in kernel. * Add read/write access to user pages. Vamsi Krishna S., IBM * Rename cpu_is_online to cpu_online, as in 2.5. * O(1) scheduler removes init_task so kdb maintains its own list of active tasks. * Delete btp 0 option, it needed init_tasks. * Clean up USB keyboard support. Steven Dake. * Sync with XFS 2.4.20 tree. * kdb v4.2-2.4.20-common-1. 2.4.20-i386-1 2003-05-02 Keith Owens * Add kdba_fp_value(). * Limit backtrace size to catch loops. * Add read/write access to user pages. Vamsi Krishna S., IBM * Clean up USB keyboard support. Steven Dake. * kdb v4.2-2.4.20-i386-1. 2.4.20-ia64-020821-1 2003-05-02 Keith Owens * Add kdba_fp_value(). * Limit backtrace size to catch loops. * Print spinlock name in ia64_spinlock_contention. * Tweak INIT slave stack lock and handler. * Add read/write access to user pages. Vamsi Krishna S., IBM * Rename cpu_is_online to cpu_online, as in 2.5. * Clean up USB keyboard support. * Clean up serial console support. * kdb v4.2-2.4.20-ia64-020821-1. v4.2/README Starting with kdb v2.0 there is a common patch against each kernel which contains all the architecture independent code plus separate architecture dependent patches. Apply the common patch for your kernel plus at least one architecture dependent patch, the architecture patches activate kdb. The naming convention for kdb patches is :- vx.y The version of kdb. x.y is updated as new features are added to kdb. -v.p.s The kernel version that the patch applies to. 's' may include -pre, -rc or whatever numbering system the kernel keepers have thought up this week. -common The common kdb code. Everybody needs this. -i386 Architecture dependent code for i386. -ia64 Architecture dependent code for ia64, etc. -n If there are multiple kdb patches against the same kernel version then the last number is incremented. To build kdb for your kernel, apply the common kdb patch which is less than or equal to the kernel v.p.s, taking the highest value of '-n' if there is more than one. Apply the relevant arch dependent patch with the same value of 'vx.y-v.p.s-', taking the highest value of '-n' if there is more than one. For example, to use kdb for i386 on kernel 2.4.20, apply kdb-v4.2-2.4.20-common- (use highest value of ) kdb-v4.2-2.4.20-i386- (use highest value of ) in that order. To use kdb for ia64-021210 on kernel 2.4.20, apply kdb-v4.2-2.4.20-common- (use highest value of ) kdb-v4.2-2.4.20-ia64-021210- (use highest value of ) in that order. Use patch -p1 for all patches. I do not have any time to work on 2.5, so there are no patches available for 2.5 kernels. If somebody wants to port the latest kdb patches to 2.5 kernels and send patches to kaos@sgi.com then I will put them up in this directory. The kdb-smphdr* patches in the v4.0 directory are Sonic Zhang's changes to improve hardware breakpoint handling on i386 and ia64. They are not official kdb patches yet, they are available for review. They will probably fit v4.2. The next step is to integrate Sonic Zhang's breakpoint changes into kdb and to change the kdb entry logic to cope with multiple cpus doing concurrent entry into kdb. At the moment kdb tries to serialize so it only processes one event at a time. The bad news is that this does not work well with IA64 SAL interrupts so kdb has to change. The good news is that the change will remove the deadlock when two cpus hit a breakpoint at the same time. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQE+shrti4UHNye0ZOoRAo/BAKCHWwL0LSjoEawaYCWT/sMVMR0FkQCgtulL 3V3BdZ5k5IuW0RL9mkSMp10= =b/1W -----END PGP SIGNATURE----- From zuwei@twinpeaksoft.com Fri May 2 12:18:50 2003 Received: with ECARTIS (v1.0.0; list kdb); Fri, 02 May 2003 12:18:54 -0700 (PDT) Received: from TwinPeakSoft.com (h-66-167-201-3.SNVACAID.covad.net [66.167.201.3]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h42JInFu028835 for ; Fri, 2 May 2003 12:18:50 -0700 Received: from Twingates (Twingates [192.168.1.3]) by TwinPeakSoft.com (8.11.6/8.11.6) with SMTP id h42JLVL14241 for ; Fri, 2 May 2003 12:21:31 -0700 Message-Id: <200305021921.h42JLVL14241@TwinPeakSoft.com> Date: Fri, 2 May 2003 12:15:49 -0700 (PDT) From: zuwei Reply-To: zuwei Subject: patch install problem To: kdb@oss.sgi.com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: Kt068nWaTGAFjBG+fy3fQw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 356 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: zuwei@twinpeaksoft.com Precedence: bulk X-list: kdb Hello, I am a new guy trying to use Linux KDB, and I am using kernel 2.4.7-10 running on AMD Athlon. I downloaded the KDB patch "kdb-v2.4-2.4.19-common-3.bz2" and "kdb-v2.4-2.4.19-i386-2.bz2". But when I install the common path using patch -b -p1 < kdb-v2.4-2.4.19-common-3 Then, it always tell me some hunk failed for several files. I also tried some other patch such as v1.8. But all the same. What should I do for that? Thank you for your help! Mike Liu From Thomas.Duffy.99@alumni.brown.edu Fri May 2 15:57:41 2003 Received: with ECARTIS (v1.0.0; list kdb); Fri, 02 May 2003 15:57:50 -0700 (PDT) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h42MvfFu000330 for ; Fri, 2 May 2003 15:57:41 -0700 Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45]) by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h42MvZTl019963; Fri, 2 May 2003 15:57:35 -0700 (PDT) Received: from phys-ha1sun-1 (phys-ha1sun-1.Eng.Sun.COM [129.144.135.11]) by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h42MvZKw000746; Fri, 2 May 2003 15:57:35 -0700 (PDT) Received: from biznatch (biznatch.Eng.Sun.COM [129.144.24.170]) by ha1sun-mail1.eng.sun.com (iPlanet Messaging Server 5.2 (built Feb 21 2002)) with ESMTP id <0HEA00M0M7RZ0H@ha1sun-mail1.eng.sun.com>; Fri, 02 May 2003 15:57:35 -0700 (PDT) Date: Fri, 02 May 2003 15:57:35 -0700 From: Thomas Duffy Subject: Re: patch install problem In-reply-to: <200305021921.h42JLVL14241@TwinPeakSoft.com> To: zuwei Cc: kdb@oss.sgi.com Message-id: <1051916254.10711.6.camel@biznatch> Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Content-type: text/plain Content-transfer-encoding: 7BIT References: <200305021921.h42JLVL14241@TwinPeakSoft.com> X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 357 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Thomas.Duffy.99@alumni.brown.edu Precedence: bulk X-list: kdb On Fri, 2003-05-02 at 12:15, zuwei wrote: > Hello, > > I am a new guy trying to use Linux KDB, and I am using kernel 2.4.7-10 running > on AMD Athlon. I downloaded the KDB patch "kdb-v2.4-2.4.19-common-3.bz2" and > "kdb-v2.4-2.4.19-i386-2.bz2". But when I install the common path using > > patch -b -p1 < kdb-v2.4-2.4.19-common-3 > > Then, it always tell me some hunk failed for several files. I also tried some > other patch such as v1.8. But all the same. What should I do for that? You are really out of luck if you want to use a 2.4.7 kernel. It is way old and the kernel has changed much since then. Trying to apply a patch designed for 2.4.19 on a 2.4.7 kernel will lead down a long and arduous path of pain. Plus, from the looks of it, you are using a redhat kernel. Keith's patches are against the stock Linux kernel. If you want to use kdb, I recommend getting the newest 2.4 kernel from kernel.org, 2.4.20, and applying the kdb v4.2 patches on that. -tduffy -- Thomas Duffy From Thomas.Duffy.99@alumni.brown.edu Mon May 5 09:42:27 2003 Received: with ECARTIS (v1.0.0; list kdb); Mon, 05 May 2003 09:42:34 -0700 (PDT) Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h45GgQFu019957 for ; Mon, 5 May 2003 09:42:27 -0700 Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19]) by patan.sun.com (8.9.3p2+Sun/8.9.3) with ESMTP id KAA18898; Mon, 5 May 2003 10:42:24 -0600 (MDT) Received: from phys-ha1sun-1 (phys-ha1sun-1.Eng.Sun.COM [129.144.135.11]) by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h45GgOuc003939; Mon, 5 May 2003 09:42:24 -0700 (PDT) Received: from biznatch (biznatch.Eng.Sun.COM [129.144.24.170]) by ha1sun-mail1.eng.sun.com (iPlanet Messaging Server 5.2 (built Feb 21 2002)) with ESMTP id <0HEF00DO3AEOU1@ha1sun-mail1.eng.sun.com>; Mon, 05 May 2003 09:42:24 -0700 (PDT) Date: Mon, 05 May 2003 09:42:24 -0700 From: Thomas Duffy Subject: Re: Announce: kdb v4.2 is available for kernel 2.4.20, i386 and ia64 In-reply-to: <11249.1051859696@kao2.melbourne.sgi.com> To: Keith Owens Cc: kdb@oss.sgi.com, Linux Kernel Mailing List Message-id: <1052152943.4374.39.camel@biznatch> Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Content-type: multipart/mixed; boundary="Boundary_(ID_MIB9FgS6QiMUcG0zz6X4Kg)" References: <11249.1051859696@kao2.melbourne.sgi.com> X-archive-position: 358 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Thomas.Duffy.99@alumni.brown.edu Precedence: bulk X-list: kdb --Boundary_(ID_MIB9FgS6QiMUcG0zz6X4Kg) Content-type: text/plain Content-transfer-encoding: 7BIT On Fri, 2003-05-02 at 00:14, Keith Owens wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Content-Type: text/plain; charset=us-ascii > > ftp://oss.sgi.com/projects/kdb/download/v4.2/ > > kdb-v4.2-2.4.20-common-1.bz2 > kdb-v4.2-2.4.20-i386-1.bz2 > kdb-v4.2-2.4.20-ia64-021210-1.bz2 REPOST This patch is needed as part of kdb common to get sparc64 kdb to build. * include/linux/kdb.h references task_struct, needs to include sched.h * kdb/kdbmain.c #define's WRAP already defined in include/asm-sparc64/termbits.h -- Thomas Duffy --Boundary_(ID_MIB9FgS6QiMUcG0zz6X4Kg) Content-type: text/x-patch; name=kdb-v4.2-2.4.20-sparc-build-fix.patch; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=kdb-v4.2-2.4.20-sparc-build-fix.patch diff -Nur -X /home/tduffy/dontdiff linux-2.4.20+kdb-v4.2/include/linux/kdb.h linux-2.4.20+kdb-v4.2+sparc64/include/linux/kdb.h --- linux-2.4.20+kdb-v4.2/include/linux/kdb.h 2003-05-02 10:29:34.000000000 -0700 +++ linux-2.4.20+kdb-v4.2+sparc64/include/linux/kdb.h 2003-05-02 11:45:27.000000000 -0700 @@ -38,6 +38,7 @@ #include #include +#include #include #define KDB_MAJOR_VERSION 4 diff -Nur -X /home/tduffy/dontdiff linux-2.4.20+kdb-v4.2/kdb/kdbmain.c linux-2.4.20+kdb-v4.2+sparc64/kdb/kdbmain.c --- linux-2.4.20+kdb-v4.2/kdb/kdbmain.c 2003-05-02 10:29:34.000000000 -0700 +++ linux-2.4.20+kdb-v4.2+sparc64/kdb/kdbmain.c 2003-05-02 10:37:15.000000000 -0700 @@ -2570,17 +2570,17 @@ logsize = syslog_data[1] - syslog_data[0]; start = syslog_data[0] + (syslog_data[2] - syslog_data[0]) % logsize; end = syslog_data[0] + (syslog_data[3] - syslog_data[0]) % logsize; -#define WRAP(p) if (p < syslog_data[0]) p = syslog_data[1]-1; else if (p >= syslog_data[1]) p = syslog_data[0] +#define KDB_WRAP(p) if (p < syslog_data[0]) p = syslog_data[1]-1; else if (p >= syslog_data[1]) p = syslog_data[0] if (lines) { char *p = end; ++lines; do { --p; - WRAP(p); + KDB_WRAP(p); if (*p == '\n') { if (--lines == 0) { ++p; - WRAP(p); + KDB_WRAP(p); break; } } @@ -2595,7 +2595,7 @@ if (!*start) { while (!*start) { ++start; - WRAP(start); + KDB_WRAP(start); if (start == end) break; } @@ -2607,7 +2607,7 @@ c = *start; ++chars; ++start; - WRAP(start); + KDB_WRAP(start); if (start == end || c == '\n') break; } --Boundary_(ID_MIB9FgS6QiMUcG0zz6X4Kg)-- From Thomas.Duffy.99@alumni.brown.edu Mon May 5 14:10:17 2003 Received: with ECARTIS (v1.0.0; list kdb); Mon, 05 May 2003 14:10:22 -0700 (PDT) Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h45LAGFu023979 for ; Mon, 5 May 2003 14:10:17 -0700 Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19]) by nwkea-mail-1.sun.com (8.9.3p2+Sun/8.9.3) with ESMTP id OAA23042; Mon, 5 May 2003 14:10:03 -0700 (PDT) Received: from phys-ha1sun-1 (phys-ha1sun-1.Eng.Sun.COM [129.144.135.11]) by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h45LA2uc007398; Mon, 5 May 2003 14:10:02 -0700 (PDT) Received: from biznatch (biznatch.Eng.Sun.COM [129.144.24.170]) by ha1sun-mail1.eng.sun.com (iPlanet Messaging Server 5.2 (built Feb 21 2002)) with ESMTP id <0HEF005PEMSQ4Y@ha1sun-mail1.eng.sun.com>; Mon, 05 May 2003 14:10:02 -0700 (PDT) Date: Mon, 05 May 2003 14:10:02 -0700 From: Thomas Duffy Subject: Re: Announce: kdb v4.2 is available for kernel 2.4.20, i386 and ia64 [and sparc64 now] In-reply-to: <1052152943.4374.39.camel@biznatch> To: Keith Owens Cc: kdb@oss.sgi.com, Linux Kernel Mailing List Message-id: <1052169002.4374.142.camel@biznatch> Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Content-type: text/plain Content-transfer-encoding: 7BIT References: <11249.1051859696@kao2.melbourne.sgi.com> <1052152943.4374.39.camel@biznatch> X-archive-position: 359 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: Thomas.Duffy.99@alumni.brown.edu Precedence: bulk X-list: kdb On Mon, 2003-05-05 at 09:42, Thomas Duffy wrote: > This patch is needed as part of kdb common to get sparc64 kdb to build. > > * include/linux/kdb.h references task_struct, needs to include sched.h > * kdb/kdbmain.c #define's WRAP already defined in > include/asm-sparc64/termbits.h Oops, guess original sent was too big for lists. This time, include link to patch. Attached is a (link to a) forward port of the sparc64 kdb patch to v4.2 of kdb. It is still rough around the edges, but it at least builds and boots and is somewhat usable. You must apply the kdb common patch and the patch to kdb common I sent earlier to get it to build properly. Enjoy! http://www.dslextreme.com/users/tomduffy/kdb-v4.2-2.4.20-sparc64-1.bz2 -tduffy -- Thomas Duffy From kaos@sgi.com Mon May 5 20:24:37 2003 Received: with ECARTIS (v1.0.0; list kdb); Mon, 05 May 2003 20:24:46 -0700 (PDT) Received: from rj.sgi.com (rj.SGI.COM [192.82.208.96]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h463ObFu028242 for ; Mon, 5 May 2003 20:24:37 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by rj.sgi.com (8.12.9/8.12.2/linux-outbound_gateway-1.2) with SMTP id h463OUE0027328 for ; Mon, 5 May 2003 20:24:31 -0700 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 NAA01589; Tue, 6 May 2003 13:24:26 +1000 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id B10D4D8F46; Tue, 6 May 2003 13:24:25 +1000 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id ADA6991335; Tue, 6 May 2003 13:24:25 +1000 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: "Dong, Eddie" Cc: kdb@oss.sgi.com Subject: Re: Announce: kdb v4.2 is available for kernel 2.4.20, i386 and ia64 In-reply-to: Your message of "Tue, 06 May 2003 10:39:45 +0800." <37FBBA5F3A361C41AB7CE44558C3448E087C05@pdsmsx403.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 May 2003 13:24:20 +1000 Message-ID: <17866.1052191460@kao2.melbourne.sgi.com> X-archive-position: 360 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, 6 May 2003 10:39:45 +0800, "Dong, Eddie" wrote: >Keith: > Will u drop support for 2.4.19 kernel that is useful for embedded = >platform. For 2.4.19, use kdb v4.1. I am only targetting 2.4.20 and 2.4.21 kernels for newer versions of kdb. From eddie.dong@intel.com Tue May 6 01:40:43 2003 Received: with ECARTIS (v1.0.0; list kdb); Tue, 06 May 2003 01:40:49 -0700 (PDT) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h468egFu031768 for ; Tue, 6 May 2003 01:40:43 -0700 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by hermes.jf.intel.com (8.11.6p2/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id h462bmc11329 for ; Tue, 6 May 2003 02:37:48 GMT Received: from pdsmsxvs01.pd.intel.com (pdsmsxvs01.pd.intel.com [172.16.12.122]) by talaria.jf.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.28 2003/01/13 19:44:39 dmccart Exp $) with SMTP id h462BM214234 for ; Tue, 6 May 2003 02:11:22 GMT Received: from pdsmsx331.ccr.corp.intel.com ([172.16.12.58]) by pdsmsxvs01.pd.intel.com (NAVGW 2.5.2.11) with SMTP id M2003050610394628404 ; Tue, 06 May 2003 10:39:46 +0800 Received: from pdsmsx403.ccr.corp.intel.com ([172.16.12.55]) by pdsmsx331.ccr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 6 May 2003 10:39:46 +0800 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Announce: kdb v4.2 is available for kernel 2.4.20, i386 and ia64 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Tue, 6 May 2003 10:39:45 +0800 Message-ID: <37FBBA5F3A361C41AB7CE44558C3448E087C05@pdsmsx403.ccr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Announce: kdb v4.2 is available for kernel 2.4.20, i386 and ia64 Thread-Index: AcMQewpO/RYufCKLSYGXYeQY8m3s6wC/R/Jg From: "Dong, Eddie" To: "Keith Owens" Cc: X-OriginalArrivalTime: 06 May 2003 02:39:46.0515 (UTC) FILETIME=[C1D01A30:01C31378] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id h468egFu031768 X-archive-position: 361 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: eddie.dong@intel.com Precedence: bulk X-list: kdb Keith: Will u drop support for 2.4.19 kernel that is useful for embedded platform. eddie -----Original Message----- From: Keith Owens [mailto:kaos@sgi.com] Sent: 2003?5?2? 15:15 To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org; linux-ia64@linuxia64.org Subject: Announce: kdb v4.2 is available for kernel 2.4.20, i386 and ia64 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii ftp://oss.sgi.com/projects/kdb/download/v4.2/ kdb-v4.2-2.4.20-common-1.bz2 kdb-v4.2-2.4.20-i386-1.bz2 kdb-v4.2-2.4.20-ia64-021210-1.bz2 Changelog extracts since v4.1. 2003-05-02 Keith Owens * Some architectures have problems with the initial empty kallsyms section so revert to three kallsyms passes. * Flush buffered input at startup and at 'more' prompt. * Only print 'more' prompt when longjmp data is available. * Print more data for buffers and inodes. * Disable kill command when O(1) scheduler is installed, the code needs to be redone for O(1). * The kernel has an undocumented assumption that enable_bh() is always called with interrupts enabled, make it so. * Print trailing punctuation even for symbols that are not in kernel. * Add read/write access to user pages. Vamsi Krishna S., IBM * Rename cpu_is_online to cpu_online, as in 2.5. * O(1) scheduler removes init_task so kdb maintains its own list of active tasks. * Delete btp 0 option, it needed init_tasks. * Clean up USB keyboard support. Steven Dake. * Sync with XFS 2.4.20 tree. * kdb v4.2-2.4.20-common-1. 2.4.20-i386-1 2003-05-02 Keith Owens * Add kdba_fp_value(). * Limit backtrace size to catch loops. * Add read/write access to user pages. Vamsi Krishna S., IBM * Clean up USB keyboard support. Steven Dake. * kdb v4.2-2.4.20-i386-1. 2.4.20-ia64-020821-1 2003-05-02 Keith Owens * Add kdba_fp_value(). * Limit backtrace size to catch loops. * Print spinlock name in ia64_spinlock_contention. * Tweak INIT slave stack lock and handler. * Add read/write access to user pages. Vamsi Krishna S., IBM * Rename cpu_is_online to cpu_online, as in 2.5. * Clean up USB keyboard support. * Clean up serial console support. * kdb v4.2-2.4.20-ia64-020821-1. v4.2/README Starting with kdb v2.0 there is a common patch against each kernel which contains all the architecture independent code plus separate architecture dependent patches. Apply the common patch for your kernel plus at least one architecture dependent patch, the architecture patches activate kdb. The naming convention for kdb patches is :- vx.y The version of kdb. x.y is updated as new features are added to kdb. -v.p.s The kernel version that the patch applies to. 's' may include -pre, -rc or whatever numbering system the kernel keepers have thought up this week. -common The common kdb code. Everybody needs this. -i386 Architecture dependent code for i386. -ia64 Architecture dependent code for ia64, etc. -n If there are multiple kdb patches against the same kernel version then the last number is incremented. To build kdb for your kernel, apply the common kdb patch which is less than or equal to the kernel v.p.s, taking the highest value of '-n' if there is more than one. Apply the relevant arch dependent patch with the same value of 'vx.y-v.p.s-', taking the highest value of '-n' if there is more than one. For example, to use kdb for i386 on kernel 2.4.20, apply kdb-v4.2-2.4.20-common- (use highest value of ) kdb-v4.2-2.4.20-i386- (use highest value of ) in that order. To use kdb for ia64-021210 on kernel 2.4.20, apply kdb-v4.2-2.4.20-common- (use highest value of ) kdb-v4.2-2.4.20-ia64-021210- (use highest value of ) in that order. Use patch -p1 for all patches. I do not have any time to work on 2.5, so there are no patches available for 2.5 kernels. If somebody wants to port the latest kdb patches to 2.5 kernels and send patches to kaos@sgi.com then I will put them up in this directory. The kdb-smphdr* patches in the v4.0 directory are Sonic Zhang's changes to improve hardware breakpoint handling on i386 and ia64. They are not official kdb patches yet, they are available for review. They will probably fit v4.2. The next step is to integrate Sonic Zhang's breakpoint changes into kdb and to change the kdb entry logic to cope with multiple cpus doing concurrent entry into kdb. At the moment kdb tries to serialize so it only processes one event at a time. The bad news is that this does not work well with IA64 SAL interrupts so kdb has to change. The good news is that the change will remove the deadlock when two cpus hit a breakpoint at the same time. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQE+shrti4UHNye0ZOoRAo/BAKCHWwL0LSjoEawaYCWT/sMVMR0FkQCgtulL 3V3BdZ5k5IuW0RL9mkSMp10= =b/1W -----END PGP SIGNATURE----- From kaos@sgi.com Tue May 13 19:41:32 2003 Received: with ECARTIS (v1.0.0; list kdb); Tue, 13 May 2003 19:41:41 -0700 (PDT) Received: from zok.sgi.com (zok.sgi.com [204.94.215.101]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4E2fWFu019131; Tue, 13 May 2003 19:41:32 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by zok.sgi.com (8.12.9/8.12.2/linux-outbound_gateway-1.2) with SMTP id h4E2fPVV003276; Tue, 13 May 2003 19:41:26 -0700 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 MAA02299; Wed, 14 May 2003 12:41:24 +1000 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 7E740D8F53; Wed, 14 May 2003 12:41:24 +1000 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 7BAB891356; Wed, 14 May 2003 12:41:24 +1000 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com, linux-xfs@oss.sgi.com Subject: ADMIN: oss.sgi.com will move Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 May 2003 12:41:19 +1000 Message-ID: <28257.1052880079@kao2.melbourne.sgi.com> X-archive-position: 362 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 The oss.sgi.com machine will be moved to another location starting at 7am UTC on next Friday. It's expect to be back in operation on Saturday. Sorry for any inconvenience this may cause. [pinched from Ralf Baechle's announcement] From jim.houston@attbi.com Fri May 16 08:38:13 2003 Received: with ECARTIS (v1.0.0; list kdb); Fri, 16 May 2003 08:38:27 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4GFcDFu002358 for ; Fri, 16 May 2003 08:38:13 -0700 Received: from attbi.com (h00e098094f32.ne.client2.attbi.com[24.60.234.83]) by attbi.com (rwcrmhc52) with SMTP id <2003051615053705200lav6he>; Fri, 16 May 2003 15:05:38 +0000 Message-ID: <3EC4FE49.5DD643F9@attbi.com> Date: Fri, 16 May 2003 11:05:45 -0400 From: Jim Houston Reply-To: jim.houston@attbi.com X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: kaos@sgi.com, kdb@oss.sgi.com Subject: new kdb-4.2 for linux-2.5.69 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-archive-position: 363 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jim.houston@attbi.com Precedence: bulk X-list: kdb Hi Keith, Everyone, I have been using kdb in linux-2.5 kernels doing the quick hacks necessary to make kdb work with recent kernels. I just upgraded to kdb-4.2 and linux-2.5.69. I hope that others will find this work useful so I'm making a patch available here: http://www.ccur.com/realtime/oss/ The patch is based on the SGI patches (kdb-v4.2-2.4.20-common-1 and kdb-v4.2-2.4.20-i386-1). The web page above has two versions of the patch. One is a single large patch which includes the SGI patches that can be applied directly to linux-2.5.69. The second patch is only my changes. It can be applied to a linux-2.5.69 kernel which has been patched with the SGI patches e.g.: bzcat kdb-v4.2-2.4.20-common-1.bz2 | patch -p1 -f bzcat kdb-v4.2-2.4.20-i386-1.bz2 | patch -p1 -f bzcat kdb-v4.2-2.5.69-jhdelta1.bz2 | patch -p1 Since my last version of this patch, I have sorted out the issues with module symbol tables and added the symbol table support needed for symbol name completion. I have also put a couple days into making modules/kdbm_pg.c and modules/kdbm_vm.c compile. The following features are not working: - Module and section related commands. - Kill command. Keith, I hope that you will release an offical kdb for 2.5 kernels. Let me know if there is anything I can do to help. Jim Houston - Concurrent Computer Corp. From markus.schaber@student.uni-ulm.de Wed May 21 13:00:22 2003 Received: with ECARTIS (v1.0.0; list kdb); Wed, 21 May 2003 13:00:56 -0700 (PDT) Received: from mail.rz.uni-ulm.de (gemini.rz.uni-ulm.de [134.60.246.16]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4LK0K2x020340 for ; Wed, 21 May 2003 13:00:22 -0700 Received: from lunix.haselbuehl.de (p213.54.210.226.tisdip.tiscali.de [213.54.210.226]) by mail.rz.uni-ulm.de (8.12.9/8.12.9) with ESMTP id h4LK0FLW002285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 21 May 2003 22:00:17 +0200 (MEST) Date: Wed, 21 May 2003 22:00:13 +0200 From: Markus Schaber To: kdb@oss.sgi.com Subject: kdb architecture whitepaper Message-Id: <20030521220013.63bb1a7b.markus.schaber@student.uni-ulm.de> Organization: =?ISO-8859-1?Q?Universit=E4t?= Ulm X-Mailer: Sylpheed version 0.8.11claws82 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DCC-MessageCare-Metrics: gemini 1108; Body=2 Fuz1=2 Fuz2=2 X-archive-position: 364 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: markus.schaber@student.uni-ulm.de Precedence: bulk X-list: kdb Hello, I'm currently working on my diploma thesis about implementation of a debugging tool, and I intend to include a chapter comparing different debugger techniques. Now, my question is whether there is any whitepaper or speech slides describing the general kdb architecture and how it works, somehow giving the "big picture". Any links or other pointers would be great. Thanks a lot, Markus PS: As I'm currently not subscribed to the list, I'd appreciate to be Cc:-ed on replies :-) From kaos@sgi.com Wed May 21 15:46:44 2003 Received: with ECARTIS (v1.0.0; list kdb); Wed, 21 May 2003 15:47:19 -0700 (PDT) Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4LMkf2x023543 for ; Wed, 21 May 2003 15:46:42 -0700 Received: (qmail 18066 invoked from network); 21 May 2003 22:46:39 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 21 May 2003 22:46:39 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 17FACD8F53; Thu, 22 May 2003 08:46:36 +1000 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 1551A91357; Thu, 22 May 2003 08:46:36 +1000 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: Markus Schaber Cc: kdb@oss.sgi.com Subject: Re: kdb architecture whitepaper In-reply-to: Your message of "Wed, 21 May 2003 22:00:13 +0200." <20030521220013.63bb1a7b.markus.schaber@student.uni-ulm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 May 2003 08:46:31 +1000 Message-ID: <9038.1053557191@ocs3.intra.ocs.com.au> X-archive-position: 365 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, 21 May 2003 22:00:13 +0200, Markus Schaber wrote: >Hello, > >I'm currently working on my diploma thesis about implementation of a >debugging tool, and I intend to include a chapter comparing different >debugger techniques. > >Now, my question is whether there is any whitepaper or speech slides >describing the general kdb architecture and how it works, somehow giving >the "big picture". No, like most of the kernel code, kdb evolved in response to user requests. Read the source, Luke ;). From slurndal@verisign.com Wed May 21 16:14:31 2003 Received: with ECARTIS (v1.0.0; list kdb); Wed, 21 May 2003 16:15:03 -0700 (PDT) Received: from peacock.verisign.com (peacock.verisign.com [65.205.251.73]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4LNEU2x024337 for ; Wed, 21 May 2003 16:14:31 -0700 Received: from mou1wnexc02.verisign.com (verisign.com [65.205.251.54]) by peacock.verisign.com (8.12.9/) with ESMTP id h4LNET53028678; Wed, 21 May 2003 16:14:29 -0700 (PDT) Received: from slurndal-lnx.verisign.com ([10.25.27.123]) by mou1wnexc02.verisign.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id K0XZJDRW; Wed, 21 May 2003 16:14:29 -0700 From: Received: by slurndal-lnx.verisign.com; Wed, 21 May 2003 16:14:29 -0700 Message-Id: <200305212314.QAA16582@slurndal-lnx.verisign.com> Subject: Re: kdb architecture whitepaper To: kaos@sgi.com (Keith Owens) Date: Wed, 21 May 2003 16:14:29 -0700 (PDT) Cc: markus.schaber@student.uni-ulm.de (Markus Schaber), kdb@oss.sgi.com In-Reply-To: <9038.1053557191@ocs3.intra.ocs.com.au> from "Keith Owens" at May 22, 2003 08:46:31 AM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-archive-position: 366 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: slurndal@verisign.com Precedence: bulk X-list: kdb > > On Wed, 21 May 2003 22:00:13 +0200, > Markus Schaber wrote: > >Hello, > > > >I'm currently working on my diploma thesis about implementation of a > >debugging tool, and I intend to include a chapter comparing different > >debugger techniques. > > > >Now, my question is whether there is any whitepaper or speech slides > >describing the general kdb architecture and how it works, somehow giving > >the "big picture". > > No, like most of the kernel code, kdb evolved in response to user > requests. Read the source, Luke ;). > Although I could probably share some insights. Markus, bitte schreiben sie mich nach "slp53@pacbell.net". Danke. scott From markus.schaber@student.uni-ulm.de Thu May 22 13:01:39 2003 Received: with ECARTIS (v1.0.0; list kdb); Thu, 22 May 2003 13:02:15 -0700 (PDT) Received: from mail.rz.uni-ulm.de (gemini.rz.uni-ulm.de [134.60.246.16]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4MK1a2x005841 for ; Thu, 22 May 2003 13:01:38 -0700 Received: from lunix.haselbuehl.de (p213.54.215.198.tisdip.tiscali.de [213.54.215.198]) by mail.rz.uni-ulm.de (8.12.9/8.12.9) with ESMTP id h4MK1Vpn021009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 22 May 2003 22:01:33 +0200 (MEST) Date: Thu, 22 May 2003 22:01:29 +0200 From: Markus Schaber To: kdb@oss.sgi.com Subject: Re: kdb architecture whitepaper Message-Id: <20030522220129.71e46027.markus.schaber@student.uni-ulm.de> In-Reply-To: <9038.1053557191@ocs3.intra.ocs.com.au> References: <20030521220013.63bb1a7b.markus.schaber@student.uni-ulm.de> <9038.1053557191@ocs3.intra.ocs.com.au> Organization: =?ISO-8859-1?Q?Universit=E4t?= Ulm X-Mailer: Sylpheed version 0.8.11claws82 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DCC-servers-Metrics: gemini 1049; Body=2 Fuz1=2 Fuz2=2 X-archive-position: 367 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: markus.schaber@student.uni-ulm.de Precedence: bulk X-list: kdb Hallo, Keith Owens schrieb: > >Now, my question is whether there is any whitepaper or speech slides > >describing the general kdb architecture and how it works, somehow > >giving the "big picture". > > No, like most of the kernel code, kdb evolved in response to user > requests. Read the source, Luke ;). Strange, I was nearly shure that kdb could give a good speech at a linux expo or kernel summit... Thanks for your Answers. Markus From kaos@sgi.com Thu May 22 21:12:27 2003 Received: with ECARTIS (v1.0.0; list kdb); Thu, 22 May 2003 21:13:02 -0700 (PDT) Received: from rj.sgi.com (rj.SGI.COM [192.82.208.96]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4N4CQ2x014682 for ; Thu, 22 May 2003 21:12:27 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by rj.sgi.com (8.12.9/8.12.2/linux-outbound_gateway-1.2) with SMTP id h4N4CKE0028437 for ; Thu, 22 May 2003 21:12:20 -0700 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 OAA18359; Fri, 23 May 2003 14:11:02 +1000 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 88AC5D8F55; Fri, 23 May 2003 14:11:02 +1000 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 84DED91357; Fri, 23 May 2003 14:11:02 +1000 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: Markus Schaber Cc: kdb@oss.sgi.com Subject: Re: kdb architecture whitepaper In-reply-to: Your message of "Thu, 22 May 2003 22:01:29 +0200." <20030522220129.71e46027.markus.schaber@student.uni-ulm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 May 2003 14:10:57 +1000 Message-ID: <2940.1053663057@kao2.melbourne.sgi.com> X-archive-position: 368 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, 22 May 2003 22:01:29 +0200, Markus Schaber wrote: >Hallo, > >Keith Owens schrieb: > >> >Now, my question is whether there is any whitepaper or speech slides >> >describing the general kdb architecture and how it works, somehow >> >giving the "big picture". >> >> No, like most of the kernel code, kdb evolved in response to user >> requests. Read the source, Luke ;). > >Strange, I was nearly shure that kdb could give a good speech at a linux >expo or kernel summit... It would be a good talk but ... Both Linus (2.5) and Marcelo (2.4) have said that they do not want kdb in the kernel. That means I cannot justify any expenditure on documentation, talks etc., giving a presentation is a lot of effort for zero return. From eddie.dong@intel.com Thu May 29 18:27:28 2003 Received: with ECARTIS (v1.0.0; list kdb); Thu, 29 May 2003 18:27:36 -0700 (PDT) Received: from hermes.fm.intel.com (fmr01.intel.com [192.55.52.18]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4U1RR2x012188 for ; Thu, 29 May 2003 18:27:27 -0700 Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39]) by hermes.fm.intel.com (8.11.6p2/8.11.6/d: outer.mc,v 1.66 2003/05/22 21:17:36 rfjohns1 Exp $) with ESMTP id h4U1N2707339 for ; Fri, 30 May 2003 01:23:02 GMT Received: from fmsmsxvs041.fm.intel.com (fmsmsxvs041.fm.intel.com [132.233.42.126]) by talaria.fm.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.35 2003/05/22 21:18:01 rfjohns1 Exp $) with SMTP id h4U1SAR04150 for ; Fri, 30 May 2003 01:28:10 GMT Received: from fmsmsx331.amr.corp.intel.com ([132.233.42.135]) by fmsmsxvs041.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003052918241932375 ; Thu, 29 May 2003 18:24:19 -0700 Received: from fmsmsx312.amr.corp.intel.com ([132.233.42.227]) by fmsmsx331.amr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 29 May 2003 18:27:26 -0700 Received: from pdsmsx403.ccr.corp.intel.com ([172.16.12.55]) by fmsmsx312.amr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 29 May 2003 18:27:26 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Xscale patch for KDB4.2 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Fri, 30 May 2003 09:27:23 +0800 Message-ID: <37FBBA5F3A361C41AB7CE44558C3448E087C99@pdsmsx403.ccr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Xscale patch for KDB4.2 Thread-Index: AcMmSp55HSNDqfftQ+e1EMacRqrcoA== From: "Dong, Eddie" To: "Keith Owens" Cc: X-OriginalArrivalTime: 30 May 2003 01:27:26.0515 (UTC) FILETIME=[A0E2A830:01C3264A] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id h4U1RR2x012188 X-archive-position: 369 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: eddie.dong@intel.com Precedence: bulk X-list: kdb Keith: Is there anything I can do to quicken the step of adopting XScale patch for KDB 4.2? I have sent it to you for 2 weeks and want to see the new features... From kaos@sgi.com Thu May 29 18:37:47 2003 Received: with ECARTIS (v1.0.0; list kdb); Thu, 29 May 2003 18:37:55 -0700 (PDT) Received: from tolkor.sgi.com (tolkor.SGI.COM [198.149.18.6]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4U1bk2x012350 for ; Thu, 29 May 2003 18:37:47 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by tolkor.sgi.com (8.12.9/8.12.2/linux-outbound_gateway-1.2) with SMTP id h4U1rHVe014061 for ; Thu, 29 May 2003 20:53:18 -0500 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 LAA19808; Fri, 30 May 2003 11:36:21 +1000 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 9CB5AD8F53; Fri, 30 May 2003 11:36:12 +1000 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 99F0591357; Fri, 30 May 2003 11:36:12 +1000 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: "Dong, Eddie" Cc: kdb@oss.sgi.com Subject: Re: Xscale patch for KDB4.2 In-reply-to: Your message of "Fri, 30 May 2003 09:27:23 +0800." <37FBBA5F3A361C41AB7CE44558C3448E087C99@pdsmsx403.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 30 May 2003 11:36:07 +1000 Message-ID: <11453.1054258567@kao2.melbourne.sgi.com> X-archive-position: 370 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, 30 May 2003 09:27:23 +0800, "Dong, Eddie" wrote: > Is there anything I can do to quicken the step of adopting XScale >patch for KDB 4.2? I have sent it to you for 2 weeks and want to see the >new features... I know and I apologise for the delay. I want to add XScale support to kdb and I will do so, once I get out from under kdb and lkcd interactions and catch up with 2.4.21-rc6 and XFS changes to kdb. The lkcd work is nearly done, it was just messier thatn expected.