kdb
[Top] [All Lists]

Re: Activating kdb without pause key?

To: Christian Weiske <cweiske@xxxxxxxxxx>
Subject: Re: Activating kdb without pause key?
From: Jay Lan <jlan@xxxxxxx>
Date: Sun, 08 Jun 2008 12:06:20 -0700
Cc: kdb@xxxxxxxxxxx
In-reply-to: <20080608205351.502406cb@xxxxxxxxxxxxxxxxxxxx>
References: <20080608102514.3673eeb5@xxxxxxxxxxxxxxxxxxxx> <484C09C5.3000209@xxxxxxx> <20080608185847.5a736672@xxxxxxxxxxxxxxx> <20080608205351.502406cb@xxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20060317)
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 <path>/kdb_enter.ko" would drop you into kdb.

To exit back to your running kernel, you need to "kill -15 <pid>"
where <pid> 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.
<Prev in Thread] Current Thread [Next in Thread>