amd64/166442: nfsd error when not compiled into kernel

John Baldwin jhb at
Tue Mar 27 14:50:13 UTC 2012

The following reply was made to PR amd64/166442; it has been noted by GNATS.

From: John Baldwin <jhb at>
To: freebsd-amd64 at
Cc: Beeblebrox <zaphod at>,
 freebsd-gnats-submit at
Subject: Re: amd64/166442: nfsd error when not compiled into kernel
Date: Tue, 27 Mar 2012 10:44:56 -0400

 On Tuesday, March 27, 2012 8:02:18 am Beeblebrox wrote:
 > >Number:         166442
 > >Category:       amd64
 > >Synopsis:       nfsd error when not compiled into kernel
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-amd64
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Tue Mar 27 12:10:11 UTC 2012
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Beeblebrox
 > >Release:        9.0-STABLE
 > >Organization:
 > >Environment:
 > FreeBSD 9.0-STABLE #0 r233503: Mon Mar 26 23:53:01 EEST 2012
 > >Description:
 > In Kernel config file, options:
 > options         NFSCLIENT               # Network Filesystem Client
 > #options        NFSSERVER               # Network Filesystem Server
 > #options        NFSLOCKD                # Network Lock Manager
 > options         NFS_ROOT                # NFS usable as /, requires 
 > buildkernel with these settings results in a kernel which CANNOT KLDLOAD 
 nfsd, and result in error message: "Version Mismatch" or "Exec Format Error"
 > Commenting out NFSCLIENT results in a kernel which is able to load and start 
 nfsd, while the PXE terminal client is still able to boot and mount root from 
 NFS (provided nfscl_enable="YES" is specified in the /boot/loader.conf of 
 PXE's root). so NFS_ROOT does not necessarily require NFSCLIENT, but NFSCLIENT 
 certainly seems to require NFSSERVER.
 Yes, you should be using NFSCL and NFSD instead of NFSCLIENT and NFSSERVER 
 now.  9 includes a new NFS client and server implementation that include NFSv4 
 support (and have cleaner code).  GENERIC changed between 8 and 9 to switch to 
 the new client and server, but it seems you are using an unmodified kernel 
 config from 8 on 9?
 John Baldwin

More information about the freebsd-amd64 mailing list