From owner-freebsd-stable@FreeBSD.ORG Fri Feb 19 15:13:44 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F4D4106566C for ; Fri, 19 Feb 2010 15:13:44 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id EE3A98FC14 for ; Fri, 19 Feb 2010 15:13:43 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAIc5fkuDaFvH/2dsb2JhbACbB3S9c4RnBIMV X-IronPort-AV: E=Sophos;i="4.49,503,1262581200"; d="scan'208";a="65956876" Received: from danube.cs.uoguelph.ca ([131.104.91.199]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 19 Feb 2010 10:13:42 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 946AC108455C; Fri, 19 Feb 2010 10:13:39 -0500 (EST) X-Virus-Scanned: amavisd-new at danube.cs.uoguelph.ca Received: from danube.cs.uoguelph.ca ([127.0.0.1]) by localhost (danube.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UJV8nyMiCzG1; Fri, 19 Feb 2010 10:13:32 -0500 (EST) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 5877610847E1; Fri, 19 Feb 2010 10:09:55 -0500 (EST) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o1JFLbO19030; Fri, 19 Feb 2010 10:21:37 -0500 (EST) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 19 Feb 2010 10:21:37 -0500 (EST) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Kostik Belousov In-Reply-To: <20100218220714.GU50403@deviant.kiev.zoral.com.ua> Message-ID: References: <4B7D74A7.6010006@acm.poly.edu> <4B7D9C5C.1090909@acm.poly.edu> <20100218220714.GU50403@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: marius@freebsd.org, Boris Kochergin , FreeBSD-STABLE Mailing List Subject: Re: Can't load NFS server module with a custom 8.0 kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2010 15:13:44 -0000 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