Re: Info about /dev/kmem required

From: Frank Neuber (neuber@convergence.de)
Date: Mon Aug 20 2001 - 13:21:08 EST


On Fri, Aug 17, 2001 at 05:57:39PM -0400, Erik Mouw wrote:
> On Fri, Aug 17, 2001 at 07:29:08PM +0530, Milind wrote:
> > I wanted some info about ' /dev/kmem ' file with respect to following
> >
> > 1) What this file contains?
>
> >From Documentation/devices.txt:
>
> 1 char Memory devices
> 1 = /dev/mem Physical memory access
> 2 = /dev/kmem Kernel virtual memory access
>
> > 2) Who writes into this file?
>
> Normally nobody does, though it can be used to patch up a running
> system (in theory).
>
> > Reply at the earliest.
>
> I'm sorry, we're not a helpdesk.

I think You can use /dev/kmem as an corefile for gdb. So it is possible to debug
the linux kernel (of course read only :-)).

 Frank

-- 
Dipl.-Ing. Elektrotechnik     convergence integrated media gmbh / HW
Frank Neuber                        Rosenthalerstr.51 / 10178 Berlin
Email:  neuber@convergence.de           Phone:  +49(0)30-72 62 06 50
WWW:    www.convergence.de              Fax:    +49(0)30-72 62 06 55
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:36 EST