From owner-freebsd-current@FreeBSD.ORG Thu Aug 20 02:13:56 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 B011A106564A for ; Thu, 20 Aug 2009 02:13:56 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1C18FC5B for ; Thu, 20 Aug 2009 02:13:56 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KON002D1KS70110@asmtp029.mac.com> for freebsd-current@freebsd.org; Wed, 19 Aug 2009 19:13:56 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <6359C817-0D09-4BBC-95A3-5F9226EA8706@mac.com> Date: Wed, 19 Aug 2009 19:12:06 -0700 Message-id: <5E3EBBE8-4A7D-4335-B814-8E70EA1CC81B@mac.com> References: <6359C817-0D09-4BBC-95A3-5F9226EA8706@mac.com> To: FreeBSD Current X-Mailer: Apple Mail (2.1074) Subject: Re: ZFS regression: Giant lock held by kldload syscall (panic: witness_warn) 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: Thu, 20 Aug 2009 02:13:56 -0000 On Aug 19, 2009, at 6:53 PM, Marcel Moolenaar wrote: > All, > > I can't boot with ZFS enabled on my ia64 box: On top of that, the pool became unavailable. Importing the pool resulted in an immediate panic again: hob# zpool import rel panic: mutex Giant owned at /nfs/freebsd/base/head/sys/kern/ kern_exit.c:131 cpuid = 0 KDB: enter: panic [thread pid 1022 tid 100090 ] Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe1c308,gp ;; db> bt Tracing pid 1022 tid 100090 td 0xe000000011567220 kdb_enter(0xe0000000046dc040, 0xe0000000046dc040, 0xe000000004317870, 0x793) at kdb_enter+0x92 panic(0xe0000000046da148, 0xe0000000046da6b8, 0xe0000000046d5d28, 0x83) at panic+0x2f0 _mtx_assert(0xe000000004821188, 0x0, 0xe0000000046d5d28, 0x83, 0xe0000000042c49f0) at _mtx_assert+0x200 exit1(0xe000000011567220, 0x0, 0xe0000000042ded90, 0x48d) at exit1+0x40 kproc_exit(0x0, 0xe0000000046d79b8, 0xe0000000117fa0f8, 0xe0000000117fa000) at kproc_exit+0x130 spa_async_thread(0xe000000011572000, 0x1, 0xe0000000046d5ff8, 0x33e) at spa_async_thread+0x1a0 fork_exit(0xe000000004794c20, 0xe000000011572000, 0xa0000000c5cbf550) at fork_exit+0x110 enter_userland() at enter_userland db> show alllocks Process 1022 (solthread 0xe000000) thread 0xe000000011567220 (100090) exclusive sleep mutex Giant (Giant) r = 1 (0xe000000004821188) locked @ /nfs/freebsd/base/head/sys/kern/vfs_lookup.c:749 Something likes Giant and can't just let go... -- Marcel Moolenaar xcllnt@mac.com