From owner-freebsd-fs@FreeBSD.ORG Fri Sep 10 14:55:12 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10D01106564A for ; Fri, 10 Sep 2010 14:55:12 +0000 (UTC) (envelope-from a.smith@ukgrid.net) Received: from mx0.ukgrid.net (mx0.ukgrid.net [89.21.28.37]) by mx1.freebsd.org (Postfix) with ESMTP id C863A8FC15 for ; Fri, 10 Sep 2010 14:55:11 +0000 (UTC) Received: from [89.21.28.38] (port=21628 helo=omicron.ukgrid.net) by mx0.ukgrid.net with esmtp (Exim 4.72; FreeBSD) envelope-from a.smith@ukgrid.net id 1Ou50Q-0005mj-AE; Fri, 10 Sep 2010 15:55:10 +0100 Received: from voip.ukgrid.net (voip.ukgrid.net [89.107.16.9]) by webmail2.ukgrid.net (Horde Framework) with HTTP; Fri, 10 Sep 2010 15:55:10 +0100 Message-ID: <20100910155510.11831w104qjpyc4g@webmail2.ukgrid.net> Date: Fri, 10 Sep 2010 15:55:10 +0100 From: a.smith@ukgrid.net To: Jeremy Chadwick References: <20100909140000.5744370gkyqv4eo0@webmail2.ukgrid.net> <20100909182318.11133lqu4q4u1mw4@webmail2.ukgrid.net> <4C89D6A8.1080107@icyb.net.ua> <20100910143900.20382xl5bl6oo9as@webmail2.ukgrid.net> <20100910141127.GA13056@icarus.home.lan> In-Reply-To: <20100910141127.GA13056@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) / FreeBSD-8.0 Cc: freebsd-fs@freebsd.org, Andriy Gapon Subject: Re: ZFS related kernel panic X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 14:55:12 -0000 Quoting Jeremy Chadwick : > What we're looking for is something that resembles what's shown here > (using this as an example): > > http://www.mail-archive.com/freebsd-xen@freebsd.org/msg00413.html > > The KDB and KDB_TRACE options should result in a backtrace automatically > being shown when the system panics. Are you absolutely certain your > kernel config has the options Andriy provided, and you rebuilt + > reinstalled the kernel? > Hi Jeremy, well Ive not had to built a custom kernel before, but Ive done the make buildkernel and make installkernel and all seems to have gone thro as expected. Here is the evidence from after a reboot: # pwd /usr/src/sys/amd64/conf # grep KDB ZFSDEBUG options KDB options KDB_TRACE [root@kappa /usr/src/sys/amd64/conf]# uname -a FreeBSD kappa.ukgrid.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Sep 10 12:30:24 BST 2010 root@kappa.ukgrid.net:/usr/obj/usr/src/sys/ZFSDEBUG amd64 Any ideas? thanks Andy.