From owner-freebsd-current@FreeBSD.ORG Tue Nov 10 09:42:03 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 778F5106566B for ; Tue, 10 Nov 2009 09:42:03 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from forward5.yandex.ru (forward5.yandex.ru [77.88.46.21]) by mx1.freebsd.org (Postfix) with ESMTP id 2C1328FC1B for ; Tue, 10 Nov 2009 09:42:02 +0000 (UTC) Received: from webmail85.yandex.ru (webmail85.yandex.ru [77.88.47.159]) by forward5.yandex.ru (Yandex) with ESMTP id 8558087074A; Tue, 10 Nov 2009 12:42:01 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by webmail85.yandex.ru (Yandex) with ESMTP id 3B9F0654494; Tue, 10 Nov 2009 12:42:01 +0300 (MSK) X-Yandex-Spam: 1 X-Yandex-Front: webmail85 X-Yandex-TimeMark: 1257846121 Received: from netman.spbcity.net (netman.spbcity.net [77.244.18.5]) by mail.yandex.ru with HTTP; Tue, 10 Nov 2009 12:41:59 +0300 From: S.N.Grigoriev To: "Alexandre \"Sunny\" Kovalenko" 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> MIME-Version: 1.0 Message-Id: <6511257846119@webmail85.yandex.ru> Date: Tue, 10 Nov 2009 12:41:59 +0300 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: freebsd-current@freebsd.org Subject: Re: 8.0RC2 amd64 - kernel panic running make buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2009 09:42:03 -0000 07.11.09, 13:32, "Alexandre \"Sunny\" Kovalenko" 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.