Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 19:22:23 -0400 (EDT)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        dillon@apollo.backplane.com (Matthew Dillon)
Cc:        peter@netplex.com.au, crossd@cs.rpi.edu, current@FreeBSD.ORG
Subject:   Re: IRIX 6.5.4 NFS v3 TCP client + FreeBSD server = bewm
Message-ID:  <199907292322.TAA17429@skynet.ctr.columbia.edu>
In-Reply-To: <199907292224.PAA79422@apollo.backplane.com> from "Matthew Dillon" at Jul 29, 99 03:24:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Of all the gin joints in all the towns in all the world, Matthew Dillon 
had to walk into mine and say:
 
>     And here is something *really* scary.  For the last month I've been
>     running NFS over TCP without even realizing it.  I had set up my 
>     machines to run NFS/TCP as a test instead of NFS/UDP and then forgot
>     to change it back!
> 
> 						-Matt

And here is something even scarier: readdirplus from the client side
doesn't appear to work correctly either. This time, you don't need an
IRIX machine to trigger the problem (though it helps :). Do the following

client# mount -o nvsv3,tcp,rdirplus server:/somefs /mnt
client# ls /mnt; du /mnt; etc...

Seems okay so far, right? Ah, but now try to unmount the filesystem:

# umount /mnt
<process wedges, can't be killed, can't log in, other processes wedge, etc..>


With an IRIX server, the machine wedges as soon as you do ls /mnt. With
a FreeBSD server, nothing happens until you try to unmount the filesystem.
The umount process looks like this:

    0   418   388   0  -2  0   312  176 vnlock D+    p0    0:00.01 umount /mnt

When the machine got stuck when I tested it with IRIX, I had to take
a crash dump in order to analyze things; the kernel doesn't seem to
be wedged, but I see these:

 1063   362   293   0  -2  0   356    0 vnlock D+    v0    0:00.00  (ls)
 1063   318     1  17  -2 17   748    0 vnlock DN    p0    0:00.00  (mailck)

Actually, it looks like it wedges if you use UDP too, so I guess it's
not related to the transport.

Anybody have any ideas? I did my good deed for the day.

-Bill

-- 
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907292322.TAA17429>