Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2010 10:21:37 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        marius@freebsd.org, Boris Kochergin <spawk@acm.poly.edu>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Can't load NFS server module with a custom 8.0 kernel
Message-ID:  <Pine.GSO.4.63.1002191018340.18444@muncher.cs.uoguelph.ca>
In-Reply-To: <20100218220714.GU50403@deviant.kiev.zoral.com.ua>
References:  <4B7D74A7.6010006@acm.poly.edu> <Pine.GSO.4.63.1002181455240.22960@muncher.cs.uoguelph.ca> <4B7D9C5C.1090909@acm.poly.edu> <20100218220714.GU50403@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 19 Feb 2010, Kostik Belousov wrote:

[stuff snipped]
>
> I think this is changed in HEAD, and part of the changes are already in
> stable/8, which is different from 8.0 too.
>
> Anyway, for HEAD nfsserver we need 1. nfscommon 2. nfs_common. Also,
> nfs_common module is not attached to the build.
>
> The patch below gives up on nfs_common, puts that parts into nfscommon,
> and corrects dependencies for nfsserver and nfsclient. With the patch,
> I can export and mount nfs filesystem on the HEAD again, with all
> nfs* stuff loaded as modules. If following this route, sys/modules/nfs_common
> can be removed.
>
> I did not looked into fs/nfs* modules.
>
The common module for fs/nfs* is called nfscommon, which was why Marius
used nfs_common. I don't know what happens when you have two modules of
the same name. I suspect your fix is fine otherwise, since the 
experimental stuff (fs/nfs*) won't get loaded unless "-e" is used on
mountd/nfsd.

Thanks for the help with this, rick




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.1002191018340.18444>