Date: Tue, 10 Nov 2009 12:41:59 +0300 From: S.N.Grigoriev <serguey-grigoriev@yandex.ru> To: "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: 8.0RC2 amd64 - kernel panic running make buildworld Message-ID: <6511257846119@webmail85.yandex.ru> In-Reply-To: <1257618758.1511.14.camel@RabbitsDen> References: <1031257439203@webmail57.yandex.ru> <20091105184925.16b55c43@ernst.jennejohn.org> <31221257446063@webmail71.yandex.ru> <20091106101943.5a763f43@ernst.jennejohn.org> <41361257585651@webmail39.yandex.ru> <20091107115256.3df62bc3@ernst.jennejohn.org> <1257618758.1511.14.camel@RabbitsDen>
next in thread | previous in thread | raw e-mail | index | archive | help
07.11.09, 13:32, "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com> wrote: > Sergey, I think it would be best if you follow > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN > and the do an ultimate test: > * quiesce your system > * switch to the console > * sync (few times, if you are really old school ;) > * sysctl debug.kdb.panic=1 (this would *panic* the system and, given > everything is set-up properly, produce the crash dump) > > if you do not have debug.kdb.panic sysctl, please, add option KDB to > your kernel configuration. > If you get crash dump from the kernel-induced panic and your system > keeps rebooting without a trace, I would suspect some hardware testing > might be in order. Alexandre, I followed your tips. The kernel configuration now contains options DDB and KDB. The sysctl variable 'debug.debugger_on_panic' is set to '1'. After the 'sysctl debug.kdb.panic=1' command the debugger prompt appears. To have a crash dump I should type 'panic' on the debugger prompt. If I type 'reboot' instead, there are no crash dumps. Is that behaviour correct? Another question: must all panics go to the bebugger prompt? I still have neither crash dumps nor debugger prompt during world/kernel compilations. Just reboots. -- Regards, S.Grigoriev.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6511257846119>