From owner-freebsd-fs@FreeBSD.ORG Mon Sep 3 03:50:31 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4D56106564A for ; Mon, 3 Sep 2012 03:50:31 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 08B088FC15 for ; Mon, 3 Sep 2012 03:50:30 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=sweb; b=qo0f5+fFt90TOkwR22B p+MaN9AEku6njHeVbcmobmZLKseKDIp/Ae3DkWiNoEjXIM2a+8+7OeHaphDR5KPq /rs+Edkik9dLv5JfVxyMvKNP4DzTGdfp53crOPI6DxuMOH6cU2Ps00PXj37FOWCY eP94QOOLZ3l+deuPQb1ADbng= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=sweb; bh=bSeuXBnDnyozTpQN7ziABe7ZP St48IIjVZVUkVH3MgM=; b=NBDx7+Yq723XYrhTCokXSMY8n2JVpA88jUAmXef5Z jlgqZp/VJF5FImqGXY28+iD99PE+1y78H0Wa/4Qui6Ek3/UQsDmLh9GMvgXKBShI vadWpiS/NtygCQXIxz9MIGcXsoPqWqy4AkvqTInCfMfDx4lLVWoFk7/gsqX9v/DE gw= Received: (qmail 80961 invoked from network); 2 Sep 2012 22:50:23 -0500 Received: from unknown (HELO ?10.10.0.115?) (bryan@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 2 Sep 2012 22:50:23 -0500 Message-ID: <504428EB.4020702@shatow.net> Date: Sun, 02 Sep 2012 22:50:03 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org X-Enigmail-Version: 1.4.4 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Panic in zfs_freebsd_getattr -> zfs_fuid_table_load - avl_find() succeeded inside avl_add() [ACL, 9.1-PRERELEASE] 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, 03 Sep 2012 03:50:31 -0000 Running 9.1-PRERELEASE currently. Just set this server up, imported the pool from OpenIndiana 151 I believe it was. When I access (simply `ls`) certain files/directories, the system panics. These files have ACL properties set on them from the Solaris system. This system has 32gb of ram and only 8gb swap setup, so I do not currently have a kernel core dump. It's also practically a production machine, so I do not have much leeway in testing on it. backtrace: >From running ls(1): panic: avl_find() succeeded inside avl_add() avl_add+0x4b zfs_fuid_table_load+0x198 zfs_fuid_init+0x12c zfs_fuid_find_by_idx+0xc7 zfs_fuid_map_id+0x19 zfs_groupmember+0x16 zfs_zaccess_aces_check+0x196 zfs_zaccess+0xc6 zfs_freebsd_getattr+0x1c1 vn_stat+0x6a kern_statat_vnhook+0xf9 kern_statat+0x15 sys_lstat+0x2a amd64_syscall+0x540 At first I thought this was related to MAC / ugidfw, but I am able to reproduce with those not compiled in. FWIW, here is a backtrace from having that enabled: panic: avl_find() succeeded inside avl_add() avl_add+0x4b zfs_fuid_table_load+0x198 zfs_fuid_init+0x12c zfs_fuid_find_by_idx+0xc7 zfs_fuid_map_id+0x19 zfs_groupmember+0x16 zfs_zaccess_aces_check+0x196 zfs_zaccess+0xc6 zfs_freebsd_getattr+0x1c1 ugidfw_check_vp+0x6c mac_vnode_check_stat+0xa7 vn_stat+0x39 kern_statat_vnhook+0xf9 kern_statat+0x15 sys_stat+0x2a amd64_syscall+0x540 Is there some easy way to clear these ACL properties on the files? I do not need them. Any suggestions on how I might fix this or debug this further? Bryan