From owner-kdb@oss.sgi.com Sun Dec 2 23:12:56 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB37Cuq26281 for kdb-outgoing; Sun, 2 Dec 2001 23:12:56 -0800 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB37Cpo26271 for ; Sun, 2 Dec 2001 23:12:51 -0800 Received: from nodin.corp.sgi.com ([198.29.75.193]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id WAA00309 for ; Sun, 2 Dec 2001 22:12:46 -0800 (PST) mail_from (kaos@sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id fB36Bi415909611; Sun, 2 Dec 2001 22:11:44 -0800 (PST) Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id DC28F300090; Mon, 3 Dec 2001 17:11:37 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 4F04196; Mon, 3 Dec 2001 17:11:37 +1100 (EST) X-Mailer: exmh version 2.2 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 v1.9 is available for kernel 2.4.16 Date: Mon, 03 Dec 2001 17:11:31 +1100 Message-ID: <3838.1007359891@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii ftp://oss.sgi.com/projects/kdb/download/ix86/kdb-v1.9-2.4.16.bz2 ftp://oss.sgi.com/projects/kdb/download/ia64/kdb-v1.9-2.4.16-ia64-011128.bz2 Ethan Solomita (ethan@cs.columbia.edu) has done a port of kdb to sparc64 against 2.4.13. I will upgrade that to 2.4.16, integrate it with the other kdb changes since 2.4.13 and release it in a few days. This will probably be the last release of kdb using this patch format. I plan to split kdb into a core patch and smaller arch dependent patches, instead of one big patch for each arch. Changelog extract. 2001-12-03 Keith Owens * Upgrade to 2.4.16. * Add include/asm-um/kdb.h stub to allow XFS to be tested under UML. * Check if an interrupt frame on i386 came from user space. * Out of scope bug fix in kdb_id.c. Ethan Solomita. * Changes to common code to support sparc64. Ethan Solomita. * Change GFP_KERNEL to GFP_ATOMIC in disasm. Ethan Solomita. 2001-11-16 Keith Owens * Upgrade to 2.4.15-pre5. * Wrap () around #define expressions with unary operators. 2001-11-13 Keith Owens * Upgrade to 2.4.15-pre4. * kbdm_pg.c patch from Hugh Dickins. 2001-11-07 Keith Owens * Upgrade to 2.4.14-ia64-011105. * Change name of l1 serial I/O routine, add ia64 init command. SGI. * Sync kdbm_pg with XFS. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQE8CxeSi4UHNye0ZOoRAg5XAJ0X38pwRAQn626kA52x3blkPqJEZQCfYFZf uEs8b9QtISbATIBWtO44H/M= =01s4 -----END PGP SIGNATURE----- From owner-kdb@oss.sgi.com Mon Dec 3 00:44:14 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB38iEt29483 for kdb-outgoing; Mon, 3 Dec 2001 00:44:14 -0800 Received: from ns.caldera.de (ns.caldera.de [212.34.180.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB38iCo29478 for ; Mon, 3 Dec 2001 00:44:12 -0800 Received: (from hch@localhost) by ns.caldera.de (8.11.1/8.11.1) id fB37hBo11765; Mon, 3 Dec 2001 08:43:11 +0100 Date: Mon, 3 Dec 2001 08:43:10 +0100 From: Christoph Hellwig To: Keith Owens Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org Subject: Re: Announce: kdb v1.9 is available for kernel 2.4.16 Message-ID: <20011203084310.A11737@caldera.de> Mail-Followup-To: Christoph Hellwig , Keith Owens , kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org References: <3838.1007359891@kao2.melbourne.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3838.1007359891@kao2.melbourne.sgi.com>; from kaos@sgi.com on Mon, Dec 03, 2001 at 05:11:31PM +1100 Sender: owner-kdb@oss.sgi.com Precedence: bulk On Mon, Dec 03, 2001 at 05:11:31PM +1100, Keith Owens wrote: > This will probably be the last release of kdb using this patch format. > I plan to split kdb into a core patch and smaller arch dependent > patches, instead of one big patch for each arch. Why can't you release one kdb patch instead? Christoph -- Of course it doesn't work. We've performed a software upgrade. From owner-kdb@oss.sgi.com Mon Dec 3 01:40:33 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB39eXF00535 for kdb-outgoing; Mon, 3 Dec 2001 01:40:33 -0800 Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB39eRo00530 for ; Mon, 3 Dec 2001 01:40:28 -0800 Received: (qmail 18566 invoked from network); 3 Dec 2001 08:40:21 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 3 Dec 2001 08:40:21 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 784FB300090; Mon, 3 Dec 2001 19:40:17 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 69EDE96; Mon, 3 Dec 2001 19:40:17 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Christoph Hellwig Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org Subject: Re: Announce: kdb v1.9 is available for kernel 2.4.16 In-reply-to: Your message of "Mon, 03 Dec 2001 08:43:10 BST." <20011203084310.A11737@caldera.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Dec 2001 19:40:12 +1100 Message-ID: <5112.1007368812@ocs3.intra.ocs.com.au> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Mon, 3 Dec 2001 08:43:10 +0100, Christoph Hellwig wrote: >On Mon, Dec 03, 2001 at 05:11:31PM +1100, Keith Owens wrote: >> This will probably be the last release of kdb using this patch format. >> I plan to split kdb into a core patch and smaller arch dependent >> patches, instead of one big patch for each arch. > >Why can't you release one kdb patch instead? Because every architecture except i386 differes from the base kernel. IA64 has its own large patch set that has to be applied to the main kernel before kdb can be applied. Sparc uses the vger kernel tree. The -ac trees are different again. From owner-kdb@oss.sgi.com Mon Dec 3 07:40:37 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB3Febb25174 for kdb-outgoing; Mon, 3 Dec 2001 07:40:37 -0800 Received: from mitica.trasno.org ([213.98.126.44]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB3FeWo25171 for ; Mon, 3 Dec 2001 07:40:33 -0800 Received: by mitica.trasno.org (Postfix, from userid 501) id 9DCC6B005; Mon, 3 Dec 2001 15:38:50 +0100 (CET) To: Keith Owens Cc: Christoph Hellwig , kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org Subject: Re: Announce: kdb v1.9 is available for kernel 2.4.16 References: <5112.1007368812@ocs3.intra.ocs.com.au> X-Url: http://www.lfcia.org/~quintela From: Juan Quintela In-Reply-To: <5112.1007368812@ocs3.intra.ocs.com.au> Date: 03 Dec 2001 15:38:50 +0100 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-kdb@oss.sgi.com Precedence: bulk >>>>> "keith" == Keith Owens writes: keith> On Mon, 3 Dec 2001 08:43:10 +0100, keith> Christoph Hellwig wrote: >> On Mon, Dec 03, 2001 at 05:11:31PM +1100, Keith Owens wrote: >>> This will probably be the last release of kdb using this patch format. >>> I plan to split kdb into a core patch and smaller arch dependent >>> patches, instead of one big patch for each arch. >> >> Why can't you release one kdb patch instead? keith> Because every architecture except i386 differes from the base kernel. keith> IA64 has its own large patch set that has to be applied to the main keith> kernel before kdb can be applied. Sparc uses the vger kernel tree. keith> The -ac trees are different again. That is bad, now that you are able to create a kernel that will compile in i386 & ia64 with latest ia64 patch, I will also like to be able to integrate kdb there with support for both archs. Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy From owner-kdb@oss.sgi.com Mon Dec 3 07:55:51 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB3FtpC28727 for kdb-outgoing; Mon, 3 Dec 2001 07:55:51 -0800 Received: from ns.caldera.de (ns.caldera.de [212.34.180.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB3Ftmo28692 for ; Mon, 3 Dec 2001 07:55:48 -0800 Received: (from hch@localhost) by ns.caldera.de (8.11.1/8.11.1) id fB3Etdw22574; Mon, 3 Dec 2001 15:55:39 +0100 Date: Mon, 3 Dec 2001 15:55:39 +0100 From: Christoph Hellwig To: Keith Owens Cc: kdb@oss.sgi.com Subject: Re: [Linux-ia64] Re: Announce: kdb v1.9 is available for kernel 2.4.16 Message-ID: <20011203155539.A22102@caldera.de> References: <20011203084310.A11737@caldera.de> <5112.1007368812@ocs3.intra.ocs.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5112.1007368812@ocs3.intra.ocs.com.au>; from kaos@melbourne.sgi.com on Mon, Dec 03, 2001 at 07:40:12PM +1100 Sender: owner-kdb@oss.sgi.com Precedence: bulk On Mon, Dec 03, 2001 at 07:40:12PM +1100, Keith Owens wrote: > Because every architecture except i386 differes from the base kernel. > IA64 has its own large patch set that has to be applied to the main > kernel before kdb can be applied. Sparc uses the vger kernel tree. > The -ac trees are different again. Umm, the ia64 kdb patch fails in exact two places when applied against a stock 2.4.16 kernel.. vger usually is very near to the mainline, and -ac is completly gone. My above statement wasn't about having one patch for incompatible trees - that wouldn't work anyway. Instead it is about having one patch that includes all architectures. Currently we have do a lot of work at Caldera to get one tree with i386 and ia64 support, including kdb for both plattforms. Christoph -- Of course it doesn't work. We've performed a software upgrade. From owner-kdb@oss.sgi.com Mon Dec 3 08:11:08 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB3GB8U30614 for kdb-outgoing; Mon, 3 Dec 2001 08:11:08 -0800 Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB3GB4o30597 for ; Mon, 3 Dec 2001 08:11:05 -0800 Received: (qmail 24808 invoked from network); 3 Dec 2001 15:11:02 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 3 Dec 2001 15:11:02 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id A8D89300090; Tue, 4 Dec 2001 02:11:00 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 9AF0696; Tue, 4 Dec 2001 02:11:00 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Christoph Hellwig Cc: kdb@oss.sgi.com Subject: Re: Announce: kdb v1.9 is available for kernel 2.4.16 In-reply-to: Your message of "Mon, 03 Dec 2001 15:55:39 BST." <20011203155539.A22102@caldera.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Dec 2001 02:10:55 +1100 Message-ID: <16173.1007392255@ocs3.intra.ocs.com.au> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Mon, 3 Dec 2001 15:55:39 +0100, Christoph Hellwig wrote: >On Mon, Dec 03, 2001 at 07:40:12PM +1100, Keith Owens wrote: >> Because every architecture except i386 differes from the base kernel. >> IA64 has its own large patch set that has to be applied to the main >> kernel before kdb can be applied. Sparc uses the vger kernel tree. >> The -ac trees are different again. > >Umm, the ia64 kdb patch fails in exact two places when applied against >a stock 2.4.16 kernel.. vger usually is very near to the mainline, and >-ac is completly gone. That is true now, but only since ia64 rolled a lot of changes into 2.4.16. Before 2.4.16, ia64 was significantly different, before 2.4.13 ac was a nightmare. IMHO having a core kdb patch with arch specific add ons will actually make it easier to support multiple architectures, you don't have to reconcile the core changes from two different patches because there is now only one copy. By definition, the arch add ons are completely independent so there are no reconciliation problems. From owner-kdb@oss.sgi.com Mon Dec 3 16:56:13 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB40uD028279 for kdb-outgoing; Mon, 3 Dec 2001 16:56:13 -0800 Received: from mitica.trasno.org ([213.98.126.44]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB40u7o28275 for ; Mon, 3 Dec 2001 16:56:08 -0800 Received: by mitica.trasno.org (Postfix, from userid 501) id E89F5B005; Tue, 4 Dec 2001 00:54:24 +0100 (CET) To: Keith Owens Cc: Christoph Hellwig , kdb@oss.sgi.com Subject: Re: Announce: kdb v1.9 is available for kernel 2.4.16 References: <16173.1007392255@ocs3.intra.ocs.com.au> X-Url: http://www.lfcia.org/~quintela From: Juan Quintela In-Reply-To: <16173.1007392255@ocs3.intra.ocs.com.au> Date: 04 Dec 2001 00:54:24 +0100 Message-ID: Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-kdb@oss.sgi.com Precedence: bulk >>>>> "keith" == Keith Owens writes: keith> On Mon, 3 Dec 2001 15:55:39 +0100, keith> Christoph Hellwig wrote: >> On Mon, Dec 03, 2001 at 07:40:12PM +1100, Keith Owens wrote: >>> Because every architecture except i386 differes from the base kernel. >>> IA64 has its own large patch set that has to be applied to the main >>> kernel before kdb can be applied. Sparc uses the vger kernel tree. >>> The -ac trees are different again. >> >> Umm, the ia64 kdb patch fails in exact two places when applied against >> a stock 2.4.16 kernel.. vger usually is very near to the mainline, and >> -ac is completly gone. keith> That is true now, but only since ia64 rolled a lot of changes into keith> 2.4.16. Before 2.4.16, ia64 was significantly different, before 2.4.13 keith> ac was a nightmare. IMHO having a core kdb patch with arch specific keith> add ons will actually make it easier to support multiple architectures, keith> you don't have to reconcile the core changes from two different patches keith> because there is now only one copy. By definition, the arch add ons keith> are completely independent so there are no reconciliation problems. core patches + different arch patches sounds good to me. Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy From owner-kdb@oss.sgi.com Mon Dec 3 18:59:09 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB42x9L08072 for kdb-outgoing; Mon, 3 Dec 2001 18:59:09 -0800 Received: from dns01.miraclelinux.com (ns3.miraclelinux.com [61.120.40.82]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB42wpo08061 for ; Mon, 3 Dec 2001 18:59:00 -0800 Received: from localhost (dhcp-0153.miraclelinux.com [10.1.0.153]) by dns01.miraclelinux.com (8.9.3+3.2W/3.7W/01070418) with ESMTP id KAA24761; Tue, 4 Dec 2001 10:58:32 +0900 To: kaos@sgi.com Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org Cc: hyoshiok@miraclelinux.com Subject: Re: [Linux-ia64] Announce: kdb v1.9 is available for kernel 2.4.16 In-Reply-To: <3838.1007359891@kao2.melbourne.sgi.com> References: <3838.1007359891@kao2.melbourne.sgi.com> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20011204105051A.hyoshiok@miraclelinux.com> Date: Tue, 04 Dec 2001 10:50:51 +0900 From: Hiro Yoshioka X-Dispatcher: imput version 20000228(IM140) Lines: 73 Sender: owner-kdb@oss.sgi.com Precedence: bulk Keith, I have a naive question. Is there any chance to be merged into Linus's linux? If not, why? If yes, when? Thanks in advance, Hiro From: Keith Owens Subject: [Linux-ia64] Announce: kdb v1.9 is available for kernel 2.4.16 Date: Mon, 03 Dec 2001 17:11:31 +1100 Message-ID: <3838.1007359891@kao2.melbourne.sgi.com> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Content-Type: text/plain; charset=us-ascii > > ftp://oss.sgi.com/projects/kdb/download/ix86/kdb-v1.9-2.4.16.bz2 > ftp://oss.sgi.com/projects/kdb/download/ia64/kdb-v1.9-2.4.16-ia64-011128.bz2 > > Ethan Solomita (ethan@cs.columbia.edu) has done a port of kdb to > sparc64 against 2.4.13. I will upgrade that to 2.4.16, integrate it > with the other kdb changes since 2.4.13 and release it in a few days. > > This will probably be the last release of kdb using this patch format. > I plan to split kdb into a core patch and smaller arch dependent > patches, instead of one big patch for each arch. > > Changelog extract. > > 2001-12-03 Keith Owens > > * Upgrade to 2.4.16. > * Add include/asm-um/kdb.h stub to allow XFS to be tested under UML. > * Check if an interrupt frame on i386 came from user space. > * Out of scope bug fix in kdb_id.c. Ethan Solomita. > * Changes to common code to support sparc64. Ethan Solomita. > * Change GFP_KERNEL to GFP_ATOMIC in disasm. Ethan Solomita. > > 2001-11-16 Keith Owens > > * Upgrade to 2.4.15-pre5. > * Wrap () around #define expressions with unary operators. > > 2001-11-13 Keith Owens > > * Upgrade to 2.4.15-pre4. > * kbdm_pg.c patch from Hugh Dickins. > > 2001-11-07 Keith Owens > > * Upgrade to 2.4.14-ia64-011105. > * Change name of l1 serial I/O routine, add ia64 init command. SGI. > * Sync kdbm_pg with XFS. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: Exmh version 2.1.1 10/15/1999 > > iD8DBQE8CxeSi4UHNye0ZOoRAg5XAJ0X38pwRAQn626kA52x3blkPqJEZQCfYFZf > uEs8b9QtISbATIBWtO44H/M= > =01s4 > -----END PGP SIGNATURE----- > > > _______________________________________________ > Linux-IA64 mailing list > Linux-IA64@linuxia64.org > http://lists.linuxia64.org/lists/listinfo/linux-ia64 From owner-kdb@oss.sgi.com Mon Dec 3 19:29:23 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB43TNn09043 for kdb-outgoing; Mon, 3 Dec 2001 19:29:23 -0800 Received: from rj.sgi.com (rj.SGI.COM [204.94.215.100]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB43TLo09038 for ; Mon, 3 Dec 2001 19:29:21 -0800 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.1) with ESMTP id fB42TFY17491 for ; Mon, 3 Dec 2001 18:29:15 -0800 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id fB42SD416058976; Mon, 3 Dec 2001 18:28:13 -0800 (PST) Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 1464A300095; Tue, 4 Dec 2001 13:28:10 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id B334496; Tue, 4 Dec 2001 13:28:10 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Hiro Yoshioka Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org Subject: Re: [Linux-ia64] Announce: kdb v1.9 is available for kernel 2.4.16 In-reply-to: Your message of "Tue, 04 Dec 2001 10:50:51 +0900." <20011204105051A.hyoshiok@miraclelinux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Dec 2001 13:28:05 +1100 Message-ID: <21084.1007432885@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Tue, 04 Dec 2001 10:50:51 +0900, Hiro Yoshioka wrote: >I have a naive question. >Is there any chance (kdb) to be merged into Linus's linux? >If not, why? If yes, when? http://www.lib.uaa.alaska.edu/linux-kernel/archive/2000-Week-36/0575.html http://marc.theaimsgroup.com/?l=linux-kernel&m=96865229622167&w=2 From owner-kdb@oss.sgi.com Tue Dec 4 04:36:49 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB4Cand24797 for kdb-outgoing; Tue, 4 Dec 2001 04:36:49 -0800 Received: from passion.cambridge.redhat.com (dell-paw-3.cambridge.redhat.com [195.224.55.237]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB4Cafo24790 for ; Tue, 4 Dec 2001 04:36:41 -0800 Received: from dwmw2 (helo=redhat.com) by passion.cambridge.redhat.com with local-esmtp (Exim 3.16 #2) id 16BDrt-0003jL-00; Tue, 04 Dec 2001 11:36:09 +0000 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: David Woodhouse X-Accept-Language: en_GB In-Reply-To: <21084.1007432885@kao2.melbourne.sgi.com> References: <21084.1007432885@kao2.melbourne.sgi.com> To: Keith Owens Cc: Hiro Yoshioka , kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org Subject: Re: [Linux-ia64] Announce: kdb v1.9 is available for kernel 2.4.16 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Dec 2001 11:36:09 +0000 Message-ID: <14342.1007465769@redhat.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk kaos@melbourne.sgi.com said: > http://www.lib.uaa.alaska.edu/linux-kernel/archive/2000-Week-36/0575.html > http://marc.theaimsgroup.com/?l=linux-kernel&m=96865229622167&w=2 The answer, of course, is to do all your debugging in the MIPS kernel, which even in Linus' tree contains gdb stubs, although I think Linus' tree is missing the gdbconsole which sends all printk output as GDB $O packets. (gdb) tar rem /dev/ttyS0 Remote debugging using /dev/ttyS0 0x80110070 in breakinst () (gdb) cont Continuing. CPU revision is: 00002721 FPU revision is: 00002720 Primary instruction cache 16KiB. Primary data cache 16KiB. Secondary cache 256KiB, linesize 32 bytes. Enabling secondary cache...Done Tertiary cache present, not (yet) enabled TLB has 64 entries. Linux version 2.4.16-0.4 (dwmw2@passion.cambridge.redhat.com) (gcc version While I sort of see Linus' point, there are two cases where it falls down most often for me. Firstly, roughly half the bugs which I track by poking around with GDB are caused by toolchain/compiler problems, not by bogus code. Looking at the code and thinking hard does _not_ help you here. You have to see what's buggered, compare the code with the asm and slowly find out what went wrong. If BUG() contains a breakpoint and you can poke at it all immediately, that's a _lot_ easier than forty-five recompilations and reboots with extra printks in random places, the final one of which changes the compiler's output so it no longer exhibits the same bug. Secondly, the point about not having a debugger making you more careful may be true - but half the time I track bugs, they're not in my own code. In fact, I'd go as far as to say the 99% of the bugs I actually use GDB for aren't in my own code. Some _other_ bugger has been careless, and I'm here trying to pick up the pieces. (Sorry for taking the bait - but anything's better than the evolution thread) -- dwmw2 From owner-kdb@oss.sgi.com Tue Dec 4 11:04:25 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB4J4PW02870 for kdb-outgoing; Tue, 4 Dec 2001 11:04:25 -0800 Received: from pigeon.verisign.com (pigeon.verisign.com [65.205.251.71]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB4J4Ko02863 for ; Tue, 4 Dec 2001 11:04:20 -0800 Received: from vhqpostal-gw2.verisign.com (verisign.com [65.205.251.56]) by pigeon.verisign.com (8.9.3/BCH1.7.1) with ESMTP id JAA00708; Tue, 4 Dec 2001 09:55:25 -0800 (PST) From: slurn@verisign.com Received: from slurndal-lnx.verisign.com ([10.25.27.123]) by vhqpostal-gw2.verisign.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VW3GL6SV; Tue, 4 Dec 2001 10:04:50 -0800 Received: by slurndal-lnx.verisign.com; Tue, 4 Dec 2001 10:04:23 -0800 Message-Id: <200112041804.KAA20982@slurndal-lnx.verisign.com> Subject: Re: [Linux-ia64] Announce: kdb v1.9 is available for kernel 2.4.16 To: dwmw2@infradead.org (David Woodhouse) Date: Tue, 4 Dec 2001 10:04:23 -0800 (PST) Cc: kaos@melbourne.sgi.com (Keith Owens), hyoshiok@miraclelinux.com (Hiro Yoshioka), kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@linuxia64.org In-Reply-To: <14342.1007465769@redhat.com> from "David Woodhouse" at Dec 04, 2001 11:36:09 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk > > > > While I sort of see Linus' point, there are two cases where it falls down > most often for me. Actually, I don't see any part of Linus' point. Kdb is a tool, just as much as vi or cscope are tools that aid in kernel development. Anyone who would throw away a useful tool because he doesn't think it is pretty (or that a tool should be used at all) is a fool. The biggest advantage to kdb is its ability to help understand code more quickly than just reading it. The ability to stop at a particular point and see how you got there can aid in the process of learning the source and the multitude of pathways through the code. Additionally, one can often repair a defect by modifying a register and continuing, thus increasing productivity over debug techniques that include printk() and reboot. scott > > Firstly, roughly half the bugs which I track by poking around with GDB are > caused by toolchain/compiler problems, not by bogus code. Looking at the > code and thinking hard does _not_ help you here. You have to see what's > buggered, compare the code with the asm and slowly find out what went wrong. > If BUG() contains a breakpoint and you can poke at it all immediately, > that's a _lot_ easier than forty-five recompilations and reboots with extra > printks in random places, the final one of which changes the compiler's > output so it no longer exhibits the same bug. > > Secondly, the point about not having a debugger making you more careful may > be true - but half the time I track bugs, they're not in my own code. In > fact, I'd go as far as to say the 99% of the bugs I actually use GDB for > aren't in my own code. Some _other_ bugger has been careless, and I'm here > trying to pick up the pieces. > > (Sorry for taking the bait - but anything's better than the evolution thread) > > -- > dwmw2 > From owner-kdb@oss.sgi.com Tue Dec 18 07:00:33 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBIF0Xt13330 for kdb-outgoing; Tue, 18 Dec 2001 07:00:33 -0800 Received: from wiproecmx1.wipro.com (wiproecmx1.wipro.com [164.164.31.5]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBIF0No12805 for ; Tue, 18 Dec 2001 07:00:24 -0800 Received: from ecvwall1.wipro.com (ecvwall1.wipro.com [164.164.23.6]) by wiproecmx1.wipro.com (8.11.3/8.11.3) with SMTP id fBIE0A125455 for ; Tue, 18 Dec 2001 19:30:10 +0530 (IST) Received: from ecvwall1.wipro.com ([164.164.23.6]) by mailstore.mail.wipro.com (Netscape Messaging Server 4.15) with SMTP id GOJLJA00.501 for ; Tue, 18 Dec 2001 19:29:34 +0530 Received: from wipro.com ([127.0.0.1]) by m3mail.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GOJLK100.AV7 for ; Tue, 18 Dec 2001 19:30:01 +0530 From: "Probhas Chandra Patra" To: kdb@oss.sgi.com Message-ID: <88c208d0d1.8d0d188c20@wipro.com> Date: Tue, 18 Dec 2001 19:00:01 +0500 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: en Subject: kdb shows some wrong function in stack trace... X-Accept-Language: en Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-98025b70-f3b8-11d5-a940-00b0d0d06be8" Content-Disposition: inline Sender: owner-kdb@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. ------=_NextPartTM-000-98025b70-f3b8-11d5-a940-00b0d0d06be8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am porting the IPSec from FreeBsd to LINUX. I am debugging the kernel rigth now. I am facing a problem with KDB(kernel version 2.4.2). I ran some applications(IPSec related). During the run of one of the applications, the kernel paniced throwing up the following message: " Unable to handle null pointer at the address ...." At that point I noted down the instruction pointer (eip value) and traced the stack (using the command 'bt'). The stack shows the function in which the kernel paniced (let's say the function is 'X'). After that I rebooted the machine and did the following : " gbd -c /proc/kcore vmlinux" and took assembly dump by giving the following command: (gdb) disassemble The assembly dump shows that the eip is not within the scope of the function 'X' (that is shown in the stack trace)! Has anybody faced this kind of problem earlier? Please help me regarding this. Thanks, Probhas ------=_NextPartTM-000-98025b70-f3b8-11d5-a940-00b0d0d06be8 Content-Type: text/plain; name="Wipro_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Wipro_Disclaimer.txt" ----------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ------------------------------------------------------------------------------------------------------------------------ ------=_NextPartTM-000-98025b70-f3b8-11d5-a940-00b0d0d06be8-- From owner-kdb@oss.sgi.com Tue Dec 18 07:09:41 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBIF9fA17442 for kdb-outgoing; Tue, 18 Dec 2001 07:09:41 -0800 Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBIF9bo17438 for ; Tue, 18 Dec 2001 07:09:38 -0800 Received: (qmail 22651 invoked from network); 18 Dec 2001 14:09:32 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 18 Dec 2001 14:09:32 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 1206B300090; Wed, 19 Dec 2001 01:09:29 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id BB55197; Wed, 19 Dec 2001 01:09:28 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "Probhas Chandra Patra" Cc: kdb@oss.sgi.com Subject: Re: kdb shows some wrong function in stack trace... In-reply-to: Your message of "Tue, 18 Dec 2001 19:00:01 +0500." <88c208d0d1.8d0d188c20@wipro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 19 Dec 2001 01:09:23 +1100 Message-ID: <5756.1008684563@ocs3.intra.ocs.com.au> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Tue, 18 Dec 2001 19:00:01 +0500, "Probhas Chandra Patra" wrote: >At that point I noted down the instruction pointer (eip value) and >traced the stack (using the command 'bt'). The stack shows the function >in which the kernel paniced (let's say the function is 'X'). >After that I rebooted the machine and did the following : >" gbd -c /proc/kcore vmlinux" >and took assembly dump by giving the following command: >(gdb) disassemble >The assembly dump shows that the eip is not within the scope of the >function 'X' (that is shown in the stack trace)! Not enough detail. You must provide real information or we can only guess, and I will not waste my time guessing. From owner-kdb@oss.sgi.com Thu Dec 20 17:34:20 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBL1YK928258 for kdb-outgoing; Thu, 20 Dec 2001 17:34:20 -0800 Received: from web12206.mail.yahoo.com (web12206.mail.yahoo.com [216.136.173.90]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBL1YGX28252 for ; Thu, 20 Dec 2001 17:34:16 -0800 Message-ID: <20011221003414.30517.qmail@web12206.mail.yahoo.com> Received: from [192.25.240.23] by web12206.mail.yahoo.com via HTTP; Thu, 20 Dec 2001 16:34:14 PST Date: Thu, 20 Dec 2001 16:34:14 -0800 (PST) From: Jade Subject: proc_nmi_watchdog undeclared To: kdb@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-kdb@oss.sgi.com Precedence: bulk Hello, I'm trying out KDB for the first time. I'm having problem patching my Redhat 7.1 (2.4.2-2) kernel with kdb-v1.8-2.4.2. The patch stops half way and ask for File to patch. I'm not sure what it's asking for or why. When I skip the file and build the kernel, I see this. What am I doing wrong? - Jade (jade_roseville@yahoo.com) make[1]: Entering directory `/usr/src/linux/kernel' make all_targets make[2]: Entering directory `/usr/src/linux/kernel' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o sysctl.o sysctl.c sysctl.c: In function `do_proc_set_nmi_watchdog': sysctl.c:959: warning: implicit declaration of function `set_nmi_watchdog' sysctl.c:959: `proc_nmi_watchdog' undeclared (first use in this function) sysctl.c:959: (Each undeclared identifier is reported only once sysctl.c:959: for each function it appears in.) make[2]: *** [sysctl.o] Error 1 make[2]: Leaving directory `/usr/src/linux/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux/kernel' make: *** [_dir_kernel] Error 2 [root@ipostsi12 linux]# __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From owner-kdb@oss.sgi.com Thu Dec 20 17:43:11 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBL1hBR28401 for kdb-outgoing; Thu, 20 Dec 2001 17:43:11 -0800 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBL1h9X28397 for ; Thu, 20 Dec 2001 17:43:09 -0800 Received: from nodin.corp.sgi.com ([198.29.75.193]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id QAA01200 for ; Thu, 20 Dec 2001 16:43:07 -0800 (PST) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id fBL0g6419343195; Thu, 20 Dec 2001 16:42:06 -0800 (PST) Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id E0E64300095; Fri, 21 Dec 2001 11:42:04 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id D357897; Fri, 21 Dec 2001 11:42:04 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Jade Cc: kdb@oss.sgi.com Subject: Re: proc_nmi_watchdog undeclared In-reply-to: Your message of "Thu, 20 Dec 2001 16:34:14 -0800." <20011221003414.30517.qmail@web12206.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Dec 2001 11:41:59 +1100 Message-ID: <30652.1008895319@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Thu, 20 Dec 2001 16:34:14 -0800 (PST), Jade wrote: >I'm trying out KDB for the first time. I'm having >problem patching my Redhat 7.1 (2.4.2-2) kernel with >kdb-v1.8-2.4.2. The patch stops half way and ask for >File to patch. I'm not sure what it's asking for or The kdb patches are against Linus's kernel, not Redhat patched kernels. I have no idea what patches RH added and trying to put kdb on top of RH patches is an exercise in frustration. Get kernel 2.4.16 and use kdb-v1.9-2.4.16. From owner-kdb@oss.sgi.com Sat Dec 22 01:52:17 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBM9qHV02431 for kdb-outgoing; Sat, 22 Dec 2001 01:52:17 -0800 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBM9q8X02427 for ; Sat, 22 Dec 2001 01:52:09 -0800 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id JAA485333 for ; Sat, 22 Dec 2001 09:52:05 +0100 (CET) mail_from (kaos@sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id fBM8om419593135; Sat, 22 Dec 2001 00:50:49 -0800 (PST) Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 0564D300095; Sat, 22 Dec 2001 19:50:42 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 92CC097; Sat, 22 Dec 2001 19:50:42 +1100 (EST) X-Mailer: exmh version 2.2 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 v2.0 is available for kernel 2.4.17 Date: Sat, 22 Dec 2001 19:50:37 +1100 Message-ID: <7539.1009011037@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii ftp://oss.sgi.com/projects/kdb/download/v2.0/ kdb-v2.0-2.4.17-common-1.bz2 kdb-v2.0-2.4.17-i386-1.bz2 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 v2.0 for i386 on kernel 2.4.17, apply kdb-v2.0-2.4.17-common-1 kdb-v2.0-2.4.17-i386-1 in that order. This release is functionally equivalent to kdb v1.9-2.4.16, the only change is the reorganisation. I have a backlog of kdb changes which were on hold until the patches had been split, it was getting too messy trying to maintain at least six versions of the common kdb code and keep them in sync. I hope to clear the backlog soon. Ethan Solomita (ethan@cs.columbia.edu) has done a port of kdb to sparc64 against 2.4.13. I will upgrade that to 2.4.17 and issue kdb-v2.0-2.4.17-sparc64-1.bz2 "soon". kdb for ia64 has to wait until the 2.4.17-ia64 kernel patch is issued. Changelog extract. 2001-12-22 Keith Owens * Upgrade to 2.4.17. * Clean up ifdef CONFIG_KDB. * Add ifdef CONFIG_KDB around include kdb.h. * Delete dummy kdb.h files for unsupported architectures. * Delete arch i386 and ia64 specific files. This changelog now applies to kdb common code only. * Release as kdb v2.0-2.4.17-common-1. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQE8JElbi4UHNye0ZOoRArPiAKCYlVUzS3EYrE5XC8sn3Xz8L9mBeQCeLHGn Wdx2YfBSiLgCmg6nlUPr+8A= =BFtm -----END PGP SIGNATURE----- From owner-kdb@oss.sgi.com Sat Dec 22 04:12:19 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBMCCJ605484 for kdb-outgoing; Sat, 22 Dec 2001 04:12:19 -0800 Received: from elin.scali.no (IDENT:root@elin.scali.no [62.70.89.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBMCCFX05481 for ; Sat, 22 Dec 2001 04:12:15 -0800 Received: from scali.no (sp-home.isdn.scali.no [192.168.1.66]) by elin.scali.no (8.11.0/8.11.0) with ESMTP id fBMBC5O00840; Sat, 22 Dec 2001 12:12:05 +0100 Message-ID: <3C246A73.4CF32F5F@scali.no> Date: Sat, 22 Dec 2001 12:11:47 +0100 From: Steffen Persvold X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.9-ac18 i686) X-Accept-Language: en MIME-Version: 1.0 To: Keith Owens CC: kdb@oss.sgi.com Subject: Re: Announce: kdb v2.0 is available for kernel 2.4.17 References: <7539.1009011037@kao2.melbourne.sgi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Keith Owens wrote: > ... > Ethan Solomita (ethan@cs.columbia.edu) has done a port of kdb to > sparc64 against 2.4.13. I will upgrade that to 2.4.17 and issue > kdb-v2.0-2.4.17-sparc64-1.bz2 "soon". kdb for ia64 has to wait until > the 2.4.17-ia64 kernel patch is issued. > Hi Keith, Just a question : Is someone planning (or maybe already doing) a port of kdb to Alpha architecture ? I would really like to see a common kernel debugger for (almost) all major architectures (despite Linus's feelings). Solaris have had ADB for years, so it's about time Linux got a well implemented debugger (well, I know kdb has been here for some time too). Regards, -- Steffen Persvold | Scalable Linux Systems | Try out the world's best mailto:sp@scali.no | http://www.scali.com | performing MPI implementation: Tel: (+47) 2262 8950 | Olaf Helsets vei 6 | - ScaMPI 1.12.2 - Fax: (+47) 2262 8951 | N0621 Oslo, NORWAY | >300MBytes/s and <4uS latency From owner-kdb@oss.sgi.com Sat Dec 22 04:35:18 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBMCZIo05812 for kdb-outgoing; Sat, 22 Dec 2001 04:35:18 -0800 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBMCZHX05809 for ; Sat, 22 Dec 2001 04:35:17 -0800 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id DAA01941 for ; Sat, 22 Dec 2001 03:35:35 -0800 (PST) mail_from (kaos@sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id fBMBYC419587773; Sat, 22 Dec 2001 03:34:13 -0800 (PST) Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 37034300095; Sat, 22 Dec 2001 22:34:11 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 280EF97; Sat, 22 Dec 2001 22:34:11 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Steffen Persvold Cc: kdb@oss.sgi.com Subject: Re: Announce: kdb v2.0 is available for kernel 2.4.17 In-reply-to: Your message of "Sat, 22 Dec 2001 12:11:47 BST." <3C246A73.4CF32F5F@scali.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 22 Dec 2001 22:34:06 +1100 Message-ID: <8770.1009020846@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk On Sat, 22 Dec 2001 12:11:47 +0100, Steffen Persvold wrote: >Just a question : Is someone planning (or maybe already doing) a port of kdb to Alpha architecture ? Not that I know of. From owner-kdb@oss.sgi.com Sun Dec 23 04:50:38 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBNCocY23833 for kdb-outgoing; Sun, 23 Dec 2001 04:50:38 -0800 Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBNCoYX23830 for ; Sun, 23 Dec 2001 04:50:34 -0800 Received: (qmail 11649 invoked from network); 23 Dec 2001 11:50:29 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 23 Dec 2001 11:50:29 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 1F0B6300090; Sun, 23 Dec 2001 22:50:28 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 10FC297; Sun, 23 Dec 2001 22:50:28 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Davide Berti Cc: kdb@oss.sgi.com Subject: Re: kdb setup/breaking into kdb? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Dec 2001 22:50:22 +1100 Message-ID: <23693.1009108222@ocs3.intra.ocs.com.au> Sender: owner-kdb@oss.sgi.com Precedence: bulk >Date: Sun, 23 Dec 2001 01:31:10 -0800 (PST) >From: Davide Berti Please do not use HTML on this list, it hits the bounce filter. Use text only, with short lines if possible. I reflowed your very long lines for readibility. >5. modified lilo.conf, added: > >append="console=tty0" > >I want to use the current virtual console. > >6. tried to reboot... It rebooted and uname -a says that I am now >running 2.4.17. It never broke into kdb. How do I break into kdb. I >have read in several places (including the FAQ) that it says it will >break into kdb at 2 points during system initialization if the kdb flag >is added to the lilo command line. kdb is entered after a failure. kdb can be entered manually using the pause key on a PC keyboard or control-A on a serial console, as long as a program is reading from the serial console. To enter kdb during boot append="console=tty0 kdb=early" From owner-kdb@oss.sgi.com Wed Dec 26 16:14:41 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBR0Efl30421 for kdb-outgoing; Wed, 26 Dec 2001 16:14:41 -0800 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBR0EbX30416 for ; Wed, 26 Dec 2001 16:14:37 -0800 Received: from aslan (ppp8-201.isnet.net.tr [212.98.8.201]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id PAA10535 for ; Wed, 26 Dec 2001 15:14:19 -0800 (PST) mail_from (kortanyussk@soccer.com) Message-Id: <200112262314.PAA10535@deliverator.sgi.com> From: "Serdar Kahya" To: Subject: slm Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Thu, 27 Dec 2001 01:17:33 X-MIME-Autoconverted: from 8bit to quoted-printable by deliverator.sgi.com id PAA10535 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id fBR0EcX30417 Sender: owner-kdb@oss.sgi.com Precedence: bulk ########################### BU MESAJ BIR SPAM DEGILDIR # ########################## Degerli ziyaretcimiz, Asagidaki avantajlardan yararlanmak istiyorsaniz lutfen sitemizi en kisa zamanda tekrar ziyaret ediniz. 0. IOn (10) Oyun siparis eden ilk iki kisiye fenerbahce@e-kolay.net , kuzuku@e-kolay.net adresleri hadiye! 1. Bes (5) Oyun alana 1 Adet Fifa 2002 Hediye! 2. On (10) Oyun alana 1 Adet Melekler Şehri 1 Adet Dikey Limit Hediye! 3. Bes (5) Mp3 alana 1 Adet Pop şarkıları Mp3 Hediye! 4. On (10) Mp3 alana 1 Adet Fifa 2002 Hediye! 5. Bes (5) Film Alana bir adet yuzuklerin efendisi filmi hediye! 6. CD-Rw 110 $ = özel siparis = 40x okuma 30 x yazma 10x tekrar yazma .. Not:Avantajlar 1 ay icin gecerlidir. Yeni avantajlari gormek icin sitemizi sık sık ziyaret ediniz. Saygilar, Serdar Kahya UYARI: BU BIR SPAM DEGILDIR. Siz veya arkadasiniz bu email adresini http://alisveris.sehri.com adresine kayit yaptirmistir. From owner-kdb@oss.sgi.com Thu Dec 27 03:17:54 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBRBHs809665 for kdb-outgoing; Thu, 27 Dec 2001 03:17:54 -0800 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBRBHoX09661 for ; Thu, 27 Dec 2001 03:17:51 -0800 Received: from aslan ([195.175.248.238]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id CAA11962 for ; Thu, 27 Dec 2001 02:17:32 -0800 (PST) mail_from (kortanyussk@soccer.com) Message-Id: <200112271017.CAA11962@deliverator.sgi.com> From: "Serdar Kahya" To: Subject: slm Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Thu, 27 Dec 2001 12:20:49 X-MIME-Autoconverted: from 8bit to quoted-printable by deliverator.sgi.com id CAA11962 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id fBRBHpX09662 Sender: owner-kdb@oss.sgi.com Precedence: bulk ########################### BU MESAJ BIR SPAM DEGILDIR # ########################## http://alisverissehri.kolayweb.com http://alisverissehri.kolayweb.com http://alisverissehri.kolayweb.com Degerli ziyaretcimiz, Asagidaki avantajlardan yararlanmak istiyorsaniz lutfen sitemizi en kisa zamanda tekrar ziyaret ediniz. 0. IOn (10) Oyun siparis eden ilk iki kisiye fenerbahce@e-kolay.net , kuzuku@e-kolay.net adresleri hadiye! 1. Bes (5) Oyun alana 1 Adet Fifa 2002 Hediye! 2. On (10) Oyun alana 1 Adet Melekler Şehri 1 Adet Dikey Limit Hediye! 3. Bes (5) Mp3 alana 1 Adet Pop şarkıları Mp3 Hediye! 4. On (10) Mp3 alana 1 Adet Fifa 2002 Hediye! 5. Bes (5) Film Alana bir adet yuzuklerin efendisi filmi hediye! 6. CD-Rw 110 $ = özel siparis = 40x okuma 30 x yazma 10x tekrar yazma .. Not:Avantajlar 1 ay icin gecerlidir. Yeni avantajlari gormek icin sitemizi sık sık ziyaret ediniz. Saygilar, Serdar Kahya UYARI: BU BIR SPAM DEGILDIR. Siz veya arkadasiniz bu email adresini http://alisverissehri.kolayweb.com adresine kayit yaptirmistir. From owner-kdb@oss.sgi.com Sat Dec 29 14:05:00 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBTM50k00521 for kdb-outgoing; Sat, 29 Dec 2001 14:05:00 -0800 Received: from ki.yok.utu.fi (ki.yok.utu.fi [130.232.129.100]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBTM4vg00517 for ; Sat, 29 Dec 2001 14:04:57 -0800 Received: by ki.yok.utu.fi (Postfix, from userid 1000) id 22C236B723; Sat, 29 Dec 2001 23:04:48 +0200 (EET) From: Tommi Virtanen To: kdb@oss.sgi.com Subject: [PATCH] Compiling v2.0-2.4.17-i386-1 with CONFIG_KDB=n Date: 29 Dec 2001 23:04:48 +0200 Message-ID: <873d1tloun.fsf@ki.yok.utu.fi> Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-kdb@oss.sgi.com Precedence: bulk This patch is needed for compilation of v2.0-2.4.17-i386-1 with CONFIG_KDB=n -- otherwise kdb() and friends are undefined. --- linux-2.4.17.orig/arch/i386/kernel/traps.c Sat Dec 29 21:27:08 2001 +++ linux-2.4.17/arch/i386/kernel/traps.c Sat Dec 29 21:27:34 2001 @@ -30,9 +30,7 @@ #include #endif -#ifdef CONFIG_KDB #include -#endif /* CONFIG_KDB */ #include #include -- tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com} double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);} From owner-kdb@oss.sgi.com Sat Dec 29 18:34:26 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBU2YQK03192 for kdb-outgoing; Sat, 29 Dec 2001 18:34:26 -0800 Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBU2YJg03189 for ; Sat, 29 Dec 2001 18:34:19 -0800 Received: (qmail 20891 invoked from network); 30 Dec 2001 01:34:13 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 30 Dec 2001 01:34:13 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 59464300095; Sun, 30 Dec 2001 12:34:09 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 73D1197; Sun, 30 Dec 2001 12:34:09 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Tommi Virtanen Cc: kdb@oss.sgi.com Subject: Re: [PATCH] Compiling v2.0-2.4.17-i386-1 with CONFIG_KDB=n In-reply-to: Your message of "29 Dec 2001 23:04:48 +0200." <873d1tloun.fsf@ki.yok.utu.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 30 Dec 2001 12:34:03 +1100 Message-ID: <22972.1009676043@ocs3.intra.ocs.com.au> Sender: owner-kdb@oss.sgi.com Precedence: bulk On 29 Dec 2001 23:04:48 +0200, Tommi Virtanen wrote: > > This patch is needed for compilation of v2.0-2.4.17-i386-1 > with CONFIG_KDB=n -- otherwise kdb() and friends are undefined. > >--- linux-2.4.17.orig/arch/i386/kernel/traps.c Sat Dec 29 21:27:08 2001 >+++ linux-2.4.17/arch/i386/kernel/traps.c Sat Dec 29 21:27:34 2001 >@@ -30,9 +30,7 @@ > #include > #endif > >-#ifdef CONFIG_KDB > #include >-#endif /* CONFIG_KDB */ > > #include > #include Other way around. Calls to kdb from non-kdb code need to be wrapped in #ifdef CONFIG_KDB, I missed one. --- 2.4.17-kdb.orig/arch/i386/kernel/traps.c Sun Dec 30 12:31:30 2001 +++ 2.4.17-kdb/arch/i386/kernel/traps.c Sun Dec 30 12:32:49 2001 @@ -581,7 +581,9 @@ return; } #endif +#ifdef CONFIG_KDB (void)kdb(KDB_REASON_NMI, reason, regs); +#endif /* CONFIG_KDB */ printk("Uhhuh. NMI received for unknown reason %02x.\n", reason); printk("Dazed and confused, but trying to continue\n"); printk("Do you have a strange power saving mode enabled?\n"); From owner-kdb@oss.sgi.com Sun Dec 30 01:45:27 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBU9jR806101 for kdb-outgoing; Sun, 30 Dec 2001 01:45:27 -0800 Received: from mail.ocs.com.au (mail.ocs.com.au [203.34.97.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBU9jLg06098 for ; Sun, 30 Dec 2001 01:45:22 -0800 Received: (qmail 22662 invoked from network); 30 Dec 2001 08:45:17 -0000 Received: from ocs3.intra.ocs.com.au (192.168.255.3) by mail.ocs.com.au with SMTP; 30 Dec 2001 08:45:17 -0000 Received: by ocs3.intra.ocs.com.au (Postfix, from userid 16331) id 8508B300095; Sun, 30 Dec 2001 19:45:15 +1100 (EST) Received: from ocs3.intra.ocs.com.au (localhost [127.0.0.1]) by ocs3.intra.ocs.com.au (Postfix) with ESMTP id 3DA0797; Sun, 30 Dec 2001 19:45:15 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Tommi Virtanen Cc: kdb@oss.sgi.com Subject: Re: [PATCH] Compiling v2.0-2.4.17-i386-1 with CONFIG_KDB=n In-reply-to: Your message of "30 Dec 2001 10:35:53 +0200." <874rm9jeae.fsf@ki.yok.utu.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 30 Dec 2001 19:45:09 +1100 Message-ID: <24785.1009701909@ocs3.intra.ocs.com.au> Sender: owner-kdb@oss.sgi.com Precedence: bulk On 30 Dec 2001 10:35:53 +0200, Tommi Virtanen wrote: >Keith Owens writes: > >> Other way around. Calls to kdb from non-kdb code need to be wrapped in >> #ifdef CONFIG_KDB, I missed one. > > Then why do you, in include/linux/kdb.h, do > >#ifdef CONFIG_KDB >extern int kdb(....); >#else >#define kdb(....) (0) >#endif > > then? Old code. > I understand my suggestion is the approach Linus likes.. The kdb patch is included with other software such as xfs. xfs runs on more systems than kdb does and the kdb bits fail to compile on some systems where xfs will run on its own. I need to ensure that no vestige of kdb is visible unless CONFIG_KDB=y. Also a lot of the kdb patch is not just a function call, it is complete replacements for existing code, you cannot do that without #ifdef. I prefer a consistent coding style, since I have to use #ifdef in some places, I use it everywhere. From owner-kdb@oss.sgi.com Sun Dec 30 02:05:34 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBUA5YC06496 for kdb-outgoing; Sun, 30 Dec 2001 02:05:34 -0800 Received: from ki.yok.utu.fi (ki.yok.utu.fi [130.232.129.100]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBUA5Vg06493 for ; Sun, 30 Dec 2001 02:05:31 -0800 Received: by ki.yok.utu.fi (Postfix, from userid 1000) id 9163E6B723; Sun, 30 Dec 2001 10:35:53 +0200 (EET) From: Tommi Virtanen To: Keith Owens Cc: kdb@oss.sgi.com Subject: Re: [PATCH] Compiling v2.0-2.4.17-i386-1 with CONFIG_KDB=n References: <22972.1009676043@ocs3.intra.ocs.com.au> Date: 30 Dec 2001 10:35:53 +0200 In-Reply-To: <22972.1009676043@ocs3.intra.ocs.com.au> Message-ID: <874rm9jeae.fsf@ki.yok.utu.fi> Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-kdb@oss.sgi.com Precedence: bulk Keith Owens writes: > Other way around. Calls to kdb from non-kdb code need to be wrapped in > #ifdef CONFIG_KDB, I missed one. Then why do you, in include/linux/kdb.h, do #ifdef CONFIG_KDB extern int kdb(....); #else #define kdb(....) (0) #endif then? I understand my suggestion is the approach Linus likes.. -- tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com} double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}