From owner-freebsd-questions@FreeBSD.ORG Fri Jun 12 14:39:46 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 E11E3106566B for ; Fri, 12 Jun 2009 14:39:46 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9F38FC1B for ; Fri, 12 Jun 2009 14:39:45 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from kw.homeip.net (c80-217-74-54.bredband.comhem.se [80.217.74.54]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id n5CEdg30056310; Fri, 12 Jun 2009 16:39:42 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <4A326897.9030008@bah.homeip.net> Date: Fri, 12 Jun 2009 16:39:19 +0200 From: Bernt Hansson User-Agent: slrn/1.0.8 (FreeBSD) MIME-Version: 1.0 To: Polytropon 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> In-Reply-To: <20090612125419.e418347b.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Fri, 12 Jun 2009 14:39:47 -0000 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. That's what i've done. >>> or did you forget to set KERNCONF during build/installkernel? >> No. cd /usr/src >> make buildkernel KERNCONF=GENERIC >> make installkernel KERNCONF=GENERIC >> reboot >> >> is what I did. No snd_hda > > It looks understandable (allthough not mentioned in the handbook). > Just to be sure, try the recommended approach. If you're not using > KERNCONF, GENERIC will be selected automatically. > > # cd /usr/src/sys/i386/conf > # cp GENERIC MYKERNEL > (or use any other descriptive name instead of MYKERNEL). > edit MYKERNEL and add > device sound > device snd_hda That's what i added. > # cd /usr/src > # make buildkernel KERNCONF=MYKERNEL > # make installkernel KERNCONF=MYKERNEL > # reboot > > Check /etc/make.conf and /etc/src.conf for any strange values > that may be a reason for our strange observations. > > >