This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Foundation_v8: guest mem/stat dump ?

Hi All,

Hope this is the place to ask.

I'd like to get a Foundation_V8 running guest memory dump, either the raw meme dump, and if I could get the proc state would be nice (but optional).

I need this to implement a kernel debugger before Linux is able to actually do a kernel crash dump.

Thanx in advance for any pointers

Cheers,

Phi

Parents
  • Hi All,

    Thanx Alban for moving my initial probe to a more appropriate list.

    I look for people in charge of the Foundation_v8 development, in case they can provide advises.

    May be my need can be fullfilled with stock Foundation_v8, or may be I need a 'special'

    My need could be expressed like this, upon a given signal number sent
    to Foundation_v8, it would.
    - dump the processor(s) regs (I use only 1 processor, so a special
      could handle UP only)
    - Dump the phys mem area
    - Produce a text file describing each dump file.

    The dump files are plain binary 64bits words, named like reg.0, reg.1,
    reg.N for processors N register files, and mem.0, mem.1, mem.N for phys
    mem area N.

    The text file gives
    The register names order found in each reg.X followed by couple
    mem.X, start phys addr. (the file size give the length).

    With this I would be able to work on my kernel crash dump debugger.


    Note that I understand that Foundation_v8 is non public, so I don't
    offer to impleemnt this myself. If I am wrong and Foundation_v8 can be
    'hacked' I would be happy to contribute.

    Cheers,
    Phi

Reply
  • Hi All,

    Thanx Alban for moving my initial probe to a more appropriate list.

    I look for people in charge of the Foundation_v8 development, in case they can provide advises.

    May be my need can be fullfilled with stock Foundation_v8, or may be I need a 'special'

    My need could be expressed like this, upon a given signal number sent
    to Foundation_v8, it would.
    - dump the processor(s) regs (I use only 1 processor, so a special
      could handle UP only)
    - Dump the phys mem area
    - Produce a text file describing each dump file.

    The dump files are plain binary 64bits words, named like reg.0, reg.1,
    reg.N for processors N register files, and mem.0, mem.1, mem.N for phys
    mem area N.

    The text file gives
    The register names order found in each reg.X followed by couple
    mem.X, start phys addr. (the file size give the length).

    With this I would be able to work on my kernel crash dump debugger.


    Note that I understand that Foundation_v8 is non public, so I don't
    offer to impleemnt this myself. If I am wrong and Foundation_v8 can be
    'hacked' I would be happy to contribute.

    Cheers,
    Phi

Children
No data