From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 02:56:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 177A216A4BF for ; Mon, 15 Sep 2003 02:56:22 -0700 (PDT) Received: from mail.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11CE843FD7 for ; Mon, 15 Sep 2003 02:56:20 -0700 (PDT) (envelope-from judmarc@fastmail.fm) Received: from mail.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id C065A1D08DA; Mon, 15 Sep 2003 05:56:18 -0400 (EDT) Received: from 10.202.2.150 ([10.202.2.150] helo=mail.messagingengine.com) by messagingengine.com with SMTP; Mon, 15 Sep 2003 05:56:18 -0400 X-Epoch: 1063619778 X-Sasl-enc: jQirWAlb8A2Mr1q1qOCrqA Received: from sparky (dialup-67.74.79.211.Dial1.Philadelphia1.Level3.net [67.74.79.211]) by mail.messagingengine.com (Postfix) with ESMTP id 1434D1D08CC; Mon, 15 Sep 2003 05:56:16 -0400 (EDT) To: Rob , liuyang99@earthlink.net, freebsd-questions@freebsd.org References: <000001c37b4a$10f45430$6401a8c0@DELL> Message-ID: From: Jud Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 15 Sep 2003 05:56:14 -0400 In-Reply-To: <000001c37b4a$10f45430$6401a8c0@DELL> User-Agent: Opera7.20/Win32 M2 build 3115 Subject: Re: trouble with kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 09:56:22 -0000 On Mon, 15 Sep 2003 00:27:28 -0500, Rob wrote: > cd /usr/src/sys/i386/conf && ee GENERIC > now just add the device like so > device pcm > then Esc and save > then cd /usr/src/ && make buildkernel KERNCONF=GENERIC > > after its done building: > make installkernel KERNCONF=GENERIC > > now shutdown -r now > > Hope this helps > Rob > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Charlie > Sent: Sunday, September 14, 2003 11:51 PM > To: freebsd-questions@freebsd.org > Subject: trouble with kernel > > if i am trying to add my sound card device, and add the line device pcm > into > kernel do i have to recompile it to make it work and if so how do i > recompile? Rather than editing GENERIC, you may want to copy GENERIC and rename the copy (KERN[DATE] or KERNEL[DATE] are possibilities; I'm sure you can think of more), then edit, build and install the renamed version. Though problems are very unlikely to occur just from adding "device pcm," if at some point in the future an edited kernel doesn't build or install correctly, you then have the unchanged GENERIC to fall back on. Jud