From owner-freebsd-questions@FreeBSD.ORG Fri Jun 12 15:21:49 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 07BE01065672 for ; Fri, 12 Jun 2009 15:21:49 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1B18FC25 for ; Fri, 12 Jun 2009 15:21:48 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjICAPcHMkrDNmV6mWdsb2JhbACBT5Z0AQEBAQEICwoHE7kMhAsF X-IronPort-AV: E=Sophos;i="4.42,210,1243807200"; d="vcf'?scan'208";a="18298833" Received: from ironport2.bredband.com ([195.54.101.122]) by iph1.telenor.se with ESMTP; 12 Jun 2009 16:52:06 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvynADIIMkpV44BwPGdsb2JhbACBT5ZqAQEBATe5E4QLBQ X-IronPort-AV: E=Sophos;i="4.42,210,1243807200"; d="vcf'?scan'208";a="501790632" Received: from c-7080e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.128.112]) by ironport2.bredband.com with ESMTP; 12 Jun 2009 16:52:04 +0200 Message-ID: <4A326B94.2030608@lazlarlyricon.com> Date: Fri, 12 Jun 2009 16:52:04 +0200 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Bernt Hansson 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> In-Reply-To: <4A326897.9030008@bah.homeip.net> Content-Type: multipart/mixed; boundary="------------000404010302020102080507" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 15:21:49 -0000 This is a multi-part message in MIME format. --------------000404010302020102080507 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Bernt Hansson wrote: >=20 >=20 > Polytropon said the following on 2009-06-12 12:54: >> On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson=20 >> 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. >=20 > That's what i've done. >=20 >=20 >>>> or did you forget to set KERNCONF during build/installkernel? >>> No. cd /usr/src >>> make buildkernel KERNCONF=3DGENERIC >>> make installkernel KERNCONF=3DGENERIC >>> reboot >>> >>> is what I did. No snd_hda If you copied GENERIC to another file and edited that file, then=20 compiled and installed GENERIC, you're obviously not going to get the=20 added drivers. You'll need to replace GENERIC with the name of the file=20 you edited in the KERNCONF variable. >> >> 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 >=20 > That's what i added. >=20 >> # cd /usr/src >> # make buildkernel KERNCONF=3DMYKERNEL >> # make installkernel KERNCONF=3DMYKERNEL >> # reboot >> >> Check /etc/make.conf and /etc/src.conf for any strange values >> that may be a reason for our strange observations. >> >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20 >=20 >=20 --=20 V=C3=A4nligen / Sincerly, Rolf Nielsen P.S. Om du svarar p=C3=A5 detta mail, placera svaret nedanf=C3=B6r den tidigar= e texten,=20 annars kommer ditt svar automatiskt att kasseras, och d=C3=A4rf=C3=B6r in= te bli l=C3=A4st. Svaret kommer ocks=C3=A5 att kasseras automatiskt, och allts=C3=A5 inte b= li l=C3=A4st,=20 om det inneh=C3=A5ller HTML; skicka alltid e-post som oformaterad text. If you reply to this mail, please put the reply beneath the older text.=20 Otherwise your reply will be automatically discarded, thus it will not=20 be read. Your reply will also be discarded if it contains HTML; always send=20 e-mail as plain text. --------------000404010302020102080507--