From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 00:41:13 2008 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 5B0BB1065679; Fri, 27 Jun 2008 00:41:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4308FC1D; Fri, 27 Jun 2008 00:41:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5R0erBF079104; Thu, 26 Jun 2008 20:40:54 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 26 Jun 2008 20:19:46 -0400 User-Agent: KMail/1.9.7 References: <91492.1214431446@critter.freebsd.dk> <20080626122202.O83875@maildrop.int.zabbadoz.net> <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> In-Reply-To: <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806262019.47095.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 26 Jun 2008 20:40:57 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7574/Thu Jun 26 17:01:05 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: "Bjoern A. Zeeb" , Poul-Henning Kamp , Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) 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: Fri, 27 Jun 2008 00:41:13 -0000 On Thursday 26 June 2008 09:59:56 am Eygene Ryabinkin wrote: > Bjoern, good day. > > Thu, Jun 26, 2008 at 12:26:42PM +0000, Bjoern A. Zeeb wrote: > > I guess some pointer artimetic or anything went wrong here for some > > reason. ad0 is a simple hdd with a few slices with different, mostly > > FreeBSD, installations. ad8 has, as seen above, eli on the disk and > > one standard gjournaled UFS on top of that. > > May be provider's geom data was trashed in some way. > > > Is there any information I could try to find out to find that bug. > > I had done the same thing hundreds of times before, the only new thing > > from yesterday on was the spindown on 2 of 3 disks. > > Any chances to compile debug kernel with KDB/DDB > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html > > and when system will panic and debugger will be invoked, issue > commands 'p *(bp->bio_offset)' and 'p *(cp->provider)' at the stack > frame corresponding to the function g_io_request? Note that DDB can't handle structure dereferences like that (nor evaluate symbols for local variables), you'll need to get a crash dump and use kgdb for that sort of thing. -- John Baldwin