Re: Walking all the physical memory in an x86 system

From: Jan Engelhardt (jengelh_at_linux01.gwdg.de)
Date: 11/30/04

  • Next message: Linus Torvalds: "Re: [RFC] Splitting kernel headers and deprecating __KERNEL__"
    Date:	Tue, 30 Nov 2004 16:55:10 +0100 (MET)
    To: "Hanson, Jonathan M" <jonathan.m.hanson@intel.com>
    
    

    > 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

    Jan Engelhardt

    -- 
    Gesellschaft für Wissenschaftliche Datenverarbeitung
    Am Fassberg, 37077 Göttingen, www.gwdg.de
    -
    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/
    

  • Next message: Linus Torvalds: "Re: [RFC] Splitting kernel headers and deprecating __KERNEL__"

    Relevant Pages

    • Re: [RFC][PATCH] inotify 0.9
      ... You can only find two contiguous free pages in physical memory so ... Inodes come from the slabcache. ... handful of hundreds of bytes pinned. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Aliasing physical memory using virtual memory (from a d
      ... 821 * maps a range of physical memory into the requested pages. ... I assume 'the requested pages' here refer to 'the specified virtual pages', ... the old mappings are removed. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: page fault scalability patch final : i386 tested, x86_64 support added
      ... >> Christoph definitely has a point, this is even more virtual space ... so that the kernel will in theory support CPUs will more physical memory. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • what is the difference between __free_page() & page_cache_release()
      ... I am writing a driver for 2.6 in which i am locking down some pages ... into the physical memory by manually traversing the page tables. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Problem with remap_page_range/mmap
      ... > if you mark them PG_reserved, but even that use is usually not a good idea. ... big physical memory pieces for DMA, ... "Omnis enim res, quae dando non deficit, dum habetur et non datur, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)