DragonFly BSD
DragonFly kernel List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: savecore vs. hw.physmem


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Mar 2006 09:11:45 -0800 (PST)

:
:Hi,
:
:To reduce kernel dump sizes, one can set the hw.physmem kernel env var
:to a small value at boot time. However, recently I experienced that
:savecore(8) fails to fetch the dump if the actually used physmem size
:differs from the one used at dump time.
:
:Could this be fixed?
:
:Thanks,
:Csaba

    The dump is calculated from the end of swap space backwards, based on
    physical memory.  So the answer is: not easily.  But you might be able
    to work around the problem by adding an option to savecore to allow
    the amount of physical memory (as of when the crash occured) to be
    specified.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]