From owner-freebsd-fs@FreeBSD.ORG Fri Sep 10 14:11:30 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 0A54B106566B for ; Fri, 10 Sep 2010 14:11:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id E43278FC0A for ; Fri, 10 Sep 2010 14:11:29 +0000 (UTC) Received: from omta03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by qmta15.emeryville.ca.mail.comcast.net with comcast id 51T51f0070b6N64AF2BVKT; Fri, 10 Sep 2010 14:11:29 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta03.emeryville.ca.mail.comcast.net with comcast id 52BT1f00S3LrwQ28P2BUQC; Fri, 10 Sep 2010 14:11:29 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id AD06A9B423; Fri, 10 Sep 2010 07:11:27 -0700 (PDT) Date: Fri, 10 Sep 2010 07:11:27 -0700 From: Jeremy Chadwick To: a.smith@ukgrid.net Message-ID: <20100910141127.GA13056@icarus.home.lan> References: <20100909140000.5744370gkyqv4eo0@webmail2.ukgrid.net> <20100909182318.11133lqu4q4u1mw4@webmail2.ukgrid.net> <4C89D6A8.1080107@icyb.net.ua> <20100910143900.20382xl5bl6oo9as@webmail2.ukgrid.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100910143900.20382xl5bl6oo9as@webmail2.ukgrid.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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:11:30 -0000 On Fri, Sep 10, 2010 at 02:39:00PM +0100, a.smith@ukgrid.net wrote: > Quoting Andriy Gapon : > > > > >Try to add the following options to your kernel: > >options KDB > >options KDB_TRACE > > > >With these a backtrace should be printed before dumping and you > >should be able > >take a picture of your screen. > > > >-- > >Andriy Gapon > > > > Hi, > > So far I have got this additional info from the console when the > server panics: > > cpuid = 0 > Uptime: 19m57s > Sleeping thread (tid 100024, pid12) owns a non-sleepable lock > panic: sleeping thread > cpuid = 0 > Uptime: 19m57s > kernel trap 12 with interrupts disabled > > then follows the same text I originally posted... > Im going to run this again and try check if any other info is > printed but scrolled off the top of the screen... 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? -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |