Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2008 10:31:15 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Doug Rabson <dfr@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r184588 - in head: etc/gss etc/rc.d include/rpc lib/libc/sys lib/libc/xdr lib/librpcsec_gss sbin/mount_nfs sys/compat/freebsd32 sys/conf sys/fs/unionfs sys/kern sys/kgssapi sys/kgssapi/...
Message-ID:  <868wrx5hgc.fsf@ds4.des.no>
In-Reply-To: <200811031038.mA3Ac0UR064387@svn.freebsd.org> (Doug Rabson's message of "Mon, 3 Nov 2008 10:38:00 %2B0000 (UTC)")
References:  <200811031038.mA3Ac0UR064387@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson <dfr@FreeBSD.org> writes:
> Log:
>   Implement support for RPCSEC_GSS authentication to both the NFS client
>   and server. This replaces the RPC implementation of the NFS client and
>   server with the newer RPC implementation originally developed
>   (actually ported from the userland sunrpc code) to support the NFS
>   Lock Manager.  I have tested this code extensively and I believe it is
>   stable and that performance is at least equal to the legacy RPC
>   implementation.

I wonder how much you *did* test.  The nfsserver module won't load:

Nov  6 10:00:14 ds4 kernel: link_elf_obj: symbol svcpool_create undefined
Nov  6 10:00:14 ds4 kernel: kldload: /boot/ds4/nfsserver.ko: Unsupported fi=
le type

svcpool_create is apparently part of the krpc module:

des@ds4 ~% gfk \^svcpool_create=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
src/sys/rpc/svc.c: svcpool_create(const char *name, struct sysctl_oid_list =
*sysctl_base)
des@ds4 ~% grep -wF svc.c /sys/conf/files*
/sys/conf/files:rpc/svc.c			optional krpc | nfslockd | nfsserver
des@ds4 ~% find /sys/modules -name Makefile | xargs grep -wF svc.c
/sys/modules/krpc/Makefile:	svc.c \

so the nfsserver module lacks a dependency on the krpc module, but that
doesn't matter, because the krpc module won't load either:

Nov  6 10:02:10 ds4 kernel: link_elf_obj: symbol replay_setreply undefined
Nov  6 10:02:10 ds4 kernel: kldload: /boot/ds4/krpc.ko: Unsupported file ty=
pe

replay_setreply is not part of any module:

des@ds4 ~% gfk \^replay_setreply=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
src/sys/rpc/replay.c: replay_setreply(struct replay_cache *rc,
des@ds4 ~% grep -wF replay.c /sys/conf/files*
/sys/conf/files:rpc/replay.c			optional krpc | nfslockd | nfsserver
des@ds4 ~% find /sys/modules -name Makefile | xargs grep -wF replay.c

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868wrx5hgc.fsf>