Re: Walking all the physical memory in an x86 system

From: P
Date: Tue Nov 30 2004 - 11:03:23 EST


Jan Engelhardt wrote:
I've written a 2.4 kernel module where I'm trying to walk and
record all of the physical memory contents in an x86 system. I have the
following code fragment that does it but I suspect I'm missing a portion
of the memory:

Is there a better way to record all of the contents of physical memory
since what I have above doesn't seem to get everything?


Maybe something userspace based?

dd_rescue /dev/mem copyofmem

Doesn't equate to a power of 2
(nor does `grep MemTotal /proc/meminfo`)

PÃdraig.
-
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/