From: Rob Couto <rpc@cafe4111.org>
To: Billy Rose <billyrose@cox-internet.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel mode console
Date: Thu, 4 Mar 2004 22:20:00 -0500 [thread overview]
Message-ID: <200403042220.00046.rpc@cafe4111.org> (raw)
In-Reply-To: <200403041858.45617.billyrose@cox-internet.com>
On Thursday 04 March 2004 07:58 pm, you wrote:
> i think perhaps i need to expound upon what i have a vision of. a kernel
> mode console is just that: a console designed to run in kernel mode. it
> could have built in commands to allow for quick and dirty examination of
> stuff (anything really, like memory dumps) and a command processor for
> scripted stuff, but the true power of it comes in when you issue a command
> that is not internal to the console. it could run a special debugger, an
> application that installs a probe, a memory monitor, etc., etc. in short it
> is not a debugger per-say, but a "god mode" console for the linux kernel.
> that is what i had a vision of. the executables it would run would
> necessarily be compiled for that. again, i ask is that worth the time
> coding it?
a kbash? ksh is taken... kash would become instantly confusing to some
english-speakers... fun for some, but others would hear it and think 'cache'
and immediately be thrown out of sync ;)
you could extend proc (or is it just sys?) that way, creating files that can
trigger events ('echo (desired range) > /proc/sh/memdump/range', 'echo 1
> /proc/sh/memdump/go' or even simply 'cat /proc/sh/memdump/out' after
inputting range) and stick with the cat/echo control... some of your
userspace shell's commands could simply be wrappers for ordinary 'echo foo
> /proc/foo' already
OTOH, someone said proc's been abused already, having it do things that aren't
its job and causing disorganization in the kernel. i dunno, that's why im not
in charge
--
Rob Couto
rpc@cafe4111.org
Rules for computing success:
1) Attitude is no substitute for competence.
2) Ease of use is no substitute for power.
3) Safety matters; use a static-free hammer.
--
next prev parent reply other threads:[~2004-03-05 3:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 3:52 kernel mode console Billy Rose
2004-03-03 3:57 ` H. Peter Anvin
2004-03-03 17:09 ` Matt Mackall
2004-03-03 16:49 ` Tim Bird
2004-03-04 4:12 ` Krishnakumar. R
2004-03-05 0:58 ` Billy Rose
2004-03-05 3:20 ` Rob Couto [this message]
2004-03-05 11:47 ` John Bradford
[not found] <200403022152.06950.billyrose@cox-internet.com.suse.lists.linux.kernel>
2004-03-03 17:18 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200403042220.00046.rpc@cafe4111.org \
--to=rpc@cafe4111.org \
--cc=billyrose@cox-internet.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox