From owner-freebsd-stable@FreeBSD.ORG Wed Oct 22 02:29:26 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D532106566C for ; Wed, 22 Oct 2008 02:29:26 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (ns1.riverwillow.net.au [203.58.93.40]) by mx1.freebsd.org (Postfix) with ESMTP id E5D3D8FC24 for ; Wed, 22 Oct 2008 02:29:25 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from rwpc08.mby-g.riverwillow.net.au (rwpc08.mby-g.riverwillow.net.au [192.168.25.71]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id m9M2EIJJ082746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 22 Oct 2008 13:14:18 +1100 (AEDT) Received: from rwpc08.mby-g.riverwillow.net.au (localhost [127.0.0.1]) by rwpc08.mby-g.riverwillow.net.au (8.14.3/8.14.3/Submit) with ESMTP id m9M2EI8o003257 for ; Wed, 22 Oct 2008 13:14:18 +1100 (AEDT) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc08.mby-g.riverwillow.net.au (8.14.3/8.14.3/Submit) id m9M2EIGq003256 for freebsd-stable@freebsd.org; Wed, 22 Oct 2008 13:14:18 +1100 (AEDT) (envelope-from john) Date: Wed, 22 Oct 2008 13:14:18 +1100 From: John Marshall To: FreeBSD Stable Message-ID: <20081022021418.GC1125@rwpc08.mby-g.riverwillow.net.au> Mail-Followup-To: FreeBSD Stable Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://www.riverwillow.net.au/certs/pgp/johnmarshall.asc X-PGP-KeyID: 0xA29A84A2 Subject: 6.4-RC1 Boot Fails if NFS Hostname cannot be resolved (mount_nfs) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 02:29:26 -0000 --lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I was running 6.3-RELEASE-p2 on my ThinkPad notebook until 3-Oct-2008 when I csup'd and built RELENG_6_4 (6.4-RC1). All went well for weeks until I took the notebook off-site to a place with no network and saw it fail to boot. This morning I updated to the latest RELENG_6_4 and the problem persists. In /etc/fstab I have... mynfssrv:/kits /kits nfs late,rw,-T,-b Booting with no network available, I see: --- Mounting late file systems: mynfssrv: hostname nor servname provided, or no= t known Mounting /etc/fstab filesystem failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Oct 22 11:46:56 rwpc08 init: /bin/sh on /etc/rc terminated abnormally, goin= g to single user mode Oct 22 11:46:56 rwpc08 init: can't get /dev/console for controlling termina= l: Operation not permitted (only recourse at this stage is to hit the power button and boot single use= r) --- If I comment out the nfs mount entry in /etc/fstab the system boots fine. If I replace the NFS server hostname with an IP address, I see the familiar behaviour of the NFS mount giving up and backgrounding - and the boot proceeding happily... 192.0.2.1:/kits /kits nfs late,rw,-T,-b --- Mounting late file systems:[tcp] 192.0.2.1:/kits: RPCPROG_NFS: RPC: Port ma= pper failure - RPC: unable to mount_nfs: Cannot immediately mount 192.0.2.1:/kits, backgrounding --- I think the hostname stuff in mount_nfs has changed without taking this scenario into consideration? --=20 John Marshall --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj+jHoACgkQw/tAaKKahKKo5gCdFoSwdmecHl7TaJSPYirNWvC1 Wq4An1/wKDkvkeLRO1xuylTfjha1n138 =ZoTi -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6--