From owner-freebsd-current@FreeBSD.ORG Thu Sep 17 04:03:25 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B318C1065679 for ; Thu, 17 Sep 2009 04:03:25 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB208FC16 for ; Thu, 17 Sep 2009 04:03:25 +0000 (UTC) Received: from hydrogen.funkthat.com (0g2lkg0r51tv5p93@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id n8H3pgNT041899 for ; Wed, 16 Sep 2009 20:51:42 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id n8H3pgYV041898 for current@FreeBSD.org; Wed, 16 Sep 2009 20:51:42 -0700 (PDT) (envelope-from jmg) Date: Wed, 16 Sep 2009 20:51:42 -0700 From: John-Mark Gurney To: current@FreeBSD.org Message-ID: <20090917035141.GI861@funkthat.com> Mail-Followup-To: current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (hydrogen.funkthat.com [127.0.0.1]); Wed, 16 Sep 2009 20:51:42 -0700 (PDT) X-Mailman-Approved-At: Thu, 17 Sep 2009 04:10:35 +0000 Cc: Subject: NFS NLM issues w/ 8.0-BETA4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 04:03:25 -0000 I noticed this on 7.2-R and realized that I should try this on 8.0-BETA4 since it's about out. I think there is an issue w/ netbooting and NFS locking. I setup a netboot server to export root via NFS. I took the 8.0-BETA4 live cd, and extracted it to the root directory of the machine. Just to keep things simple, I didn't do any configuration of the image and booted to single user mode. I ran rpcbind, rpc.statd and rpc.lockd. When I ran rpc.lockd, I get the following: NLM: failed to contact remote rpcbind, stat = 3, port = 28416 NLM: failed to contact remote rpcbind, stat = 3, port = 28416 Can't start NLM - unable to contact NSM 28416 is 111 endian swapped, but that could be an artifact of not swapping before printing it. I tried booting off the live cd (which drops me into sysinstall instead of a shell), and I get the same errors (though they appear on ttyv1 instead of ttyv0). I was thinking that stat = 3 was RPC_PROCUNAVAIL, but it could be RPC_CANTSEND. /usr/src/sys/nfs/rpcv2.h:#define RPC_PROCUNAVAIL 3 /usr/src/sys/rpc/clnt_stat.h: RPC_PROCUNAVAIL = 10, /* procedure unavailable */ If I run rpcinfo -p from the client, I can see that nlockmgr is available. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."