savecore vs. hw.physmem

Matthew Dillon dillon at apollo.backplane.com
Thu Mar 23 09:24:14 PST 2006


:
: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 at xxxxxxxxxxxxx>





More information about the Kernel mailing list