From owner-freebsd-current Wed Jan 17 11:40:12 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA01144 for current-outgoing; Wed, 17 Jan 1996 11:40:12 -0800 (PST) Received: from ubiq.veda.is (root@ubiq.veda.is [193.4.230.60]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA01102 for ; Wed, 17 Jan 1996 11:40:06 -0800 (PST) Received: (from adam@localhost) by ubiq.veda.is (8.7.3/8.6.9) id TAA01867; Wed, 17 Jan 1996 19:39:05 GMT Message-Id: <199601171939.TAA01867@ubiq.veda.is> Subject: Re: nfs_mod mount hangs in single-user To: wollman@lcs.mit.edu (Garrett A. Wollman) Date: Wed, 17 Jan 1996 19:39:04 +0000 (GMT) From: "Adam David" Cc: freebsd-current@FreeBSD.org In-Reply-To: <9601171821.AA26809@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Jan 17, 96 01:21:25 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org Precedence: bulk > > Does anyone know why mount_nfs hangs (wait channel "sbwait") under the > > following conditions?... > > > 1. the mount command is invoked from /etc/rc (or rc.local, etc) during reboot. > > 2. NFS is dynamically loaded. > > 3. the volume to be mounted is located on the machine that is being rebooted. > > Is nfsd running yet? Yes. The hang seems identical whether nfsd and mountd are running or not. It even hangs under these circumstances if the mount command is invoked with option -b. However, if NFS is statically built into the kernel, I believe it only hangs when option -b is not used and the mount is attempted before mountd is running (not tested exhaustively). -- Adam David