From owner-freebsd-sparc64@FreeBSD.ORG Fri Oct 2 08:20:02 2009 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8A8F1065672 for ; Fri, 2 Oct 2009 08:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C61908FC17 for ; Fri, 2 Oct 2009 08:20:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n928K1gs087812 for ; Fri, 2 Oct 2009 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n928K1AZ087811; Fri, 2 Oct 2009 08:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 2 Oct 2009 08:20:01 GMT Resent-Message-Id: <200910020820.n928K1AZ087811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-sparc64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Afanasiev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E27B11065670 for ; Fri, 2 Oct 2009 08:10:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2158FC18 for ; Fri, 2 Oct 2009 08:10:38 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n928Ac4t078949 for ; Fri, 2 Oct 2009 08:10:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n928Acck078948; Fri, 2 Oct 2009 08:10:38 GMT (envelope-from nobody) Message-Id: <200910020810.n928Acck078948@www.freebsd.org> Date: Fri, 2 Oct 2009 08:10:38 GMT From: Dmitry Afanasiev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: sparc64/139304: acl_get_link_np() fails with "Invalid argument" on ZFS X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 08:20:02 -0000 >Number: 139304 >Category: sparc64 >Synopsis: acl_get_link_np() fails with "Invalid argument" on ZFS >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-sparc64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 02 08:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmitry Afanasiev >Release: FreeBSD 9.0-CURRENT sparc64 >Organization: >Environment: FreeBSD sunrise-new 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Sep 30 12:29:46 MSD 2009 root@sunrise-new:/usr/obj/usr/src/sys/sunrise sparc64 >Description: acl_get_link_np(name, ACL_TYPE_NFS4) on any ZFS returns NULL with errno=EINVAL. As result I have errors in ls -l output like this: # /bin/ls -ld / ls: /: Invalid argument drwxr-xr-x 19 root wheel - 25 Sep 29 14:59 / Also cp -p return 1 and buildworld fails with following messages: ===> share/zoneinfo (all) cp -p /usr/src/share/zoneinfo/yearistype.sh yearistype cp: failed to get acl entries while setting yearistype: Invalid argument *** Error code 1 Also this breaks building of some ports like www/apache22: configure.in:190: the top level rebuilding rpm spec file rebuilding srclib/apr-util/configure Looking for apr source in /var/ports/usr/ports/www/apache22/work/httpd-2.2.13/srclib/apr cp: failed to get acl entries while setting build/get-version.sh: Invalid argument cp: failed to get acl entries while setting build/config.sub: Invalid argument cp: failed to get acl entries while setting build/config.guess: Invalid argument cp: failed to get acl entries while setting build/install.sh: Invalid argument cp: failed to get acl entries while setting build/find_apr.m4: Invalid argument cp: failed to get acl entries while setting build/apr_common.m4: Invalid argument ./buildconf failed for apr-util *** Error code 1 >How-To-Repeat: # zpool create tank `mdconfig -a -t swap -s 64m` # ls -ld /tank ls: /tank: Invalid argument drwxr-xr-x 2 root wheel - 2 Oct 2 12:09 /tank/ >Fix: >Release-Note: >Audit-Trail: >Unformatted: