Re: "Kernel" dumps.

From: Xin LI (delphij_at_frontfree.net)
Date: 01/12/05

  • Next message: Poul-Henning Kamp: "Re: Slight change of vnode<-->vm object relationship."
    Date: Wed, 12 Jan 2005 23:22:40 +0800
    To: Pawel Jakub Dawidek <pjd@FreeBSD.org>
    
    
    

    On Wed, Jan 12, 2005 at 02:19:50PM +0100, Pawel Jakub Dawidek wrote:
    > Hi.
    >
    > We need improve our dumps, really.
    >
    > First of all they are too big, because we dump whole memory.
    > Second of all, they are not safe for our users.
    >
    > We should implement two things:
    >
    > - dumping only kernel pages (dump is smaller and without sensitive data
    > from userland processes);
    > - add a malloc(9) flag M_NOUMP which will prevent from dumping
    > pages with sensitive data (e.g. GBDE keys).
    >
    > Any VM-skilled volunteers? Pretty please...

    A friend of mine has recently implemented a ``mini-dump'', which is
    primarly a conceptional implementation that I need to do some clean-ups
    on my spare time. I think in order to have a successful ``kernel dump''
    we need to keep least dependency on VM structures (and allow users to
    switch to a full dump when need).

    Cheers,

    -- 
    Xin LI <delphij frontfree net>	http://www.delphij.net/
    See complete headers for GPG key and other information.
    
    



  • Next message: Poul-Henning Kamp: "Re: Slight change of vnode<-->vm object relationship."

    Relevant Pages

    • Problems installing 5.1A on XP1000
      ... The drive I'm attempting an install to is an IBM ... 640 MBytes of System Memory ... isa0 at pci0 ... DUMP: Warning: no disk available for dump. ...
      (Tru64-UNIX-Managers)
    • Booting 4.0 on XP1000
      ... available memory from 0x2ef8000 to 0x7ffec000 ... isp0 at pci1 slot 6 ... gpc0 at isa0 ... DUMP: No primary swap, no explicit dumpdev. ...
      (Tru64-UNIX-Managers)
    • Re: LIVEDUMP
      ... LIVEDUMP came about as a side-effect of analyzing ... snapshot of memory is taken in a reserved memory area). ... happens if we analyze LIVE memory instead of a copy of it. ... medium systems had 0DM long before that (dump memory for mix-id 0, ...
      (comp.sys.unisys)
    • SUMMARY: Problems installing 5.1A on XP1000
      ... The drive I'm attempting an install to is an IBM ... 640 MBytes of System Memory ... isa0 at pci0 ... DUMP: Warning: no disk available for dump. ...
      (Tru64-UNIX-Managers)
    • RE: Hangs during "dump" with 6.0 and current ports
      ... Due to lack of memory I had added an additional swap-file via mdconfig 3 ... filesystem with snapshots active and the swapfile is in the same filesystem ... Hangs during "dump" with 6.0 and current ports ... Maybe you need some more swap space? ...
      (freebsd-questions)