Date: Fri, 4 Apr 2008 12:06:07 +0900 From: "Kuba Tyszko" <kubatyszko@gmail.com> To: freebsd-hackers@freebsd.org Subject: force kernel dump - problems Message-ID: <ef39b12a0804032006o7422f6f7t188787f15f16fb9e@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef39b12a0804032006o7422f6f7t188787f15f16fb9e>