Can't load NFS server module with a custom 8.0 kernel

Kostik Belousov kostikbel at gmail.com
Fri Feb 19 16:07:07 UTC 2010


On Fri, Feb 19, 2010 at 11:14:58AM -0500, Rick Macklem wrote:
> 
> 
> On Fri, 19 Feb 2010, Kostik Belousov wrote:
> 
> >I do not introduce new module, I added symbols from nfs_common to
> >nfscommon, indending to remove sys/modules/nfs_common from src, since it
> >is not attached to the build even without the patch. It seems that there
> >is no name conflicts between newnfs symbols from this combined module
> >and old nfs server and client.
> >
> >I did not checked possible name conflicts between this nfscommon
> >and fs/nfs*, that is what I mean by "not looked into ...".
> >
> Okay, I see that now. (I'm a bit slow:-) I don't think there will
> be any name conflicts in nfscommon, since you can build a kernel
> with both NFSSERVER and NFSD and they would show up multiply
> defined otherwise.
> 
> I think that sys/nfsclient also has to be changed to use nfscommon
> and checked?

It was changed, see sys/nfsclient/nfs_vfsops.c chunk in the patch.
I tested it by mounting localhost:/usr/home over /mnt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100219/0a4f1e46/attachment.pgp


More information about the freebsd-stable mailing list