From trixter@oldskool.org Wed Feb 4 08:34:51 2004 Received: with ECARTIS (v1.0.0; list kdb); Wed, 04 Feb 2004 08:34:58 -0800 (PST) Received: from homer.berkhirt.com (homer.berkhirt.com [207.88.49.100]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i14GYoKO010496 for ; Wed, 4 Feb 2004 08:34:51 -0800 Received: from oldskool.org (homer [127.0.0.1]) by homer.berkhirt.com (8.12.10/8.12.10) with SMTP id i14GYjuN002091 for kdb@oss.sgi.com; Wed, 4 Feb 2004 10:34:45 -0600 Date: Wed, 4 Feb 2004 10:34:45 -0600 Message-Id: <200402041634.i14GYjuN002091@homer.berkhirt.com> From: minordomo@oldskool.org To: kdb@oss.sgi.com Subject: Not allowed X-archive-position: 562 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: minordomo@oldskool.org Precedence: bulk X-list: kdb This e-mail address is not subscribed to the mailing list swcollect@oldskool.org. You may not send to this list. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From sreeram@students.iiit.net Sun Feb 8 06:36:24 2004 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Feb 2004 06:36:29 -0800 (PST) Received: from students.iiit.net (students.iiit.net [196.12.44.6]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i18EaLKO005966 for ; Sun, 8 Feb 2004 06:36:23 -0800 Received: from students.iiit.net (students.iiit.net [127.0.0.1]) by students.iiit.net (8.12.8/8.12.8) with ESMTP id i18EZsEk031492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 8 Feb 2004 20:05:54 +0530 Received: from localhost (sreeram@localhost) by students.iiit.net (8.12.8/8.12.8/Submit) with ESMTP id i18EZrQ5031479 for ; Sun, 8 Feb 2004 20:05:54 +0530 Date: Sun, 8 Feb 2004 20:05:53 +0530 (IST) From: Jaswanth Sreeram To: kdb@oss.sgi.com Subject: kernel compile fails.(kdb4.x) Message-ID: MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-IIIT-MailScanner: Found to be clean Content-Transfer-Encoding: 8bit X-archive-position: 563 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sreeram@students.iiit.net Precedence: bulk X-list: kdb Hi, I am a newbie, trying to get kdb to work on a 2.4.20 kernel. I have patched the kernel with the kdb4.3 patch, and enabled CONFIG_KDB. But the compile fails with the error: "process.c: : No such file or directory". I have tried with all the 4.x patches, but i get the same error. What am i missing ? Thanks. -jaswanth. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Sun Feb 8 14:12:26 2004 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Feb 2004 14:12:29 -0800 (PST) Received: from mail.ocs.com.au (pr-117-210.ains.net.au [202.147.117.210] (may be forged)) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i18MCOKO002028 for ; Sun, 8 Feb 2004 14:12:25 -0800 Received: from ocs3.ocs.com.au (ocs3.ocs.com.au [192.168.255.3]) by mail.ocs.com.au (Postfix) with ESMTP id A0C801800A2; Mon, 9 Feb 2004 09:12:14 +1100 (EST) Received: by ocs3.ocs.com.au (Postfix, from userid 16331) id 57CE8C00AC; Mon, 9 Feb 2004 09:12:08 +1100 (EST) Received: from ocs3.ocs.com.au (localhost [127.0.0.1]) by ocs3.ocs.com.au (Postfix) with ESMTP id 0AF52140085; Mon, 9 Feb 2004 09:12:07 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: Jaswanth Sreeram Cc: kdb@oss.sgi.com Subject: Re: kernel compile fails.(kdb4.x) In-reply-to: Your message of "Sun, 08 Feb 2004 20:05:53 +0530." Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Mon, 09 Feb 2004 09:12:06 +1100 Message-ID: <6678.1076278326@ocs3.ocs.com.au> Content-Transfer-Encoding: 8bit X-archive-position: 564 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Sun, 8 Feb 2004 20:05:53 +0530 (IST), Jaswanth Sreeram wrote: > I am a newbie, trying to get kdb to work on a 2.4.20 kernel. I >have patched the kernel with the kdb4.3 patch, and enabled CONFIG_KDB. But >the compile fails with the error: "process.c: : No such file >or directory". > I have tried with all the 4.x patches, but i get the same error. >What am i missing ? You did not apply the common patch or you applied it but got rejects. See the README in the directory that you got the patch from. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Tue Feb 10 20:16:35 2004 Received: with ECARTIS (v1.0.0; list kdb); Tue, 10 Feb 2004 20:16:43 -0800 (PST) Received: from omx1.americas.sgi.com (cfcafw.SGI.COM [198.149.23.1]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1B4GYKO008767 for ; Tue, 10 Feb 2004 20:16:34 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with SMTP id i1B4GR1i029207 for ; Tue, 10 Feb 2004 22:16:28 -0600 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id PAA10560 for ; Wed, 11 Feb 2004 15:16:26 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id D5737C00AA; Wed, 11 Feb 2004 15:16:19 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id D27B3140105; Wed, 11 Feb 2004 15:16:19 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Announce: kdb v4.3 is available for kernel 2.4.25-rc1 Date: Wed, 11 Feb 2004 15:16:18 +1100 Message-ID: <4730.1076472978@kao2.melbourne.sgi.com> X-archive-position: 565 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.3/ Current versions are :- kdb-v4.3-2.4.25-rc1-common-1.bz2 kdb-v4.3-2.4.25-rc1-i386-1.bz2 kdb-v4.3-2.4.25-rc1-ia64-cset-1.1069.246.14-to-1.1166-1.bz2 Before applying kdb for ia64, you must apply the 2.4.25-rc1 BK patch, the first link on ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/testing/cset/index.html. Changelog extracts since 2.4.23. common 2004-02-11 Keith Owens * Convert longjmp buffers from static to dynamic allocation, for large cpu counts. * Tweak kdbm_task for SMP/UP. * Update to 2.4.25-rc1. * Simplify coexistence with NPTL patches. * Support kill command on new scheduler. * Do not refetch data when printing a value as characters. * Document the pid command. * kdb v4.3-2.4.25-rc1-common-1. i386 2004-02-11 Keith Owens * Adjust for LDT changes in i386 mainline. * kdb v4.3-2.4.25-rc1-i386-1. ia64 2004-02-11 Keith Owens * Convert longjmp buffers from static to dynamic allocation, for large cpu counts. * Update to 2.4.25-rc1 bk, including rework of mca.c patch after the major clean up of mca.c. * Redo KDBA_MCA_TRACE to get more diagnostics for MCA/INIT events. * Handle recoverable MCA/INIT events, kdb traces them but does not drop into kdb. * kdb v4.3-2.4.25-rc1-ia64-cset-1.1069.246.14-to-1.1166-1. Porting kdb v4.3 to 2.6.[23] is now in progress. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFAKaySi4UHNye0ZOoRAvEtAJ0fP2WvSAaT91nfbUdpFrbKQegMWwCgt1TR 8mTZeytw7+nch3FEe+wsFJc= =KATc -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Mon Feb 16 18:01:41 2004 Received: with ECARTIS (v1.0.0; list kdb); Mon, 16 Feb 2004 18:01:46 -0800 (PST) Received: from rj.sgi.com (mtvcafw.SGI.COM [192.48.171.6]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1H21fKO000554 for ; Mon, 16 Feb 2004 18:01:41 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by rj.sgi.com (8.12.9/8.12.9/linux-outbound_gateway-1.1) with SMTP id i1H0t8ho011031 for ; Mon, 16 Feb 2004 16:55:09 -0800 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id MAA12882 for ; Tue, 17 Feb 2004 12:53:15 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 94744C00A9; Tue, 17 Feb 2004 12:53:07 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 93CCD1400B6; Tue, 17 Feb 2004 12:53:07 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Announce: kdb v4.3 is available for kernel 2.6.3-rc3 Date: Tue, 17 Feb 2004 12:53:06 +1100 Message-ID: <4682.1076982786@kao2.melbourne.sgi.com> X-archive-position: 566 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.3/ With many thanks to Jim Houston and Xavier Bru. Current versions are :- kdb-v4.3-2.6.3-rc3-common-1.bz2 kdb-v4.3-2.6.3-rc3-i386-1.bz2 kdb-v4.3-2.6.3-rc3-ia64-1.bz2 Warning: the 2.6 versions of kdb have had minimal testing. In particular they have not been tested with CONFIG_PREEMPT. Changelog extracts. common 2004-02-17 Keith Owens * Convert longjmp buffers from static to dynamic allocation, for large cpu counts. * Tweak kdbm_task for SMP/UP. * Reconcile with kdb-v4.3 2.4.25-rc1-common-1. * Simplify coexistence with NPTL patches. * Support kill command on new scheduler. * Do not refetch data when printing a value as characters. * Document the pid command. * Work around 2.6 kallsyms 'feature'. * Upgrade to 2.6.3-rc3. * WAR for incorrect console registration patch. * kdb v4.3-2.6.3-rc3-common-1. 2003-12-03 Keith Owens * Reconcile 2.6-test versions from Xavier Bru (Bull), Greg Banks (SGI), Jim Houston (Concurrent Computer Corp). * Reconcile with kdb v4.3-2.4.23-common-2. * Clean up CONFIG_KDB changes to {scripts,kernel}/kallsyms.c. * Correct handling of kdb command line arguments. * Make hooks into module code less intrusive. * Delete kdb_active_task, not required with O(1) scheduler. * Port kdbm_task.c from 2.4. * Disable debug check in exit.c::next_thread() when kdb is running. * Remove "only bh_disable when interrupts are set". BH must be disabled in kdb to prevent deadlock on breakpoints in interrupt handlers. * Add kdb to drivers/char/sn_serial.c. * kdb v4.3-2.6.0-test11-common-1. 2003-11-11 Xavier Bru * Merge to 2.6.0-test9 2003-10-17 Xavier Bru * fix NUll ptr in kdb_ps at early prompt. 2003-10-14 Xavier Bru * fix NUll ptr in kdb_ps when cpu not present. 2003-10-06 Xavier Bru * Merge to 2.6.0-test5 * fix compile error with CONFIG_MODULES not set. 2003-09-08 Xavier Bru * Merge to 2.6.0-test4 2003-07-10 Xavier Bru * Merge kdb v4.3 to 2.5.72 ia64 * don't call local_bh_enable() with interrupts masked. 2003-04-07 Xavier Bru * Merge kdb v4.1 to 2.5.64 ia64 * new kernel parameters support * new module format * new kallsyms support i386 2004-02-17 Keith Owens * Pick up changes from Jim Houston for 2.6. * Sync with kdb v4.3-2.4.25-rc1-i386-1. * Adjust for LDT changes in i386 mainline. * Convert longjmp buffers from static to dynamic allocation, for large cpu counts. * Do not use USB keyboard if it has not been probed. * Do not print section data, 2.6 kallsyms does not support sections :(. * kdb v4.3-2.6-3-rc3-i386-1. ia64 2004-02-17 Keith Owens * Reconcile 2.6-test versions from Xavier Bru (Bull), Greg Banks (SGI), Jim Houston (Concurrent Computer Corp). * Reconcile with kdb v4.3-2.4.23-ia64-0312??-1. * Reconcile with salinfo changes. * Port WAR for backtrace from spinlock contention from 2.4 to 2.6. * Merge PGS FIFO tweak with SERIAL_IO_MEM and concurrent support for multiple consoles (no USB consoles yet). * Update pt_regs output to match the order of struct pt_regs. * KDB wrappers for interrupts handlers now return the handler's return code. * tpa and tpav commands from Anonymous. * Reconcile with mca changes. * Upgrade to 2.6.3-rc3. * kdb v4.3-2.6.3-rc3-ia64-1. 2003-10-22 Xavier Bru * Merge to 2.6.0-test7 2003-10-20 Philippe Garrigues * Enable FIFO in UART 2003-09-08 Xavier Bru * Merge to 2.6.0-test4 2003-03-21 Xavier Bru * Merge kdb v4.0 on 2.5.64 ia64 * new kernel parameters support * new kallsyms support -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFAMXQCi4UHNye0ZOoRAmBhAKCg5ahf+x0tNsslcqWOJIqavlcWGwCfeWk6 wu810CJxeBDAsrYw/GNLSCc= =YZLB -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From c-d.hailfinger.kernel.2004@gmx.net Mon Feb 16 18:39:31 2004 Received: with ECARTIS (v1.0.0; list kdb); Mon, 16 Feb 2004 18:39:34 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1H2dUKO000975 for ; Mon, 16 Feb 2004 18:39:31 -0800 Received: (qmail 26101 invoked by uid 65534); 17 Feb 2004 02:39:24 -0000 Received: from stud214040.studentenheim.uni-tuebingen.de (EHLO gmx.net) (134.2.214.40) by mail.gmx.net (mp014) with SMTP; 17 Feb 2004 03:39:24 +0100 X-Authenticated: #21910825 Message-ID: <40317EB8.7030602@gmx.net> Date: Tue, 17 Feb 2004 03:38:48 +0100 From: Carl-Daniel Hailfinger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 X-Accept-Language: de, en MIME-Version: 1.0 To: Keith Owens CC: kdb@oss.sgi.com Subject: Re: Announce: kdb v4.3 is available for kernel 2.6.3-rc3 References: <4682.1076982786@kao2.melbourne.sgi.com> In-Reply-To: <4682.1076982786@kao2.melbourne.sgi.com> X-Enigmail-Version: 0.76.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-archive-position: 567 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: c-d.hailfinger.kernel.2004@gmx.net Precedence: bulk X-list: kdb Keith Owens wrote: > > ftp://oss.sgi.com/projects/kdb/download/v4.3/ > > With many thanks to Jim Houston and Xavier Bru. > > Current versions are :- > kdb-v4.3-2.6.3-rc3-common-1.bz2 > kdb-v4.3-2.6.3-rc3-i386-1.bz2 > kdb-v4.3-2.6.3-rc3-ia64-1.bz2 Yay! Now I finally can write that Linux driver creator app. Thank you so much, Carl-Daniel --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Mon Feb 16 21:16:08 2004 Received: with ECARTIS (v1.0.0; list kdb); Mon, 16 Feb 2004 21:16:11 -0800 (PST) Received: from zok.sgi.com (mtvcafw.SGI.COM [192.48.171.6]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1H5G8KO005622 for ; Mon, 16 Feb 2004 21:16:08 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by zok.sgi.com (8.12.9/8.12.9/linux-outbound_gateway-1.1) with SMTP id i1H5DpLw014974 for ; Mon, 16 Feb 2004 21:13:52 -0800 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id QAA15366 for ; Tue, 17 Feb 2004 16:13:49 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id D9AACC00A9; Tue, 17 Feb 2004 16:13:41 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id CCD2C1400B6; Tue, 17 Feb 2004 16:13:41 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Announce: kdb v4.3 is available for kernel 2.6.3-rc4 Date: Tue, 17 Feb 2004 16:13:40 +1100 Message-ID: <7832.1076994820@kao2.melbourne.sgi.com> X-archive-position: 568 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.3/ Current versions are :- kdb-v4.3-2.6.3-rc4-common-1.bz2 kdb-v4.3-2.6.3-rc3-i386-1.bz2 kdb-v4.3-2.6.3-rc3-ia64-1.bz2 The arch specific i386 and ia64 patches have not changed between rc3 and rc4. Use the arch rc3 patches with rc4-common-1. Warning: the 2.6 versions of kdb have had minimal testing. In particular they have not been tested with CONFIG_PREEMPT. Changelog extracts from 2.6.3-rc3. common 2004-02-17 Keith Owens * Remove WAR for incorrect console registration patch. * kdb v4.3-2.6.3-rc4-common-1. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFAMaMEi4UHNye0ZOoRAvK0AKDcUK+D4WyjEzo8UveqGfcm+BMFyACdFdkV 2NPH5Om1bartd0odZtzvoRA= =v64X -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Tue Feb 17 22:08:38 2004 Received: with ECARTIS (v1.0.0; list kdb); Tue, 17 Feb 2004 22:08:41 -0800 (PST) Received: from omx1.americas.sgi.com (cfcafw.SGI.COM [198.149.23.1]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1I68ZKO022747 for ; Tue, 17 Feb 2004 22:08:37 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with SMTP id i1I68S8O029784 for ; Wed, 18 Feb 2004 00:08:29 -0600 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id RAA05694 for ; Wed, 18 Feb 2004 17:08:27 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 6C686C217D; Wed, 18 Feb 2004 17:08:17 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 6991A14010B; Wed, 18 Feb 2004 17:08:17 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Announce: kdb v4.3 is available for kernel 2.6.3 Date: Wed, 18 Feb 2004 17:08:16 +1100 Message-ID: <10769.1077084496@kao2.melbourne.sgi.com> X-archive-position: 569 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 KDB (Linux Kernel Debugger) has been updated. ftp://oss.sgi.com/projects/kdb/download/v4.3/ Current versions are :- kdb-v4.3-2.6.3-common-1.bz2 kdb-v4.3-2.6.3-i386-1.bz2 kdb-v4.3-2.6.3-ia64-1.bz2 The only change since 2.6.3-rc4-common-1 and 2.6.3-rc3-{i386,ia6}-1 is to update the changelogs to reflect the base 2.6.3 kernel. Warning: the 2.6 versions of kdb have had minimal testing. In particular they have not been tested with CONFIG_PREEMPT. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFAMwFQi4UHNye0ZOoRAjEIAJ4p5EaPChNDWHLqy7icBCLmBAR9PACbBUqd 9akaS3silc7r7/v8Od537Z0= =Nw1B -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Wed Feb 18 16:23:39 2004 Received: with ECARTIS (v1.0.0; list kdb); Wed, 18 Feb 2004 16:23:48 -0800 (PST) Received: from omx1.americas.sgi.com (cfcafw.SGI.COM [198.149.23.1]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1J0NcKO014667 for ; Wed, 18 Feb 2004 16:23:39 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with SMTP id i1J08gri007943 for ; Wed, 18 Feb 2004 18:08:43 -0600 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id LAA20865 for ; Thu, 19 Feb 2004 11:08:41 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 6F5B6C00A9; Thu, 19 Feb 2004 11:08:31 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 6AD5E140673; Thu, 19 Feb 2004 11:08:31 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Announce: kdb v4.3 is available for kernel 2.4.25 Date: Thu, 19 Feb 2004 11:08:30 +1100 Message-ID: <4517.1077149310@kao2.melbourne.sgi.com> X-archive-position: 570 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 KDB (Linux Kernel Debugger) has been updated. ftp://oss.sgi.com/projects/kdb/download/v4.3/ Current versions are :- kdb-v4.3-2.4.25-common-1.bz2 kdb-v4.3-2.4.25-i386-1.bz2 kdb-v4.3-2.4.25-ia64-040218-1.bz2 The ia64 patch has changed slightly since kdb-v4.3-2.4.25-rc1, due to more clean ups in the base arch/ia64/kernel/mca.c file. Apart from that, the only changes are to the target kernel name in the change logs. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFAM/5+i4UHNye0ZOoRAh8xAJ976UHq7l3gT0FJHVc2o2S/SHdpcQCgq62/ sWxpv3+3pTZGf+QJfyjcpEg= =dXH7 -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From c-d.hailfinger.kernel.2004@gmx.net Wed Feb 18 18:16:41 2004 Received: with ECARTIS (v1.0.0; list kdb); Wed, 18 Feb 2004 18:16:44 -0800 (PST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1J2GeKO007696 for ; Wed, 18 Feb 2004 18:16:40 -0800 Received: (qmail 8571 invoked by uid 65534); 19 Feb 2004 02:16:34 -0000 Received: from stud212100.studentenheim.uni-tuebingen.de (EHLO gmx.net) (134.2.212.100) by mail.gmx.net (mp018) with SMTP; 19 Feb 2004 03:16:34 +0100 X-Authenticated: #21910825 Message-ID: <40341C5A.8070009@gmx.net> Date: Thu, 19 Feb 2004 03:15:54 +0100 From: Carl-Daniel Hailfinger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 X-Accept-Language: de, en MIME-Version: 1.0 To: Keith Owens CC: kdb@oss.sgi.com Subject: Re: Announce: kdb v4.3 is available for kernel 2.6.3 References: <10769.1077084496@kao2.melbourne.sgi.com> In-Reply-To: <10769.1077084496@kao2.melbourne.sgi.com> X-Enigmail-Version: 0.76.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-archive-position: 571 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: c-d.hailfinger.kernel.2004@gmx.net Precedence: bulk X-list: kdb Keith Owens wrote: > > KDB (Linux Kernel Debugger) has been updated. > > ftp://oss.sgi.com/projects/kdb/download/v4.3/ > > Current versions are :- > kdb-v4.3-2.6.3-common-1.bz2 > kdb-v4.3-2.6.3-i386-1.bz2 > kdb-v4.3-2.6.3-ia64-1.bz2 How scriptable is kdb? Looking at the docs and google did not really help me find an answer, but feel free to point me to some docs I overlooked. What I want is the ability to log all accesses to a certain memory area from inside the kernel. AFAICS, breakpoints will not help me here because there are too few of them available (hardware limitation on i386). So I thought I could just unmap the page with the problematic memory area in it and catch all faults accessing this area with kdb, map the area again, execute the tripping instruction, unmap the area again and continue execution. I suspect a certain driver accessing the mmapped config space of a device it should leave alone. Unfortunately, reading from there can have side effects, otherwise I could have just made the covering page readonly. Is this possible with kdb or can I at least extend kdb in some way to achieve my goal? Thanks, Carl-Daniel --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Wed Feb 18 18:35:59 2004 Received: with ECARTIS (v1.0.0; list kdb); Wed, 18 Feb 2004 18:36:03 -0800 (PST) Received: from zok.sgi.com (mtvcafw.SGI.COM [192.48.171.6]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1J2ZxKO007895 for ; Wed, 18 Feb 2004 18:35:59 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by zok.sgi.com (8.12.9/8.12.9/linux-outbound_gateway-1.1) with SMTP id i1J2ZqYD025675 for ; Wed, 18 Feb 2004 18:35:53 -0800 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id NAA23568 for ; Thu, 19 Feb 2004 13:35:51 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 7A161C00A9; Thu, 19 Feb 2004 13:35:41 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 77648140673; Thu, 19 Feb 2004 13:35:41 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: Carl-Daniel Hailfinger Cc: kdb@oss.sgi.com Subject: Re: Announce: kdb v4.3 is available for kernel 2.6.3 In-reply-to: Your message of "Thu, 19 Feb 2004 03:15:54 BST." <40341C5A.8070009@gmx.net> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Thu, 19 Feb 2004 13:35:40 +1100 Message-ID: <6584.1077158140@kao2.melbourne.sgi.com> Content-Transfer-Encoding: 8bit X-archive-position: 572 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, 19 Feb 2004 03:15:54 +0100, Carl-Daniel Hailfinger wrote: >How scriptable is kdb? Looking at the docs and google did not really help >me find an answer, but feel free to point me to some docs I overlooked. Not at all. You can define your own commands using defcmd in kdb/kdb_cmds but those commands are not interactive, nor can they test conditions. >What I want is the ability to log all accesses to a certain memory area >from inside the kernel. AFAICS, breakpoints will not help me here because >there are too few of them available (hardware limitation on i386). >So I thought I could just unmap the page with the problematic memory area >in it and catch all faults accessing this area with kdb, map the area >again, execute the tripping instruction, unmap the area again and continue >execution. > >I suspect a certain driver accessing the mmapped config space of a device >it should leave alone. Unfortunately, reading from there can have side >effects, otherwise I could have just made the covering page readonly. > >Is this possible with kdb or can I at least extend kdb in some way to >achieve my goal? kdb stops all cpus every time it is invoked, which is required for debugging but is far too heavyweight to do for each page fault. How often is the suspect driver believed to be accessing the config space? How often does legitimate code access that config space? --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From c-d.hailfinger.kernel.2004@gmx.net Wed Feb 18 19:28:32 2004 Received: with ECARTIS (v1.0.0; list kdb); Wed, 18 Feb 2004 19:28:37 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1J3SUKO008690 for ; Wed, 18 Feb 2004 19:28:31 -0800 Received: (qmail 2545 invoked by uid 65534); 19 Feb 2004 03:28:25 -0000 Received: from stud212100.studentenheim.uni-tuebingen.de (EHLO gmx.net) (134.2.212.100) by mail.gmx.net (mp021) with SMTP; 19 Feb 2004 04:28:25 +0100 X-Authenticated: #21910825 Message-ID: <40342D30.5050006@gmx.net> Date: Thu, 19 Feb 2004 04:27:44 +0100 From: Carl-Daniel Hailfinger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 X-Accept-Language: de, en MIME-Version: 1.0 To: Keith Owens CC: kdb@oss.sgi.com Subject: Re: Announce: kdb v4.3 is available for kernel 2.6.3 References: <6584.1077158140@kao2.melbourne.sgi.com> In-Reply-To: <6584.1077158140@kao2.melbourne.sgi.com> X-Enigmail-Version: 0.76.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-archive-position: 573 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: c-d.hailfinger.kernel.2004@gmx.net Precedence: bulk X-list: kdb Keith Owens wrote: > On Thu, 19 Feb 2004 03:15:54 +0100, > Carl-Daniel Hailfinger wrote: > >>How scriptable is kdb? Looking at the docs and google did not really help >>me find an answer, but feel free to point me to some docs I overlooked. > > > Not at all. You can define your own commands using defcmd in > kdb/kdb_cmds but those commands are not interactive, nor can they test > conditions. Thanks. Will take a look at that. >>What I want is the ability to log all accesses to a certain memory area > >>from inside the kernel. AFAICS, breakpoints will not help me here because > >>there are too few of them available (hardware limitation on i386). >>So I thought I could just unmap the page with the problematic memory area >>in it and catch all faults accessing this area with kdb, map the area >>again, execute the tripping instruction, unmap the area again and continue >>execution. >> >>I suspect a certain driver accessing the mmapped config space of a device >>it should leave alone. Unfortunately, reading from there can have side >>effects, otherwise I could have just made the covering page readonly. >> >>Is this possible with kdb or can I at least extend kdb in some way to >>achieve my goal? > > > kdb stops all cpus every time it is invoked, which is required for > debugging but is far too heavyweight to do for each page fault. How > often is the suspect driver believed to be accessing the config space? > How often does legitimate code access that config space? The illegitimate accesses are probably roughly as often as legitimate accesses. Actually, I can't say for sure as long as I don't have any data yet. I had planned to modify arch/i386/mm/fault.c:do_page_fault so that only accesses which would trigger an oops anyway would get intercepted by kdb. Since the illegitimate accesses all occur from kernel space (triggering an oops if the page is not mapped), this would mean no overhead for the normal userspace page fault case. So we check in do_page_fault if the access was in the watched config space. If not, proceed normally (that is, let the kernel oops). If we caught a suspicious access, record the IP of the offender, disassemble the instruction, store the instruction and its associated register contents in a buffer for later examination, map the config space again to grant access (we don't know whether it was the good or the bad driver), execute only the tripping instruction, unmap the page again and continue execution. Oh, and I want to set I/O breakpoints in case the evil driver mucks with the reserved ports, too. So, I need kdb mainly for stetting I/O breakpoints and live disassembly of the instruction causing the page fault (or I/O breakpoint) and storing the disassembly along with the associated registers. For example, if mov eax,[ebx] tripped the page fault, I want to store - "mov eax,[ebx]" - eax, ebx - cs, ip, ds in my protocol. Based on the ip of the instruction I can later figure out whether it was the good or the bad driver. The disassembly helps me find the instruction in the bad driver module in case I have no source for it. Thanks for your help. Carl-Daniel --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From prasanna@in.ibm.com Fri Feb 20 03:19:44 2004 Received: with ECARTIS (v1.0.0; list kdb); Fri, 20 Feb 2004 03:19:47 -0800 (PST) Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.133]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1KBJhKO000682 for ; Fri, 20 Feb 2004 03:19:43 -0800 Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32]) by e35.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i1KBJaF4647008; Fri, 20 Feb 2004 06:19:36 -0500 Received: from nightmon.in.ibm.com (d03av02.boulder.ibm.com [9.17.193.82]) by westrelay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i1KBJXGE112826; Fri, 20 Feb 2004 04:19:35 -0700 Received: by nightmon.in.ibm.com (Postfix, from userid 500) id 82398FB68; Fri, 20 Feb 2004 11:27:22 +0000 (UTC) Date: Fri, 20 Feb 2004 16:57:22 +0530 From: Prasanna S Panchamukhi To: c-d.hailfinger.kernel.2004@gmx.net Cc: kdb@oss.sgi.com, suparna@in.ibm.com Subject: Re: Announce: kdb v4.3 is available for kernel 2.6.3 Message-ID: <20040220112722.GD3965@in.ibm.com> Reply-To: prasanna@in.ibm.com Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Content-Transfer-Encoding: 8bit X-archive-position: 574 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: prasanna@in.ibm.com Precedence: bulk X-list: kdb Hi Carl, Your problem can be solved by setting the watchpoints on the memory area. There is a tool Dynamic Probes/Kernel Probes using which you can set watchpoints on the memory area and dump the required information. For more information visit this site : http://www-124.ibm.com/developerworks/oss/linux/projects/dprobes/ http://www-124.ibm.com/developerworks/oss/linux/projects/kprobes/ Hope this helps to solve your problem. Feel free to contact me, if you need more information. -- Regards Prasanna S Panchamukhi Linux Technology Center India Software Labs, IBM Bangalore Ph: 91-80-5044636 --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Fri Feb 20 16:49:26 2004 Received: with ECARTIS (v1.0.0; list kdb); Fri, 20 Feb 2004 16:49:34 -0800 (PST) Received: from mail.ocs.com.au (pr-117-210.ains.net.au [202.147.117.210] (may be forged)) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1L0nPKO005321 for ; Fri, 20 Feb 2004 16:49:26 -0800 Received: from ocs3.ocs.com.au (ocs3.ocs.com.au [192.168.255.3]) by mail.ocs.com.au (Postfix) with ESMTP id 1A5241800A5; Sat, 21 Feb 2004 11:49:22 +1100 (EST) Received: by ocs3.ocs.com.au (Postfix, from userid 16331) id 3E2E3C00A9; Sat, 21 Feb 2004 11:49:11 +1100 (EST) Received: from ocs3.ocs.com.au (localhost [127.0.0.1]) by ocs3.ocs.com.au (Postfix) with ESMTP id 3B791140086; Sat, 21 Feb 2004 11:49:11 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: kdb@oss.sgi.com, linux-kernel@vger.kernel.org Cc: linux-ia64@vger.kernel.org Subject: Re: Announce: kdb v4.3 is available for kernel 2.6.3 In-Reply-To: Your message of "Wed, 18 Feb 2004 17:08:16 +1100." <10769.1077084496@kao2.melbourne.sgi.com> Date: Sat, 21 Feb 2004 11:49:10 +1100 Message-ID: <23594.1077324550@ocs3.ocs.com.au> X-archive-position: 575 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 KDB (Linux Kernel Debugger) has been updated. ftp://oss.sgi.com/projects/kdb/download/v4.3/ Current versions are :- kdb-v4.3-2.6.3-common-2.bz2 kdb-v4.3-2.6.3-i386-1.bz2 kdb-v4.3-2.6.3-ia64-1.bz2 Warning: the 2.6 versions of kdb have had minimal testing. In particular they have not been tested with CONFIG_PREEMPT. Changelog extract since kdb-v4.3-2.6.3-common-1. 2004-02-21 Keith Owens * Correct build of kdb_cmds when using a separate object directory and make it quiet. j-nomura (NEC), Keith Owens. * kdb v4.3-2.6.3-common-2. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFANqsGi4UHNye0ZOoRApmUAKDcT+Vwa4BcYqtSTQ1VWmLfAhxchgCfY7mS sOVcf3MS2JaYpncY0jbFO+I= =oIMt -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From sagogate@yahoo.com Thu Feb 26 23:54:42 2004 Received: with ECARTIS (v1.0.0; list kdb); Thu, 26 Feb 2004 23:54:46 -0800 (PST) Received: from web60704.mail.yahoo.com (web60704.mail.yahoo.com [216.109.117.227]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1R7sfKO001558 for ; Thu, 26 Feb 2004 23:54:41 -0800 Message-ID: <20040227075436.38041.qmail@web60704.mail.yahoo.com> Received: from [61.11.17.69] by web60704.mail.yahoo.com via HTTP; Thu, 26 Feb 2004 23:54:36 PST Date: Thu, 26 Feb 2004 23:54:36 -0800 (PST) From: Shantanu Gogate Subject: trouble getting kdb command prompt To: kdb@oss.sgi.com MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-archive-position: 576 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sagogate@yahoo.com Precedence: bulk X-list: kdb Hi, I am using linux kernel 2.4.19 on an AMD ELAN(486) board, and using patches "kdb-v4.0-2.4.19-i386-1" and "kdb-v4.0-2.4.19-common-1". The device I am running this kernel on is headless(only has a serial console). Although I am able to invoke kdb through the console, or kdb invokes itself automatically on 'panics' etc, I am not getting any command prompt, the terminal just seems to hang after the message "Entering kdb...blah blah". Could anyone help me out with what could be going wrong ? Is kdb going for a toss somewhere in 'kdb_local_arch_setup' ? Regards, Shantanu. __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From sagogate@yahoo.com Fri Feb 27 00:41:46 2004 Received: with ECARTIS (v1.0.0; list kdb); Fri, 27 Feb 2004 00:42:03 -0800 (PST) Received: from web60710.mail.yahoo.com (web60710.mail.yahoo.com [216.109.117.233]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1R8fkKO005202 for ; Fri, 27 Feb 2004 00:41:46 -0800 Message-ID: <20040227084140.86225.qmail@web60710.mail.yahoo.com> Received: from [61.11.17.69] by web60710.mail.yahoo.com via HTTP; Fri, 27 Feb 2004 00:41:40 PST Date: Fri, 27 Feb 2004 00:41:40 -0800 (PST) From: Shantanu Gogate Subject: Re: trouble getting kdb command prompt To: kdb@oss.sgi.com In-Reply-To: <20040227075436.38041.qmail@web60704.mail.yahoo.com> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-archive-position: 577 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: sagogate@yahoo.com Precedence: bulk X-list: kdb putting debug messages around 'kdb_local_arch_setup' revealed that the function never returned ! why ??? shantanu. --- Shantanu Gogate wrote: > Hi, > > I am using linux kernel 2.4.19 on an AMD ELAN(486) board, and using patches > "kdb-v4.0-2.4.19-i386-1" and "kdb-v4.0-2.4.19-common-1". The device I am running this kernel on > is > headless(only has a serial console). Although I am able to invoke kdb through the console, or > kdb > invokes itself automatically on 'panics' etc, I am not getting any command prompt, the terminal > just seems to hang after the message "Entering kdb...blah blah". > > Could anyone help me out with what could be going wrong ? Is kdb going for a toss somewhere in > 'kdb_local_arch_setup' ? > > Regards, > Shantanu. > > __________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail. > http://antispam.yahoo.com/tools > --------------------------- > Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Fri Feb 27 01:15:52 2004 Received: with ECARTIS (v1.0.0; list kdb); Fri, 27 Feb 2004 01:15:58 -0800 (PST) Received: from mail.ocs.com.au (pr-117-210.ains.net.au [202.147.117.210] (may be forged)) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1R9FmKO005670 for ; Fri, 27 Feb 2004 01:15:51 -0800 Received: from ocs3.ocs.com.au (ocs3.ocs.com.au [192.168.255.3]) by mail.ocs.com.au (Postfix) with ESMTP id 7C8D41800A6; Fri, 27 Feb 2004 20:15:44 +1100 (EST) Received: by ocs3.ocs.com.au (Postfix, from userid 16331) id 492A6C00AF; Fri, 27 Feb 2004 20:15:32 +1100 (EST) Received: from ocs3.ocs.com.au (localhost [127.0.0.1]) by ocs3.ocs.com.au (Postfix) with ESMTP id 4645A140110; Fri, 27 Feb 2004 20:15:32 +1100 (EST) X-Mailer: exmh version 2.5 01/15/2001 with nmh-1.0.4 From: Keith Owens To: Shantanu Gogate Cc: kdb@oss.sgi.com Subject: Re: trouble getting kdb command prompt In-reply-to: Your message of "Fri, 27 Feb 2004 00:41:40 -0800." <20040227084140.86225.qmail@web60710.mail.yahoo.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Fri, 27 Feb 2004 20:15:31 +1100 Message-ID: <2824.1077873331@ocs3.ocs.com.au> Content-Transfer-Encoding: 8bit X-archive-position: 578 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, 27 Feb 2004 00:41:40 -0800 (PST), Shantanu Gogate wrote: >putting debug messages around 'kdb_local_arch_setup' revealed that the function never returned ! >why ??? kdb_local_arch_setup and kdba_local_arch_cleanup try to reset the keyboard to reduce a problem of frozen keyboards. They assume a standard keyboard, I am guessing that your headless board does not have a standard keyboard controller. In later versions of kdb (v4.0 is pretty old), those functions only reset the keyboard if CONFIG_VT is defined. v4.3 code looks like this. /* * On some Compaq Deskpro's, there is a keyboard freeze many times after * exiting from the kdb. As kdb's keyboard handler is not interrupt-driven and * uses a polled interface, it makes more sense to disable motherboard keyboard * controller's OBF interrupts during kdb's polling.In case, of interrupts * remaining enabled during kdb's polling, it may cause un-necessary * interrupts being signalled during keypresses, which are also sometimes seen * as spurious interrupts after exiting from kdb. This hack to disable OBF * interrupts before entry to kdb and re-enabling them at kdb exit point also * solves the keyboard freeze issue. These functions are called from * kdb_local(), hence these are arch. specific setup and cleanup functions * executing only on the local processor - ashishk@sco.com */ void kdba_local_arch_setup(void) { #ifdef CONFIG_VT_CONSOLE unsigned char c; while (kbd_read_status() & KBD_STAT_IBF); kbd_write_command(KBD_CCMD_READ_MODE); mdelay(1); while (kbd_read_status() & KBD_STAT_IBF); while ( !(kbd_read_status() & KBD_STAT_OBF) ); c = kbd_read_input(); c &= ~KBD_MODE_KBD_INT; while (kbd_read_status() & KBD_STAT_IBF); kbd_write_command(KBD_CCMD_WRITE_MODE); mdelay(1); while (kbd_read_status() & KBD_STAT_IBF); kbd_write_output(c); mdelay(1); while (kbd_read_status() & KBD_STAT_IBF); mdelay(1); #endif /* CONFIG_VT_CONSOLE */ } void kdba_local_arch_cleanup(void) { #ifdef CONFIG_VT_CONSOLE unsigned char c; while (kbd_read_status() & KBD_STAT_IBF); kbd_write_command(KBD_CCMD_READ_MODE); mdelay(1); while (kbd_read_status() & KBD_STAT_IBF); while ( !(kbd_read_status() & KBD_STAT_OBF) ); c = kbd_read_input(); c |= KBD_MODE_KBD_INT; while (kbd_read_status() & KBD_STAT_IBF); kbd_write_command(KBD_CCMD_WRITE_MODE); mdelay(1); while (kbd_read_status() & KBD_STAT_IBF); kbd_write_output(c); mdelay(1); while (kbd_read_status() & KBD_STAT_IBF); mdelay(1); #endif /* CONFIG_VT_CONSOLE */ } --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.