force kernel dump - problems
Kuba Tyszko
kubatyszko at gmail.com
Fri Apr 4 03:34:45 UTC 2008
Hi,
I am trying to force kernel dump, and observing weird behavior:
I have created kernel module that registers sysctl for me, after touching
that sysctl it calls dumpsys() function which is supposed to dump kernel to
disk.
This is what i get in dmesg and on console
---------------
Physical memory: 243 MB
Dumping 35 MB:Attempt to write outside dump device boundaries.
Offset: 14008330027167693824 mediaoffset: 3221225472 mediasize:
14008330023983906816 , length: 512
** DUMP FAILED (ERROR 6) **
---------------
(The Offset.* line was added by me to the kernel source for debugging, but
anyway it shows weird values - the same regardless of swap device i choose
via dumpon ( i have 2 swap partitions for this) ).
Can anyone help me with this ?,
I would like to know first how to obtain kernel dump, then how to check why
it doesn't work my way.
Thanks
More information about the freebsd-hackers
mailing list