Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2005 20:50:27 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Giorgos Keramidas <keramida@linux.gr>
Cc:        David Gurvich <david.freebsd@verizon.net>
Subject:   Re: Using nvidia-driver with 6-x/CURRENT
Message-ID:  <200505092050.34347.doconnor@gsoft.com.au>
In-Reply-To: <20050509100306.GB93542@orion.daedalusnetworks.priv>
References:  <200505081828.08055.david.freebsd@verizon.net> <200505091006.48132.doconnor@gsoft.com.au> <20050509100306.GB93542@orion.daedalusnetworks.priv>

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

[-- Attachment #1 --]
On Mon, 9 May 2005 19:33, Giorgos Keramidas wrote:
> On 2005-05-09 10:06, Daniel O'Connor <doconnor@gsoft.com.au> 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

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCf0eC5ZPcIHs/zowRAghfAKCYzFhjpEZ9bgbhIeq8zzbBoYhgTwCglpXo
a6gbqDv0atbiogLN4pPXrPI=
=kr9y
-----END PGP SIGNATURE-----

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