From owner-freebsd-questions Sun Jan 14 23:51:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 7767537B400 for ; Sun, 14 Jan 2001 23:51:04 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 14 Jan 2001 23:49:19 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.1/8.11.0) id f0F7p3C43057; Sun, 14 Jan 2001 23:51:03 -0800 (PST) (envelope-from cjc) Date: Sun, 14 Jan 2001 23:51:03 -0800 From: "Crist J. Clark" To: Micke Josefsson Cc: Paul Andrews , questions@FreeBSD.ORG Subject: Re: Building New Kernel Message-ID: <20010114235103.B97980@rfx-64-6-211-149.users.reflexco> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from mj@isy.liu.se on Mon, Jan 15, 2001 at 08:36:10AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 15, 2001 at 08:36:10AM +0100, Micke Josefsson wrote: > > On 15-Jan-01 Paul Andrews wrote: > > I have just installed 4.2-RELEASE and am in the process of creating a new > > kernel so that my sound card is supported. I have just cvsup'd the latest > > source tree for RELENG_4. > > > > What I need to know is which command set should I use after editing > > MYKERNEL: > > > > Set #1 > > cd /usr/src > > make buildworld > > make installworld > > make buildkernel KERNEL=MYKERNEL > > make installkernel KERNEL=MYKERNEL > > > > Set #2 > > cd /usr/src > > make buildworld > > make installworld > > cd /usr/src/sys/i386/conf/ > > /usr/sbin/config MYKERNEL > > cd../../compile/MYKERNEL > > make depend > > make > > make install > > > > Second question is: Anyone had issues installing a SoundBlaster 16 PCI > > Soundcard into there kernel. Is "device pcm" the only line required > > to get the soundcard built into the kernel? > > To stir it up a bit I use set #2 as an old habit. And it works for me. You're lucky. The actual recommended way to go is, # make buildworld # make buildkernel KERNEL=MYKERNEL # make installkernel KERNEL=MYKERNEL # shutdown -r now [in single user mode] # make installworld # mergmaster # reboot You can probably get away without going into single-user mode and rebooting in the middle. See /usr/src/UPDATING for details. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message