linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Chuck Lever <Chuck.Lever@oracle.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-nfs@vger.kernel.org
Subject: Re: NFS OOps  - kernel BUG at fs/nfs/nfs3xdr.c:1338
Date: Tue, 18 Jan 2011 19:15:15 +0100	[thread overview]
Message-ID: <4D35D8B3.4030308@redhat.com> (raw)
In-Reply-To: <BC9E8816-B395-44C1-ACF8-FEC4E80870C1@oracle.com>

On 01/18/2011 04:59 PM, Chuck Lever wrote:

>>> [  105.327979] kernel BUG at fs/nfs/nfs3xdr.c:1338!
> 
> Milan, I assume the install command is trying to set an ACL on an NFS file.  Can you tell us what the ACL looks like?

Hi,

strace returns
fsetxattr(4, "system.posix_acl_access", "\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x00\x00\xff\xff\xff\xff \x00\x00\x00\xff\xff\xff\xff", 28, 0) = -1 EOPNOTSUPP (Operation not supported)

and it is reproducible with simple code:
        int fd = open("x", O_RDWR|O_CREAT, S_IRWXU);
        fsetxattr(fd, "system.posix_acl_access",
        "\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x00\x00\xff\xff\xff\xff \x00\x00\x00\xff\xff\xff\xff", 28, 0);

Milan

      reply	other threads:[~2011-01-18 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 23:18 NFS OOps - kernel BUG at fs/nfs/nfs3xdr.c:1338 Milan Broz
2011-01-14 23:46 ` Trond Myklebust
2011-01-18 15:59   ` Chuck Lever
2011-01-18 18:15     ` Milan Broz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D35D8B3.4030308@redhat.com \
    --to=mbroz@redhat.com \
    --cc=Chuck.Lever@oracle.com \
    --cc=Trond.Myklebust@netapp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).