From owner-freebsd-hackers Fri Mar 21 8:18:11 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BC3937B401 for ; Fri, 21 Mar 2003 08:18:10 -0800 (PST) Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ECF043F85 for ; Fri, 21 Mar 2003 08:18:07 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.3/8.12.3) with ESMTP id h2LGGxgO056989; Fri, 21 Mar 2003 19:17:00 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.3/8.12.3/Submit) id h2LGGwMG056988; Fri, 21 Mar 2003 19:16:58 +0300 (MSK) (envelope-from yar) Date: Fri, 21 Mar 2003 19:16:58 +0300 From: Yar Tikhiy To: "Nikolay Y. Orlyuk" Cc: hackers@freebsd.org Subject: Re: Build options for kernel modules Message-ID: <20030321161658.GA56375@comp.chem.msu.su> References: <20030321153217.GA53518@comp.chem.msu.su> <20030321153907.GQ76182@asu.ntu-kpi.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030321153907.GQ76182@asu.ntu-kpi.kiev.ua> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 21, 2003 at 05:39:07PM +0200, Nikolay Y. Orlyuk wrote: > On Fri, Mar 21, 2003 at 06:32:17PM +0300, Yar Tikhiy wrote: > > Hi there, > > > > Excuse my stupid question, but I seem to have no time to do the > > investigation by myself right now so I'd be glad to receive a brief > > answer from someone who has the information. > > > > As far as I can see, kernel modules should be built along with the > > kernel for the only reason of keeping their mutual interfaces in > > sync, has a source file defining such an interface changed. Is > > there currently no way to go further and affect a kernel module's > > built-in features with kernel config file options, besides modifying > > makefiles in /sys/modules? > I think this isn't so. I have been already tried to compile some modules > without compiling kernel and this trye has successful result, but without > change options. > I think modules must be build with same or less imports and same or more export to be correct > for loading. Yeah, it's all right to compile modules w/o the kernel, but that's not exactly what I was asking about. My question was whether "option FOO" lines from a kernel configuration file could influence modules. -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message