public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* NFS errors in 2.6
@ 2003-12-10  7:49 Miles Bader
  2003-12-10 13:33 ` Trond Myklebust
  0 siblings, 1 reply; 4+ messages in thread
From: Miles Bader @ 2003-12-10  7:49 UTC (permalink / raw)
  To: linux-kernel

My home directory is NFS-mounted from a Solaris server like:

   mccfs10:/mccfs10-4/soft1 /home/soft1	nfs	nfsvers=3,rsize=1024,wsize=1024,noatime,nodiratime	0	0

everything works peachy with linux 2.4.23, and _mostly_ works in linux
2.6.0-test11, but the latter cannot read certain directories; for instance,
if I do `ls -l .gconf' in my homedir, I get an `Invalid Argument' error.

Here's what the directory looks like (in 2.4.23):

   $ ls -ld .gconf
   drwxr-xr-x    6 miles         512 Dec 10 14:15 .gconf
   $ ls -l .gconf
   total 3
   -rw-------    1 miles          31 Oct 29  2002 %gconf.xml
   drwx------   19 miles        1024 Aug 26 10:30 apps
   drwx------    3 miles         512 Oct 29  2002 desktop
   drwx------    4 miles         512 Oct 29  2002 schemas
   drwx------    4 miles         512 Jan 24  2003 system

In 2.6.0-test11, both of those commands fail like:

   $ ls -l .gconf
   ls: .gconf: Invalid Argument

[not sure of the precise syntax of the error message]


I have a packet capture of a failing `ls -l' command like the above;
here's the final packet (previous packets don't seem to have any errors):


Frame 22 (158 bytes on wire, 158 bytes captured)
Ethernet II, Src: 00:01:30:e9:cb:00, Dst: 00:03:47:97:9b:18
Internet Protocol, Src Addr: mccfs10.ucom.lsi.nec.co.jp (10.30.120.156), Dst Addr: mcspd15.ucom.lsi.nec.co.jp (10.30.114.174)
User Datagram Protocol, Src Port: 2049 (2049), Dst Port: 800 (800)
Remote Procedure Call, Type:Reply XID:0x0e72455c
    XID: 0xe72455c (242369884)
    Message Type: Reply (1)
    Program: NFS (100003)
    Program Version: 3
    Procedure: READDIRPLUS (17)
    Reply State: accepted (0)
    This is a reply to a request in frame 21
    Time from request: 0.001394000 seconds
    Verifier
        Flavor: AUTH_NULL (0)
        Length: 0
    Accept State: RPC executed successfully (0)
Network File System, READDIRPLUS Reply  Error:ERR_INVAL
    Program Version: 3
    V3 Procedure: READDIRPLUS (17)
    Status: ERR_INVAL (22)
    dir_attributes
        attributes_follow: value follows (1)
        attributes
            Type: Directory (2)
            mode: 040755
                0... .... .... = not SUID
                .0.. .... .... = not SGID
                ..0. .... .... = not save swapped text
                ...1 .... .... = Read permission for owner
                .... 1... .... = Write permission for owner
                .... .1.. .... = Execute permission for owner
                .... ..1. .... = Read permission for group
                .... ...0 .... = no Write permission for group
                .... .... 1... = Execute permission for group
                .... .... .1.. = Read permission for others
                .... .... ..0. = no Write permission for others
                .... .... ...1 = Execute permission for others
            nlink: 6
            uid: 31295
            gid: 10125
            size: 512
            used: 512
            rdev: 0,0
                specdata1: 0
                specdata2: 0
            fsid: 289359024837623808
            fileid: 4091573
            atime: Dec  9, 2003 13:34:07.040759000
                seconds: 1070944447
                nano seconds: 40759000
            mtime: Dec  9, 2003 12:47:36.827032000
                seconds: 1070941656
                nano seconds: 827032000
            ctime: Dec  9, 2003 12:47:36.827032000
                seconds: 1070941656
                nano seconds: 827032000


Any suggestions?

Thanks,

-Miles
-- 
[|nurgle|]  ddt- demonic? so quake will have an evil kinda setting? one that
            will  make every christian in the world foamm at the mouth?
[iddt]      nurg, that's the goal

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-11  2:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-10  7:49 NFS errors in 2.6 Miles Bader
2003-12-10 13:33 ` Trond Myklebust
2003-12-11  2:19   ` Miles Bader
2003-12-11  2:39     ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox