From maxwell@digitalpath.net Wed Mar 15 12:27:06 2006 Received: with ECARTIS (v1.0.0; list kdb); Wed, 15 Mar 2006 12:27:12 -0800 (PST) Received: from mail.digitalpath.net (ns1.digitalpath.net [65.164.104.5]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id k2FKR6W6026778 for ; Wed, 15 Mar 2006 12:27:06 -0800 Received: (qmail 28367 invoked by uid 1546); 15 Mar 2006 19:27:47 -0000 Received: from 208.53.87.188 by pop (envelope-from , uid 504) with qmail-scanner-1.25 (clamdscan: 0.87.1/1326. Clear:RC:1(208.53.87.188):. Processed in 0.039454 secs); 15 Mar 2006 19:27:47 -0000 Received: from 208-53-87-188.chico.ca.digitalpath.net (HELO ?192.168.0.101?) (208.53.87.188) by ns1.digitalpath.net with SMTP; 15 Mar 2006 19:27:47 -0000 Message-ID: <44186AED.7050605@digitalpath.net> Date: Wed, 15 Mar 2006 11:28:45 -0800 From: Hampton Maxwell User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: kdb@oss.sgi.com Subject: kdb without a keyboard controller Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-archive-position: 1161 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: maxwell@digitalpath.net Precedence: bulk X-list: kdb I'm attempting to get kdb running on a PC Engines WRAP platform (x86 board for embedded work), which doesn't have a keyboard controller. We are running a 2.4.25 kernel because one of our drivers hasn't been ported to 2.6 yet. When I try and drop into kdb, it displays: Entering kdb (current=0xc02a0000, pid 0) due to Keyboard Entry and then hangs I can only assume that this is due to the lack of the keyboard controller since the same kernel works fine on a Soekris 4801, which is essentially the same board and processor but has a built-in keyboard controller. Any help would be appreciated. Thanks, Hampton --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Wed Mar 15 19:05:30 2006 Received: with ECARTIS (v1.0.0; list kdb); Wed, 15 Mar 2006 19:05:38 -0800 (PST) Received: from mail.ocs.com.au (mail.ocs.com.au [202.147.117.210]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2G35TW6023599 for ; Wed, 15 Mar 2006 19:05:29 -0800 Received: from kao2.melbourne.sgi.com (mail.ocs.com.au [192.168.255.1]) by mail.ocs.com.au (Postfix) with ESMTP id 2E1BCE0B208; Thu, 16 Mar 2006 12:01:35 +1100 (EST) Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 9FC69E9B; Thu, 16 Mar 2006 12:01:05 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 9B9328017D; Thu, 16 Mar 2006 12:01:05 +1100 (EST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC1 From: Keith Owens To: Hampton Maxwell cc: kdb@oss.sgi.com Subject: Re: kdb without a keyboard controller In-reply-to: Your message of "Wed, 15 Mar 2006 11:28:45 -0800." <44186AED.7050605@digitalpath.net> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Thu, 16 Mar 2006 12:01:05 +1100 Message-ID: <22297.1142470865@kao2.melbourne.sgi.com> Content-Transfer-Encoding: 8bit X-archive-position: 1162 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 Hampton Maxwell (on Wed, 15 Mar 2006 11:28:45 -0800) wrote: >I'm attempting to get kdb running on a PC Engines WRAP platform (x86 board >for embedded work), which doesn't have a keyboard controller. We are >running a 2.4.25 kernel because one of our drivers hasn't been ported to 2.6 >yet. When I try and drop into kdb, it displays: >Entering kdb (current=0xc02a0000, pid 0) due to Keyboard Entry >and then hangs > >I can only assume that this is due to the lack of the keyboard controller >since the same kernel works fine on a Soekris 4801, which is essentially the >same board and processor but has a built-in keyboard controller. KDB relies on the kernel to get information about the I/O devices, your kernel thinks that it has an PC keyboard controller. Turn off CONFIG_VT_CONSOLE. Note: you have to select CONFIG_EMBEDDED first, if EMBEDDED is not set then you always get a VT and its associated PC keyboard. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Mon Mar 20 22:59:16 2006 Received: with ECARTIS (v1.0.0; list kdb); Mon, 20 Mar 2006 22:59:19 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id k2L6xDW6017468 for ; Mon, 20 Mar 2006 22:59:14 -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 QAA10923 for ; Tue, 21 Mar 2006 16:59:24 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 947532F01; Tue, 21 Mar 2006 16:59:24 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 7FE838017B; Tue, 21 Mar 2006 16:59:24 +1100 (EST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC1 From: Keith Owens To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Announce: kdb v4.4 is available for kernel 2.6.16 Date: Tue, 21 Mar 2006 16:59:24 +1100 Message-ID: <28258.1142920764@kao2.melbourne.sgi.com> X-archive-position: 1163 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 KDB (Linux Kernel Debugger) has been updated for kernel 2.6.16. ftp://oss.sgi.com/projects/kdb/download/v4.4/ ftp://ftp.ocs.com.au/pub/mirrors/oss.sgi.com/projects/kdb/download/v4.4/ Note: Due to a spam attack, the kdb@oss.sgi.com mailing list is now subscriber only. If you reply to this mail, you may wish to trim kdb@oss.sgi.com from the cc: list. Thanks to Nathan Scott for updating KDB while I was on holiday. Current versions are :- kdb-v4.4-2.6.16-common-1.bz2 kdb-v4.4-2.6.16-i386-1.bz2 kdb-v4.4-2.6.16-ia64-1.bz2 Changelog extract since kdb-v4.4-2.6.15-common-1. 2006-03-21 Keith Owens * kdb v4.4-2.6.16-common-1. 2006-03-14 Nathan Scott * kdb v4.4-2.6.16-rc6-common-1. 2006-02-28 Nathan Scott * kdb v4.4-2.6.16-rc5-common-1. 2006-02-20 Nathan Scott * kdb v4.4-2.6.16-rc4-common-1. 2006-02-06 Keith Owens * Change CONFIG_CRASH_DUMP to CONFIG_LKCD. * Remove obsolete kdb_notifier_list. * kdb v4.4-2.6.16-rc2-common-2. 2006-02-06 Keith Owens * Add xpcusers command. Dean Nelson, SGI. * kdb v4.4-2.6.16-rc2-common-1. 2006-02-02 Keith Owens * Check if we have a console before using it for KDB. * kdb v4.4-2.6.16-rc1-common-3. 2006-02-01 Keith Owens * Add option 'R' to the pid command to reset to the original task. * Include 'pid R' in archkdb* commands to reset up the original failing task. Users may have switched to other cpus and/or tasks before issuing archkdb. * Compile fix for kdbm_pg.c on i386. * kdb v4.4-2.6.16-rc1-common-2. 2006-01-18 Keith Owens * kdb v4.4-2.6.16-rc1-common-1. 2006-01-11 Keith Owens * Plug a timing race between KDB_ENTER_SLAVE and KDB_ENTER, and allow the cpu command to switch to a slave cpu. * KDB_REASON_SILENT now waits for other cpus, to avoid spurious NMI events that were seen on some Xeon systems. * kdb v4.4-2.6.15-common-3. 2006-01-08 Keith Owens * kdb mainline invokes DIE_KDEBUG_ENTER and DIE_KDEBUG_LEAVE via notify_die. * Move xpc debug support from xpc to mainline kdb. * kdbm_cm.c: check if file_lock_operations or lock_manager_operations are set before dereferencing them. Felix Blyakher, SGI. * kdb v4.4-2.6.15-common-2. Changelog extract since kdb-v4.4-2.6.15-i386-1. 2006-03-21 Keith Owens * kdb v4.4-2.6.16-i386-1. 2006-03-14 Nathan Scott * kdb v4.4-2.6.16-rc6-i386-1. 2006-02-28 Nathan Scott * kdb v4.4-2.6.16-rc5-i386-1. 2006-02-20 Nathan Scott * kdb v4.4-2.6.16-rc4-i386-1. 2006-02-06 Keith Owens * Change CONFIG_CRASH_DUMP to CONFIG_LKCD. * kdb v4.4-2.6.16-rc2-i386-2. 2006-02-06 Keith Owens * kdb v4.4-2.6.16-rc2-i386-1. 2006-01-18 Keith Owens * kdb v4.4-2.6.16-rc1-i386-1. 2006-01-08 Keith Owens * Add DIE_KDEBUG_ENTER and DIE_KDEBUG_LEAVE to notify_die. * kdb v4.4-2.6.15-i386-2. Changelog extract since kdb v4.4-2.6.15-ia64-1. 2006-03-21 Keith Owens * kdb v4.4-2.6.16-ia64-1. 2006-03-14 Nathan Scott * kdb v4.4-2.6.16-rc6-ia64-1. 2006-02-28 Nathan Scott * kdb v4.4-2.6.16-rc5-ia64-1. 2006-02-20 Nathan Scott * kdb v4.4-2.6.16-rc4-ia64-1. 2006-02-07 Keith Owens * Change kdb_running_process_save from a static array to a pointer. gcc 4.0 objects to forward declarations for arrays with an incomplete type. * kdb v4.4-2.6.16-rc2-ia64-3. 2006-02-06 Keith Owens * Change CONFIG_CRASH_DUMP to CONFIG_LKCD. * kdb v4.4-2.6.16-rc2-ia64-2. 2006-02-06 Keith Owens * kdb v4.4-2.6.16-rc2-ia64-1. 2006-02-01 Keith Owens * Handlers: check that the task is in kernel space before looking at the thread_info bits. * Expose kdb_running_process_save[] so 'pid R' can get the original process, even when the MCA/INIT handlers are being used. * kdb v4.4-2.6.16-rc1-ia64-3. 2006-01-19 Keith Owens * Add back some kdb changes to xpc_main that were lost due to a patch conflict. * kdb v4.4-2.6.16-rc1-ia64-2. 2006-01-18 Keith Owens * kdb v4.4-2.6.16-rc1-ia64-1. 2006-01-10 Keith Owens * Build kdba_pod for generic as well as sn2 kernels and test at run time if the platform is sn2. * kdb v4.4-2.6.15-ia64-3. 2006-01-08 Keith Owens * Convert xpc to use DIE_KDEBUG_ENTER and DIE_KDEBUG_LEAVE. * Add debug option for xpc. * break.b always sets a debug trap number of 0 , so pass that to kdb as well as the normal kdb traaps. * kdb v4.4-2.6.15-ia64-2. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFEH5Y8i4UHNye0ZOoRAgxfAKDEFyGyiC0MqpZf3g++ZcyWnkZm4QCfdGpB vrKA3BN4aKCI/MDX6bJTme0= =edpm -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Wed Mar 22 16:34:49 2006 Received: with ECARTIS (v1.0.0; list kdb); Wed, 22 Mar 2006 16:34:51 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id k2N0YlW6016334 for ; Wed, 22 Mar 2006 16:34:48 -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 LAA17081 for ; Thu, 23 Mar 2006 11:35:25 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id B8B912F4F; Thu, 23 Mar 2006 11:35:27 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 93C1B8017C for ; Thu, 23 Mar 2006 11:35:27 +1100 (EST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC1 From: Keith Owens To: kdb@oss.sgi.com Subject: Using INIT for KDB rendezvous on IA64 Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Thu, 23 Mar 2006 11:35:27 +1100 Message-ID: <23010.1143074127@kao2.melbourne.sgi.com> Content-Transfer-Encoding: 8bit X-archive-position: 1164 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 IA64 now supports concurrent INIT events on multiple cpus, so I am going to change KDB on IA64 to send its inter processor interrupt as INIT instead of as a normal interrupt. That will get around the problem of IA64 masking the "non-maskable" interrupt when a processor disables interrupts, so we can finally get decent debugging data on processors that are spinning disabled. It will also get rid of the need to manually use the KDB init command to get data from spinning cpus. The only downside is that INIT can be delivered at any time, including when the kernel is processing a normal interrupt and is in ivt.S. Because that code saves the interrupt state, it is not possible to get a backtrace if a non-maskable interrupt arrives in the middle of ivt.S. In an attempt to avoid that problem, I will send a normal interrupt first and, if any cpus have not responded after a few seconds, then KDB will hit them with INIT. Any objections? I will add an option to preserve the existing behaviour (only use a normal interrupt) just in case any platforms are still having problems with multiple INIT events. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Wed Mar 22 18:59:55 2006 Received: with ECARTIS (v1.0.0; list kdb); Wed, 22 Mar 2006 18:59:59 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id k2N2xrW6031731 for ; Wed, 22 Mar 2006 18:59:54 -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 OAA19044 for ; Thu, 23 Mar 2006 14:00:32 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id A2DE22EB8; Thu, 23 Mar 2006 14:00:34 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 9E97F8017B; Thu, 23 Mar 2006 14:00:34 +1100 (EST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC1 From: Keith Owens To: sdake@mvista.com cc: kdb@oss.sgi.com Subject: Re: enhancement to filp macro In-reply-to: Your message of "Mon, 27 Feb 2006 13:29:39 PDT." <1141072179.10101.3.camel@unnamed.az.mvista.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Thu, 23 Mar 2006 14:00:34 +1100 Message-ID: <26456.1143082834@kao2.melbourne.sgi.com> Content-Transfer-Encoding: 8bit X-archive-position: 1165 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 Steven Dake (on Mon, 27 Feb 2006 13:29:39 -0700) wrote: >Here is an enhancement Montavista used to debug a race condition in the >kernel. Someone may find it useful here. > >MR: 17281 >Type: Enhancement >Disposition: submitted to kdb@oss.sgi.com >Signed-off-by: Steven Dake >Signed-off-by: Mark Bellon >Description: > If f_dentry is null, this KDB module will not print out any information. > This patch changes that behavior to print out as much data as possible > in the filp structure. In future please specify which version of KDB you are patching. At a guess, this patch is against kdb v4.3 for some version of the 2.4 kernel. I am not doing any more updates to kdb v4.3. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From francois.wellenreiter@bull.net Thu Mar 23 09:14:02 2006 Received: with ECARTIS (v1.0.0; list kdb); Thu, 23 Mar 2006 09:14:07 -0800 (PST) Received: from ecfrec.frec.bull.fr (ecfrec.frec.bull.fr [129.183.4.8]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2NHE0W6028862 for ; Thu, 23 Mar 2006 09:14:01 -0800 Received: from localhost (localhost [127.0.0.1]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 3CFD719D92A; Thu, 23 Mar 2006 17:12:16 +0100 (CET) Received: from ecfrec.frec.bull.fr ([127.0.0.1]) by localhost (ecfrec.frec.bull.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04982-10; Thu, 23 Mar 2006 17:12:15 +0100 (CET) Received: from ecn002.frec.bull.fr (ecn002.frec.bull.fr [129.183.4.6]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 9BA3119D90C; Thu, 23 Mar 2006 17:12:14 +0100 (CET) Received: from [129.183.101.120] ([129.183.101.120]) by ecn002.frec.bull.fr (Lotus Domino Release 5.0.12) with ESMTP id 2006032317142302:4171 ; Thu, 23 Mar 2006 17:14:23 +0100 Message-ID: <4422C8E4.4050804@bull.net> Date: Thu, 23 Mar 2006 17:12:20 +0100 From: Francois WELLENREITER Organization: BULL - Architect of an Open World User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 X-Accept-Language: en MIME-Version: 1.0 To: kdb@oss.sgi.com Cc: Keith Owens Subject: KDB EARLY does not work on 2.6.16 References: <26456.1143082834@kao2.melbourne.sgi.com> In-Reply-To: <26456.1143082834@kao2.melbourne.sgi.com> X-MIMETrack: Itemize by SMTP Server on ECN002/FR/BULL(Release 5.0.12 |February 13, 2003) at 23/03/2006 17:14:23, Serialize by Router on ECN002/FR/BULL(Release 5.0.12 |February 13, 2003) at 23/03/2006 17:14:24, Serialize complete at 23/03/2006 17:14:24 Content-type: text/plain Content-Transfer-Encoding: 8bit X-archive-position: 1166 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: francois.wellenreiter@bull.net Precedence: bulk X-list: kdb Hello KDB users, I've noticed that KDB early feature didn't work with 2.6.16 kernel version on Intel Tiger and Bull NovaScale machines. After a brief study, I think that Ihave found the origin of the problem and the following patch may correct it. Could you please consider and integrate this latter on KDB main branch ? Best regards, Francois WELLENREITER -- Binary/unsupported file stripped by Ecartis -- -- Type: text/x-patch -- File: kdb_early_correction-2.6.16.patch --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Thu Mar 23 19:52:50 2006 Received: with ECARTIS (v1.0.0; list kdb); Thu, 23 Mar 2006 19:52:53 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id k2O3qlW6030936 for ; Thu, 23 Mar 2006 19:52:48 -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 OAA08921 for ; Fri, 24 Mar 2006 14:53:26 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id A79592E4A; Fri, 24 Mar 2006 14:53:26 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 816E68017C; Fri, 24 Mar 2006 14:53:26 +1100 (EST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC1 From: Keith Owens To: Francois WELLENREITER cc: kdb@oss.sgi.com Subject: Re: KDB EARLY does not work on 2.6.16 In-reply-to: Your message of "Thu, 23 Mar 2006 17:12:20 BST." <4422C8E4.4050804@bull.net> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Fri, 24 Mar 2006 14:53:26 +1100 Message-ID: <13359.1143172406@kao2.melbourne.sgi.com> Content-Transfer-Encoding: 8bit X-archive-position: 1167 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 Francois WELLENREITER (on Thu, 23 Mar 2006 17:12:20 +0100) wrote: > I've noticed that KDB early feature didn't work >with 2.6.16 kernel version >on Intel Tiger and Bull NovaScale machines. >After a brief study, I think that Ihave found the origin of the problem >and the following patch may correct it. > >Could you please consider and integrate this latter on KDB main branch ? > >--- linux-2.6.16/drivers/serial/8250_early.c 2006-03-23 17:06:27.000000000 +0100 >+++ linux-2.6.16-kdb/drivers/serial/8250_early.c 2006-03-23 17:04:51.000000000 +0100 >@@ -255,7 +255,7 @@ > return -ENODEV; > > options = strchr(cmdline, ',') + 1; >- if ((err = early_uart_setup(NULL, options)) < 0) >+ if ((err = early_uart_setup(&early_uart_console, options)) < 0) > return err; > return early_uart_console_init(); > } > Added to my tree for kdb v4.4-2.6.16-common-2. I cannot test this patch since SGI systems do not have 8250 chips. Does it cause any problems for other ia64 users? --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Thu Mar 23 22:20:48 2006 Received: with ECARTIS (v1.0.0; list kdb); Thu, 23 Mar 2006 22:20:54 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id k2O6KkW6016212 for ; Thu, 23 Mar 2006 22:20:47 -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 RAA11201 for ; Fri, 24 Mar 2006 17:21:24 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id C11542E4A; Fri, 24 Mar 2006 17:21:25 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id BC8518017C; Fri, 24 Mar 2006 17:21:25 +1100 (EST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC1 From: Keith Owens To: kdb@oss.sgi.com cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: Announce: kdb v4.4 is available for kernel 2.6.16 In-reply-to: Your message of "Tue, 21 Mar 2006 16:59:24 +1100." <28258.1142920764@kao2.melbourne.sgi.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Fri, 24 Mar 2006 17:21:25 +1100 Message-ID: <14717.1143181285@kao2.melbourne.sgi.com> Content-Transfer-Encoding: 8bit X-archive-position: 1168 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 Keith Owens (on Tue, 21 Mar 2006 16:59:24 +1100) wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >KDB (Linux Kernel Debugger) has been updated for kernel 2.6.16. > >ftp://oss.sgi.com/projects/kdb/download/v4.4/ >ftp://ftp.ocs.com.au/pub/mirrors/oss.sgi.com/projects/kdb/download/v4.4/ > >Note: Due to a spam attack, the kdb@oss.sgi.com mailing list is now >subscriber only. If you reply to this mail, you may wish to trim >kdb@oss.sgi.com from the cc: list. Updates to kdb v4.4-2.6.16-{common,i386,ia64}-1, moving to -2. Mainly to get more forceful with stuck cpus on IA64, where the "non-maskable" interrupt is masked by local_irq_disable(). We finally get decent backtraces on stuck IA64 cpus. It took a long time to get there, KDB could not change until the base kernel could cope with INIT and recover correctly. 2006-03-22 Keith Owens * Add some more xpc flags. Dean Nelson, SGI. * Replace open coded counter references with atomic_read(). * Pass early_uart_console to early_uart_setup(). Francois Wellenreiter, Bull. * Replace open code with for_each_online_cpu(). * If cpus do not come into kdb after a few seconds then let architectures send a more forceful interrupt. * Close a timing race with KDB_ENTER_SLAVE. * kdb v4.4-2.6.16-common-2. 2006-03-24 Keith Owens * Define a dummy kdba_wait_for_cpus(). * kdb v4.4-2.6.16-i386-2. 2006-03-24 Keith Owens * Use INIT to interrupt cpus that do not respond to a normal kdb IPI. * Remove KDBA_MCA_TRACE from arch/ia64/kernel/mca.c. * kdb v4.4-2.6.16-ia64-2. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From prw@ceiriog.eclipse.co.uk Sun Mar 26 03:59:23 2006 Received: with ECARTIS (v1.0.0; list kdb); Sun, 26 Mar 2006 03:59:25 -0800 (PST) Received: from mra03.ch.as12513.net (mra03.ch.as12513.net [82.153.252.25]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2QBxMW6021230 for ; Sun, 26 Mar 2006 03:59:22 -0800 Received: from localhost (localhost [127.0.0.1]) by mra03.ch.as12513.net (Postfix) with ESMTP id E4938D42B6 for ; Sun, 26 Mar 2006 12:57:57 +0100 (BST) Received: from mra03.ch.as12513.net ([127.0.0.1]) by localhost (mra03.ch.as12513.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17215-01-38 for ; Sun, 26 Mar 2006 12:57:57 +0100 (BST) Received: from localhost.localdomain (unknown [82.152.176.203]) by mra03.ch.as12513.net (Postfix) with ESMTP id 24190D4642 for ; Sun, 26 Mar 2006 12:57:57 +0100 (BST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.6/8.13.4) with ESMTP id k2QBwNjs004324 for ; Sun, 26 Mar 2006 12:58:28 +0100 Subject: KDB support for x86_64? From: Peter Wainwright To: kdb@oss.sgi.com Content-type: text/plain Date: Sun, 26 Mar 2006 12:58:23 +0100 Message-Id: <1143374303.4233.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 8bit X-archive-position: 1169 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: prw@ceiriog.eclipse.co.uk Precedence: bulk X-list: kdb Is KDB still maintained for the x86_64 architecture? oss.sgi.com has x86_64 patches for kernel 2.6.14 but not for more recent kernels. I tried to forward-port it to 2.6.16 myself but it is not giving a proper backtrace (%rsp seems to be wrong at breakpoints). Peter Wainwright --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jfv@bluesong.net Sun Mar 26 13:35:21 2006 Received: with ECARTIS (v1.0.0; list kdb); Sun, 26 Mar 2006 13:35:47 -0800 (PST) Received: from trane.bluesong.net (bdsl.66.13.29.10.gte.net [66.13.29.10]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2QLZLW6029503 for ; Sun, 26 Mar 2006 13:35:21 -0800 Received: by trane.bluesong.net (Postfix, from userid 500) id 2970E2311B9; Sun, 26 Mar 2006 13:36:09 -0800 (PST) Date: Sun, 26 Mar 2006 13:36:09 -0800 From: Jack Vogel To: Peter Wainwright Cc: kdb@oss.sgi.com Subject: Re: KDB support for x86_64? Message-ID: <20060326213609.GB7617@trane.bluesong.net> Reply-To: jfv@bluesong.net References: <1143374303.4233.0.camel@localhost.localdomain> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1143374303.4233.0.camel@localhost.localdomain> User-Agent: Mutt/1.5.9i Content-Transfer-Encoding: 8bit X-archive-position: 1170 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jfv@bluesong.net Precedence: bulk X-list: kdb On Sun, Mar 26, 2006 at 12:58:23PM +0100, Peter Wainwright wrote: > Is KDB still maintained for the x86_64 architecture? oss.sgi.com has > x86_64 patches for kernel 2.6.14 but not for more recent > kernels. I tried to forward-port it to 2.6.16 myself but it is > not giving a proper backtrace (%rsp seems to be wrong at breakpoints). > > Peter Wainwright Yes, its being maintained, but its not my day job anymore, so its at a 'as needed, and I have time' basis :) I am submitting a patch for 2.6.16 to Keith today. Regards, Jack --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From ncunningham@cyclades.com Sun Mar 26 16:09:15 2006 Received: with ECARTIS (v1.0.0; list kdb); Sun, 26 Mar 2006 16:09:21 -0800 (PST) Received: from cust8446.nsw01.dataco.com.au (b3162.static.pacific.net.au [203.143.238.98]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2R09AW6018602 for ; Sun, 26 Mar 2006 16:09:14 -0800 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by cust8446.nsw01.dataco.com.au (Postfix) with ESMTP id E34B8646FB; Mon, 27 Mar 2006 08:00:49 +1000 (EST) From: Nigel Cunningham Organization: Cyclades Corporation To: Peter Wainwright Subject: Re: KDB support for x86_64? Date: Mon, 27 Mar 2006 08:00:46 +1000 User-Agent: KMail/1.9.1 Cc: kdb@oss.sgi.com References: <1143374303.4233.0.camel@localhost.localdomain> In-Reply-To: <1143374303.4233.0.camel@localhost.localdomain> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit Message-Id: <200603270800.49533.ncunningham@cyclades.com> X-archive-position: 1171 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ncunningham@cyclades.com Precedence: bulk X-list: kdb Hi. On Sunday 26 March 2006 21:58, Peter Wainwright wrote: > Is KDB still maintained for the x86_64 architecture? oss.sgi.com has > x86_64 patches for kernel 2.6.14 but not for more recent > kernels. I tried to forward-port it to 2.6.16 myself but it is > not giving a proper backtrace (%rsp seems to be wrong at breakpoints). > > Peter Wainwright I would find it useful too. I've forward ported it as well, and also have the same backtrace problem. I guess it's probably simple to fix, but it doesn't irk me enough that I've bothered to try to fix it. Regards, Nigel -- Attached file included as plaintext by Ecartis -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBEJw8RN0y+n1M3mo0RAhPSAJ40y4dTxMFZrTTrjebGDFylVZytHACfUsWK cdO/0/Sl+ME6YrAkt4guzQ0= =M7WT -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jfv@bluesong.net Sun Mar 26 17:31:46 2006 Received: with ECARTIS (v1.0.0; list kdb); Sun, 26 Mar 2006 17:31:53 -0800 (PST) Received: from trane.bluesong.net (bdsl.66.13.29.10.gte.net [66.13.29.10]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2R1VkW6031995 for ; Sun, 26 Mar 2006 17:31:46 -0800 Received: by trane.bluesong.net (Postfix, from userid 500) id 598FF2311B9; Sun, 26 Mar 2006 17:32:34 -0800 (PST) Date: Sun, 26 Mar 2006 17:32:34 -0800 From: Jack Vogel To: Nigel Cunningham Cc: Peter Wainwright , kdb@oss.sgi.com Subject: Re: KDB support for x86_64? Message-ID: <20060327013234.GC7617@trane.bluesong.net> Reply-To: jfv@bluesong.net References: <1143374303.4233.0.camel@localhost.localdomain> <200603270800.49533.ncunningham@cyclades.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603270800.49533.ncunningham@cyclades.com> User-Agent: Mutt/1.5.9i Content-Transfer-Encoding: 8bit X-archive-position: 1172 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jfv@bluesong.net Precedence: bulk X-list: kdb On Mon, Mar 27, 2006 at 08:00:46AM +1000, Nigel Cunningham wrote: > Hi. > On Sunday 26 March 2006 21:58, Peter Wainwright wrote: > > Is KDB still maintained for the x86_64 architecture? oss.sgi.com has > > x86_64 patches for kernel 2.6.14 but not for more recent > > kernels. I tried to forward-port it to 2.6.16 myself but it is > > not giving a proper backtrace (%rsp seems to be wrong at breakpoints). > > > > Peter Wainwright > > I would find it useful too. I've forward ported it as well, and also have the > same backtrace problem. I guess it's probably simple to fix, but it doesn't > irk me enough that I've bothered to try to fix it. > > Regards, > > Nigel Did you have the problem with the last patch, there was some backtrace changes that I accepted that I did not have time to test. It would be useful if you could check a before and after of that code. Regards, Jack --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From ncunningham@cyclades.com Sun Mar 26 17:42:41 2006 Received: with ECARTIS (v1.0.0; list kdb); Sun, 26 Mar 2006 17:42:44 -0800 (PST) Received: from cust8446.nsw01.dataco.com.au (b3162.static.pacific.net.au [203.143.238.98]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2R1geW6000633 for ; Sun, 26 Mar 2006 17:42:41 -0800 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by cust8446.nsw01.dataco.com.au (Postfix) with ESMTP id 95F2164769; Mon, 27 Mar 2006 11:41:52 +1000 (EST) From: Nigel Cunningham Organization: Cyclades Corporation To: jfv@bluesong.net Subject: Re: KDB support for x86_64? Date: Mon, 27 Mar 2006 11:41:48 +1000 User-Agent: KMail/1.9.1 Cc: Peter Wainwright , kdb@oss.sgi.com References: <1143374303.4233.0.camel@localhost.localdomain> <200603270800.49533.ncunningham@cyclades.com> <20060327013234.GC7617@trane.bluesong.net> In-Reply-To: <20060327013234.GC7617@trane.bluesong.net> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit Message-Id: <200603271141.52183.ncunningham@cyclades.com> X-archive-position: 1173 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: ncunningham@cyclades.com Precedence: bulk X-list: kdb Hi. On Monday 27 March 2006 11:32, Jack Vogel wrote: > On Mon, Mar 27, 2006 at 08:00:46AM +1000, Nigel Cunningham wrote: > > Hi. > > > > On Sunday 26 March 2006 21:58, Peter Wainwright wrote: > > > Is KDB still maintained for the x86_64 architecture? oss.sgi.com has > > > x86_64 patches for kernel 2.6.14 but not for more recent > > > kernels. I tried to forward-port it to 2.6.16 myself but it is > > > not giving a proper backtrace (%rsp seems to be wrong at breakpoints). > > > > > > Peter Wainwright > > > > I would find it useful too. I've forward ported it as well, and also have > > the same backtrace problem. I guess it's probably simple to fix, but it > > doesn't irk me enough that I've bothered to try to fix it. > > > > Regards, > > > > Nigel > > Did you have the problem with the last patch, there was > some backtrace changes that I accepted that I did not have > time to test. It would be useful if you could check a before > and after of that code. I've only had x86_64 for a few months, so haven't tried an earlier version of the patch. I'll see if I can find some time to try an older version this evening, if you like. Are the changes specific to one file? Regards, Nigel -- Attached file included as plaintext by Ecartis -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBEJ0LgN0y+n1M3mo0RAgvcAJ9cZpax6CPrTUQhqEb9j8pVUz49WwCeP2nw uKyC0fwLIoZzzjYHlf/zyT0= =tcbT -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jfv@bluesong.net Sun Mar 26 17:45:44 2006 Received: with ECARTIS (v1.0.0; list kdb); Sun, 26 Mar 2006 17:45:47 -0800 (PST) Received: from trane.bluesong.net (bdsl.66.13.29.10.gte.net [66.13.29.10]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2R1jaW6000923 for ; Sun, 26 Mar 2006 17:45:36 -0800 Received: by trane.bluesong.net (Postfix, from userid 500) id 5A6432311B9; Sun, 26 Mar 2006 17:46:24 -0800 (PST) Date: Sun, 26 Mar 2006 17:46:24 -0800 From: Jack Vogel To: kaos@sgi.com, kdb@oss.sgi.com Subject: KDB X86_64 patch for 2.6.16 Message-ID: <20060327014624.GD7617@trane.bluesong.net> Reply-To: jfv@bluesong.net Mime-Version: 1.0 Content-type: text/plain Content-Disposition: inline User-Agent: Mutt/1.5.9i Content-Transfer-Encoding: 8bit X-archive-position: 1174 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jfv@bluesong.net Precedence: bulk X-list: kdb Keith, Here is the patch for 2.6.16, please put it up on the website. There may be a second version when we see whats up with this backtrace issue. Cheers, Jack PS This will be stripped from the mailing list, just pull from the website when Keith gets it up there. -- Binary/unsupported file stripped by Ecartis -- -- Type: application/x-bzip2 --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Wed Mar 29 14:48:13 2006 Received: with ECARTIS (v1.0.0; list kdb); Wed, 29 Mar 2006 14:48:51 -0800 (PST) Received: from omx1.americas.sgi.com (omx1-ext.sgi.com [192.48.179.11]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2TMmCgC003804 for ; Wed, 29 Mar 2006 14:48:12 -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 k2U31Knx001997 for ; Wed, 29 Mar 2006 21:01:21 -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 NAA23001 for ; Thu, 30 Mar 2006 13:01:15 +1000 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 942F02ED0; Thu, 30 Mar 2006 14:01:15 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 8FBEB8017D; Thu, 30 Mar 2006 14:01:15 +1100 (EST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1-RC1 From: Keith Owens To: jfv@bluesong.net cc: kdb@oss.sgi.com Subject: Re: KDB X86_64 patch for 2.6.16 In-reply-to: Your message of "Sun, 26 Mar 2006 17:46:24 -0800." <20060327014624.GD7617@trane.bluesong.net> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Thu, 30 Mar 2006 14:01:15 +1100 Message-ID: <8023.1143687675@kao2.melbourne.sgi.com> Content-Transfer-Encoding: 8bit X-archive-position: 1175 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 Jack Vogel (on Sun, 26 Mar 2006 17:46:24 -0800) wrote: > Here is the patch for 2.6.16, please put it >up on the website. There may be a second version when >we see whats up with this backtrace issue. Thanks Jack, kdb-v4.4-2.6.16-x86_64-1.bz2 has been uploaded to oss.sgi.com. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From prw@ceiriog.eclipse.co.uk Thu Mar 30 23:44:42 2006 Received: with ECARTIS (v1.0.0; list kdb); Thu, 30 Mar 2006 23:44:55 -0800 (PST) Received: from mra02.ch.as12513.net ([82.153.252.24]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2V7iZgC017070 for ; Thu, 30 Mar 2006 23:44:42 -0800 Received: from localhost (localhost [127.0.0.1]) by mra02.ch.as12513.net (Postfix) with ESMTP id C9C09D43D1; Sat, 1 Apr 2006 08:39:49 +0100 (BST) Received: from mra02.ch.as12513.net ([127.0.0.1]) by localhost (mra02.ch.as12513.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23963-01-46; Sat, 1 Apr 2006 08:39:49 +0100 (BST) Received: from localhost.localdomain (unknown [82.153.96.59]) by mra02.ch.as12513.net (Postfix) with ESMTP id 24373D43C2; Sat, 1 Apr 2006 08:39:49 +0100 (BST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.6/8.13.4) with ESMTP id k317dnkj008522; Sat, 1 Apr 2006 08:39:55 +0100 Subject: Re: KDB support for x86_64? From: Peter Wainwright To: jfv@bluesong.net Cc: Nigel Cunningham , kdb@oss.sgi.com In-Reply-To: <20060327013234.GC7617@trane.bluesong.net> References: <1143374303.4233.0.camel@localhost.localdomain> <200603270800.49533.ncunningham@cyclades.com> <20060327013234.GC7617@trane.bluesong.net> Content-type: text/plain Date: Sat, 01 Apr 2006 08:37:55 +0100 Message-Id: <1143877075.5788.8.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 8bit X-archive-position: 1176 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: prw@ceiriog.eclipse.co.uk Precedence: bulk X-list: kdb On Sun, 2006-03-26 at 17:32 -0800, Jack Vogel wrote: > On Mon, Mar 27, 2006 at 08:00:46AM +1000, Nigel Cunningham wrote: > > Hi. > > On Sunday 26 March 2006 21:58, Peter Wainwright wrote: > > > Is KDB still maintained for the x86_64 architecture? oss.sgi.com has > > > x86_64 patches for kernel 2.6.14 but not for more recent > > > kernels. I tried to forward-port it to 2.6.16 myself but it is > > > not giving a proper backtrace (%rsp seems to be wrong at breakpoints). > > > > > > Peter Wainwright > > > > I would find it useful too. I've forward ported it as well, and also have the > > same backtrace problem. I guess it's probably simple to fix, but it doesn't > > irk me enough that I've bothered to try to fix it. > > > > Regards, > > > > Nigel > > Did you have the problem with the last patch, there was > some backtrace changes that I accepted that I did not have > time to test. It would be useful if you could check a before > and after of that code. > > Regards, > > Jack Sometime recently the following change occurred in arch/x86_64/kernel/traps.c: - set_system_gate(3,&int3); + set_system_gate_ist(3,&int3,DEBUG_STACK); /* int3 can be called from all */ The int3 handler now runs in a special interrupt stack using the "long-mode interrupt-stack table". So calculating the process %rsp from the address of the pt_regs structure no longer works. How to figure out the address of the original stack is something I haven't figured out yet because I have no time to read the fine "AMD64 Architecture Programmer's Manual". Peter --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From prw@ceiriog.eclipse.co.uk Fri Mar 31 01:40:36 2006 Received: with ECARTIS (v1.0.0; list kdb); Fri, 31 Mar 2006 01:40:44 -0800 (PST) Received: from mra04.ch.as12513.net (mra04.ch.as12513.net [82.153.252.44]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k2V9eZgC028794 for ; Fri, 31 Mar 2006 01:40:36 -0800 Received: from localhost (localhost [127.0.0.1]) by mra04.ch.as12513.net (Postfix) with ESMTP id 42D7EC06B0; Sat, 1 Apr 2006 10:36:02 +0100 (BST) Received: from mra04.ch.as12513.net ([127.0.0.1]) by localhost (mra04.ch.as12513.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01120-01-14; Sat, 1 Apr 2006 10:36:01 +0100 (BST) Received: from localhost.localdomain (unknown [82.153.96.59]) by mra04.ch.as12513.net (Postfix) with ESMTP id 8C370C06BA; Sat, 1 Apr 2006 10:36:01 +0100 (BST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.6/8.13.4) with ESMTP id k319a7UQ003743; Sat, 1 Apr 2006 10:36:07 +0100 Subject: Re: KDB support for x86_64? From: Peter Wainwright To: jfv@bluesong.net Cc: Nigel Cunningham , kdb@oss.sgi.com In-Reply-To: <20060327013234.GC7617@trane.bluesong.net> References: <1143374303.4233.0.camel@localhost.localdomain> <200603270800.49533.ncunningham@cyclades.com> <20060327013234.GC7617@trane.bluesong.net> Content-type: text/plain Date: Sat, 01 Apr 2006 10:36:06 +0100 Message-Id: <1143884167.3533.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 8bit X-archive-position: 1177 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: prw@ceiriog.eclipse.co.uk Precedence: bulk X-list: kdb On Sun, 2006-03-26 at 17:32 -0800, Jack Vogel wrote: > On Mon, Mar 27, 2006 at 08:00:46AM +1000, Nigel Cunningham wrote: > > Hi. > > On Sunday 26 March 2006 21:58, Peter Wainwright wrote: > > > Is KDB still maintained for the x86_64 architecture? oss.sgi.com has > > > x86_64 patches for kernel 2.6.14 but not for more recent > > > kernels. I tried to forward-port it to 2.6.16 myself but it is > > > not giving a proper backtrace (%rsp seems to be wrong at breakpoints). > > > > > > Peter Wainwright > > > > I would find it useful too. I've forward ported it as well, and also have the > > same backtrace problem. I guess it's probably simple to fix, but it doesn't > > irk me enough that I've bothered to try to fix it. > > > > Regards, > > > > Nigel > > Did you have the problem with the last patch, there was > some backtrace changes that I accepted that I did not have > time to test. It would be useful if you could check a before > and after of that code. > > Regards, > > Jack The change I mentioned in the previous mail actually seems to simplify things for the debugger, since SS/SP is now saved on the interrupt stack at breakpoints. This patch seems to work for me. Unless you can find some path into kdba_getregcontents where SS/SP is NOT saved in regs? Peter -- Binary/unsupported file stripped by Ecartis -- -- Type: text/x-patch -- File: kdb-sssp-x8664.patch --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.