savecore vs. hw.physmem

Csaba Henk csaba.henk at creo.hu
Thu Mar 23 11:01:22 PST 2006


On 2006-03-23, Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
>     The dump is calculated from the end of swap space backwards, based on
>     physical memory.  So the answer is: not easily.

Well then, my reminiscences of successfully saving the dump of a low
hw.physmem'd session come from FreeBSD. Looking after it, they rewrote
the dumping code in the spring of 2002; see the relevant commits listed
at

  http://hg.fr.freebsd.org/src-head/?cmd=changelog;rev=71458

(from rev. 71452 to rev. 71458).

>     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.

Thanks, that will do the job.

Regards,
Csaba





More information about the Kernel mailing list