On Wed, Jul 17, 2013 at 11:59 PM, Myklebust, Trond <Trond.Myklebust@xxxxxxxxxx> wrote: > On Wed, 2013-07-17 at 21:35 +0200, Andre Heider wrote: >> On Wed, Jul 17, 2013 at 9:10 PM, Chuck Lever <chuck.lever@xxxxxxxxxx> wrote: >> > >> > On Jul 17, 2013, at 2:55 PM, Andre Heider <a.heider@xxxxxxxxx> wrote: >> > >> >> Hi, >> >> >> >> I'm having problems using 3.11-rc1 as nfs4 client (with a FreeBSD 9.1 >> >> server) using sec=sys. >> >> >> >> With the same server+client setup, just booting different kernels: >> >> 3.9.10 works without issues >> >> 3.10.1 works too, but introduced "RPC: AUTH_GSS upcall timed out." in >> >> dmesg (iirc I don't need gss with sec=sys) >> > >> > Not a requirement, but running gssd should make that message go away. The client is attempting to use krb5i to manage its lease on the server, and falling back to AUTH_UNIX when it sees gssd is not running. >> > >> >> 3.11-rc1 reading from the server still works, writing fails >> >> >> >> Even a simple touch on the share fails with: >> >> touch: cannot touch ‘/mnt/andre/test’: Input/output error >> > >> > A network capture is a reasonable place to start. >> > >> > # tcpdump -s0 -w /tmp/raw >> > >> > Then try your touch test again. Stop the tcpdump. You can post a compressed version of the raw dump here if it's short. >> >> Attached two dumps, one from 3.10 (works) and one from 3.11 (doesn't work). > > The FreeBSD server is returning NFS4ERR_ATTRNOTSUPP to the OPEN, despite > the fact that we're requesting the same attributes in both cases. I'll > bet it is the fact that we send a bitmap of 3 words instead of 2. > > This is a problem: the Linux client clearly has the spec on its side, > and the FreeBSD server is wrong to reject a 3 word bitmap, as long as > we're not requesting any actual attributes that it doesn't support. > According to the spec, we could send a bitmap of any length we like. > > On the other hand, we have a situation where something used to work, and > now doesn't. Please check out the 2 patches I just sent out, and see if > they help. With these 2 patches, nfsv4 connectivity to a FreeBSD server is working again. Thanks for the quick patches, Andre -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html