[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 109918] New: kio-nfs - doesn't work with linux TCP based NFS
From:       Andrew de Quincey <adq_dvb () lidskialf ! net>
Date:       2005-07-31 0:11:22
Message-ID: 20050731021117.109918.adq_dvb () lidskialf ! net
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=109918         
           Summary: kio-nfs - doesn't work with linux TCP based NFS servers
           Product: konqueror
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konq-bugs kde org
        ReportedBy: adq_dvb lidskialf net


Version:            (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.4 
OS:                Linux

If I use nfs:// to browse a TCP NFS file server, copying files TO the server larger \
than a certain length fails - it'll definitely happen with > 20k files. Other \
operations work fine.

The server reports: RPC: bad TCP reclen 0x00000f9c (non-terminal) in dmesg.

This is because the linux sunrpc implementation is incomplete and cannot handle \
fragmented sunrpc requests. If you look at the relevant code in \
net/sunrpc/svcsock.c/svc_tcp_recvfrom() in a recent kernel, you see the following:  \
                /* FIXME: technically, a record can be fragmented,
			 *  and non-terminal fragments will not have the top
			 *  bit set in the fragment length header.
			 *  But apparently no known nfs clients send fragmented
			 *  records. */

I can't figure out why KDE/glibc's sunrpc client implementation is sending fragmented \
records and I don't have the time to fix the kernel sunrpc implementation.

A simple "fix" would be to disable TCP NFS support from kio_nfs completely, and rely \
on UDP only (UDP works fine BTW). But obviously this isn't great :(

I'm using glibc 2.3.5 BTW.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic