Re: kernel mode console

From: Billy Rose
Date: Thu Mar 04 2004 - 20:01:38 EST


On Wednesday 03 March 2004 10:12 pm, Krishnakumar. R wrote:
> Hi,
>
> > set up a remote debug session just to poke around in the kernel.
> > Remote debug setup is complex and often fragile.
>
> There is framework called "Kprobes" available, which may
> be of use in the cases were remote debugging is a no-no.
>
> After you have applied the kprobes patch, you can put probes
> at different portions of the kernel and can dump registers
> variables etc.
>
> More details can be found at
> http://www-124.ibm.com/linux/projects/kprobes.
>
>
> Regards,
> KK.

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?
--
. ~billyrose/make
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/