Custom Kernel for NFS Server

root@tegra-ubuntu:/# uname -r
3.10.24-g6a2d13a

It has the following NFS config

$ grep CONFIG_NFS …/build/.config
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_SWAP=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN=“kernel.org

CONFIG_NFS_USE_LEGACY_DNS is not set

CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y

CONFIG_NFSD_FAULT_INJECTION is not set

CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y

http://speedy.sh/pXZ3e/3.10.24-TK1-03.modules.tar.gz

Installation:

root@tegra-ubuntu:~# cd /
root@tegra-ubuntu:/# tar --no-same-owner -xvhf /root/3.10.24-TK1-03.modules.tar.gz
lib/modules/3.10.24-g6a2d13a/kernel/fs/exportfs/exportfs.ko
lib/modules/3.10.24-g6a2d13a/kernel/fs/nfs_common/
lib/modules/3.10.24-g6a2d13a/kernel/fs/nfs_common/nfs_acl.ko
lib/modules/3.10.24-g6a2d13a/kernel/fs/nfsd/
lib/modules/3.10.24-g6a2d13a/kernel/fs/nfsd/nfsd.ko
lib/modules/3.10.24-g6a2d13a/kernel/lib/oid_registry.ko
lib/modules/3.10.24-g6a2d13a/kernel/net/sunrpc/auth_gss/auth_rpcgss.ko
root@tegra-ubuntu:/# depmod
root@tegra-ubuntu:/# modprobe nfsd
root@tegra-ubuntu:/# service nfs-kernel-server start