Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2009 12:35:42 +0200
From:      Ruben de Groot <mail25@bzerk.org>
To:        Bernt Hansson <bernt@bah.homeip.net>
Cc:        Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org
Subject:   Re: Compiling in sound driver in kernel
Message-ID:  <20090613103542.GC54653@ei.bzerk.org>
In-Reply-To: <4A326897.9030008@bah.homeip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 12, 2009 at 04:39:19PM +0200, Bernt Hansson typed:
> 
> 
> Polytropon said the following on 2009-06-12 12:54:
> >On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson <bernt@bah.homeip.net> 
> >wrote:
> >>Mel Flynn said the following on 2009-06-12 01:23:
> >>>>FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009
> >>>>    root@fqdn:/usr/obj/usr/src/sys/GENERIC
> >>>                                     ^^^^^^^
> >>>Did you edit GENERIC
> >>Yes. Added sound and snd_hda
> >
> >Polite note: This is NOT the way to create a custom kernel. The
> >handbook mentions that it's advised to create a copy of GENERIC
> >and work with that.

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

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

Ruben



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