From trudheim@gmail.com Tue Nov 29 04:13:44 2005 Received: with ECARTIS (v1.0.0; list kdb); Tue, 29 Nov 2005 04:13:46 -0800 (PST) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id jATCDhO0019204 for ; Tue, 29 Nov 2005 04:13:44 -0800 Received: by xproxy.gmail.com with SMTP id s17so2550829wxc for ; Tue, 29 Nov 2005 04:10:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EkOp3uf8xd7V2+tHrFGCffZwPZXhLLnsdmkimoGLCYfKNLeUb+6yhavCa6SWghrVXlooobyBpgA85SWPZCT0uR/HepjWVzUS8v7s+Mzdno4G5efkGGsylvylSYamOXoHnIh391+pzvmKnAqU5VovUcQH/fPI5y0/V5j9Qcr4vbY= Received: by 10.65.189.6 with SMTP id r6mr1354132qbp; Tue, 29 Nov 2005 04:10:14 -0800 (PST) Received: by 10.64.232.13 with HTTP; Tue, 29 Nov 2005 04:10:14 -0800 (PST) Message-ID: <515e525f0511290410x5f67483ai8dcfb16b5c44bc3b@mail.gmail.com> Date: Tue, 29 Nov 2005 12:10:14 +0000 From: Anders Karlsson To: kdb@oss.sgi.com Subject: KDB 4.4 and Linux 2.6.14.3 MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by oss.sgi.com id jATCDhO0019204 X-archive-position: 1141 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: trudheim@gmail.com Precedence: bulk X-list: kdb Hi there, I have a problem with a server that is locking up and I hoped KDBcould help. I followed the instructions for how to compile it into thekernel, I set up a serial console, I can log in via the serialconsole, but Ctrl-A does not activate the KDB. Checking /proc/sys/kernel/kdb shows a '1', I can pass kdb=on to thekernel at boot, makes no difference. If anyone has any ideas, I would appreciate hearing them. I can post.config etc if that would make it easier to find out why Ctrl-A doesnot activate KDB. Regards, --Anders Karlsson --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jim.houston@comcast.net Tue Nov 29 05:13:07 2005 Received: with ECARTIS (v1.0.0; list kdb); Tue, 29 Nov 2005 05:13:10 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc13.comcast.net [216.148.227.153] (may be forged)) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id jATDD7O0028193 for ; Tue, 29 Nov 2005 05:13:07 -0800 Received: from x2.site (c-24-60-235-220.hsd1.ma.comcast.net[24.60.235.220]) by comcast.net (rwcrmhc13) with SMTP id <2005112913093701500qeicde>; Tue, 29 Nov 2005 13:09:38 +0000 Subject: Re: KDB 4.4 and Linux 2.6.14.3 From: Jim Houston Reply-To: jim.houston@comcast.net To: Anders Karlsson Cc: kdb@oss.sgi.com In-Reply-To: <515e525f0511290410x5f67483ai8dcfb16b5c44bc3b@mail.gmail.com> References: <515e525f0511290410x5f67483ai8dcfb16b5c44bc3b@mail.gmail.com> Content-type: text/plain Date: Tue, 29 Nov 2005 08:23:57 -0500 Message-Id: <1133270637.4709.6.camel@x2.site> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 Content-Transfer-Encoding: 8bit X-archive-position: 1142 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jim.houston@comcast.net Precedence: bulk X-list: kdb On Tue, 2005-11-29 at 12:10 +0000, Anders Karlsson wrote: > I can log in via the serialconsole, but Ctrl-A does not > activate the KDB. The key sequence to enter KDB was changed to (ESC)KDB in May 2004. Jim Houston - Concurrent Computer Corp. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From trudheim@gmail.com Tue Nov 29 05:14:55 2005 Received: with ECARTIS (v1.0.0; list kdb); Tue, 29 Nov 2005 05:14:58 -0800 (PST) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id jATDEsO0028422 for ; Tue, 29 Nov 2005 05:14:55 -0800 Received: by wproxy.gmail.com with SMTP id i31so1982267wra for ; Tue, 29 Nov 2005 05:11:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mxDF0AXI1Q/p365DkqPm6cMhJnZAnh6Xy8H8K7JsGeuNFqwM/KCJnQkTLg6oCIpxPkGagacF22IwHMioOUb4zgveSxdpgSwvsBDFi0ibUf/emwZ+sS95wYcBqkbFBmmYvsl/7rKof0kLpczQOFFiduF/c6e8oParG6T4mHc1Oi8= Received: by 10.65.235.5 with SMTP id m5mr2568488qbr; Tue, 29 Nov 2005 05:11:23 -0800 (PST) Received: by 10.64.232.13 with HTTP; Tue, 29 Nov 2005 05:11:23 -0800 (PST) Message-ID: <515e525f0511290511n7890b632m8d03210d1249d679@mail.gmail.com> Date: Tue, 29 Nov 2005 13:11:23 +0000 From: Anders Karlsson To: jim.houston@comcast.net Subject: Re: KDB 4.4 and Linux 2.6.14.3 Cc: kdb@oss.sgi.com In-Reply-To: <1133270637.4709.6.camel@x2.site> MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-Disposition: inline References: <515e525f0511290410x5f67483ai8dcfb16b5c44bc3b@mail.gmail.com> <1133270637.4709.6.camel@x2.site> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by oss.sgi.com id jATDEsO0028422 X-archive-position: 1143 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: trudheim@gmail.com Precedence: bulk X-list: kdb On 11/29/05, Jim Houston wrote:> On Tue, 2005-11-29 at 12:10 +0000, Anders Karlsson wrote:> > I can log in via the serialconsole, but Ctrl-A does not> > activate the KDB.>> The key sequence to enter KDB was changed to (ESC)KDB in> May 2004. Ehrm, *egg on face*, thank you. :) --Anders Karlsson --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From chandru@in.ibm.com Tue Nov 29 06:06:48 2005 Received: with ECARTIS (v1.0.0; list kdb); Tue, 29 Nov 2005 06:06:51 -0800 (PST) Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id jATE6mO0032281 for ; Tue, 29 Nov 2005 06:06:48 -0800 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e31.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id jATE3JvF004354 for ; Tue, 29 Nov 2005 09:03:19 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jATE4knR062906 for ; Tue, 29 Nov 2005 07:04:46 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id jATE3ICJ017016 for ; Tue, 29 Nov 2005 07:03:18 -0700 Received: from [9.182.14.177] ([9.182.14.177]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id jATE3G33016926 for ; Tue, 29 Nov 2005 07:03:17 -0700 Subject: 32-bit application on x86_64 From: Chandru To: kdb@oss.sgi.com In-Reply-To: <1133270880.10678.19.camel@chandru.in.ibm.com> References: <1133270880.10678.19.camel@chandru.in.ibm.com> Content-type: text/plain Organization: Message-Id: <1133271381.10678.27.camel@chandru.in.ibm.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 29 Nov 2005 19:36:21 +0600 Content-Transfer-Encoding: 8bit X-archive-position: 1144 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: chandru@in.ibm.com Precedence: bulk X-list: kdb I have a 2-way x86_64 , a 32-bit application and SLES9-2.6.5-7.233. A breakpoint has been set in the kernel to debug the application. When the breakpoint is hit the system drops in to kdb, and after a 'go', the 32-bit application dies with 'Trace/breakpoint trap'. The problem does not occur on the vanilla kernel 'linux-2.6.14.2.tar.gz' and kdb patches 'kdb-v4.4-2.6.14-rc2-common-1' and 'kdb-v4.4-2.6.14-rc2-x86_64-1'. A one line in kdbasupport.c helps solve the problem with SLES9-2.6.5-7.233. ---------------------------- --- kdbasupport.c.orig 2005-11-25 23:33:34.000000000 +0530 +++ kdbasupport.c 2005-11-30 00:57:13.000000000 +0530 @@ -1027,6 +1027,8 @@ kdba_clearsinglestep(struct pt_regs *reg regs->eflags |= EF_IE; else regs->eflags &= ~EF_IE; + + clear_tsk_thread_flag(current,TIF_SINGLESTEP); } --------------------------- Is there a patch that has gone in to kdb to solve the problem, pls let me know. Thanks, -- Chandru S --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.