From owner-freebsd-current Thu Jul 29 16:20:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (Postfix) with SMTP id 6DAC2154E6 for ; Thu, 29 Jul 1999 16:20:44 -0700 (PDT) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id TAA17429; Thu, 29 Jul 1999 19:22:24 -0400 From: Bill Paul Message-Id: <199907292322.TAA17429@skynet.ctr.columbia.edu> Subject: Re: IRIX 6.5.4 NFS v3 TCP client + FreeBSD server = bewm To: dillon@apollo.backplane.com (Matthew Dillon) Date: Thu, 29 Jul 1999 19:22:23 -0400 (EDT) Cc: peter@netplex.com.au, crossd@cs.rpi.edu, current@FreeBSD.ORG In-Reply-To: <199907292224.PAA79422@apollo.backplane.com> from "Matthew Dillon" at Jul 29, 99 03:24:34 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 2124 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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