From owner-freebsd-fs@FreeBSD.ORG Mon Sep 3 04:19:09 2012 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 BA60C106564A for ; Mon, 3 Sep 2012 04:19:09 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3963D8FC0C for ; Mon, 3 Sep 2012 04:19:08 +0000 (UTC) Received: by lage12 with SMTP id e12so4082839lag.13 for ; Sun, 02 Sep 2012 21:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JR6jg8U16as5SMiJFWAsPlC25hUgi3HKg5Hzg5YRxJk=; b=SxzwjME32bUI1plRgXWGa9vtmjA9IFiDGHQrxiDD+4Nc/PoFBcLbZ/cbQLrg8iCum1 TyJKMKGO8tzXC0XMJIcHbbaOEo8+g515MhktNv9da8vBkX0ZPsEfUb6ST9G+fPxQ41KX 9oKyTf7n4K739B31X7H2datx2Vlu3TOu1IY9p6MaMl125H12ByBYCca3PArJk6HHoRR9 Zs6iN7thV94XCCYsJX7pI3t6PApnO5mWEjWvBGYdggVmHN+zG00/qsg1iI8bxDF6Z9ss 2pRCvhNUvM0WMD+tYuTaOFna7tHjIqQaNUSioXXM0i30M/fxJQ1rbaJub6N5KJj//dNN oHqQ== MIME-Version: 1.0 Received: by 10.152.103.146 with SMTP id fw18mr12762132lab.30.1346645947506; Sun, 02 Sep 2012 21:19:07 -0700 (PDT) Received: by 10.114.23.230 with HTTP; Sun, 2 Sep 2012 21:19:07 -0700 (PDT) Received: by 10.114.23.230 with HTTP; Sun, 2 Sep 2012 21:19:07 -0700 (PDT) In-Reply-To: <504428EB.4020702@shatow.net> References: <504428EB.4020702@shatow.net> Date: Sun, 2 Sep 2012 21:19:07 -0700 Message-ID: From: Freddie Cash To: Bryan Drewery Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: 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 04:19:09 -0000 (Please forgive the top-post, sent from my phone.) There's a pool or zfs property that deals with how acl inheritance works, and how to handle failures (panic, continue, ignore, etc). Don't recall the exact name but it's along the lines of aclinherit. What's it currently set to? And how does the system react if you change it? See the zpool and zfs man pages for info. On Sep 2, 2012 8:51 PM, "Bryan Drewery" wrote: > 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 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >