From owner-freebsd-current@FreeBSD.ORG Mon May 9 11:23:36 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 720DB16A4E8 for ; Mon, 9 May 2005 11:23:36 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 306C343DA8 for ; Mon, 9 May 2005 11:23:36 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 26B7E5DCF3; Mon, 9 May 2005 04:23:36 -0700 (PDT) Date: Mon, 9 May 2005 13:23:36 +0200 From: Maxime Henrion To: Daniel O'Connor Message-ID: <20050509112336.GD56827@elvis.mu.org> References: <200505081828.08055.david.freebsd@verizon.net> <200505091006.48132.doconnor@gsoft.com.au> <20050509100306.GB93542@orion.daedalusnetworks.priv> <200505092050.34347.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505092050.34347.doconnor@gsoft.com.au> User-Agent: Mutt/1.4.2.1i cc: Leonidas Tsampros cc: freebsd-current@FreeBSD.org cc: David Gurvich cc: Giorgos Keramidas Subject: Re: Using nvidia-driver with 6-x/CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 11:23:36 -0000 Daniel O'Connor wrote: > On Mon, 9 May 2005 19:33, Giorgos Keramidas wrote: > > On 2005-05-09 10:06, Daniel O'Connor wrote: > > > Also, if we're talking about the port can it modify the makefile so > > > the KLD installs into /boot/kernel? Going into /boot/modules is a > > > recipe for user frustration :( > > > > I understand that arguments for or against of either choise exist. > > > > For instance, by installing in /boot/modules one easily avoids the > > problem of having to manually copy some files or reinstall the port from > > scratch after *every* installkernel. > > Sure, but the downside for putting it in /boot/kernel is that you don't get X > the next boot. The downside for /boot/modules is that your system crashes > when X starts, or earlier :) > > I think it would be possible to have ports install source code when they are > installed to rebuild the module when the kernel is built. I have some > prototype code for this but it doesn't always work and I don't have the > knowledge of the kernel make environment to get it working 100% :( > > What I have so far is here.. > http://www.dons.net.au/~darius/port-kld.diff > http://www.dons.net.au/~darius/port-makefile.txt IIRC, bsdimp@ has already committed such a feature. You are supposed to use the PORTS_MODULES make variable. Cheers, Maxime