From owner-freebsd-fs@FreeBSD.ORG Mon Nov 21 14:50:12 2011 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 709BD1065670 for ; Mon, 21 Nov 2011 14:50:12 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id EF11D8FC18 for ; Mon, 21 Nov 2011 14:50:11 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RSVCE-0005pr-Mz for freebsd-fs@freebsd.org; Mon, 21 Nov 2011 15:50:10 +0100 Received: from ib-jtotz.ib.ic.ac.uk ([155.198.110.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Nov 2011 15:50:10 +0100 Received: from johannes by ib-jtotz.ib.ic.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Nov 2011 15:50:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Johannes Totz Date: Mon, 21 Nov 2011 14:44:48 +0000 Lines: 49 Message-ID: References: <4EC45380.7080006@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ib-jtotz.ib.ic.ac.uk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <4EC45380.7080006@FreeBSD.org> Subject: Re: zfs: panic on import 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: Mon, 21 Nov 2011 14:50:12 -0000 On 17/11/2011 00:21, Andriy Gapon wrote: > on 17/11/2011 01:53 Johannes Totz said the following: >> On 16/11/2011 18:40, Johannes Totz wrote: >>> On 16/11/2011 17:50, Freddie Cash wrote: >>>> On Wed, Nov 16, 2011 at 9:47 AM, Johannes Totz >>>> wrote: >>>> >>>>> Does anybody have a very recent FreeBSD live cd/dvd image that I >>>>> could try? >>>>> >>>> >>>> The FreeBSD 9.0 install CD is a LiveCD. The first screen gives you the >>>> option of starting the installer or dropping to a shell. >>>> >>>> 9.0-RC2 CDs are available on ftp://ftp.freebsd.org and should be >>>> available >>>> on most mirrors by now. >>>> >>> >>> Ah thanks for the pointer, I always get lost navigating the ftp sever... >>> >>> But, same panic unfortunately (transcribbled): >>> >>> current process: txg_thread_enter >>> panic: page fault >>> ... >>> #5 ... calltrap >>> #6 ... zio_vdev_io_start >>> #7 ... zio_execute >>> #8 ... zio_ioctl >>> #9 ... zio_flush >>> #10 ... vdev_config_sync >>> #11 ... spa_sync >>> #12 ... txg_sync_thread >>> #13 ... fork_exit >>> #14 ... fork_trampoline >> >> This PR http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155587 seems related. I >> also offlined the file-vdev before the machine crashed. Now it panics on import. >> And I don't get any dump either... > > > Perhaps the following commit might help you > http://svnweb.freebsd.org/base?view=revision&revision=226617 Looks like that patch fixed it! Using a 9-stable r227727 I was able to import the pool, detach the file-vdev and reboot the machine normally. I will update the PR.