amd64/166442: nfsd error when not compiled into kernel
zaphod at berentweb.com
Tue Mar 27 12:10:12 UTC 2012
>Synopsis: nfsd error when not compiled into kernel
>Arrival-Date: Tue Mar 27 12:10:11 UTC 2012
FreeBSD 9.0-STABLE #0 r233503: Mon Mar 26 23:53:01 EEST 2012
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 NFSCLIENT
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.
Comment out NFSCLIENT
More information about the freebsd-amd64