Re: Mounting from Linux NFS server with Solaris workstation

Richard Jones (rjones@orchestream.com)
Wed, 09 Sep 1998 11:10:48 +0100


Patrick J. LoPresti wrote:
>
> >>>>> "rjones" == Richard Jones <rjones@orchestream.com> writes:
>
> rjones> We've had this exact same problem for about a year. It seems
> rjones> to be a fault in unfsd (the server), not in Solaris, since if
> rjones> you tcpdump the packets doing over the network, they
> rjones> definitely show the incorrect S_IFDIR attribute being
> rjones> attached to the file.
[...]
> My current theory is that somehow the RPC libraries (which are from
> Sun) are incompatible with the way Linux handles some system call
> under some (rare) situation. For example, perhaps it is the differing
> BSD/Linux "recvfrom" semantics discussed on linux-kernel a few weeks
> back.

The problem seems to be with the following particular
sequence of system calls (but not every time, by
any means).

This sequence was captured from the Sun assembler
when it was producing a `*.o' file.

open("error.o", O_RDWR|O_CREAT, 0666) = 3
fcntl(3, F_FREESP, 0xEFFFF294) = 0
mmap(0x00000000, 1004, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xEF730000
memcntl(0xEF730000, 1004, MC_SYNC, 0, 0, 0) = 0
munmap(0xEF730000, 1004) = 0
close(3) = 0

> rjones> If you do find a solution, then please let me know!
>
> Dropping rsize and wsize on the Solaris box to 2048 or lower makes the
> problem go away. Maybe it's just hiding the problem, but it works for
> us.

I think so. We've been running with rsize=wsize=1K
and vers=2,proto=udp on this Sun for a while because
of another problem.

Rich.

-- 
Richard Jones rjones@orchestream.com Tel: +44 171 598 7557 Fax: 460 4461
Orchestream Ltd.  125 Old Brompton Rd. London SW7 3RP PGP: www.four11.com
"boredom ... one of the most overrated emotions ... the sky is made
of bubbles ..."   Original message content Copyright © 1998
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu