From owner-freebsd-current@FreeBSD.ORG Sun May 1 21:22:13 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35139106566B for ; Sun, 1 May 2011 21:22:13 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id DF1FE8FC0C for ; Sun, 1 May 2011 21:22:12 +0000 (UTC) Received: by vws18 with SMTP id 18so5131816vws.13 for ; Sun, 01 May 2011 14:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=sUnmH39YRBsKdxORYMbyWHv6DKAKsibpsw/rFEg+4ds=; b=FLJRjHZ3F4hTfFVKl8wI9M/6ky+kzu4WodD0WyLZNu5ODOF6Bp+Yngszn6ocvWB/0y bJ0UP4xPLqsKd8YoKJXtxgEWJlVXriBpWiz91xiA+bDu7xGp9wBXLGugaoKY37/focLh 5uQLZAIQdZLGO9sAg4DDLIu65/HdCpBfIPWec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=bRy82INi3NBr1KAHo8Kv7SOr47CKBN656JGuT9Y2vajkI74i0BJlOBviM3Iwbttzy1 vidFTAccnFy1UgiUclJLulgp3oW3bcM8w94QXJoR7LqeOnHUtiw0HI6uVPGiX20yOIAn HXk3+7df7UvWd/o90wdPt34mSdGGdQMRZjR4k= MIME-Version: 1.0 Received: by 10.220.189.70 with SMTP id dd6mr2130553vcb.116.1304284931878; Sun, 01 May 2011 14:22:11 -0700 (PDT) Received: by 10.220.199.130 with HTTP; Sun, 1 May 2011 14:22:11 -0700 (PDT) Date: Sun, 1 May 2011 14:22:11 -0700 Message-ID: From: Garrett Cooper To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current Subject: "RPC: program not registered" with new NFS server? 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: Sun, 01 May 2011 21:22:13 -0000 Hi Rick, et all, I upgraded to a later kernel on two of my machines and am running into issues starting up the nfs kernel. Every time I try mounting like so: # mount -t nfs localhost:/scratch/ /mnt/ or like so: # mount -t oldnfs localhost:/scratch/ /mnt/ I run into this error: [tcp] localhost:/scratch: RPCPROG_NFS: RPC: Program not registered [tcp6] localhost:/scratch: RPCPROG_NFS: RPC: Program not registered I kldloaded nfsd, and then could start the mountd and nfsd services (this made some of my problems go away, in particular showmount -e looks sane), but things aren't sane. I know that nfs client capability works because I can mount remote NFS shares via amd and raw nfs mounts with another machine that I haven't upgraded and things are fine, but the server appears to be completely broken on my machines. Here is the configuration: $ grep NFS /root/FALLOUT #options NFSCL #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFSLOCKD # Network Lock Manager #options NFS_ROOT # NFS usable as /, requires NFSCLIENT $ grep nfs /etc/src.conf MODULES_OVERRIDE+= krpc nfscommon nfscl nfsclient nfsd nfslockd nfsserver # rc.conf snippet... rpcbind_enable="YES" mountd_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" nfsd_enable="YES" If someone can provide me with sane details about how to setup either v3 or v4 and get things going again with NFS, that would be awesome, as this will block me from doing other tasks tomorrow at $WORK unless I downgrade to an earlier version of CURRENT (in particular I know that my directions differ from what's suggested in the handbook, and the handbook directions don't work with my setup shown above). Thanks, -Garrett