From owner-freebsd-questions@FreeBSD.ORG Sat Jun 13 10:36:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC8BF1065673 for ; Sat, 13 Jun 2009 10:36:50 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2A9D98FC13 for ; Sat, 13 Jun 2009 10:36:50 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n5DAZhn4063389; Sat, 13 Jun 2009 12:35:44 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n5DAZh2e063388; Sat, 13 Jun 2009 12:35:43 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Sat, 13 Jun 2009 12:35:42 +0200 From: Ruben de Groot To: Bernt Hansson Message-ID: <20090613103542.GC54653@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Bernt Hansson , Polytropon , freebsd-questions@freebsd.org References: <200906111150.00121.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A31676C.6020709@bah.homeip.net> <200906111523.55313.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A31C167.9040400@bah.homeip.net> <20090612125419.e418347b.freebsd@edvax.de> <4A326897.9030008@bah.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A326897.9030008@bah.homeip.net> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Sat, 13 Jun 2009 12:35:47 +0200 (CEST) Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: Compiling in sound driver in kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2009 10:36:51 -0000 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 > >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