Portmap has been fixed in trunk: https://dev.openwrt.org/ticket/3095, some messing
around is necessary to get it back to 7.09 but since NFS doesn't work in 7.09 it
doesn't matter. To get NFS to work you MUST build from trunk since you have to
configure the kernel properly.
After getting trunk and the feeds, menuconfig in portmap, nfs_kernel_server and
nfs_kernel_server_utils, note that this will select libwrap (tcp_wrappers) too.
You need to config for your arch too (the slug is an ARM, it's got it's own entry).
Then you need to make world to get the kernel so you can config it. The issue
with kernel config is: https://dev.openwrt.org/ticket/3391, basically you need
to disable NFS V4 support since those libraries don't link up yet. Go to the kernel:
cd build_dir/linux*/linux*
make ARCH=arm clean
make ARCH=arm menuconfig
and disable the NFS V4 support so your config looks like:
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
# CONFIG_SUNRPC_BIND34 is not set
CONFIG_RPCSEC_GSS_KRB5=m
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
Then go back up to the root of trunk and make world again and reflash. This ugly process makes NFS
work on my NSLU2. It's not ready for "prime-time" and the build system is really brittle but good luck anyway.