From owner-freebsd-questions@FreeBSD.ORG Fri Jun 12 10:56:26 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 5A4B1106566C for ; Fri, 12 Jun 2009 10:56:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 163148FC14 for ; Fri, 12 Jun 2009 10:56:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx01.qsc.de (Postfix) with ESMTP id BA0333D1E3; Fri, 12 Jun 2009 12:56:23 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5CAsJMR001468; Fri, 12 Jun 2009 12:54:19 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 12 Jun 2009 12:54:19 +0200 From: Polytropon To: Bernt Hansson Message-Id: <20090612125419.e418347b.freebsd@edvax.de> In-Reply-To: <4A31C167.9040400@bah.homeip.net> 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2009 10:56:26 -0000 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. It's even possible to create a config file from scratch, including material from LINT and NOTES, as well as from GENERIC. In order to avoid problems, you should follow this advice given in the handbook. > > 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 # 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. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...