From owner-freebsd-current@FreeBSD.ORG Sat Nov 7 18:32:43 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 4D5111065693 for ; Sat, 7 Nov 2009 18:32:43 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id F101D8FC0A for ; Sat, 7 Nov 2009 18:32:42 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so376438qwb.7 for ; Sat, 07 Nov 2009 10:32:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=a+bXcE+zpXGVUaNfOETqG8y5vdyArspJzfgQ20dLc30=; b=xAThZbIgq5W1F1wj16seiGGvM9Uo0ygYnbHa4B0uDqE1btZVFK1NNAK22tuJI1WCab 6IwUR+8+vjaYX7EEKtyP50uGsLsT4F1ar1YcvTYt3D1KL8eHa8bngfQSydVth0scP+aM BFKcIjFi17NLkljjqKNLdnNLWJAqVxpJYvzXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=OjTG4CHmyTA4DAROVHRR9XYOSa3fZhI77R9Ode92EX725u2+l76Votrv6tJuKhrVBN rxUdnYSlyWiyi9qxNk2oTNc/FdaMIxAGXkVAw+ngEYhQeSnfFllJhw4VMsUZp5An57dl ekQaRccdWuPIff8FXAZ9Gyzj++QimtKl+DO68= Received: by 10.224.34.3 with SMTP id j3mr3132237qad.315.1257618761755; Sat, 07 Nov 2009 10:32:41 -0800 (PST) Received: from ?10.0.3.231? (pool-173-70-28-149.nwrknj.fios.verizon.net [173.70.28.149]) by mx.google.com with ESMTPS id 20sm1031399qyk.13.2009.11.07.10.32.40 (version=SSLv3 cipher=RC4-MD5); Sat, 07 Nov 2009 10:32:41 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: "S.N.Grigoriev" In-Reply-To: <20091107115256.3df62bc3@ernst.jennejohn.org> 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> Content-Type: text/plain; charset="UTF-8" Date: Sat, 07 Nov 2009 13:32:38 -0500 Message-Id: <1257618758.1511.14.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit 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: Sat, 07 Nov 2009 18:32:43 -0000 On Sat, 2009-11-07 at 11:52 +0100, Gary Jennejohn wrote: > On Sat, 07 Nov 2009 12:20:51 +0300 > S.N.Grigoriev wrote: > > > I've recompiled the kernel with 'options DDB' (using 7-stable). > > The sysctl variable 'debug.debugger_on_panic' is now set to '1'. > > But I still have silent reboots every time I try to build world/kernel. > > 'savecore -v' reports: 'no dumps found'. What did I do incorrectly? > > > > It could be that you also need "options KDB" for the kernel to enter > ddb on panic, but I'm not 100% sure about that. > > Can't hurt to try it. > > Do you also have dumpdev defined in /etc/rc.conf? It's set to AUTO > by default, Apparently not on 8.0RC... RabbitsDen# grep dumpdev defaults/rc.conf dumpdev="NO" # Device to crashdump to (device name, AUTO, or NO). savecore_flags="" # Used if dumpdev is enabled above, and present. RabbitsDen# uname -a FreeBSD RabbitsDen.RabbitsLawn.verizon.net 8.0-RC2 FreeBSD 8.0-RC2 #0 r198931: Sat Nov 7 12:07:32 EST 2009 root@RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60 i386 while on 7.2 twinhead# grep dumpdev defaults/rc.conf dumpdev="AUTO" # Device to crashdump to (device name, AUTO, or NO). savecore_flags="" # Used if dumpdev is enabled above, and present. twinhead# uname -a FreeBSD twinhead.rabbitslawn.verizon.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Sat Aug 22 12:43:26 EDT 2009 root@twinhead.rabbitslawn.verizon.net:/usr/obj/usr/src/sys/TWINHEAD amd64 So one needs explicit dumpdev="AUTO" in the /etc/rc.conf. That caught me by surprise too... 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 Kovalenko (Олександр Коваленко)