From cweiske@cweiske.de Sun Jun 8 01:24:47 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 01:24:51 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m588Ol7V025200 for ; Sun, 8 Jun 2008 01:24:47 -0700 X-ASG-Debug-ID: 1212913541-785d00680000-sLlkUa X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.cweiske.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D641CC4F987 for ; Sun, 8 Jun 2008 01:25:42 -0700 (PDT) Received: from mail.cweiske.de (cweiske.de [80.237.146.62]) by cuda.sgi.com with ESMTP id H4Kk25LmlfrI8peM for ; Sun, 08 Jun 2008 01:25:42 -0700 (PDT) Received: by mail.cweiske.de (Postfix, from userid 1012) id EFA553F8A009; Sun, 8 Jun 2008 10:25:40 +0200 (CEST) Received: from bogo.home.cweiske.de (1Cust173.tnt9.ber2.deu.da.uu.net [149.225.160.173]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail.cweiske.de (Postfix) with ESMTP id ECDF33F8A006 for ; Sun, 8 Jun 2008 10:25:38 +0200 (CEST) Date: Sun, 8 Jun 2008 10:25:14 +0200 From: Christian Weiske To: kdb@oss.sgi.com X-ASG-Orig-Subj: Activating kdb without pause key? Subject: Activating kdb without pause key? Message-ID: <20080608102514.3673eeb5@bogo.home.cweiske.de> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.8; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-type: text/plain X-Barracuda-Connect: cweiske.de[80.237.146.62] X-Barracuda-Start-Time: 1212913542 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0030 1.0000 -2.0017 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.00 X-Barracuda-Spam-Status: No, SCORE=-2.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.52700 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Content-Transfer-Encoding: 8bit X-archive-position: 1380 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: cweiske@cweiske.de Precedence: bulk X-list: kdb Hello, I experience problems on with tuxonice (suspend to ram) on my macbook. KDB is installed, but I can't activate it because it requires that I press the Pause key to activate it. Can I change this - the laptop doesn't have the key. -- Regards/Mit freundlichen Grüßen Christian Weiske -- Attached file included as plaintext by Ecartis -- -- File: signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhLl20ACgkQFMhaCCTq+CNZswCcDH614qX+0OyABNAhX36cG0h9 wukAniyUbImpfVrkwofqidCWwGslScFo =/TlD -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jlan@sgi.com Sun Jun 8 09:33:06 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 09:33:09 -0700 (PDT) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m58GX5mB008226 for ; Sun, 8 Jun 2008 09:33:06 -0700 Received: from [127.0.0.1] (sshgate.corp.sgi.com [198.149.36.12]) by cthulhu.engr.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id m58GXvoD017224; Sun, 8 Jun 2008 09:33:58 -0700 Message-ID: <484C09C5.3000209@sgi.com> Date: Sun, 08 Jun 2008 09:33:09 -0700 From: Jay Lan User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Christian Weiske CC: kdb@oss.sgi.com Subject: Re: Activating kdb without pause key? References: <20080608102514.3673eeb5@bogo.home.cweiske.de> In-Reply-To: <20080608102514.3673eeb5@bogo.home.cweiske.de> X-Enigmail-Version: 0.94.0.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-archive-position: 1381 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jlan@sgi.com Precedence: bulk X-list: kdb Christian Weiske wrote: > Hello, > > I experience problems on with tuxonice (suspend to ram) on my macbook. > KDB is installed, but I can't activate it because it requires that I > press the Pause key to activate it. Can I change this - the laptop > doesn't have the key. To activate KDB at boot is done by turn off this configuration flag in building your kernel: CONFIG_KDB_OFF # CONFIG_KDB_OFF is not set If your kernel was built with CONFIG_KDB_OFF, you can add this option to your kernel boot command line: "kdb=on". However, AFAIK kdb support is only maintained for ia64, x86_64, and i386 architectures. Cheers, - jay > --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From cweiske@cweiske.de Sun Jun 8 09:55:40 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 09:55:44 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m58GtewO009789 for ; Sun, 8 Jun 2008 09:55:40 -0700 X-ASG-Debug-ID: 1212944194-08fe00510000-sLlkUa X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.cweiske.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 992341BA0C36 for ; Sun, 8 Jun 2008 09:56:34 -0700 (PDT) Received: from mail.cweiske.de (cweiske.de [80.237.146.62]) by cuda.sgi.com with ESMTP id pSeHdpPmyuI8kFAb for ; Sun, 08 Jun 2008 09:56:34 -0700 (PDT) Received: by mail.cweiske.de (Postfix, from userid 1012) id B51803F8A006; Sun, 8 Jun 2008 18:56:33 +0200 (CEST) Received: from bogo.home.cweiske.de (1Cust173.tnt5.ber2.deu.da.uu.net [149.225.86.173]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail.cweiske.de (Postfix) with ESMTP id C78AD3F8A004 for ; Sun, 8 Jun 2008 18:56:31 +0200 (CEST) Date: Sun, 8 Jun 2008 18:56:07 +0200 From: Christian Weiske To: kdb@oss.sgi.com X-ASG-Orig-Subj: Re: Activating kdb without pause key? Subject: Re: Activating kdb without pause key? Message-ID: <20080608185607.19b4dda9@bogo.home.cweiske.de> In-Reply-To: <484C09C5.3000209@sgi.com> References: <20080608102514.3673eeb5@bogo.home.cweiske.de> <484C09C5.3000209@sgi.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.8; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-type: text/plain X-Barracuda-Connect: cweiske.de[80.237.146.62] X-Barracuda-Start-Time: 1212944195 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.52734 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Content-Transfer-Encoding: 8bit X-archive-position: 1382 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: cweiske@cweiske.de Precedence: bulk X-list: kdb Hello Jan, > > I experience problems on with tuxonice (suspend to ram) on my > > macbook. KDB is installed, but I can't activate it because it > > requires that I press the Pause key to activate it. Can I change > > this - the laptop doesn't have the key. > > To activate KDB at boot is done by turn off this configuration > flag in building your kernel: CONFIG_KDB_OFF > # CONFIG_KDB_OFF is not set > If your kernel was built with CONFIG_KDB_OFF, you can add this > option to your kernel boot command line: "kdb=on". My kernel was configured without CONFIG_KDB_OFF, so kdb should be active. The problem is that I cannot come to the point at which I can print backtraces etc, because the Pause key is missing on my keyboard. As far as I understood, I have to press it to enter kdb and can then type things like "bt" and so. > However, AFAIK kdb support is only maintained for ia64, x86_64, and > i386 architectures. The macbook I am using is x86_64. -- Regards/Mit freundlichen Grüßen Christian Weiske -- Attached file included as plaintext by Ecartis -- -- File: signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhMDyoACgkQFMhaCCTq+CObCwCeLuuyAWL1+kFRGqjiutEUGfel LXQAniZhg8P4VUM0rN/jUIgGzXLNlMLC =JUgm -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From bwalle@suse.de Sun Jun 8 09:57:53 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 09:57:57 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m58GvrD2009942 for ; Sun, 8 Jun 2008 09:57:53 -0700 X-ASG-Debug-ID: 1212944328-7c9f01840000-sLlkUa X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.suse.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6D81C202CD5 for ; Sun, 8 Jun 2008 09:58:49 -0700 (PDT) Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by cuda.sgi.com with ESMTP id PkXasMCDbGm0INFb for ; Sun, 08 Jun 2008 09:58:49 -0700 (PDT) X-ASG-Whitelist: Client X-ASG-Whitelist: Barracuda Reputation Received: from Relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 57370415F6 for ; Sun, 8 Jun 2008 18:58:48 +0200 (CEST) Date: Sun, 8 Jun 2008 18:58:47 +0200 From: Bernhard Walle To: kdb@oss.sgi.com X-ASG-Orig-Subj: Re: Activating kdb without pause key? Subject: Re: Activating kdb without pause key? Message-ID: <20080608185847.5a736672@kopernikus.site> In-Reply-To: <484C09C5.3000209@sgi.com> References: <20080608102514.3673eeb5@bogo.home.cweiske.de> <484C09C5.3000209@sgi.com> Organization: SUSE LINUX Products GmbH X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Barracuda-Connect: cantor.suse.de[195.135.220.2] X-Barracuda-Start-Time: 1212944329 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-archive-position: 1383 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: bwalle@suse.de Precedence: bulk X-list: kdb * Jay Lan [2008-06-08 09:33]: > Christian Weiske wrote: > > > > I experience problems on with tuxonice (suspend to ram) on my macbook. > > KDB is installed, but I can't activate it because it requires that I > > press the Pause key to activate it. Can I change this - the laptop > > doesn't have the key. > > > To activate KDB at boot is done by turn off this configuration > flag in building your kernel: CONFIG_KDB_OFF > # CONFIG_KDB_OFF is not set > If your kernel was built with CONFIG_KDB_OFF, you can add this > option to your kernel boot command line: "kdb=on". Yes, but you need to press PAUSE to get into KDB. It looks like the keyboard of a MacBook has no PAUSE key. Maybe an external USB keyboard helps. (The internal keyboard of Macs is also connected via USB contrary to most PC laptops where it's still PS/2. So USB support in KDB is mandatory for a MacBook.) > However, AFAIK kdb support is only maintained for ia64, x86_64, and > i386 architectures. MacBook is Intel, not PPC [1]. Bernhard [1] http://en.wikipedia.org/wiki/MacBook -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Maintenance --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From cweiske@cweiske.de Sun Jun 8 11:53:27 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 11:53:31 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m58IrRXS019518 for ; Sun, 8 Jun 2008 11:53:27 -0700 X-ASG-Debug-ID: 1212951260-0aac024a0000-sLlkUa X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.cweiske.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B25C42033A4 for ; Sun, 8 Jun 2008 11:54:21 -0700 (PDT) Received: from mail.cweiske.de (cweiske.de [80.237.146.62]) by cuda.sgi.com with ESMTP id 1Pb6Ea7UBLlOZoek for ; Sun, 08 Jun 2008 11:54:21 -0700 (PDT) Received: by mail.cweiske.de (Postfix, from userid 1012) id 7D5483F8A006; Sun, 8 Jun 2008 20:54:19 +0200 (CEST) Received: from bogo.home.cweiske.de (1Cust212.tnt4.ber2.deu.da.uu.net [149.225.58.212]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail.cweiske.de (Postfix) with ESMTP id 3280A3F8A004 for ; Sun, 8 Jun 2008 20:54:14 +0200 (CEST) Date: Sun, 8 Jun 2008 20:53:51 +0200 From: Christian Weiske To: kdb@oss.sgi.com X-ASG-Orig-Subj: Re: Activating kdb without pause key? Subject: Re: Activating kdb without pause key? Message-ID: <20080608205351.502406cb@bogo.home.cweiske.de> In-Reply-To: <20080608185847.5a736672@kopernikus.site> References: <20080608102514.3673eeb5@bogo.home.cweiske.de> <484C09C5.3000209@sgi.com> <20080608185847.5a736672@kopernikus.site> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.8; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-type: text/plain X-Barracuda-Connect: cweiske.de[80.237.146.62] X-Barracuda-Start-Time: 1212951261 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.52742 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Content-Transfer-Encoding: 8bit X-archive-position: 1384 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: cweiske@cweiske.de Precedence: bulk X-list: kdb Hello Bernhard, > Yes, but you need to press PAUSE to get into KDB. It looks like the > keyboard of a MacBook has no PAUSE key. Maybe an external USB keyboard > helps. (The internal keyboard of Macs is also connected via USB > contrary to most PC laptops where it's still PS/2. So USB support in > KDB is mandatory for a MacBook.) Changing KDB internally to listen on other keys is no option? -- Regards/Mit freundlichen Grüßen Christian Weiske -- Attached file included as plaintext by Ecartis -- -- File: signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhMKsEACgkQFMhaCCTq+CNSiQCeLYxl+05pXzZ0u/ca18jaLv99 sVAAn3Tt4wqj+W4Fk7uCqRlPR3xzNlBG =D5Iy -----END PGP SIGNATURE----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From bwalle@suse.de Sun Jun 8 12:04:36 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 12:04:40 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m58J4ahl020692 for ; Sun, 8 Jun 2008 12:04:36 -0700 X-ASG-Debug-ID: 1212951910-11bb02930000-sLlkUa X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.suse.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id CC7EDF4C914 for ; Sun, 8 Jun 2008 12:05:10 -0700 (PDT) Received: from mx1.suse.de (mx1.suse.de [195.135.220.2]) by cuda.sgi.com with ESMTP id vA6q8vVR9QQ04MmX for ; Sun, 08 Jun 2008 12:05:10 -0700 (PDT) X-ASG-Whitelist: Client X-ASG-Whitelist: Barracuda Reputation Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 0B4E6415B2 for ; Sun, 8 Jun 2008 21:05:09 +0200 (CEST) Date: Sun, 8 Jun 2008 21:05:08 +0200 From: Bernhard Walle To: kdb@oss.sgi.com X-ASG-Orig-Subj: Re: Activating kdb without pause key? Subject: Re: Activating kdb without pause key? Message-ID: <20080608210508.00666338@kopernikus.site> In-Reply-To: <20080608205351.502406cb@bogo.home.cweiske.de> References: <20080608102514.3673eeb5@bogo.home.cweiske.de> <484C09C5.3000209@sgi.com> <20080608185847.5a736672@kopernikus.site> <20080608205351.502406cb@bogo.home.cweiske.de> Organization: SUSE LINUX Products GmbH X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Barracuda-Connect: mx1.suse.de[195.135.220.2] X-Barracuda-Start-Time: 1212951910 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-archive-position: 1385 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: bwalle@suse.de Precedence: bulk X-list: kdb * Christian Weiske [2008-06-08 20:53]: > > > Yes, but you need to press PAUSE to get into KDB. It looks like the > > keyboard of a MacBook has no PAUSE key. Maybe an external USB keyboard > > helps. (The internal keyboard of Macs is also connected via USB > > contrary to most PC laptops where it's still PS/2. So USB support in > > KDB is mandatory for a MacBook.) > Changing KDB internally to listen on other keys is no option? Well, of course that would be possible (and would make sense, IMO). But you have to change the source code ... Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Maintenance --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jlan@sgi.com Sun Jun 8 12:06:16 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 12:06:20 -0700 (PDT) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m58J6FnF020818 for ; Sun, 8 Jun 2008 12:06:16 -0700 Received: from [127.0.0.1] (sshgate.corp.sgi.com [198.149.36.12]) by cthulhu.engr.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id m58J78oD029367; Sun, 8 Jun 2008 12:07:08 -0700 Message-ID: <484C2DAC.30704@sgi.com> Date: Sun, 08 Jun 2008 12:06:20 -0700 From: Jay Lan User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Christian Weiske CC: kdb@oss.sgi.com Subject: Re: Activating kdb without pause key? References: <20080608102514.3673eeb5@bogo.home.cweiske.de> <484C09C5.3000209@sgi.com> <20080608185847.5a736672@kopernikus.site> <20080608205351.502406cb@bogo.home.cweiske.de> In-Reply-To: <20080608205351.502406cb@bogo.home.cweiske.de> X-Enigmail-Version: 0.94.0.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-archive-position: 1386 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jlan@sgi.com Precedence: bulk X-list: kdb Christian Weiske wrote: Hi Christian, I attached a patch "test-module-kdb_enter.patch". Apply the patch and build it as a kernel module. Then do "insmod /kdb_enter.ko" would drop you into kdb. To exit back to your running kernel, you need to "kill -15 " where is the pid of "insmod" on every cpu of your system. If you do a "kill ..." on one cpu, and do a "go", you will be dropped into kdb on a different cpu. You need to clear all of them to get back. Hope this help. Cheers, - jay > Hello Bernhard, > >> Yes, but you need to press PAUSE to get into KDB. It looks like the >> keyboard of a MacBook has no PAUSE key. Maybe an external USB keyboard >> helps. (The internal keyboard of Macs is also connected via USB >> contrary to most PC laptops where it's still PS/2. So USB support in >> KDB is mandatory for a MacBook.) > Changing KDB internally to listen on other keys is no option? > > -- Binary/unsupported file stripped by Ecartis -- -- Type: text/x-patch -- File: test-module-kdb_enter.patch --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jlan@sgi.com Sun Jun 8 12:31:37 2008 Received: with ECARTIS (v1.0.0; list kdb); Sun, 08 Jun 2008 12:31:41 -0700 (PDT) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m58JVaf1027067 for ; Sun, 8 Jun 2008 12:31:37 -0700 Received: from [127.0.0.1] (sshgate.corp.sgi.com [198.149.36.12]) by cthulhu.engr.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id m58JWToD031414; Sun, 8 Jun 2008 12:32:29 -0700 Message-ID: <484C339D.4080804@sgi.com> Date: Sun, 08 Jun 2008 12:31:41 -0700 From: Jay Lan User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Christian Weiske CC: kdb@oss.sgi.com Subject: Re: Activating kdb without pause key? References: <20080608102514.3673eeb5@bogo.home.cweiske.de> <484C09C5.3000209@sgi.com> <20080608185847.5a736672@kopernikus.site> <20080608205351.502406cb@bogo.home.cweiske.de> <484C2DAC.30704@sgi.com> In-Reply-To: <484C2DAC.30704@sgi.com> X-Enigmail-Version: 0.94.0.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-archive-position: 1387 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jlan@sgi.com Precedence: bulk X-list: kdb Jay Lan wrote: > Christian Weiske wrote: > Hi Christian, > > I attached a patch "test-module-kdb_enter.patch". > Apply the patch and build it as a kernel module. > Then do "insmod /kdb_enter.ko" would drop you into kdb. > > To exit back to your running kernel, you need to "kill -15 " > where is the pid of "insmod" on every cpu of your system. > If you do a "kill ..." on one cpu, and do a "go", you will be > dropped into kdb on a different cpu. You need to clear all > of them to get back. > > Hope this help. > > Cheers, > - jay > > > -- Binary/unsupported file stripped by Ecartis -- > -- Type: text/x-patch > -- File: test-module-kdb_enter.patch Huh??? Here it is. Hopefully identation is reserved... --- arch/x86/Makefile | 3 - arch/x86/test-module/Makefile | 6 ++ arch/x86/test-module/kdb_enter.c | 26 +++++++++ Index: linux/arch/x86/test-module/kdb_enter.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux/arch/x86/test-module/kdb_enter.c 2008-06-06 11:50:46.257358330 -0700 @@ -0,0 +1,26 @@ +#include +#include + +MODULE_LICENSE("GPL"); + +static int __init +kdb_enter_init(void) +{ + int cpu; + for_each_online_cpu(cpu) { + cpumask_t save_cpus_allowed = current->cpus_allowed; + cpumask_t new_cpus_allowed = cpumask_of_cpu(cpu); + set_cpus_allowed(current, new_cpus_allowed); + asm("\tint $129\n"); + set_cpus_allowed(current, save_cpus_allowed); + } + return 0; +} + +static void __exit +kdb_enter_exit(void) +{ +} + +module_init(kdb_enter_init) +module_exit(kdb_enter_exit) Index: linux/arch/x86/test-module/Makefile =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux/arch/x86/test-module/Makefile 2008-06-08 11:38:11.164687615 -0700 @@ -0,0 +1,1 @@ +obj-m += kdb_enter.o Index: linux/arch/x86/Makefile =================================================================== --- linux.orig/arch/x86/Makefile 2008-06-06 11:49:09.443551700 -0700 +++ linux/arch/x86/Makefile 2008-06-06 11:50:46.369355792 -0700 @@ -198,7 +198,8 @@ drivers-$(CONFIG_FB) += arch/x86/video/ endif # KDB support -drivers-$(CONFIG_KDB) += arch/x86/kdb/ +drivers-$(CONFIG_KDB) += arch/x86/kdb/ \ + arch/x86/test-module/ #### # boot loader support. Several targets are kept for legacy purposes > > > --------------------------- > Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.