Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2009 16:03:37 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Ruben de Groot <mail25@bzerk.org>
Cc:        Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org, Bernt Hansson <bernt@bah.homeip.net>
Subject:   Re: Compiling in sound driver in kernel
Message-ID:  <20090613160337.74193046.freebsd@edvax.de>
In-Reply-To: <20090613103542.GC54653@ei.bzerk.org>
References:  <BLU0-SMTP462B5A385FA31495A8FBC993450@phx.gbl> <200906111150.00121.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <4A31676C.6020709@bah.homeip.net> <200906111523.55313.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <4A31C167.9040400@bah.homeip.net> <20090612125419.e418347b.freebsd@edvax.de> <4A326897.9030008@bah.homeip.net> <20090613103542.GC54653@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Jun 2009 12:35:42 +0200, Ruben de Groot <mail25@bzerk.org> wrote:
> The handbook, IMO, is wrong.
> The copy of GENERIC will in the course of upgrades deviate from the original one.
> You won't pick up improvements, like the scheduler change from 4BSD -> ULE

I don't think the handbook is wrong, but you mentioned a different,
but still completely valid solution:



> What I do is include the GENERIC file and override things with nooption/nodevice 
> directives.

Never tried this, but surely will.

The last time I compiled a kernel, I made a copy of GENERIC,
edited the copy to only include what is really present on the
system, and used KERNCONF with this file. So I "composed" a
new file on the example of GENERIC.

Of course I know that it's not possible to use a kernel config
from 4.10 to build a kernel on 7.2, so caution is intended. :-)

The benefit of "my" solution is that you are not depending on
another file, or have to read it through in order to form the
intended nodevice and nooption statements. Anyway, you have to
review the file with each system update, to find out if something
important changed (e. g. the default scheduler, as you mentioned).



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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