Date: Fri, 12 Jun 2009 16:52:04 +0200 From: Rolf G Nielsen <lazlar@lazlarlyricon.com> To: Bernt Hansson <bernt@bah.homeip.net> Cc: freebsd-questions@freebsd.org Subject: Re: Compiling in sound driver in kernel Message-ID: <4A326B94.2030608@lazlarlyricon.com> 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
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 >> <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. >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A326B94.2030608>